Bugzilla – Bug 141591
WLAN configuration not written correctly to config files
Last modified: 2007-06-05 10:05:14 UTC
I tried to configure my Intel 2200 WLAN card in my FSC Amilo laptop. YaST accepts all data I entered, but doesn´t seem to write correctly my key (which is a 64bit WEP one). After a reboot of the laptop, iwconfig either says that the key is 3030-3030-3030-3030-3030-3030-3030-3030 or key is set to "off". I can then set the key again on the command line: $ iwconfig eth1 key <mykey> After some seconds, I can ping my router as well as URLs in the Internet. But after the reboot, I have to set the key again manually as above. In this context, I just noticed that the rate of the WLAN card is not correctly recognized: The speed is set to 22MBit, but the card supports 54MBit. I can as well set this manually (iwconfig eth1 rate 54M), but it´s gone as well when I reboot. Yours, Michael Neumeier
Please attach `hwinfo --wlan' as well as your yast2 logfiles. Thanks.
Created attachment 63318 [details] Yast 2 logs
Created attachment 63319 [details] hwinfo --wlan
Here are the two attachments you asked for. Please note that I sent them from another PC, so I had to copy these two files from my laptop to the other machine. To do so, I deleted the config for the WLAN-Interface and made a confuguration for the ethernet card (both integrated in the laptop). This information may be useful, I think.
Oh, I just noticed the checkbox that changes the status back to "assigned". Sorry! But I can also add some more info which may be useful. As I use my laptop in different areas, I tried to configure scpm (I included /etc/sysconfig/network/ifcfg-wlan-... in the Ressources list!) with two different WLAN-config. Both ifcfg-wlan-... files have the correct settings in it (essid, key etc). When I change the profile and check the contents of the file (cat ifcfg-wlan...), the correct settings show clearly the the change of the profile worked correctly (excpet that after the initialization, there are no changed ressources in the dialogue box of the profile manager). But when I then type in "iwconfig eth1", the contents of the ifcfg-wlan... file don´t seem to be applied, as there are still shown the same settings as before the profile change. So can this be a problem that this file is not correctly read?
Reassigning this to Martin...
If the config files are correct but not applied after a profile switch, then it is a SCPM problem.
OK, this may be a scpm problem, but even if I switch off scpm, the problem exists: No connection with WLAN - only if I set the key again (as described above). BTW: I don´t believe it´s a hardware issue, as with SuSE 9.3, all worked fine. So I think this is actually a 10.0 bug.
Does it help to add a line with PREFER_WPA_SUPPLICANT='no' to your ifcfg-file?
Yes, this did help! Thank you! But this should be included in a doc somewhere. I think. As I didn´t have problems with 9.3, I ask myself if this is version- or machine-specific. Anyhow, for me, the problem is solved.
In 9.3 wpa_supplicant wasn't used for non-WPA connection. In principle every connection should work with wpa_supplicant, but it seems there are several cases where this is not the case so I'm considering to change the default back. Anyway, thanks for testing!
No Problem! btw: Now, the scpm works also correctly! Greets, Michael
Made PREFER_WPA_SUPPLICANT='no' default in 10.1.