Bug 288748

Summary: wireless ipw3945 not set up by ifup-wireless
Product: [openSUSE] openSUSE 10.3 Reporter: Casual J. Programmer <casualprogrammer>
Component: NetworkAssignee: E-mail List <bnc-team-screening>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None CC: casualprogrammer
Version: Alpha 5   
Target Milestone: ---   
Hardware: x86   
OS: openSUSE 10.3   
Whiteboard:
Found By: Beta-Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: hwinfo netcard
hwinfo wlan
yast2logs
/etc/sysconfig/network files

Description Casual J. Programmer 2007-07-01 11:45:49 UTC
On a FSC Amilo Si1520 with Intel IPW3945 wireless card running openSuSE 10.3 alpha 5 the wireless card is not set up when using "Traditional Method with ifup"

The script is called an then exits from 

    if [ "$WIRELESS" != yes -a "$HWD_INTERFACETYPE_0" != wlan ]; then
        info_mesg "$HWD_HWDESC is not wireless, exiting"
        exit 0
    fi

as $HWD_INTERFACETYPE_0 is set to "net" instead of "wlan"
Comment 1 Casual J. Programmer 2007-07-01 15:45:33 UTC
*** Bug 256350 has been marked as a duplicate of this bug. ***
Comment 3 Michal Zugec 2007-07-01 16:52:54 UTC
If you used only oss install source this is INVALID, because device don't have oss driver+firmware+userspace daemon and without this he responses as network card without wlan extension
This will be fixed with new kernel driver (I don't know when)
What's your installation source?
Comment 4 Casual J. Programmer 2007-07-01 17:23:28 UTC
Installation source is openSuSE 10.3 alpha 5 DVD as well as 

download.opensuse.org/distribution/SL-OSS-factory/inst-source/

I fixed it for my installation by using

if [ "$WIRELESS" != yes -a "$HWD_DRIVER" != ipw3945 ]; then

instead of

if [ "$WIRELESS" != yes -a "$HWD_INTERFACETYPE_0" != wlan ]; then

If this is "invalid" (i.e. based on the wrong assumption it should be working) then there should at least be a notice in the YaST Network Devices setup to that end.
Comment 5 Michal Zugec 2007-07-01 20:22:07 UTC
>> If this is "invalid" (i.e. based on the wrong assumption it should be working)
>> then there should at least be a notice in the YaST Network Devices setup to
>> that end.

Now I think better description is WONTFIX (it's bug but won't be fixed)
but this one will be fixed by upstream (but only for this one model not general).
Or I can assign it as DUPLICATE of similar bugs ;-(.
Problem is that I can't write anything there (in YaST dialog) because device without kernel driver is recognized as ethernet card. I disscussed this with kernel people and we can create some database of such devices but probably not for 10.3

Can I see "hwinfo --netcard" and "hwinfo --wlan"?
Comment 6 Casual J. Programmer 2007-07-01 21:54:36 UTC
Created attachment 149035 [details]
hwinfo netcard
Comment 7 Casual J. Programmer 2007-07-01 21:55:19 UTC
Created attachment 149036 [details]
hwinfo wlan

Here you go.
Comment 8 Michal Zugec 2007-07-02 08:09:04 UTC
But this _IS_ recognized as wireless card and driver is loaded.
Changed status to major (Major loss of function)

For finding problem, can you attach please yast logs, /etc/sysconfig/network/ifcfg-* files and output from "getcfg $configuration_file"?
Comment 9 Casual J. Programmer 2007-07-02 08:22:04 UTC
Created attachment 149060 [details]
yast2logs
Comment 10 Casual J. Programmer 2007-07-02 08:24:16 UTC
Created attachment 149061 [details]
/etc/sysconfig/network files
Comment 11 Casual J. Programmer 2007-07-02 08:26:06 UTC
Not sure what you address here: "getcfg $configuration_file", output from getcfg eth1 is:

workstation6l:/home/cjp # getcfg eth1HWD_HWDESC="eth1";
HWD_HWDESCTYPE="interface";
HWD_INTERFACE_N="1";
HWD_INTERFACE_0="eth1";
HWD_INTERFACEPATH_0="/sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0/net/eth1";
HWD_INTERFACETYPE_0="net";
HWD_ID="00:13:02:18:12:ac";
HWD_BUS_N="1";
HWD_BUSNAME_0="pci";
HWD_BUSID_0="0000:01:00.0";
HWD_VENDORID="0x8086";
HWD_PRODUCTID="0x4222";
HWD_VENDORSUBID="0x8086";
HWD_PRODUCTSUBID="0x1001";
HWD_DRIVER="ipw3945";
HWD_CONFIG_N="0";
HWD_DEVICEPATH="/sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0";
export  HWD_HWDESC HWD_HWDESCTYPE HWD_INTERFACE_N HWD_INTERFACE_0 HWD_INTERFACEPATH_0 HWD_INTERFACETYPE_0 HWD_ID HWD_BUS_N HWD_BUSNAME_0 HWD_BUSID_0 HWD_VENDORID HWD_PRODUCTID HWD_VENDORSUBID HWD_PRODUCTSUBID HWD_DRIVER HWD_CONFIG_N HWD_DEVICEPATH;
Comment 12 Michal Zugec 2007-07-02 09:24:21 UTC
What about Kill switch ? (see dmesg)
Comment 13 Christian Zoz 2007-07-02 09:59:12 UTC
getcfg is broken.

I'm currently working on that, but it will still take some time.

*** This bug has been marked as a duplicate of bug 283724 ***