Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 15
Dear all, I have switched from Fedora to Slackware for my laptop. I cannot figure out how to get the wireless lan to be recognized, i.e.: <-- snipp # ifconfig ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2009
    Posts
    7

    [SOLVED] ifconfig -a does not display wlan0


    Dear all,

    I have switched from Fedora to Slackware for my laptop. I cannot figure out how to get the wireless lan to be recognized, i.e.:


    <-- snipp

    # ifconfig -a

    eth0 Link encap:Ethernet HWaddr 00:03:0d:77:a8:08
    inet addr:192.168.1.11 Bcast:192.168.1.255 Mask:255.255.255.0
    inet6 addr: fe80::203:dff:fe77:a808/64 Scope:Link
    UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:199065 errors:0 dropped:0 overruns:0 frame:0
    TX packets:134288 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:263412990 (251.2 MiB) TX bytes:13203833 (12.5 MiB)
    Interrupt:219 Base address:0xc000

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:8 errors:0 dropped:0 overruns:0 frame:0
    TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:400 (400.0 B) TX bytes:400 (400.0 B)

    sit0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-65-74-00-00-00-00-00-00-00-00
    NOARP MTU:1480 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

    snapp -->

    There should be an entry with wlan0. My lspci output is as follows:

    <-- snipp

    # lspci
    00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 03)
    00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)
    00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)
    00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 03)
    00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)
    00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)
    00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
    00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
    00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03)
    00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 03)
    00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 03)
    00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
    00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
    00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
    00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
    00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
    00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 03)
    00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03)
    00:1f.2 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA IDE Controller (rev 03)
    00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)
    04:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
    06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 01)
    0a:04.0 FireWire (IEEE 1394): O2 Micro, Inc. Firewire (IEEE 1394) (rev 02)
    0a:04.2 SD Host controller: O2 Micro, Inc. Integrated MMC/SD Controller (rev 02)
    0a:04.3 Mass storage controller: O2 Micro, Inc. Integrated MS/xD Controller (rev 01)

    snapp -->

    It looks as if my wireless card is "Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)". It would be great if someone could help me of how to proceed!


    Thanks,

    Stephan

  2. #2
    Just Joined! werner's Avatar
    Join Date
    Apr 2008
    Posts
    27
    Make sure the device is enabled.

    # ifconfig wlan0 up

    Then try the ifconfig -a again.

  3. #3
    Just Joined!
    Join Date
    Jan 2009
    Posts
    7
    Hi Werner,

    Thanks for your response.

    # ifconfig wlan0 up
    wlan0: ERROR while getting interface flags: No such device

    Does this help?

    Stephan

  4. #4
    Just Joined! werner's Avatar
    Join Date
    Apr 2008
    Posts
    27
    I needed to download firmware for my linux version (Debian) from the repositories. Check to see if Slackware has firmware for your device. The correct module for your device is iwlwifi. Do this as root to see if you have the module:

    modprobe -l |grep iwlwifi

    If a module with 3945 number shows up do:

    modprobe iwl3945

    Then try the ifconfig wlan0 up again. If you do not have the module, here is the site you can download a driver for your card: Intel&#174; Wireless WiFi Link drivers for Linux*

  5. #5
    Linux Engineer Freston's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    1,049
    No need to download that module, it comes with a full install.

    What happens when you do this:
    Code:
    modprobe iwl3945
    ifconfig wlan0 up
    Can't tell an OS by it's GUI

  6. #6
    Just Joined!
    Join Date
    Jan 2009
    Posts
    7
    Hi Freston and Werner,

    I tried modprobe, with no success:

    # modprobe iwl3945
    FATAL: Module iwl3945 not found.

    and a bit more information --

    # lspci -vv
    ...

    04:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
    Subsystem: Intel Corporation PRO/Wireless 3945ABG Network Connection
    Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0, Cache Line Size: 64 bytes
    Interrupt: pin A routed to IRQ 10
    Region 0: Memory at f8000000 (32-bit, non-prefetchable) [size=4K]
    Capabilities: [c8] Power Management version 2
    Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
    Status: D0 PME-Enable- DSel=0 DScale=0 PME-
    Capabilities: [d0] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
    Address: 0000000000000000 Data: 0000
    Capabilities: [e0] Express (v1) Legacy Endpoint, MSI 00
    DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <512ns, L1 unlimited
    ExtTag- AttnBtn- AttnInd- PwrInd- RBE- FLReset-
    DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
    RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
    MaxPayload 128 bytes, MaxReadReq 128 bytes
    DevSta: CorrErr- UncorrErr+ FatalErr- UnsuppReq+ AuxPwr+ TransPend-
    LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0 <128ns, L1 <64us
    ClockPM+ Suprise- LLActRep- BwNot-
    LnkCtl: ASPM L1 Enabled; RCB 64 bytes Disabled- Retrain- CommClk+
    ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt-
    LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
    Capabilities: [100] Advanced Error Reporting <?>
    Capabilities: [140] Device Serial Number 2d-d8-10-ff-ff-77-1b-00
    ...

    Any ideas? By the way, sorry I am replying so late, I do not have th laptop at work ...

    Thanks! Stephan

  7. #7
    Just Joined! werner's Avatar
    Join Date
    Apr 2008
    Posts
    27
    What kernel are you running? Please post the output of:

    # uname -a

  8. #8
    Just Joined!
    Join Date
    Jan 2009
    Posts
    7
    # uname -a
    Linux slender 2.6.27.7 #1 SMP Mon Jan 12 21:28:32 EST 2009 i686 Intel(R) Celeron(R) M CPU 540 @ 1.86GHz GenuineIntel GNU/Linux

  9. #9
    Just Joined! werner's Avatar
    Join Date
    Apr 2008
    Posts
    27
    Ok...download the slackare firmware here:

    ftp://distro.ibiblio.org/pub/linux/d...8.2.8-fw-1.tgz

    Save it to your home directory. Then install it like this:

    # installpkg iwlwifi-3945-ucode-15.28.2.8-fw-1.tgz

    Try ifconfig commands above again. Good luck!

  10. #10
    Just Joined!
    Join Date
    Jan 2009
    Posts
    7
    Thanks for the tip. I installed iwlwifi as said (I double-checked, it is installed now). However, the commands cited above still show not different answer:


    <-- snipp
    # ifconfig wlan0 up
    wlan0: ERROR while getting interface flags: No such device

    # modprobe iwl3945
    FATAL: Module iwl3945 not found.

    # modprobe -l | grep iwlwifi
    [returns nothing]
    snapp -->

    I checked whether the kernel has firmeware loading support

    # grep CONFIG_FW_LOADER /usr/src/linux/.config
    CONFIG_FW_LOADER=y

    And I checked what my config file tells me concerning IW

    # grep IW /usr/src/linux/.config
    # CONFIG_IWLCORE is not set
    # CONFIG_IWLWIFI_LEDS is not set
    # CONFIG_IWLAGN is not set
    # CONFIG_IWL3945 is not set

    The last line might be interesting, but I do not understand enough of kernel configuration.

    It looks as if the problem is the kernel configuration; maybe I should reinstall the defautl kernel.

    I will take my laptop to work and check the site later today -- thanks for the support so far!

    Stephan

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •