Find the answer to your Linux question:
Results 1 to 9 of 9
My wireless in PCLinuxOS used to work fine, but today it stopped working When I run /etc/init.d/network restart I get the following output: Code: Shutting down interface eth0: [ OK ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2009
    Posts
    14

    can't connect to wireless anymore :(


    My wireless in PCLinuxOS used to work fine, but today it stopped working

    When I run /etc/init.d/network restart
    I get the following output:

    Code:
     
    Shutting down interface eth0:                                   [  OK  ]
    Shutting down interface wlan1:  Failed to kill daemon. (Timer expired)
                                                                    [  OK  ]
    Shutting down loopback interface:                               [  OK  ]
    Bringing up loopback interface:                                 [  OK  ]
    Bringing up interface eth0:                                     [  OK  ]
    Bringing up interface wlan0:  ndiswrapper device wlan0 does not seem to be present, delaying initialization.
                                                                    [FAILED]
    Bringing up interface wlan1:  Error for wireless request "Set Encode" (8B2A) :
        SET failed on device wlan1 ; Invalid argument.
    ioctl[SIOCSIWAUTH]: Operation not supported
    WEXT auth param 4 value 0x0 - Sorry, there is already an instance of ifplugd for wlan1 running.
                                                                    [FAILED]
    I'm using my wlan1 interface to connect to my wireless network. I'm not using wlan0 since that's a nic which is not supported in linux.

    Does anyone know how I can get my wlan1 working again?

    thank you

  2. #2
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Can you post the output of the following:
    /sbin/lspci -vnn
    /sbin/lsmod
    dmesg | grep wlan

  3. #3
    Just Joined!
    Join Date
    Sep 2009
    Posts
    14
    Quote Originally Posted by reed9 View Post
    Can you post the output of the following:
    /sbin/lspci -vnn
    /sbin/lsmod
    dmesg | grep wlan
    Code:
    [root@localhost ~]# /usr/bin/lspci -vnn
    00:00.0 Host bridge [0600]: ATI Technologies Inc RS480 Host Bridge [1002:5950] (rev 10)
            Subsystem: Mitac Device [1071:8351]
            Flags: bus master, 66MHz, medium devsel, latency 64
            Kernel modules: ati-agp
    
    00:01.0 PCI bridge [0604]: ATI Technologies Inc RS480 PCI Bridge [1002:5a3f] (prog-if 00 [Normal decode])
            Flags: bus master, 66MHz, medium devsel, latency 128
            Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
            I/O behind bridge: 0000c000-0000dfff
            Memory behind bridge: c0000000-cfffffff
            Prefetchable memory behind bridge: 0000000090000000-000000009fffffff
            Capabilities: [44] HyperTransport: MSI Mapping Enable+ Fixed+
            Capabilities: [b0] Subsystem: Mitac Device [1071:8351]
            Kernel modules: shpchp
    
    00:14.0 CardBus bridge [0607]: Texas Instruments PCI4510 PC card Cardbus Controller [104c:ac44] (rev 02)
            Subsystem: Mitac Device [1071:8351]
            Flags: bus master, medium devsel, latency 168, IRQ 17
            Memory at 28000000 (32-bit, non-prefetchable) [size=4K]
            Bus: primary=00, secondary=03, subordinate=06, sec-latency=176
            Memory window 0: 20000000-23fff000 (prefetchable)
            Memory window 1: 24000000-27fff000
            I/O window 0: 00001800-000018ff
            I/O window 1: 00001c00-00001cff
            16-bit legacy interface ports at 0001
            Kernel driver in use: yenta_cardbus
            Kernel modules: yenta_socket
    
    00:14.1 FireWire (IEEE 1394) [0c00]: Texas Instruments PCI4510 IEEE-1394 Controller [104c:8029] (prog-if 10 [OHCI])
            Subsystem: Mitac Device [1071:8351]
            Flags: bus master, medium devsel, latency 128, IRQ 19
            Memory at d0000000 (32-bit, non-prefetchable) [size=2K]
            Memory at d0004000 (32-bit, non-prefetchable) [size=16K]
            Capabilities: [44] Power Management version 2
            Kernel driver in use: ohci1394
            Kernel modules: ohci1394
    
    00:15.0 Ethernet controller [0200]: Winbond Electronics Corp W89C33D 802.11 a/b/g BB/MAC [1050:0033]
            Subsystem: Winbond Electronics Corp W89C33D 802.11 a/b/g BB/MAC [1050:0033]
            Flags: bus master, medium devsel, latency 128, IRQ 10
            I/O ports at e000 [size=256]
            I/O ports at e100 [size=128]
            Memory at d0008000 (32-bit, non-prefetchable) [size=512]
            Capabilities: [dc] Power Management version 2
    
    00:18.0 Host bridge [0600]: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration [1022:1100]
            Flags: fast devsel
            Capabilities: [80] HyperTransport: Host or Secondary Interface
    
    00:18.1 Host bridge [0600]: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map [1022:1101]
            Flags: fast devsel
    
    00:18.2 Host bridge [0600]: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller [1022:1102]
            Flags: fast devsel
    
    00:18.3 Host bridge [0600]: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control [1022:1103]
            Flags: fast devsel
            Kernel driver in use: k8temp
            Kernel modules: k8temp
    
    00:19.0 PCI bridge [0604]: ALi Corporation M5249 HTT to PCI Bridge [10b9:5249] (prog-if 00 [Normal decode])
            Flags: bus master, fast devsel, latency 0
            Bus: primary=00, secondary=02, subordinate=02, sec-latency=32
            I/O behind bridge: 0000a000-0000bfff
            Memory behind bridge: b8000000-bfffffff
            Prefetchable memory behind bridge: 88000000-8fffffff
            Capabilities: [c0] HyperTransport: MSI Mapping Enable+ Fixed+
            Kernel modules: shpchp
    
    00:1b.0 Ethernet controller [0200]: ALi Corporation ULi 1689,1573 integrated ethernet. [10b9:5263] (rev 50)
            Subsystem: Mitac Device [1071:8351]
            Flags: bus master, medium devsel, latency 128, IRQ 20
            I/O ports at 2000 [size=256]
            Memory at d0008200 (32-bit, non-prefetchable) [size=256]
            Capabilities: [50] Power Management version 2
            Kernel driver in use: uli526x
            Kernel modules: uli526x
    
    00:1c.0 USB Controller [0c03]: ALi Corporation USB 1.1 Controller [10b9:5237] (rev 03) (prog-if 10 [OHCI])
            Subsystem: Mitac Device [1071:8351]
            Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 17
            Memory at f8002000 (32-bit, non-prefetchable) [size=4K]
            Kernel driver in use: ohci_hcd
            Kernel modules: ohci-hcd
    
    00:1c.1 USB Controller [0c03]: ALi Corporation USB 1.1 Controller [10b9:5237] (rev 03) (prog-if 10 [OHCI])
            Subsystem: Mitac Device [1071:8351]
            Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 18
            Memory at f8003000 (32-bit, non-prefetchable) [size=4K]
            Kernel driver in use: ohci_hcd
            Kernel modules: ohci-hcd
    
    00:1c.3 USB Controller [0c03]: ALi Corporation USB 2.0 Controller [10b9:5239] (rev 01) (prog-if 20 [EHCI])
            Subsystem: Mitac Device [1071:8351]
            Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 23
            Memory at 28001000 (32-bit, non-prefetchable) [size=256]
            Capabilities: [50] Power Management version 2
            Capabilities: [58] Debug port: BAR=1 offset=0090
            Kernel driver in use: ehci_hcd
            Kernel modules: ehci-hcd
    
    00:1d.0 Multimedia audio controller [0401]: ALi Corporation M5455 PCI AC-Link Controller Audio Device [10b9:5455] (rev 20)
            Subsystem: Mitac Device [1071:8351]
            Flags: bus master, medium devsel, latency 128, IRQ 23
            I/O ports at e300 [size=256]
            Memory at d0009000 (32-bit, non-prefetchable) [size=4K]
            Capabilities: [40] Power Management version 2
            Kernel driver in use: Intel ICH
            Kernel modules: snd-intel8x0
    
    00:1d.1 Modem [0703]: ALi Corporation M5457 AC'97 Modem Controller [10b9:5457] (rev 20) (prog-if 00 [Generic])
            Subsystem: Mitac Device [1071:8351]
            Flags: medium devsel, IRQ 22
            Memory at d000a000 (32-bit, non-prefetchable) [size=4K]
            I/O ports at e400 [size=256]
            Capabilities: [40] Power Management version 2
            Kernel modules: 8250_pci
    
    00:1e.0 ISA bridge [0601]: ALi Corporation PCI to LPC Controller [10b9:1573] (rev 31)
            Subsystem: Mitac Device [1071:8351]
            Flags: bus master, medium devsel, latency 0
    
    00:1e.1 Bridge [0680]: ALi Corporation M7101 Power Management Controller [PMU] [10b9:7101]
            Subsystem: Mitac Device [1071:8351]
            Flags: medium devsel
            Kernel modules: alim7101_wdt, i2c-ali15x3, i2c-ali1535
    
    00:1f.0 IDE interface [0101]: ALi Corporation M5229 IDE [10b9:5229] (rev c7) (prog-if 8a [Master SecP PriP])
            Subsystem: Mitac Device [1071:8351]
            Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 21
            I/O ports at 01f0 [size=8]
            I/O ports at 03f4 [size=1]
            I/O ports at 0170 [size=8]
            I/O ports at 0374 [size=1]
            I/O ports at 1100 [size=16]
            Capabilities: [60] Power Management version 2
            Kernel driver in use: ALI15x3_IDE
            Kernel modules: pata_ali
    
    01:05.0 VGA compatible controller [0300]: ATI Technologies Inc Radeon XPRESS 200M 5955 (PCIE) [1002:5955] (prog-if 00 [VGA controller])
            Subsystem: Mitac Device [1071:8351]
            Flags: bus master, 66MHz, medium devsel, latency 255, IRQ 17
            Memory at 90000000 (32-bit, prefetchable) [size=256M]
            I/O ports at c000 [size=256]
            Memory at c0000000 (32-bit, non-prefetchable) [size=64K]
            [virtual] Expansion ROM at c0020000 [disabled] [size=128K]
            Capabilities: [50] Power Management version 2
            Kernel driver in use: fglrx_pci
            Kernel modules: fglrx, radeonfb
    
    
    
    
    [root@localhost ~]# /sbin/lsmod
    Module                  Size  Used by
    fglrx                1939836  23
    ipv6                  247108  12
    fuse                   48956  1
    aes_i586                7904  1
    aes_generic            29000  1 aes_i586
    af_packet              16192  2
    wmi                     6568  0
    video                  16560  0
    output                  3104  1 video
    sbs                    11208  0
    sbshc                   5280  1 sbs
    fan                     4260  0
    container               3488  0
    binfmt_misc             8488  1
    loop                   14188  0
    sg                     30260  0
    dm_mirror              17216  0
    dm_log                  9604  1 dm_mirror
    dm_mod                 49668  2 dm_mirror,dm_log
    cpufreq_ondemand        7020  0
    cpufreq_conservative     6472  0
    cpufreq_powersave       1952  0
    powernow_k8            13188  0
    freq_table              4576  2 cpufreq_ondemand,powernow_k8
    nvram                   7788  0
    sdhci                  14788  0
    intel_agp              24676  0
    amd64_agp               9540  0
    mmc_block               9796  0
    mmc_core               43420  2 sdhci,mmc_block
    bttv                  160404  0
    videodev               30240  1 bttv
    v4l1_compat            14404  1 videodev
    ir_common              40196  1 bttv
    compat_ioctl32          1344  1 bttv
    i2c_algo_bit            6020  1 bttv
    v4l2_common            11392  1 bttv
    videobuf_dma_sg        11812  1 bttv
    videobuf_core          17284  2 bttv,videobuf_dma_sg
    btcx_risc               4648  1 bttv
    tveeprom               12260  1 bttv
    rt2500usb              19936  0
    arc4                    1920  2
    ecb                     2816  2
    pcmcia                 33868  0
    crypto_blkcipher       16740  1 ecb
    snd_intel8x0           28636  1
    snd_ac97_codec         97892  1 snd_intel8x0
    ac97_bus                1824  1 snd_ac97_codec
    snd_seq_dummy           2852  0
    snd_seq_oss            29024  0
    rt73usb                22112  0
    crc_itu_t               2144  1 rt73usb
    rt2x00usb               9888  2 rt2500usb,rt73usb
    ohci1394               29360  0
    rt2x00lib              25568  3 rt2500usb,rt73usb,rt2x00usb
    snd_seq_midi_event      7104  1 snd_seq_oss
    yenta_socket           22956  1
    i2c_ali1535             6116  0
    firmware_class          7296  3 bttv,pcmcia,rt2x00lib
    snd_seq                48240  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
    rsrc_nonstatic         11616  1 yenta_socket
    i2c_ali15x3             6660  0
    rtc_cmos                9376  0
    ieee1394               84728  1 ohci1394
    snd_seq_device          7212  3 snd_seq_dummy,snd_seq_oss,snd_seq
    pcmcia_core            35764  3 pcmcia,yenta_socket,rsrc_nonstatic
    snd_pcm_oss            36800  0
    shpchp                 29528  0
    snd_pcm                70660  3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
    k8temp                  4288  0
    hwmon                   2716  1 k8temp
    pci_hotplug            26852  1 shpchp
    led_class               4132  1 rt2x00lib
    usbhid                 41312  0
    ff_memless              4968  1 usbhid
    snd_timer              20168  2 snd_seq,snd_pcm
    snd_mixer_oss          14048  1 snd_pcm_oss
    rtc_core               14620  1 rtc_cmos
    snd                    51812  11 snd_intel8x0,snd_ac97_codec,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
    i2c_core               22196  6 bttv,i2c_algo_bit,v4l2_common,tveeprom,i2c_ali1535,i2c_ali15x3
    hid                    33028  1 usbhid
    rtc_lib                 3104  1 rtc_core
    usb_storage            83968  0
    soundcore               7072  1 snd
    uli526x                15056  0
    snd_page_alloc          8456  2 snd_intel8x0,snd_pcm
    thermal                15260  0
    joydev                  9280  0
    ati_agp                 6892  0
    evdev                   9056  5
    battery                10308  0
    agpgart                31560  4 fglrx,intel_agp,amd64_agp,ati_agp
    serio_raw               5316  0
    mac80211              129300  2 rt2x00usb,rt2x00lib
    cfg80211               24328  2 rt2x00lib,mac80211
    button                  6224  0
    8250_pci               23776  0
    ide_cd_mod             22820  0
    cdrom                  34560  1 ide_cd_mod
    ac                      4292  0
    processor              32544  3 powernow_k8,thermal
    ndiswrapper           178556  0
    wacom                  16960  0
    ata_generic             4900  0
    pata_acpi               4192  0
    pata_ali                8452  0
    libata                159040  3 ata_generic,pata_acpi,pata_ali
    sd_mod                 25752  0
    scsi_mod              141228  4 sg,usb_storage,libata,sd_mod
    ext3                  120552  2
    jbd                    41940  1 ext3
    uhci_hcd               21260  0
    ohci_hcd               20996  0
    ehci_hcd               32492  0
    usbcore               129328  11 rt2500usb,rt73usb,rt2x00usb,usbhid,usb_storage,ndiswrapper,wacom,uhci_hcd,ohci_hcd,ehci_hcd
    
    
    
    
    [root@localhost ~]# dmesg | grep wlan
    udev: renamed network interface wlan0 to wlan1
    wlan1: authenticate with AP 00:14:c1:2b:2f:c6
    wlan1: authenticated
    wlan1: associate with AP 00:14:c1:2b:2f:c6
    wlan1: RX AssocResp from 00:14:c1:2b:2f:c6 (capab=0x411 status=0 aid=3)
    wlan1: associated
    martian source 255.255.255.255 from 192.168.57.1, on dev wlan1
    ADDRCONF(NETDEV_UP): wlan1: link is not ready
    ADDRCONF(NETDEV_UP): wlan1: link is not ready

  4. #4
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Ah, you're using a USB network adapter, right?

    Can you post the output of lsusb and ifconfig -a?

    I see that both the rt2500usb module and rt73usb module. I've seen other references to udev loading both modules, and that they can conflict with each other. Hopefully lsusb can help us figure out which driver is correct, or you can test it out by removing one or the other and seeing if it resolves the problem.

    Code:
    sudo ifconfig wlan1 down
    sudo modprobe -r rt2500usb
    sudo modprobe -r rt73usb
    sudo modprobe rt73usb
    sudo ifconfig wlan1 up

  5. #5
    Just Joined!
    Join Date
    Sep 2009
    Posts
    14

    Smile

    Quote Originally Posted by reed9 View Post
    Ah, you're using a USB network adapter, right?

    Can you post the output of lsusb and ifconfig -a?

    I see that both the rt2500usb module and rt73usb module. I've seen other references to udev loading both modules, and that they can conflict with each other. Hopefully lsusb can help us figure out which driver is correct, or you can test it out by removing one or the other and seeing if it resolves the problem.

    Code:
    sudo ifconfig wlan1 down
    sudo modprobe -r rt2500usb
    sudo modprobe -r rt73usb
    sudo modprobe rt73usb
    sudo ifconfig wlan1 up
    I removed rt2500usb and my wireless works fine again!

    thank you very much!!

  6. #6
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Glad it worked! You'll probably need to blacklist the rt2500usb module so you don't have to go through that everytime you reboot.

    Code:
    sudo sh -c 'echo "blacklist rt2500usb" > /etc/modprobe.d/rt2500-blacklist.conf'

  7. #7
    Just Joined!
    Join Date
    Sep 2009
    Posts
    14
    Quote Originally Posted by reed9 View Post
    Glad it worked! You'll probably need to blacklist the rt2500usb module so you don't have to go through that everytime you reboot.

    Code:
    sudo sh -c 'echo "blacklist rt2500usb" > /etc/modprobe.d/rt2500-blacklist.conf'

    There was nowhere I could find the file rt2500-blacklist.conf so I added the line: blacklist rt2500usb in the /etc/modprobe.d/blacklist.conf file. Will this also work to blacklist the driver?

  8. #8
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Yes, that's fine. Any text file in /etc/modprobe.d/ ending in .conf will be read. I just made the rt2500-blacklist.conf name up as something descriptive of what it was doing.

  9. #9
    Just Joined!
    Join Date
    Sep 2009
    Posts
    14
    My wireless stopped working again. Turned out that now I had blacklisted the rt2500usb driver, linux had automatically installed another driver that conflicted with the rt73usb.

    How can I disable the automatic installation of drivers??

Posting Permissions

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