You are not logged in.

#1 2011-02-07 23:55:19

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,718
Website

wifi disconnects after connecting for a few seconds [SOLVED]

I have an interesting situation and perhaps you guys can give me a hand.
I'm installing Arch on a system that only has a WiFi; no big deal.
So, I get the live CD and
1. Start it and choose the network install (that's the only choice for this CD)
2. Go to tty2 and issue the following commands:
a. ifconfig wlan0 up
b. iwlist scan and I get:

wlan0     Scan completed :
          Cell 01 - Address: 00:17:3F:93:05:63
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=38/70  Signal level=-72 dBm  
                    Encryption key:on
                    ESSID:"ITTwo-wifi"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
                              36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=00000010fe6584f5
                    Extra: Last beacon: 60ms ago
                    IE: Unknown: 000A495454776F2D77696669
                    IE: Unknown: 010482848B96
                    IE: Unknown: 030101
                    IE: Unknown: 2A0104
                    IE: Unknown: 32080C1218243048606C
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD07000C4303000000

That's a good sign wink
3. Issue the command to link

iwconfig wlan0 mode managed essid ITTwo-wifi key "s:bbR\:\)cri2rr" retry 7

4. Test for association with iwconfig wlan0:

wlan0     IEEE 802.11bg  ESSID:"ITTwo-wifi"  
          Mode:Managed  Frequency:2.412 GHz  Access Point: 00:17:3F:93:05:63   
          Bit Rate=1 Mb/s   Tx-Power=20 dBm   
          Retry limit:7   RTS thr:off   Fragment thr:off
          Encryption key:6262-525C-3A5C-2963-7269-3272-72
          Power Management:on
          Link Quality=39/70  Signal level=-71 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:1  Invalid misc:0   Missed beacon:0

looks good so I do : dhcpcd wlan0
and it fails, over and over and over ... sad

Then after much testing I realized that if I issue the iwconfig wlan0 say 5 seconds apart on the first one it shows, as above, that is connected
and in the second one

wlan0     IEEE 802.11bg  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm   
          Retry limit:7   RTS thr:off   Fragment thr:off
          Encryption key:6262-525C-3A5C-2963-7269-3272-72
          Power Management:on

It's not associated big_smile  !!!
I have exhausted testing options to no avail?
Am I missing something obvious ... or not so obvious?

Any help/ideas will be appreciated.

R

Edit:
The card is a Linksys and the chipset is recognized as : Linksys WUSB54GC v3 802.11g Adapter [Ralink RT2070L]

Last edited by ralvez (2011-02-09 01:08:29)

Offline

#2 2011-02-08 08:42:22

zenlord
Member
From: Belgium
Registered: 2006-05-24
Posts: 1,221
Website

Re: wifi disconnects after connecting for a few seconds [SOLVED]

Do you have access to the router? If so, try changing the channel. It worked for me: one moment I'm having connection issues (on channel 12 - no other neighbouring networks above channel 7...) - the other moment all my worries are gone after changing the channel to 6.

Offline

#3 2011-02-08 10:17:36

treysis
Member
Registered: 2009-05-10
Posts: 23

Re: wifi disconnects after connecting for a few seconds [SOLVED]

looks like you're using wpa2 encryption. for me I had to use wpa_supplicant to connect to my network. i was a bit surprised by your post that you were able to connect (even just for a short time) just using wireless-tools.

so try it with wpa_supplicant:

wpa_passphrase ESSID "yourpassword" > /etc/wpa_supplicant.conf
wpa_supplicant -B -Dwext -iwlan0 -c/etc/wpa_supplicant.conf

good luck!

Offline

#4 2011-02-08 11:08:34

zenlord
Member
From: Belgium
Registered: 2006-05-24
Posts: 1,221
Website

Re: wifi disconnects after connecting for a few seconds [SOLVED]

@ Treysis: you're right - I overlooked that one...

Offline

#5 2011-02-08 19:32:46

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,718
Website

Re: wifi disconnects after connecting for a few seconds [SOLVED]

Thank you for the reply guys!!
@treysis, In the logs I got an error something like "<eissid> deauthenticated (reason 6)" or something to that effect and I was wondering what that means... I suppose you are correct and that the system is trying to tell me that I need to use wpa_supplicant. I hope that's part of the install CD big_smile

I'll give it a try and I'll report back .

Thanks for the help and ideas.

R.

edit : bad typing smile

Last edited by ralvez (2011-02-08 19:37:49)

Offline

#6 2011-02-08 20:07:56

treysis
Member
Registered: 2009-05-10
Posts: 23

Re: wifi disconnects after connecting for a few seconds [SOLVED]

yes, it is on the install cd. Had to use it for my installations on two computers. Even ndiswrapper is on the cd, so it should be very easy to setup the network which is the most important part after all smile

Offline

#7 2011-02-09 01:07:45

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,718
Website

Re: wifi disconnects after connecting for a few seconds [SOLVED]

Yup... It works.
wpa_supplicant was the solution.

Thank you guys!

R.

Offline

Board footer

Powered by FluxBB