https://bugzilla.novell.com/show_bug.cgi?id=297616
Summary: Yast doesn't write/save WLAN device settings Product: openSUSE 10.3 Version: Alpha 7 Platform: x86-64 OS/Version: openSUSE 10.3 Status: NEW Severity: Major Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: funtasyspace@yahoo.com QAContact: jsrain@novell.com Found By: ---
Created an attachment (id=155635) --> (https://bugzilla.novell.com/attachment.cgi?id=155635) tail -f /var/log/YaST2/y2log
Yesterday I installed Alpha 7, it's the first time I installed an openSUSE 10.3 version at all. As openSUSE 10.3 ships the new mac80211 subsystem, I tried to make the 'Intel PRO/Wireless 3945ABG' device of my ThinkPad T60p work, using the iwlwifi driver from intellinuxwireless.org, which was written for the mac80211 subsystem.
So I got the iwlwifi driver (version 0.1.8) from http://intellinuxwireless.org/ together with the microcode image (version iwlwifi-3945-ucode-2.14.1.5). It compiles without errors and loading the iwl3945 kernel module works fine and brings up the 'wlan0' interface. Well, only the wlan LED on my ThinkPad does not light!
Now the device shows up in Yast too, and it seems like it can be configured as usual. But actually it doesn't work, because the settings are not written to disk. Every time I launch the Yast network device settings section again, my WLAN device appears unconfigured. Looking in /etc/sysconfig/network reveals, that no configuration file for the wlan devices is ever created. I nearly tried all possible settings in Yast by now, just to see if it will save the configuration to /etc/sysconfig/network/ under any circumstances, but that never happened. In contrast, the settings of my wired e1000 device are written to /etc/sysconfig/network/ifcfg-eth0 with no problem.
Next I tried copying the configuration of my wlan device from my openSUSE 10.2 configuration, to see if Yast will recognize and read it, at least. On openSUSE 10.2 the configuration file of my wlan device had the filename ifcfg-wlan-id-00:10:20:30:40:50 (where 00:10:20:30:40:50 is not my real mac address, I just don't want to post it here). Copying that file to /etc/sysconfig/network on openSUSE 10.3, won't let Yast detect the configuration, the device still appears as not configured in Yast. An 'rcnetwork restart' won't use the configuration, too. Here the output:
wlan0 device: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02) No configuration found for wlan0 unused
Well, renaming 'ifcfg-wlan-id-00:10:20:30:40:50' to 'ifcfg-wlan0' causes the configuration to be recognized by ifup and rcnetwork start/restart will successfully establish a connection with my access point. Anyway, even now my wlan0 device still doesn't show up as configured in Yast.
I also tried the 'User Controlled with NetworkManager' Option, but this way, I can only connect using WEP encryption. WPA doesn't work with NetworkManager. Anyway, since I make heavy use of SCPM, NetworkManager is not really an option for me.
I come to the conclusion, that this is a YaST problem, because manually creating the ifcfg file and placing it in /etc/sysconfig/network works well. Next I did a 'tail -f /var/log/YaST2/y2log' to find out, why Yast doesn't write down the configuration for the wlan interface, but for the wired interface. I append the complete output as a file to this post. Interesting are the lines where it says:
2007-08-05 16:34:27 <1> myhost(21379) [YCP] NetworkModules.ycp:220 No changes to netcard modules -> nothing to write
2007-08-05 16:34:27 <1> myhost(21379) [YCP] NetworkDevices.ycp:651 No changes to netcard devices -> nothing to write
I hope this information helps to track down the problem. Regards, Jörg
https://bugzilla.novell.com/show_bug.cgi?id=297616
Matej Horvath mhorvath@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |mzugec@novell.com |screening@forge.provo.novell| |.com |
https://bugzilla.novell.com/show_bug.cgi?id=297616#c1
michal zugec mzugec@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |funtasyspace@yahoo.com
--- Comment #1 from michal zugec mzugec@novell.com 2007-08-06 06:32:17 MST --- Hi Jörg, you likes to write long descriptions ;-)
paragraphs 1,2: this is no supported until that module will be included (replaced ipw3945) in our distribution
par. 3: yes, this is problem
par. 4: configuration files based on MAC address are depricated now that's why you should rename copyed file
NetworkModules.ycp: this is no important
NetworkDevices.ycp: yes, here is the problem
You wrote that you was able to write configuration for eth device Can you try to use old ipw3945 if this works?
https://bugzilla.novell.com/show_bug.cgi?id=297616#c2
--- Comment #2 from Jörg Hermsdorf funtasyspace@yahoo.com 2007-08-06 08:21:36 MST --- No I can't, because it seems that the old ipw3945 driver is no longer included with openSUSE. Although the firmware microcode image of ipw3945 is still included in the 'ipw-firmware' package in the 'Extra' repository. But I can't find a package that contains the ipw3945 kernel module.
https://bugzilla.novell.com/show_bug.cgi?id=297616#c3
michal zugec mzugec@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Info Provider|funtasyspace@yahoo.com |jbenc@novell.com
--- Comment #3 from michal zugec mzugec@novell.com 2007-08-06 08:30:24 MST --- Jirko, it seems that we are "between" drivers, right? ;-)
https://bugzilla.novell.com/show_bug.cgi?id=297616
michal zugec mzugec@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|jbenc@novell.com |
https://bugzilla.novell.com/show_bug.cgi?id=297616#c4
michal zugec mzugec@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jg@novell.com Status|ASSIGNED |NEEDINFO Info Provider| |snwint@novell.com
--- Comment #4 from michal zugec mzugec@novell.com 2007-08-08 06:56:16 MST --- I installed iwlwifi driver, here is output from hwinfo --wlan: 20: PCI 300.0: 0282 WLAN controller [Created at pci.296] UDI: /org/freedesktop/Hal/devices/pci_8086_4227 Unique ID: 2nea.kj44mnK68N2 Parent ID: qTvu.bQ30eTbcr+3 SysFS ID: /devices/pci0000:00/0000:00:1c.1/0000:03:00.0 SysFS BusID: 0000:03:00.0 Hardware Class: network Model: "Intel PRO/Wireless 3945ABG Network Connection" Vendor: pci 0x8086 "Intel Corporation" Device: pci 0x4227 "PRO/Wireless 3945ABG Network Connection" SubVendor: pci 0x8086 "Intel Corporation" SubDevice: pci 0x1011 Revision: 0x02 Driver: "iwl3945" Driver Modules: "iwl3945" Device File: wmaster0 Device Files: wmaster0, eth1 Features: WLAN Memory Range: 0xedf00000-0xedf00fff (rw,non-prefetchable) IRQ: 21 (no events) HW Address: 00:18:de:64:b8:0d Module Alias: "pci:v00008086d00004227sv00008086sd00001011bc02sc80i00" Driver Info #0: Driver Status: iwl3945 is active Driver Activation Cmd: "modprobe iwl3945" Config Status: cfg=no, avail=yes, need=no, active=unknown Attached to: #5 (PCI bridge)
Steffen, I think this is bogus output: Device File: wmaster0 Device Files: wmaster0, eth1
There should be: Device File: eth1 Device Files: eth1, wmaster0
And this causes all problem. Can you fix it?
https://bugzilla.novell.com/show_bug.cgi?id=297616#c5
Steffen Winterfeldt snwint@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |snwint@novell.com Info Provider|snwint@novell.com |jg@novell.com
--- Comment #5 from Steffen Winterfeldt snwint@novell.com 2007-08-08 07:12:49 MST --- For my machine, no interface is shown at all. Apparently loading iwl3945 is not enough. Joe?
https://bugzilla.novell.com/show_bug.cgi?id=297616#c6
--- Comment #6 from michal zugec mzugec@novell.com 2007-08-08 07:17:49 MST --- I can see it only from ip (or in /sys/class/net) not in /sbin/ifconfig
https://bugzilla.novell.com/show_bug.cgi?id=297616#c7
--- Comment #7 from Steffen Winterfeldt snwint@novell.com 2007-08-08 07:28:26 MST --- For me, it's not even in /sys/class/net.
https://bugzilla.novell.com/show_bug.cgi?id=297616#c8
Joachim Gleissner jg@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|jg@novell.com |
--- Comment #8 from Joachim Gleissner jg@novell.com 2007-08-08 09:07:25 MST --- Loading iwl3945 is in fact not enough, you also require the firmware. And an Intel Wifi 4965 device, of course. The doubled "Device File(s)" output seems weird indeed, is it intended?
https://bugzilla.novell.com/show_bug.cgi?id=297616#c9
--- Comment #9 from Steffen Winterfeldt snwint@novell.com 2007-08-08 09:32:37 MST --- But the driver loads the firmware, nothing I have to worry about. Or not?
https://bugzilla.novell.com/show_bug.cgi?id=297616#c10
--- Comment #10 from Joachim Gleissner jg@novell.com 2007-08-08 09:48:35 MST --- Ehm, comment 8 is wrong, of course you need an Intel 3945 device. The driver loads the firmware, correct. But Alpha7 packages do not match, you'll need the ucode package from stable.
https://bugzilla.novell.com/show_bug.cgi?id=297616#c11
--- Comment #11 from Steffen Winterfeldt snwint@novell.com 2007-08-08 09:51:10 MST --- I'm testing beta1.
https://bugzilla.novell.com/show_bug.cgi?id=297616#c12
michal zugec mzugec@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |jg@novell.com
--- Comment #12 from michal zugec mzugec@novell.com 2007-08-09 02:29:23 MST --- Joachim, configuration file should be ifcfg-wmaster0 or ifcfg-eth1?
https://bugzilla.novell.com/show_bug.cgi?id=297616#c13
--- Comment #13 from Jörg Hermsdorf funtasyspace@yahoo.com 2007-08-09 02:57:20 MST --- It should be ifcfg-wlan0. AFAIK you don't configure wmaster0 directly, but several wlanX devices which belong to wmaster0. I'll attach my ifcfg-wlan0 file which I created by hand and which is working fine here.
https://bugzilla.novell.com/show_bug.cgi?id=297616#c14
--- Comment #14 from michal zugec mzugec@novell.com 2007-08-09 03:02:26 MST --- In hwinfo (comment #4) there is no such device : wlan0
https://bugzilla.novell.com/show_bug.cgi?id=297616#c15
--- Comment #15 from Jörg Hermsdorf funtasyspace@yahoo.com 2007-08-09 03:03:33 MST --- Created an attachment (id=156410) --> (https://bugzilla.novell.com/attachment.cgi?id=156410) ifcfg file of iwl3945 device
https://bugzilla.novell.com/show_bug.cgi?id=297616#c16
--- Comment #16 from michal zugec mzugec@novell.com 2007-08-09 03:06:38 MST --- Now (after reboot) I'm really confused, hwinfo:
29: PCI 300.0: 0282 WLAN controller [Created at pci.296] UDI: /org/freedesktop/Hal/devices/pci_8086_4227 Unique ID: JNkJ.kj44mnK68N2 Parent ID: qTvu.bQ30eTbcr+3 SysFS ID: /devices/pci0000:00/0000:00:1c.1/0000:03:00.0 SysFS BusID: 0000:03:00.0 Hardware Class: network Model: "Intel PRO/Wireless 3945ABG Network Connection" Vendor: pci 0x8086 "Intel Corporation" Device: pci 0x4227 "PRO/Wireless 3945ABG Network Connection" SubVendor: pci 0x8086 "Intel Corporation" SubDevice: pci 0x1011 Revision: 0x02 Driver: "iwl3945" Driver Modules: "iwl3945" Device File: eth1 Device Files: eth1, wlan0_rename Features: WLAN Memory Range: 0xedf00000-0xedf00fff (rw,non-prefetchable) IRQ: 21 (300508 events) HW Address: 00:18:de:64:b8:0d Module Alias: "pci:v00008086d00004227sv00008086sd00001011bc02sc80i00" Driver Info #0: Driver Status: iwl3945 is active Driver Activation Cmd: "modprobe iwl3945" Config Status: cfg=no, avail=yes, need=no, active=unknown Attached to: #14 (PCI bridge)
dmesg: .. wmaster0: Selected rate control algorithm 'iwl-3945-rs' wmaster0 renamed to eth1 udev: renamed network interface wmaster0 to eth1 wlan0 renamed to wlanxx0 .. wlanxx0 renamed to wlan0 wlan0 renamed to wlan0_rename
https://bugzilla.novell.com/show_bug.cgi?id=297616#c17
--- Comment #17 from Jörg Hermsdorf funtasyspace@yahoo.com 2007-08-09 03:09:09 MST --- Here's the '# hwinfo --wlan' on my ThinkPad T60p: 20: PCI 300.0: 0282 WLAN controller [Created at pci.296] UDI: /org/freedesktop/Hal/devices/pci_8086_4227 Unique ID: 2nea.xxxxxxxxxxx Parent ID: qTvu.bQ30eTbcr+3 SysFS ID: /devices/pci0000:00/0000:00:1c.1/0000:03:00.0 SysFS BusID: 0000:03:00.0 Hardware Class: network Model: "Intel PRO/Wireless 3945ABG Network Connection" Vendor: pci 0x8086 "Intel Corporation" Device: pci 0x4227 "PRO/Wireless 3945ABG Network Connection" SubVendor: pci 0x8086 "Intel Corporation" SubDevice: pci 0x1011 Revision: 0x02 Driver: "iwl3945" Driver Modules: "iwl3945" Device File: wmaster0 Device Files: wmaster0, wlan0 Features: WLAN Memory Range: 0xedf00000-0xedf00fff (rw,non-prefetchable) IRQ: 17 (no events) HW Address: 00:11:22:33:44:55 Link detected: yes Module Alias: "pci:v00008086d00004227sv00008086sd00001011bc02sc80i00" Driver Info #0: Driver Status: iwl3945 is active Driver Activation Cmd: "modprobe iwl3945" Config Status: cfg=no, avail=yes, need=no, active=unknown Attached to: #5 (PCI bridge)
https://bugzilla.novell.com/show_bug.cgi?id=297616#c18
--- Comment #18 from michal zugec mzugec@novell.com 2007-08-09 03:24:57 MST --- of course, you have "Device Files: wmaster0, wlan0", that's why your config name is ifcfg-wlan0, I have "Device Files: wmaster0, eth1", my configuration is ifcfg-eth1 but YaST always uses "Device File" option - this is the main problem and there is conflict between "Device File" and udev rules ;-(
https://bugzilla.novell.com/show_bug.cgi?id=297616#c19
--- Comment #19 from Jörg Hermsdorf funtasyspace@yahoo.com 2007-08-09 04:40:07 MST --- Hm, I just upgraded to Beta1 which ships the iwlwifi driver within the iwlwifi-kmp-default package. I don't experience any udev conflicts here. There are also no 'renaming' messages in my dmesg output like you wrote in Comment #16.
https://bugzilla.novell.com/show_bug.cgi?id=297616#c20
Joachim Gleissner jg@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|jg@novell.com |
--- Comment #20 from Joachim Gleissner jg@novell.com 2007-08-10 06:54:41 MST --- The renaming issue appears with you had ipw3945 loaded on the machine before and you now are using iwl3945. The first registered an interface eth1, the second two interfaces wlan0 and wmaster0. As the device is already known to the system, the interface gets renamed to eth1 in that case. Shouldn't be a problem. You can also remove the related entries of /etc/udev/rules.d/77-network.rules to switch to the new naming.
https://bugzilla.novell.com/show_bug.cgi?id=297616#c21
michal zugec mzugec@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |funtasyspace@yahoo.com
--- Comment #21 from michal zugec mzugec@novell.com 2007-08-17 04:33:57 MST --- What is status of this in Beta1? I suppose that it's fixed now
https://bugzilla.novell.com/show_bug.cgi?id=297616#c22
Joachim Gleissner jg@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Info Provider|funtasyspace@yahoo.com |snwint@novell.com
--- Comment #22 from Joachim Gleissner jg@novell.com 2007-08-17 07:07:40 MST --- The situation in Beta1 is even worse, at least on my system, hwinfo does not detect any WLAN card anymore (means, hwinfo --wlan showing exactly nothing, neither the internal 3945, nor a PCMCIA card). Steffen?
https://bugzilla.novell.com/show_bug.cgi?id=297616#c23
Steffen Winterfeldt snwint@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|snwint@novell.com |
--- Comment #23 from Steffen Winterfeldt snwint@novell.com 2007-08-17 07:18:28 MST --- beta1 is really old, use hwinfo from STABLE
https://bugzilla.novell.com/show_bug.cgi?id=297616#c24
--- Comment #24 from Joachim Gleissner jg@novell.com 2007-08-17 07:38:28 MST --- That works better, thanks. It still features the "Device File: wlan0" and "Device Files: wlan0, wmaster0" oddity, but maybe that's intended. But even with that hwinfo package, YaST does not offer to configure the iwl3945 device. And I noticed another bug while trying to adding the card manually: When clicking on "Add" in the main dialog, I can select "wireless" as device type, but the settings seems to be ignored. In the next dialog, the device type is still "ethernet", and the wireless dialog does not appear either.
https://bugzilla.novell.com/show_bug.cgi?id=297616#c25
--- Comment #25 from michal zugec mzugec@novell.com 2007-08-17 10:07:05 MST --- yast2-network in Beta1 is old too ;-) - this is fixed in STABLE buf if you want to upgrade id from STABLE, upgrade also yast2-core (changed bytecode)
https://bugzilla.novell.com/show_bug.cgi?id=297616#c26
--- Comment #26 from Jörg Hermsdorf funtasyspace@yahoo.com 2007-08-20 08:30:13 MST --- I don't know what this STABLE tree is you're talking about, but I just upgrated to the latest FACTORY packages. I also use the driver from the iwlwifi-kmp-default package now instead of compiling it own my own.
YaST2-Network detects the device and allows to configure it, but as soon as I finish the configuration and return to the overview dialog, the iwl3945 device is shown as 'not configured' again. If I hit the Configure-Button again, all the changes I did in the previous step are lost. Ergo, YaST2 won't write the config at all.
If I create /etc/sysconfig/network/ifcfg-wlan0 manually and call YaST2-Network afterwards, it gets even stranger. Now YaST2 shows my WLAN device two times. One is shown as 'not configured' but with a MAC address. The other one is shown as 'configured' but as 'not connected' and has the device name 'wlan-wlan0' I can make configuration changes to that device and it seems that they are written to /etc/sysconfig/network/ifcfg-wlan0 correctly.
https://bugzilla.novell.com/show_bug.cgi?id=297616#c27
Jörg Hermsdorf funtasyspace@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mbra@gmx.ch
--- Comment #27 from Jörg Hermsdorf funtasyspace@yahoo.com 2007-08-20 09:12:07 MST --- *** Bug 301668 has been marked as a duplicate of this bug. ***
https://bugzilla.novell.com/show_bug.cgi?id=301668
https://bugzilla.novell.com/show_bug.cgi?id=297616#c28
michal zugec mzugec@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED
--- Comment #28 from michal zugec mzugec@novell.com 2007-08-21 02:53:55 MST --- fixed and tested in yast2-network-2.15.65
https://bugzilla.novell.com/show_bug.cgi?id=297616#c29
--- Comment #29 from Jörg Hermsdorf funtasyspace@yahoo.com 2007-08-29 08:51:39 MST --- Confirmed that! Works as expected after Factory update to yast2-network-2.15.67. Thanks!
https://bugzilla.novell.com/show_bug.cgi?id=297616#c30
michal zugec mzugec@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |juergen.mell@t-online.de
--- Comment #30 from michal zugec mzugec@novell.com 2007-09-01 07:33:46 MST --- *** Bug 307026 has been marked as a duplicate of this bug. ***
https://bugzilla.novell.com/show_bug.cgi?id=307026