Find the answer to your Linux question:
Results 1 to 6 of 6
Hey everyone, I'm sorry to say this linux cliche, but I am having trouble with my wireless. I have a Thinkpad T400 notebook that dual boots windows 7 and Ubuntu ...
  1. #1
    Just Joined!
    Join Date
    Nov 2005
    Posts
    5

    wlan has stopped working

    Hey everyone,
    I'm sorry to say this linux cliche, but I am having trouble with my wireless.

    I have a Thinkpad T400 notebook that dual boots windows 7 and Ubuntu 9.04. My wireless has worked both in windows and ubuntu for the past several months. However 2 days ago, the wireless in ubuntu stopped working. I think this may be a result of trying to set up a static eth0 connection between my laptop and an embedded board, but I dont see how messing with eth0 would stop the wlan from working.

    Symptoms:
    When I left click on the network connections icon in the tray, all it lists under "Wireless networks" is "device not ready". Needless to say, there are no networks available to connect to. Also the wireless is working fine under windows.

    Relevant Command line outputs:

    lspci | grep Network
    00:19.0 Ethernet controller: Intel Corporation 82567LM Gigabit Network Connection (rev 03)
    03:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device 8172 (rev 10)

    cat /etc/network/interfaces

    auto lo
    iface lo inet loopback

    auto wlan0
    iface wlan0 inet dhcp

    #iface eth0 inet static
    #address 192.168.0.10
    #netmask 255.255.255.0

    ifconfig -a

    eth0 Link encap:Ethernet HWaddr 00:27:13:66:ff:18
    UP BROADCAST RUNNING MULTICAST MTU:1500 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:1000
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
    Memory:fc600000-fc620000

    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:1634 errors:0 dropped:0 overruns:0 frame:0
    TX packets:1634 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:48578 (48.5 KB) TX bytes:48578 (48.5 KB)

    pan0 Link encap:Ethernet HWaddr 3e:d2:de:25:86:14
    BROADCAST MULTICAST MTU:1500 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)

    wlan0 Link encap:Ethernet HWaddr 00:26:5e:ef:0f:22
    BROADCAST MULTICAST MTU:1500 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:1000
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
    Interrupt:17 Memory:f81f8000-f81f8100

    sudo ifconfig wlan0 up
    SIOCSIFFLAGS: Operation not permitted

    This is where I think the problem lies, but I have not been able to find information on how to fix this error.

    When I restart the network connections with /etc/init.d/networking restart
    The output contains the SIOCSIFFLAGS error.

    I am stumped, any ideas would be greatly appreciated.
    Thank you very much.

  2. #2
    Linux Newbie JosePF's Avatar
    Join Date
    Jun 2010
    Posts
    225
    Hello,
    could you report ?
    sudo lspci -k
    sudo lsmod
    sudo iwconfig wlan0

    and try to edit:
    #auto wlan0
    #iface wlan0 inet dhcp
    networkmanager does strange things sometimes...

  3. #3
    Just Joined!
    Join Date
    Nov 2005
    Posts
    5
    Hi JosePF, Thanks for getting back to me.
    After a clean restart, these are the results of the commands you mentioned.


    sudo lspci -k
    00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
    Kernel driver in use: agpgart-intel
    Kernel modules: intel-agp
    00:01.0 PCI bridge: Intel Corporation Mobile 4 Series Chipset PCI Express Graphics Port (rev 07)
    Kernel driver in use: pcieport-driver
    Kernel modules: shpchp
    00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
    00:03.0 Communication controller: Intel Corporation Mobile 4 Series Chipset MEI Controller (rev 07)
    00:03.3 Serial controller: Intel Corporation Mobile 4 Series Chipset AMT SOL Redirection (rev 07)
    Kernel driver in use: serial
    00:19.0 Ethernet controller: Intel Corporation 82567LM Gigabit Network Connection (rev 03)
    Kernel driver in use: e1000e
    Kernel modules: e1000e
    00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
    Kernel driver in use: uhci_hcd
    00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
    Kernel driver in use: uhci_hcd
    00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
    Kernel driver in use: uhci_hcd
    00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
    Kernel driver in use: ehci_hcd
    00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
    Kernel driver in use: HDA Intel
    Kernel modules: snd-hda-intel
    00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
    Kernel driver in use: pcieport-driver
    Kernel modules: shpchp
    00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
    Kernel driver in use: pcieport-driver
    Kernel modules: shpchp
    00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 03)
    Kernel driver in use: pcieport-driver
    Kernel modules: shpchp
    00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 03)
    Kernel driver in use: pcieport-driver
    Kernel modules: shpchp
    00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
    Kernel driver in use: uhci_hcd
    00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
    Kernel driver in use: uhci_hcd
    00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
    Kernel driver in use: uhci_hcd
    00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
    Kernel driver in use: ehci_hcd
    00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
    00:1f.0 ISA bridge: Intel Corporation ICH9M-E LPC Interface Controller (rev 03)
    Kernel modules: iTCO_wdt
    00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI Controller (rev 03)
    Kernel driver in use: ahci
    00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
    Kernel modules: i2c-i801
    01:00.0 VGA compatible controller: ATI Technologies Inc Mobility Radeon HD 3400 Series
    03:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device 8172 (rev 10)
    15:00.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ba)
    Kernel driver in use: yenta_cardbus
    Kernel modules: yenta_socket
    15:00.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 04)
    Kernel driver in use: ohci1394
    Kernel modules: firewire-ohci, ohci1394
    15:00.2 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 21)
    Kernel driver in use: sdhci-pci
    Kernel modules: sdhci-pci
    15:00.3 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev ff)
    Kernel driver in use: ricoh-mmc
    Kernel modules: ricoh_mmc
    15:00.4 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 11)
    15:00.5 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 11)


    sudo lsmod
    Module Size Used by
    isofs 39844 0
    udf 87716 1
    crc_itu_t 10112 1 udf
    binfmt_misc 16776 1
    i915 67844 2
    drm 96424 3 i915
    ppdev 15620 0
    bridge 56212 0
    stp 10500 1 bridge
    bnep 20224 2
    input_polldev 11912 0
    ndiswrapper 193052 0
    nls_iso8859_1 12032 1
    nls_cp437 13696 1
    vfat 18816 1
    fat 58272 1 vfat
    lp 17156 0
    parport 42220 2 ppdev,lp
    snd_hda_intel 436276 2
    snd_pcm_oss 46336 0
    snd_mixer_oss 22656 1 snd_pcm_oss
    snd_pcm 83076 2 snd_hda_intel,snd_pcm_oss
    snd_seq_dummy 10756 0
    snd_seq_oss 37760 0
    snd_seq_midi 14336 0
    snd_rawmidi 29696 1 snd_seq_midi
    snd_seq_midi_event 15104 2 snd_seq_oss,snd_seq_midi
    snd_seq 56880 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_mid i_event
    snd_timer 29704 2 snd_pcm,snd_seq
    snd_seq_device 14988 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi ,snd_seq
    thinkpad_acpi 66560 0
    led_class 12036 1 thinkpad_acpi
    intel_agp 34108 1
    snd 62756 13 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,sn d_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_de vice
    soundcore 15200 1 snd
    agpgart 42696 3 drm,intel_agp
    pcmcia 44748 0
    psmouse 61972 0
    snd_page_alloc 16904 2 snd_hda_intel,snd_pcm
    nvram 16396 1 thinkpad_acpi
    video 25872 0
    serio_raw 13444 0
    joydev 18368 0
    iTCO_wdt 19108 0
    output 11008 1 video
    ricoh_mmc 11904 0
    sdhci_pci 15232 0
    sdhci 23940 1 sdhci_pci
    yenta_socket 32396 1
    iTCO_vendor_support 11652 1 iTCO_wdt
    usbhid 42336 0
    rsrc_nonstatic 19328 1 yenta_socket
    pcmcia_core 43540 3 pcmcia,yenta_socket,rsrc_nonstatic
    ohci1394 38576 0
    ieee1394 94660 1 ohci1394
    e1000e 121008 0
    fbcon 46112 0
    tileblit 10752 1 fbcon
    font 16384 1 fbcon
    bitblit 13824 1 fbcon
    softcursor 9984 1 bitblit


    sudo iwconfig wlan0
    wlan0 No such device


    In an unfortunate turn of events, it seems that the wlan0 device has disappeared.

  4. #4
    Linux Newbie JosePF's Avatar
    Join Date
    Jun 2010
    Posts
    225
    Hi,

    try:
    sudo modprobe re8192se_pci
    sudo iwconfig wlan0
    and report results, please

    Regards

  5. #5
    Just Joined!
    Join Date
    Nov 2005
    Posts
    5

    Unhappy

    After reinstalling the drivers for this network card, I was able to bring back the wlan0 device. However, the network manager still says that the wireless device is not managed.

    sudo lsmod | grep r8 now returns:

    lsmod | grep r8
    r8192se_pci 428948 0

    there is no "re8192se_pci" module. I think that might have been a typo. Regardless lsmod does not find a module of the name "re8..." and modprobe returns the same error as seen below.
    However, modprobe fails for the r8192se_pci module as well.

    sudo modprobe r8192se_pci
    FATAL: Module r8192se_pci not found.

    sudo iwconfig wlan0
    wlan0 802.11bg Nickname:"rtl8191SEVA2"
    Mode:Managed Access Point: Not-Associated Bit Rate:1 Mb/s
    Retry:on RTS thr:off Fragment thr:off
    Encryption key:off
    Power Management:off
    Link Quality=10/100 Signal level=0 dBm Noise level=-100 dBm
    Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
    Tx excessive retries:0 Invalid misc:0 Missed beacon:0

    Trying to bring up the wlan0 device, returns the same error as before.

    sudo ifconfig wlan0 up
    SIOCSIFFLAGS: Operation not permitted

  6. #6
    Linux Newbie JosePF's Avatar
    Join Date
    Jun 2010
    Posts
    225

    wlan0 driver

    Realtek
    This is the page where is the driver but links dont work!

    I have found a old driver that hope help you:
    MEGAUPLOAD - The leading online storage and file delivery service

    install build_essential
    extract file
    move folder to /usr/src (just to maintain consistency):
    sudo mv folder_name /usr/src/
    cd /usr/src/folder_name
    sudo make
    sudo make install
    sudo reboot

Posting Permissions

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