WPA / wpa_supplicant - OpenSUSE 10.3-RC1 where should I ask?

Live forum: http://rt2x00.serialmonkey.com/viewtopic.php?t=4302

Old Lodge Skins

25-09-2007 17:34:50

Hi all,

I have a Ratlink RT61 PCMCIA card (Edimax EW-7108PCg) that worked fine for months on OpenSUSE 10.2 with the beta driver downloaded on this site (the rt61pci module that comes with my distribution doesn't work on my card). I don't remember exactly the version I used, but the module was still called ra0.
Recently I decided to try the new 10.3-RC1; I could compile the latest CVS (I currently have the one from yesterday) but I get a strange error involving wpa_supplicant... While it isn't required if I have understood the documentation correctly.

Now, I know my current distribution isn't considered stable yet... My problem is that I don't know where to report the problem is it directly related to the driver, or should I fill a bug report on Novell's site? Here's my console output, please tell me what you think about it.

Seb.

------------------------

c-00248/home/seb # ifup wlan0
wlan0 device RaLink RT2561/RT61 802.11g PCI
wlan0 warning WPA configured but may be unsupported
wlan0 warning by this device
wlan0 starting wpa_supplicant
ioctl[SIOCSIWAUTH] Operation not supported
WEXT auth param 7 value 0x1 - ioctl[SIOCSIWENCODEEXT] Operation not supported
ioctl[SIOCSIWENCODEEXT] Operation not supported
ioctl[SIOCSIWENCODEEXT] Operation not supported
ioctl[SIOCSIWENCODEEXT] Operation not supported
ioctl[SIOCSIWAUTH] Operation not supported
WEXT auth param 4 value 0x0 - ioctl[SIOCSIWAUTH] Operation not supported
WEXT auth param 5 value 0x1 - Starting DHCP Client Daemon on wlan0... . . . . . no IP address yet... backgrounding.
pc-00248/home/seb # ifdown wlan0
wlan0 device RaLink RT2561/RT61 802.11g PCI

hennichodernich

26-09-2007 06:26:43


I have a Ratlink RT61 PCMCIA card (Edimax EW-7108PCg) that worked fine for months on OpenSUSE 10.2 with the beta driver downloaded on this site (the rt61pci module that comes with my distribution doesn't work on my card). I don't remember exactly the version I used, but the module was still called ra0.
Recently I decided to try the new 10.3-RC1; I could compile the latest CVS (I currently have the one from yesterday) but I get a strange error involving wpa_supplicant... While it isn't required if I have understood the documentation correctly.[/quotetsfcsivh]

The legacy driver doesn't support wpa_supplicant, you have to configure it via iwpriv. Sadly, openSUSE's ifup-wireless script does support WPA only via wpa_supplicant.

If you're brave and have some advanced linux knowledge, you might want to try my patch [urltsfcsivh]http://rt2x00.serialmonkey.com/phpBB2/viewtopic.php?p=23449#23449[/urltsfcsivh]

regards
Henning

Old Lodge Skins

26-09-2007 09:12:00

Hi,

I know the driver doesn't support wpa_supplicant. But WPA support is supposed to be built-in, right?
What I don't get is why did it work fine on 10.2 then? Cause previously, all I had to do was to compile the driver, nothing more. So why is it calling wpa_supplicant now?

Seb.

edit Wait a minute... I had to make a small modification on my 10.2 to make it work with WPA! I remember it now. I'm not sure if it was the same that's on that link, but there's definitively something to do. Thanks for helping me to remember ) !

edit #2 I've found back the method I've used long ago... It's here http//susewiki.org/index.php?title=Set ... figuration
and it's very similar to the one at your link.
It's working now... Although - strange thing - the leds are down. But I've completely removed my network wire so it's the proof that although the leds are down, the card is working... That must be a small driver bug I guess. No big deal.

mikecoan

27-09-2007 18:18:20

Old Lodge Skins wrote

[quote2ugrs8nl]edit #2 I've found back the method I've used long ago... It's here http//susewiki.org/index.php?title=Set ... figuration
and it's very similar to the one at your link.
It's working now... Although - strange thing - the leds are down. But I've completely removed my network wire so it's the proof that although the leds are down, the card is working... That must be a small driver bug I guess. No big deal.

[/quote2ugrs8nl]

I too have an Edimax card using the RT61 chipset. I am running opensuse 10.2 and using the RT61 cvs drivers. For 10.3 RC1 are you using the rt61 cvs drivers or the rt2xx cvs drivers. opensuse 10.3 uses the 2.6.22 kernel, which I understand has a new wireless lan stack. My access point uses WPA encryption, so that is necessary. it sounds like you have it working.


Mike

Old Lodge Skins

27-09-2007 18:31:42

Hi,

As said in my 1st post I use the RT61, compiled from CVS a few days ago. 10.3-RC1 includes the rt2xx drivers but they don't work with my card (the driver supplied with the distribution didn't work either on 10.2). It's working fine now with the modification shown on the link you have in your quote. The only problems I have are the leds (no big deal) and the fact that the card won't connect on startup (it tries but doesn't succeed). For now I have to manually do a ifdown then ifup.


Seb.

joeda.

02-10-2007 14:38:47

hello

i have the same problem like old lodge skins.
i tried hennichodernichs ifup script, but wpa_supplicant seem still to be in use.
what did you do exactly?

greetz joe , GER

Old Lodge Skins

02-10-2007 14:41:46

hello

i have the same problem like old lodge skins.
i tried hennichodernichs ifup script, but wpa_supplicant seem still to be in use.
what did you do exactly?

greetz joe , GER[/quote2mhuvj5b]

Hi,

Have a look at the address I posted above. Everything is explained there, just follow the steps. That's also what I did a few months ago on 10.2, I simply had forgotten it the day I created this thread.

Seb.

joeda.

05-10-2007 06:11:14

hello again

i tried your patch, but wpa doesnīt work.
i attached my ifup script, so you can see wether i made mistakes.

thanks for help.

greetz joe

Old Lodge Skins

05-10-2007 09:21:19

Hi,

This is not "my" patch... I don't know much about it, I just applied it.
Anyway, there seems to be some problems with the current driver and wep / wpa on some cards... It works for me but I'm having trouble similar to this http//rt2x00.serialmonkey.com/phpBB2/v ... sc&start=0
Maybe this is your case too? Starting the card never works on the first attempt after starting my laptop, I have to do an ifdown (which sometimes crashes) and an ifup. Then it works.

Seb.

hennichodernich

05-10-2007 12:23:38


i tried your patch, but wpa doesnīt work.
i attached my ifup script, so you can see wether i made mistakes.
[/quote2qlmp9ds]

Try to get WPA running "by hand", just to check, everything works. Then we can try to get the ifup script working.

regards
Henning

P.S. In the ifup script you attached, I see a lot of garbage at the beginning...

joeda.

07-10-2007 11:16:20

hello

[quote3cny1n0u]Try to get WPA running "by hand", just to check, everything works. Then we can try to get the ifup script working.
[/quote3cny1n0u]

what should i do to start it manually?

i tried ifup all the time.

greetz joe

hennichodernich

07-10-2007 11:54:23

hello

[quote2p2bb5zp]Try to get WPA running "by hand", just to check, everything works. Then we can try to get the ifup script working.
[/quote2p2bb5zp]

what should i do to start it manually?
[/quote2p2bb5zp]

iwpriv

regards
Henning

AndreAPL

07-10-2007 15:10:27

i'm using that path and it works just fine (iwpriv).
Aren't you missing some step maybe?

btw, the patch works fine, but sometimes the system stops when shutdown, precisely the wireless. Could it be a error/bug in applying the patch ?

joeda.

16-10-2007 14:15:52

hello

sorry for being that late but itīs hard to get internet access.

i tried iwpriv a lot, but it didnīt seem to work...

[code14jyyukl]linux-hn7o:/home/jo # modprobe rt61pci
linux-hn7o:/home/jo # ifup wlan1
wlan1 device: RaLink RT2561/RT61 rev B 802.11g
wlan1 warning: WPA configured but may be unsupported
wlan1 warning: by this device
wlan1 warning: wpa_supplicant already running on interface
DHCP client is already running on wlan1
linux-hn7o:/home/jo # iwpriv wlan1
wlan1 Available private ioctls :
param (8BE0) : set 2 int & get 0
get_param (8BE1) : set 1 int & get 1 int

linux-hn7o:/home/jo # iwpriv wlan1 param set
The command param needs exactly 2 argument(s)...
linux-hn7o:/home/jo # iwpriv wlan1 param essid WLAN-FOD818
Interface doesn't accept private ioctl...
param (8BE0): Operation not supported
linux-hn7o:/home/jo # iwpriv wlan1 set param essid WLAN-FOD818
Invalid command : set
linux-hn7o:/home/jo # iwpriv wlan1 param essid WLAN-FOD818
Interface doesn't accept private ioctl...
param (8BE0): Operation not supported
linux-hn7o:/home/jo # iwpriv wlan1 param set WLAN-FOD818
Interface doesn't accept private ioctl...
param (8BE0): Operation not supported
linux-hn7o:/home/jo # iwpriv --help
Usage: iwpriv interface [private-command [private-arguments]]
linux-hn7o:/home/jo # iwpriv wlan1 get_param essid
Interface doesn't accept private ioctl...
get_param (8BE1): Operation not supported
linux-hn7o:/home/jo #
[/code14jyyukl]

i thinkthis ioctl stuff made it not work. if this problem is solved, it should be done, i hope. can you tell me what i have made wrong?

greetz joe

sorry for my bad english.

Spy84464

16-10-2007 20:31:26

Hello,
You are using rt2x00, our new driver, not the legacy rt61. So "iwpriv" is no use, you just need plain "iwconfig", and "wpa-supplicant" if you're using wpa.

Regards,
Romain

joeda.

17-10-2007 14:36:24

hello

i am confused now.

[quote1nyltbnw]you just need plain "iwconfig", and "wpa-supplicant"[/quote1nyltbnw]

wpa_suplicant does NOT work. I managed to make this ioctl stuff disappear, then iwpriv and the driver worked and i got a connection instantly.

unfortunately, i updated YaST (displayed 1396% hdd used) and then it was like before. but the wireless connection did work with the rt61 as well as with the rt61pci driver, so the driver shouldnīt be a problem

[quote1nyltbnw]You are using rt2x00, our new driver[/quote1nyltbnw]

Do I? the modules

rt61pci
rt2x00lib
rt2x00pci (or something like that)

are loaded.

could you help me anyway with the problem i mentioned before?

iīll try your solution as soon as possible. thanks for your comment.

greetz joe

sorry for my bad english.

hennichodernich

17-10-2007 16:46:31


[quote2vlbsmyi]You are using rt2x00, our new driver[/quote2vlbsmyi]

Do I? the modules

rt61pci
rt2x00lib
rt2x00pci (or something like that)

are loaded.
[/quote2vlbsmyi]
Yes you do. You'll have to blacklist these modules if you want to try the legacy drivers.

regards
Henning

joeda.

19-10-2007 17:54:04

hello again,

Ican gladly say it works now. I couldn't make use of the rt2x00 drivers, but of the legacy ones.

I downloaded the latest tarball, installed it and patched the ifup-script. Then, it works via ifup.
No iwpriv needed. Thanks for the help of all of you.

greetz joe