You are not logged in.

#1 2010-01-12 23:04:15

kierank01
Member
From: Here
Registered: 2009-04-25
Posts: 45

can't connect wirelessly with networkmanager

I have a RaLink RT2860, and it is detected as wlan0.

to be able to connect, I have to run the following commands:

iwconfig wlan0 mode managed
iwconfig wlan0 key open
iwconfig wlan0 key off
iwconfig wlan0 essid "dd-wrt"
dhcpcd wlan0
iwconfig wlan0 mode managed
iwconfig wlan0 key open
iwconfig wlan0 key off
iwconfig wlan0 essid "dd-wrt"
dhcpcd wlan0

I do have to run the commands twice like above
on the first run of the commands, I get the following errors:

Error for wireless request "Set Mode" (8B06) :         
    SET failed on device wlan0 ; Network is down.
on the second run the network connects, and works normally..

If I attempt to connect with network manager, it connects to the default gateway, but I cannot get to any external site:

[kieran@medion-arch ~]$ ping www.google.ie
connect: Network is unreachable


any ideas would be very appreciated.

Offline

#2 2010-01-14 18:40:09

kierank01
Member
From: Here
Registered: 2009-04-25
Posts: 45

Re: can't connect wirelessly with networkmanager

anybody?

Offline

#3 2010-01-14 21:58:44

ryosaeba83
Package Maintainer (PM)
From: Como (Italy)
Registered: 2008-07-21
Posts: 34
Website

Re: can't connect wirelessly with networkmanager

I have problems connecting to my wireless too. I use NetworkManager but I also tried with iwconfig manually and I still cannot connect.
I will try your approach to see if it gives similar results.
I can connect to the AP at my working place with no problems though (and I confirmed that my AP at home is working fine connecting other systems to it)


TU id: mtorromeo
My packages: Community, AUR

Offline

#4 2010-01-16 20:23:47

hw-tph
Member
Registered: 2006-11-01
Posts: 149

Re: can't connect wirelessly with networkmanager

In my experience, the rt2860 driver in 2.6.32.3-1 (and other 2.6.32 Arch kernels) is unusable. I believe the problem is in the upstream sources, so sticking with 2.6.31.6-1 (and matching kernel26-firmware package) solves the problem for me. It also solves video problems on my precious little Eee PC 901.

However, if you downgrade make sure you update your configs as your wireless will be known as ra0 instead of wlan0.

Offline

#5 2010-01-16 20:31:04

karabaja4
Member
From: Croatia
Registered: 2008-09-14
Posts: 1,000
Website

Re: can't connect wirelessly with networkmanager

Why put the card in managed mode and set key to off if it's (probably) already done like that on starup?

Try something shorter like:

iwconfig wlan0 essid "dd-wrt"
ifconfig wlan0 up
dhcpcd wlan0

As for network manager, I have no idea. Did you check the wiki? http://wiki.archlinux.org/index.php/NetworkManager

Offline

#6 2010-01-17 11:55:47

kierank01
Member
From: Here
Registered: 2009-04-25
Posts: 45

Re: can't connect wirelessly with networkmanager

hw-tph wrote:

In my experience, the rt2860 driver in 2.6.32.3-1 (and other 2.6.32 Arch kernels) is unusable. I believe the problem is in the upstream sources, so sticking with 2.6.31.6-1 (and matching kernel26-firmware package) solves the problem for me. It also solves video problems on my precious little Eee PC 901.

However, if you downgrade make sure you update your configs as your wireless will be known as ra0 instead of wlan0.

This problem has been going on for a long time, so the change from ra0 to wlan0 did not break my networkmanager.

The new driver seems to be working exactly as it did before (apart from the name change).

Offline

#7 2010-01-17 12:00:07

kierank01
Member
From: Here
Registered: 2009-04-25
Posts: 45

Re: can't connect wirelessly with networkmanager

karabaja4 wrote:

Why put the card in managed mode and set key to off if it's (probably) already done like that on starup?

Try something shorter like:

iwconfig wlan0 essid "dd-wrt"
ifconfig wlan0 up
dhcpcd wlan0

As for network manager, I have no idea. Did you check the wiki? http://wiki.archlinux.org/index.php/NetworkManager

Thanks for the shorter code, I cannot remember where I got it in the first place, but when it worked I stuck to it.

I have looked at the wiki page, but it dosen't seem to have worked for me. I will take another lok at it tho'.

Offline

#8 2010-02-18 04:12:09

archbert
Member
Registered: 2010-02-18
Posts: 6

Re: can't connect wirelessly with networkmanager

I'm using kernel 2.6.32.6-1.  My Linksys WMP600N had been connecting during startup (using netcfg) but I just noticed that it was no longer working.  I was able to connect by removing and then adding back the RT2860 module before running netcfg.

rmmod rt2860sta
modprobe rt2860sta
... whatever you usually run to connect...

Offline

#9 2010-02-21 22:06:47

archbert
Member
Registered: 2010-02-18
Posts: 6

Re: can't connect wirelessly with networkmanager

After trying for a few more days, rmmod/modprobe also stopped working.  I ended up just getting the latest RT2860 driver from AUR.  After replacing wlan0 with ra0, the driver from AUR seems to be working in my setup for now.

Offline

Board footer

Powered by FluxBB