Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 18
I want to use TL-WN422G+ in Ubuntu,so using ndiswrapper to install its driver named ZD1211BU.inf,but when I input ndiswrapper -l or iwconfig in terminal, the system could not find the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2009
    Posts
    6

    Unhappy TL-WN422G+ problem


    I want to use TL-WN422G+ in Ubuntu,so using ndiswrapper to install its driver named ZD1211BU.inf,but when I input ndiswrapper -l or iwconfig in terminal, the system could not find the device,so for help,thanks.

    PS:TL-WN422G+ work fine in XP

  2. #2
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Hi. Please read the wireless setup sticky and post the requested information.

  3. #3
    Just Joined!
    Join Date
    Oct 2009
    Posts
    6
    This is my system's information

    root@wangrui-desktop:/home/wangrui# lsmod
    Module Size Used by
    ndiswrapper 192920 0
    nls_iso8859_1 4992 1
    nls_cp437 6656 1
    vfat 14464 1
    fat 54556 1 vfat
    isofs 36388 1
    udf 88740 0
    binfmt_misc 12808 1
    rfcomm 41744 2
    l2cap 25728 13 rfcomm
    bluetooth 61028 4 rfcomm,l2cap
    ppdev 10372 0
    cpufreq_stats 7104 0
    cpufreq_ondemand 9740 0
    cpufreq_userspace 5284 0
    cpufreq_conservative 8712 0
    cpufreq_powersave 2688 0
    freq_table 5536 2 cpufreq_stats,cpufreq_ondemand
    container 5632 0
    sbs 15112 0
    sbshc 7680 1 sbs
    video 19856 0
    output 4736 1 video
    dock 11280 0
    battery 14212 0
    af_packet 23812 0
    ppp_generic 29588 0
    slhc 7040 1 ppp_generic
    iptable_filter 3840 0
    ip_tables 14820 1 iptable_filter
    x_tables 16132 1 ip_tables
    ac 6916 0
    lp 12324 0
    ipv6 268164 16
    joydev 13120 0
    snd_hda_intel 346264 3
    snd_pcm_oss 42144 0
    snd_mixer_oss 17920 1 snd_pcm_oss
    snd_pcm 78724 2 snd_hda_intel,snd_pcm_oss
    snd_page_alloc 11400 2 snd_hda_intel,snd_pcm
    snd_hwdep 10500 1 snd_hda_intel
    snd_seq_dummy 4868 0
    evdev 13056 5
    snd_seq_oss 35584 0
    snd_seq_midi 9376 0
    snd_rawmidi 25760 1 snd_seq_midi
    snd_seq_midi_event 8320 2 snd_seq_oss,snd_seq_midi
    parport_pc 36260 1
    parport 37832 3 ppdev,lp,parport_pc
    psmouse 40336 0
    snd_seq 54224 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_mid i_event
    snd_timer 24836 2 snd_pcm,snd_seq
    snd_seq_device 9612 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi ,snd_seq
    serio_raw 7940 0
    pcspkr 4224 0
    usbhid 32128 0
    snd 56996 17 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,sn d_hwdep,snd_seq_dummy,snd_seq_oss,snd_rawmidi,snd_ seq,snd_timer,snd_seq_device
    hid 38784 1 usbhid
    soundcore 8800 1 snd
    atl1 36364 0
    mii 6400 1 atl1
    nvidia 7825536 34
    agpgart 34760 1 nvidia
    k8temp 6656 0
    button 9232 0
    i2c_viapro 9876 0
    i2c_core 24832 2 nvidia,i2c_viapro
    shpchp 34452 0
    pci_hotplug 30880 1 shpchp
    ext3 136968 1
    jbd 48404 1 ext3
    mbcache 9600 1 ext3
    sr_mod 17956 1
    cdrom 37408 1 sr_mod
    sg 36880 0
    sd_mod 30720 4
    floppy 59588 0
    ehci_hcd 37900 0
    uhci_hcd 27024 0
    pata_via 13316 1
    usbcore 146412 5 ndiswrapper,usbhid,ehci_hcd,uhci_hcd
    sata_via 12420 3
    pata_marvell 7936 0
    pata_acpi 8320 0
    ata_generic 8324 0
    libata 159728 5 pata_via,sata_via,pata_marvell,pata_acpi,ata_gener ic
    scsi_mod 151692 4 sr_mod,sg,sd_mod,libata
    thermal 16796 0
    processor 36616 1 thermal
    fan 5636 0
    fbcon 42912 0
    tileblit 3584 1 fbcon
    font 9472 1 fbcon
    bitblit 6784 1 fbcon
    softcursor 3072 1 bitblit
    fuse 50708 3

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    We need the other info asked for as well, especially the output of lsusb (this is a USB network adapter right?). Which version of Ubuntu are you using as well?

    Please post the output of various commands in code tags.

  6. #5
    Just Joined!
    Join Date
    Oct 2009
    Posts
    6
    wait a minutes

  7. #6
    Just Joined!
    Join Date
    Oct 2009
    Posts
    6
    Code:
    wangrui@wangrui-desktop:~/compat-wireless-2.6-old$ ndiswrapper
    install/manage Windows drivers for ndiswrapper
    
    usage: ndiswrapper OPTION
    -i inffile       install driver described by 'inffile'
    -a devid driver  use installed 'driver' for 'devid' (dangerous)
    -r driver        remove 'driver'
    -l               list installed drivers
    -m               write configuration for modprobe
    -ma              write module alias configuration for all devices
    -mi              write module install configuration for all devices
    -v               report version information
    
    where 'devid' is either PCIID or USBID of the form XXXX:XXXX,
    as reported by 'lspci -n' or 'lsusb' for the card

    Code:
    wangrui@wangrui-desktop:~/compat-wireless-2.6-old$ ndiswrapper -l
    zd1211bu : driver installed

    Code:
    wangrui@wangrui-desktop:~/compat-wireless-2.6-old$ lsusb
    Bus 005 Device 002: ID 0cf3:1006 Atheros Communications, Inc. 
    Bus 005 Device 001: ID 0000:0000  
    Bus 004 Device 001: ID 0000:0000  
    Bus 003 Device 001: ID 0000:0000  
    Bus 002 Device 002: ID 04fc:05d8 Sunplus Technology Co., Ltd 
    Bus 002 Device 001: ID 0000:0000  
    Bus 001 Device 001: ID 0000:0000

    Code:
    wangrui@wangrui-desktop:~/compat-wireless-2.6-old$ iwconfig
    lo        no wireless extensions.
    
    eth0      no wireless extensions.
    Code:
    root@wangrui-desktop:/home/wangrui# uname -r
    2.6.24-24-generic

  8. #7
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    There is a linux driver for this card, the zd1211rw

    What does it show if you remove ndiswrapper and add the zd1211rw module?
    Code:
    sudo modprobe -r ndiswrapper
    sudo modprobe -i zd1211rw
    I see also you are doing something with compat-wireless? Compat-wireless contains newer drivers for this card. You can install some updated drivers in Ubuntu with
    Code:
    sudo apt-get install linux-backports-modules-2.6.24-24-generic
    It looks like there was a patch to the zd1211 driver adding support for the 422G in Febuary of 2009, which wouldn't have made it into Ubuntu 8.04, unless it is included in the backported modules. An upgrade to a newer release might also fix your problems.

  9. #8
    Just Joined!
    Join Date
    Oct 2009
    Posts
    6
    Thanks to reed9, I try this!

  10. #9
    Just Joined!
    Join Date
    Oct 2009
    Posts
    6
    I follow you suggestion do these:

    Code:
    wangrui@wangrui-desktop:~$ sudo modprobe -r ndiswrapper
    wangrui@wangrui-desktop:~$ sudo modprobe -i zd1211rw
    
    wangrui@wangrui-desktop:~$ sudo apt-get install linux-backports-modules-2.6.24-24-generic
    It also display:
    Code:
    root@wangrui-desktop:/home/wangrui# iwconfig
    lo        no wireless extensions.
    eth0      no wireless extensions.
    post the informationL
    Code:
    ============ lspci ============
    
    ============ lsusb ============
    Bus 005 Device 003: ID 0cf3:1006 Atheros Communications, Inc. 
    Bus 005 Device 001: ID 0000:0000  
    Bus 004 Device 001: ID 0000:0000  
    Bus 003 Device 001: ID 0000:0000  
    Bus 002 Device 002: ID 04fc:05d8 Sunplus Technology Co., Ltd 
    Bus 002 Device 001: ID 0000:0000  
    Bus 001 Device 001: ID 0000:0000  
    
    ============ lsmod ============
    Module                  Size  Used by
    isofs                  36388  1 
    udf                    88740  0 
    binfmt_misc            12808  1 
    xt_TCPMSS               5504  1 
    xt_tcpmss               3200  1 
    xt_tcpudp               4096  1 
    iptable_mangle          3712  1 
    pppoe                  14528  2 
    pppox                   4876  1 pppoe
    rfcomm                 41744  2 
    l2cap                  25728  13 rfcomm
    bluetooth              61028  4 rfcomm,l2cap
    ppdev                  10372  0 
    cpufreq_stats           7104  0 
    cpufreq_ondemand        9740  0 
    cpufreq_userspace       5284  0 
    cpufreq_conservative     8712  0 
    cpufreq_powersave       2688  0 
    freq_table              5536  2 cpufreq_stats,cpufreq_ondemand
    container               5632  0 
    sbs                    15112  0 
    sbshc                   7680  1 sbs
    video                  19856  0 
    output                  4736  1 video
    dock                   11280  0 
    battery                14212  0 
    af_packet              23812  2 
    ppp_generic            29588  6 pppoe,pppox
    slhc                    7040  1 ppp_generic
    iptable_filter          3840  0 
    ip_tables              14820  2 iptable_mangle,iptable_filter
    x_tables               16132  4 xt_TCPMSS,xt_tcpmss,xt_tcpudp,ip_tables
    ac                      6916  0 
    ndiswrapper           192920  0 
    lp                     12324  0 
    ipv6                  268164  18 
    joydev                 13120  0 
    snd_hda_intel         346264  3 
    snd_pcm_oss            42144  0 
    snd_mixer_oss          17920  1 snd_pcm_oss
    snd_pcm                78724  2 snd_hda_intel,snd_pcm_oss
    snd_page_alloc         11400  2 snd_hda_intel,snd_pcm
    snd_hwdep              10500  1 snd_hda_intel
    evdev                  13056  5 
    snd_seq_dummy           4868  0 
    usbhid                 32128  0 
    snd_seq_oss            35584  0 
    hid                    38784  1 usbhid
    snd_seq_midi            9376  0 
    snd_rawmidi            25760  1 snd_seq_midi
    snd_seq_midi_event      8320  2 snd_seq_oss,snd_seq_midi
    snd_seq                54224  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
    snd_timer              24836  2 snd_pcm,snd_seq
    snd_seq_device          9612  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
    psmouse                40336  0 
    serio_raw               7940  0 
    snd                    56996  17 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_hwdep,snd_seq_dummy,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
    atl1                   36364  0 
    soundcore               8800  1 snd
    mii                     6400  1 atl1
    nvidia               7825536  34 
    agpgart                34760  1 nvidia
    parport_pc             36260  1 
    parport                37832  3 ppdev,lp,parport_pc
    pcspkr                  4224  0 
    button                  9232  0 
    i2c_viapro              9876  0 
    k8temp                  6656  0 
    i2c_core               24832  2 nvidia,i2c_viapro
    shpchp                 34452  0 
    pci_hotplug            30880  1 shpchp
    ext3                  136968  1 
    jbd                    48404  1 ext3
    mbcache                 9600  1 ext3
    sr_mod                 17956  1 
    cdrom                  37408  1 sr_mod
    sg                     36880  0 
    sd_mod                 30720  3 
    floppy                 59588  0 
    ehci_hcd               37900  0 
    uhci_hcd               27024  0 
    usbcore               146412  5 ndiswrapper,usbhid,ehci_hcd,uhci_hcd
    pata_via               13316  1 
    sata_via               12420  2 
    pata_marvell            7936  0 
    pata_acpi               8320  0 
    ata_generic             8324  0 
    libata                159728  5 pata_via,sata_via,pata_marvell,pata_acpi,ata_generic
    scsi_mod              151692  4 sr_mod,sg,sd_mod,libata
    thermal                16796  0 
    processor              36616  1 thermal
    fan                     5636  0 
    fbcon                  42912  0 
    tileblit                3584  1 fbcon
    font                    9472  1 fbcon
    bitblit                 6784  1 fbcon
    softcursor              3072  1 bitblit
    fuse                   50708  3 
    
    ============ dmesg-firmware ============
    
    ============ kernel version ============
    2.6.24-24-generic
    
    ============ ifconfig ============
    eth0      Link encap:以太网  硬件地址 00:18:f3:c2:b0:a8  
              inet6 地址: fe80::218:f3ff:fec2:b0a8/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  跃点数:1
              接收数据包:1241 错误:0 丢弃:0 过载:0 帧数:0
              发送数据包:1309 错误:0 丢弃:0 过载:0 载波:1
              碰撞:0 发送队列长度:1000 
              接收字节:586677 (572.9 KB)  发送字节:264417 (258.2 KB)
    
    lo        Link encap:本地环回  
              inet 地址:127.0.0.1  掩码:255.0.0.0
              inet6 地址: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:16436  跃点数:1
              接收数据包:1962 错误:0 丢弃:0 过载:0 帧数:0
              发送数据包:1962 错误:0 丢弃:0 过载:0 载波:0
              碰撞:0 发送队列长度:0 
              接收字节:104200 (101.7 KB)  发送字节:104200 (101.7 KB)
    
    ppp0      Link encap:点对点协议  
              inet 地址:222.90.118.165  点对点:222.90.118.1  掩码:255.255.255.255
              UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  跃点数:1
              接收数据包:1207 错误:0 丢弃:0 过载:0 帧数:0
              发送数据包:1267 错误:0 丢弃:0 过载:0 载波:0
              碰撞:0 发送队列长度:3 
              接收字节:557428 (544.3 KB)  发送字节:233777 (228.2 KB)
    
    
    ============ iwconfig ============

  11. #10
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Make sure you restart before checking the updated drivers the the linux-backports-modules package, to ensure you're using the new ones.

    If it doesn't work, as I said, there was a semi-recent patch to the driver for your card, and updating to Ubuntu 9.10 would probably fix the issue.

    For your version of the driver, it looks like you might need to add the usb id.

    Code:
    echo "0cf3 1006 FFFFFFFF FFFFFFFF 0 0 1" | sudo tee -a /sys/bus/usb/drivers/zd1211rw/new_id

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
  •