Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 627295 Details for
Bug 866417
iwlwifi rmmod crash after roaming
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
test-roam2
test-roam2 (text/plain), 2.58 KB, created by
Stanislaw Gruszka
on 2012-10-15 10:36:39 UTC
(
hide
)
Description:
test-roam2
Filename:
MIME Type:
Creator:
Stanislaw Gruszka
Created:
2012-10-15 10:36:39 UTC
Size:
2.58 KB
patch
obsolete
>#!/bin/bash ># Copyright (c) 2010 Luis R. Rodriguez <mcgrof@gmail.com> ># ># Permission to use, copy, modify, and/or distribute this software for any ># purpose with or without fee is hereby granted, provided that the above ># copyright notice and this permission notice appear in all copies. ># ># THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES ># WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF ># MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ># ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES ># WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ># ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING O > ># Pretty colors >GREEN="\033[01;32m" >YELLOW="\033[01;33m" >NORMAL="\033[00m" >BLUE="\033[34m" >RED="\033[31m" >PURPLE="\033[35m" >CYAN="\033[36m" > >SSID="$1" > >if [ $# -ne 1 ]; then > echo -e "Set SSID to Red Hat Guest" > SSID="Red Hat Guest" >fi > > ># assumes you have a control interface exposed, ># If you want to use this with network-manager ensure ># you modify your dbus settings for wpa_supplicant. This is ># documented here: ># ># http://wireless.kernel.org/en/users/Documentation/wpa_supplicant#Enabling_control_interface_and_nl80211_driver > >#loop the script all over again >while true; do > echo -e "${CYAN}Issuing first scan...${NORMAL}" > > # XXX: add 'iw event <event-type> -c 1' support > sudo wpa_cli scan > > echo -e "${CYAN}Waiting for results...${NORMAL}" > sleep 5 > > echo -e "${CYAN}Collecting scan results...${NORMAL}" > ESS=$(sudo wpa_cli scan_results| grep "$SSID" | awk '{print $1}') > COUNT=$(echo $ESS | wc -w) > > echo -e "${RED}$COUNT ${NORMAL}APs found on ESS ${GREEN}"$SSID"${NORMAL}, going to roam between them now" > echo -e "AP list:${NORMAL}" > > echo -e "\t${GREEN}BSS\t\t\t${YELLOW}Freq${NORMAL}" > for i in $ESS; do > FREQ=$(sudo wpa_cli scan_results| grep $i | awk '{print $2}') > echo -e "\t${GREEN}$i\t${YELLOW}$FREQ" > done > > # do 10 iterations > # go through complete access point list 10x > typeset -i NR > NR=10 > while test $NR -gt 0; do > if test -z "$ESS"; then > logger -t testroamscript "No access points found at $(date +%T)" > fi > > for i in $ESS; do > FREQ=$(sudo wpa_cli scan_results| grep $i | awk '{print $2}') > # skip access points without frequency, > # will fail anyhow > if test "$FREQ" != ""; then > echo -e "${NORMAL}Roaming to ${CYAN}"${SSID}" ${GREEN}${i} ${YELLOW}${FREQ} ${NORMAL}MHz..." > sudo wpa_cli roam $i; > sleep 5; > else > echo "skipped ${FREQ}" > fi > done; > NR=$NR-1 > done > # wait and start all over again > sleep 10 >done
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 866417
:
627292
| 627295