LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Wireless card suddenly stops working (https://www.linuxquestions.org/questions/linux-wireless-networking-41/wireless-card-suddenly-stops-working-346215/)

michelbehr 07-24-2005 09:21 AM

Wireless card suddenly stops working
 
Hi!

Im using a Wireless card that sometimes stops working, and I dont know why. When
the problem occurs, it goes like this:

Code:

athlonxp michel # iwlist wlan0 scan
wlan0    Scan completed :
          Cell 01 - Address: 00:13:10:18:FC:44
                    ESSID:"fod"
                    Protocol:IEEE 802.11b
                    Mode:Managed
                    Frequency:2.452 GHz (Channel 9)
                    Quality:0/100  Signal level:-71 dBm  Noise level:-256 dBm
                    Encryption key:off
                    Bit Rate:1 Mb/s
                    Bit Rate:2 Mb/s
                    Bit Rate:5.5 Mb/s
                    Bit Rate:11 Mb/s
                    Bit Rate:6 Mb/s
                    Bit Rate:9 Mb/s
                    Bit Rate:12 Mb/s
                    Bit Rate:18 Mb/s
                    Bit Rate:24 Mb/s
                    Bit Rate:36 Mb/s
                    Bit Rate:48 Mb/s
                    Bit Rate:54 Mb/s
                    Extra:bcn_int=100
                    Extra:atim=0
          Cell 02 - Address: 00:7E:39:7E:41:1B
                    ESSID:"fod"
                    Protocol:IEEE 802.11b
                    Mode:Ad-Hoc
                    Frequency:2.412 GHz (Channel 1)
                    Quality:0  Signal level:0  Noise level:0
                    Encryption key:off
                    Bit Rate:1 Mb/s
                    Bit Rate:2 Mb/s
                    Bit Rate:5.5 Mb/s
                    Bit Rate:11 Mb/s
                    Bit Rate:22 Mb/s
                    Bit Rate:6 Mb/s
                    Bit Rate:9 Mb/s
                    Bit Rate:12 Mb/s
                    Bit Rate:18 Mb/s
                    Bit Rate:24 Mb/s
                    Bit Rate:36 Mb/s
                    Bit Rate:48 Mb/s
                    Bit Rate:54 Mb/s
                    Extra:bcn_int=200
                    Extra:atim=0

athlonxp michel #

Then the only way to solve the problem is to reboot the machine! :-( Then I get
this:

Code:

athlonxp michel # iwlist wlan0 scan
wlan0    Scan completed :
          Cell 01 - Address: 00:13:10:18:FC:44
                    ESSID:"fod"
                    Protocol:IEEE 802.11b
                    Mode:Managed
                    Frequency:2.452 GHz (Channel 9)
                    Quality:0/100  Signal level:-66 dBm  Noise level:-256 dBm
                    Encryption key:off
                    Bit Rate:1 Mb/s
                    Bit Rate:2 Mb/s
                    Bit Rate:5.5 Mb/s
                    Bit Rate:11 Mb/s
                    Bit Rate:6 Mb/s
                    Bit Rate:9 Mb/s
                    Bit Rate:12 Mb/s
                    Bit Rate:18 Mb/s
                    Bit Rate:24 Mb/s
                    Bit Rate:36 Mb/s
                    Bit Rate:48 Mb/s
                    Bit Rate:54 Mb/s
                    Extra:bcn_int=100
                    Extra:atim=0

athlonxp michel #

As far as I can see its recognizing a "wrong" cell, is that it? Do I have to
reboot the goddamn thing everytime?!

Thanx in advance!!

mpeg4codec 07-24-2005 10:16 AM

I'm not sure why it's seeing the wrong link, but as a temporary fix, you do not have to reboot every time that goes wrong. If you're using hostap, the commands below should work. If not, substitude hostap_pci for your card's driver.

ip link set wlan0 down
modprobe -r hostap_pci
modprobe hostap_pci

Now, reconfigure your interface. For instance, you probable need to run iwconfig to set its essid and either ifconfig or a dhcp client to set its address.

If you're using hostap drivers, are you sure your card is in managed mode and not master? That could account for the rouge signal.

If you're not sure what driver you're using, run this command [should all be on one line]:

readlink /sys/class/net/wlan0/driver | awk -F/ '{ print $NF }'

david_ross 07-24-2005 01:29 PM

Moved: This thread is more suitable in Wireless Networking and has been moved accordingly to help your thread/question get the exposure it deserves.


All times are GMT -5. The time now is 01:30 PM.