红联Linux门户
Linux帮助
当前位置: 红联Linux门户 > Debian

debian 下安装tl-wn322g+ 成功分享

发布时间:2010-05-09 19:48:49来源:红联作者:pc0088
我安装好debian 后,ifconfig 看不见wlan0
lsusb 显示
Bus 003 Device 003: ID 0bda:0158 Realtek Semiconductor Corp. USB 2.0 multicard reader
Bus 003 Device 002: ID 0ace:1215 ZyDAS WLA-54L 802.11bg >>>>>>>>>>有驱动啊,怎么回事呢?
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
lsmod 显示
Module Size Used by
rfcomm 28272 0
l2cap 17248 5 rfcomm
bluetooth 44996 4 rfcomm,l2cap
ppdev 6468 0
parport_pc 22500 0
lp 8164 0
parport 30988 3 ppdev,parport_pc,lp
ipv6 235396 14
acpi_cpufreq 6796 0
cpufreq_ondemand 6476 1
cpufreq_stats 3776 0
freq_table 4224 3 acpi_cpufreq,cpufreq_ondemand,cpufreq_stats
cpufreq_conservative 5960 0
cpufreq_userspace 3172 0
cpufreq_powersave 1856 0
loop 12748 0
joydev 8480 0
arc4 1824 2
ecb 2624 2
crypto_blkcipher 15236 1 ecb
snd_hda_intel 325720 4
snd_pcm 62660 2 snd_hda_intel
snd_seq 41456 0
snd_timer 17800 3 snd_pcm,snd_seq
snd_seq_device 6380 1 snd_seq
snd 45636 11 snd_hda_intel,snd_pcm,snd_seq,snd_timer,snd_seq_device
soundcore 6368 1 snd
zd1211rw 39876 0
usb_storage 77120 0
pcspkr 2432 0
psmouse 32336 0
snd_page_alloc 7816 2 snd_hda_intel,snd_pcm
serio_raw 4740 0
firmware_class 6816 1 zd1211rw
mac80211 139808 1 zd1211rw
cfg80211 21608 1 mac80211
sis190 14884 0
mii 4896 1 sis190
video 16464 0
output 2912 1 video
shpchp 25528 0
sis_agp 6752 1
battery 10180 0
ac 4196 0
button 6096 0
pci_hotplug 23460 1 shpchp
agpgart 28808 1 sis_agp
evdev 8000 7
ext3 105576 1
jbd 39476 1 ext3
mbcache 7108 1 ext3
sd_mod 22200 3
ide_cd_mod 27684 0
cdrom 30176 1 ide_cd_mod
ata_generic 4676 0
sata_sis 5156 2
pata_sis 3040 1 sata_sis
libata 140448 3 ata_generic,sata_sis,pata_sis
scsi_mod 129548 3 usb_storage,sd_mod,libata
dock 8304 1 libata
ehci_hcd 28428 0
ohci_hcd 18500 0
usbcore 118192 5 zd1211rw,usb_storage,ehci_hcd,ohci_hcd >>>>>>>>>>>>>>>>>>>>>>>模块也能加加载啊[/b]
sis5513 6788 0 [permanent]
ide_pci_generic 3908 0 [permanent]
ide_core 96168 3 ide_cd_mod,sis5513,ide_pci_generic
thermal 15228 0
processor 32576 3 acpi_cpufreq,thermal
fan 4196 0
thermal_sys 10856 4 video,thermal,processor,fan
ifconfig 显示
debian:/lib/firmware# ifconfig
eth0 Link encap:Ethernet HWaddr 00:03:0d:88:2e:a1
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::203:dff:fe88:2ea1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:34283 errors:0 dropped:0 overruns:0 frame:0
TX packets:25415 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:42176070 (40.2 MiB) TX bytes:2637552 (2.5 MiB)
Interrupt:19 Base address:0xdead

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:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:718 (718.0 B) TX bytes:718 (718.0 B)
没有wlan0
ifconfig wlan0 up 显示没有那个文件夹
怎么办呢
文章评论

共有 4 条评论

  1. 不文不武 于 2010-05-12 04:19:34发表:

    骗人的吧 如果是真的那太和谐了

  2. 栎动鑫光 于 2010-05-12 00:23:18发表:

    不错的~~! 感谢您提供

  3. pc0088 于 2010-05-09 19:59:41发表:

    eth0 Link encap:Ethernet HWaddr 00:03:0d:88:2e:a1
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:52294 errors:0 dropped:0 overruns:0 frame:0
    TX packets:38059 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:58543379 (55.8 MiB) TX bytes:3862946 (3.6 MiB)
    Interrupt:19 Base address:0xdead

    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:10 errors:0 dropped:0 overruns:0 frame:0
    TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:718 (718.0 B) TX bytes:718 (718.0 B)

    wlan0 Link encap:Ethernet HWaddr 00:1d:0f:03:4b:ec
    inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:5 errors:0 dropped:0 overruns:0 frame:0
    TX packets:29 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:1071 (1.0 KiB) TX bytes:6049 (5.9 KiB)

    wmaster0 Link encap:UNSPEC HWaddr 00-1D-0F-03-4B-EC-6C-6F-00-00-00-00-00-00-00-00
    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)

  4. pc0088 于 2010-05-09 19:57:36发表:

    ifconfig wlan0 up
    SIOCSIFFLAGS: 没有那个文件或目录
    都规矩上网找问题原因,先下裁驱动
    http://zd1211.wiki.sourceforge.net/VendorDriver
    我下载了 zd1211-firmware-1.4.tar.bz2 包
    看了README
    其中
    This distribution contains the firmware files for the
    ZD1211 chip, which is used in WLAN USB sticks. Copy the zd1211_* files to
    /lib/firmware/zd1211, where they can be loaded by the rewritten
    zd1211 driver.
    找到原因了,
    tar xjf zd1211-firmware-1.4.tar.bz2
    cd zd1211-firmware
    mkdir /lib/firmware/zd1211
    cp zd1211* /lib/firmware/zd1211/
    问题解决
    debian:/home/cp/down# ifconfig wlan0 up
    debian:/home/cp/down# ifconfig
    eth0 Link encap:Ethernet HWaddr 00:03:0d:88:2e:a1
    inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
    inet6 addr: fe80::203:dff:fe88:2ea1/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:45315 errors:0 dropped:0 overruns:0 frame:0
    TX packets:34153 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:54567712 (52.0 MiB) TX bytes:3537494 (3.3 MiB)
    Interrupt:19 Base address:0xdead

    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:10 errors:0 dropped:0 overruns:0 frame:0
    TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:718 (718.0 B) TX bytes:718 (718.0 B)

    wlan0 Link encap:Ethernet HWaddr 00:1d:0f:03:4b:ec
    UP 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)

    wmaster0 Link encap:UNSPEC HWaddr 00-1D-0F-03-4B-EC-65-74-00-00-00-00-00-00-00-00
    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)