还是无线网卡,资料齐全,大家分析下!(停止求助!)

为当前最终发行版之前的所有版本提供支持
youngcmu
帖子: 92
注册时间: 2006-12-30 16:29
送出感谢: 0
接收感谢: 0

还是无线网卡,资料齐全,大家分析下!(停止求助!)

#1

帖子 youngcmu » 2007-03-20 22:09

各种驱动齐全,为什么就是不能连接无线信号呢?
无线网卡是pci的,主板集成一个网卡。
无线网卡是tp-link tl-wn510g wireless cardbus 芯片Atheros Communications.Inc
开机之后networkmanager 会自动搜索网络信号,里面有三个信号,会一个个的尝试连接,但是都不成功,最后就成了电脑小图标上一个红色的叉号。

以下信息都是没有连接有线的情况下得到的。
1,先看看硬件的信息

代码: 全选

:~$ lspci
00:00.0 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:00.1 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:00.2 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:00.3 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:00.4 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:00.7 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge [K8T800/K8T890 South]
00:0b.0 Ethernet controller: Atheros Communications, Inc. AR5005G 802.11abg NIC (rev 01)
00:0f.0 RAID bus controller: VIA Technologies, Inc. VIA VT6420 SATA RAID Controller (rev 80)
00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [KT600/K8T800/K8T890 South]
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
00:11.6 Communication controller: VIA Technologies, Inc. AC'97 Modem Controller (rev 80)
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 78)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 400] (rev b2)
2,再次看看驱动的信息

代码: 全选

~$ sudo ndiswrapper -l
11gadapter : driver installed
        device (168C:001A) present (alternate driver: ath_pci)
neathrx : invalid driver!
net5211 : driver installed
        device (168C:001A:168C:1052) present (alternate driver: ath_pci)
        device (168C:001A) present (alternate driver: ath_pci)
netathr : driver installed
        device (168C:001A) present (alternate driver: ath_pci)
netathrx : invalid driver!
3,目前的网络情况

代码: 全选

:~$ iwconfig
lo        no wireless extensions.

wifi0     no wireless extensions.

ath0      IEEE 802.11g  ESSID:""  #为什么找不到??
          Mode:Managed  Frequency:2.437 GHz  Access Point: 00:00:00:00:00:00   
          Bit Rate:0 kb/s   Tx-Power:18 dBm   Sensitivity=0/3  
          Retry:off   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=0/94  Signal level=-95 dBm  Noise level=-95 dBm
          Rx invalid nwid:14869  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

eth0      no wireless extensions.

sit0      no wireless extensions.
当我在networkmanager中点击无线信号开始连接的时候,出现如下的信息

代码: 全选

~$ iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

wifi0     no wireless extensions.

ath0      IEEE 802.11g  ESSID:"CMU_GuolufangI"  #我尝试的信号,为什么有名字了???
          Mode:Managed  Frequency:2.437 GHz  Access Point: 00:60:B3:22:8B:BC   
          Bit Rate:5 Mb/s   Tx-Power:18 dBm   Sensitivity=0/3  
          Retry:off   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=39/94  Signal level=-56 dBm  Noise level=-95 dBm
          Rx invalid nwid:550  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

sit0      no wireless extensions.
4,无线网卡的情况

代码: 全选

:~$ iwlist ath0 scan
ath0      Scan completed :
          Cell 01 - Address: 00:60:B3:22:8B:84
                    ESSID:"CMU_GuolufangII"          #为什么这里有???
                    Mode:Master
                    Frequency:2.412 GHz (Channel 1)
                    Quality=22/94  Signal level=-73 dBm  Noise level=-95 dBm
                    Encryption key:off
                    Bit Rate:1 Mb/s
                    Bit Rate:2 Mb/s
                    Bit Rate:5.5 Mb/s
                    Bit Rate:11 Mb/s
                    Extra:bcn_int=100
          Cell 02 - Address: 00:14:78:1E:29:52
                    ESSID:"TP-LINK"
                    Mode:Master
                    Frequency:2.437 GHz (Channel 6)
                    Quality=8/94  Signal level=-87 dBm  Noise level=-95 dBm
                    Encryption key:on
                    Bit Rate:1 Mb/s
                    Bit Rate:2 Mb/s
                    Bit Rate:5.5 Mb/s
                    Bit Rate:11 Mb/s
                    Bit Rate:6 Mb/s
                    Bit Rate:12 Mb/s
                    Bit Rate:24 Mb/s
                    Bit Rate:36 Mb/s
                    Bit Rate:9 Mb/s
                    Bit Rate:18 Mb/s
                    Bit Rate:48 Mb/s
                    Bit Rate:54 Mb/s
                    Extra:bcn_int=100
                    Extra:ath_ie=dd0900037f01010008ff7f
          Cell 03 - Address: 00:60:B3:22:8B:BC
                    ESSID:"CMU_GuolufangI"
                    Mode:Master
                    Frequency:2.437 GHz (Channel 6)
                    Quality=37/94  Signal level=-58 dBm  Noise level=-95 dBm
                    Encryption key:off
                    Bit Rate:1 Mb/s
                    Bit Rate:2 Mb/s
                    Bit Rate:5.5 Mb/s
                    Bit Rate:11 Mb/s
                    Extra:bcn_int=100
          Cell 04 - Address: 00:60:B3:22:8B:9C
                    ESSID:"wireless2"
                    Mode:Master
                    Frequency:2.472 GHz (Channel 13)
                    Quality=9/94  Signal level=-86 dBm  Noise level=-95 dBm
                    Encryption key:off
                    Bit Rate:1 Mb/s
                    Bit Rate:2 Mb/s
                    Bit Rate:5.5 Mb/s
                    Bit Rate:11 Mb/s
                    Extra:bcn_int=100
5,再看eth0的情况

代码: 全选

:~$ iwlist eth0 scan
eth0      Interface doesn't support scanning.
6,看lo的情况

代码: 全选

:~$ iwlist lo scan
lo        Interface doesn't support scanning.
7,在networkmanager中有三个无线网络的信号,可是点击连接之后,尝试一段时间就会失败。
8,madwifi也装了。
9,网上说的方法基本都做了一次了,但是都没有成功。
10,之前曾经无线网络连接成功2次,但是现在不能连接。

我在想会不会是集成的网卡和无线网卡之间有冲突呢??大家帮我分析下!谢谢!
上次由 youngcmu 在 2007-03-22 21:46,总共编辑 3 次。
头像
laborer
帖子: 1016
注册时间: 2005-10-25 11:15
送出感谢: 0
接收感谢: 1 次
联系:

#2

帖子 laborer » 2007-03-20 22:18

看上去无线网络已经连接成功了,可能是因为那个ap没有dhcp,自己指定ip试试。
hreiser@oakland:~$ killall -9 wife
police@oakland:~$ sudo find / -user hreiser
court@oakland:~$ sudo mv /home/hreiser /jail/
court@oakland:~$ sudo usermod -d /jail/hreiser -s "/usr/sbin/chroot /jail/" hreiser
youngcmu
帖子: 92
注册时间: 2006-12-30 16:29
送出感谢: 0
接收感谢: 0

#3

帖子 youngcmu » 2007-03-20 22:23

我们学校是客户端认证的方式。我的ip我发现是固定的,已经和我的MAC帮定了吧。具体如何指定呢?我试过一些网上的方法,也没有主意了。能不能详细点?谢谢!
头像
laborer
帖子: 1016
注册时间: 2005-10-25 11:15
送出感谢: 0
接收感谢: 1 次
联系:

#4

帖子 laborer » 2007-03-20 22:36

你试试

代码: 全选

dhclient ath0
能不能给你自动分配一个ip,不行的话用

代码: 全选

ifconfig ath0 xxx.xxx.xxx.xxx
手动指定ip,还需要

代码: 全选

route add default gw xxx.xxx.xxx.xxx
手动指定路由器ip,还需要在/etc/resolve.conf加入一行

代码: 全选

nameserver xxx.xxx.xxx.xxx
手动指定dns服务器ip
hreiser@oakland:~$ killall -9 wife
police@oakland:~$ sudo find / -user hreiser
court@oakland:~$ sudo mv /home/hreiser /jail/
court@oakland:~$ sudo usermod -d /jail/hreiser -s "/usr/sbin/chroot /jail/" hreiser
youngcmu
帖子: 92
注册时间: 2006-12-30 16:29
送出感谢: 0
接收感谢: 0

#5

帖子 youngcmu » 2007-03-21 8:42

大哥,还是不行啊,我是彻底服了……

代码: 全选

~$ sudo dhclient ath0
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

wifi0: unknown hardware address type 801
wifi0: unknown hardware address type 801
Listening on LPF/ath0/00:14:78:75:c1:9b
Sending on   LPF/ath0/00:14:78:75:c1:9b
Sending on   Socket/fallback
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 21
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 20
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 4
No DHCPOFFERS received.
No working leases in persistent database - sleeping.

代码: 全选

~$ sudo route add default gw 219.216.46.254
SIOCADDRT: Network is unreachable
DNS 地址我也是指定了,都是xp下的参数!为什么还会说不能reach呢??
头像
laborer
帖子: 1016
注册时间: 2005-10-25 11:15
送出感谢: 0
接收感谢: 1 次
联系:

#6

帖子 laborer » 2007-03-21 13:41

dhcp失败了,你要自己用ifconfig手动指定ip。比如:

代码: 全选

sudo ifconfig ath0 219.216.46.201
之后你试试

代码: 全选

ping 219.216.46.254
看看能不能ping到路由器。
hreiser@oakland:~$ killall -9 wife
police@oakland:~$ sudo find / -user hreiser
court@oakland:~$ sudo mv /home/hreiser /jail/
court@oakland:~$ sudo usermod -d /jail/hreiser -s "/usr/sbin/chroot /jail/" hreiser
youngcmu
帖子: 92
注册时间: 2006-12-30 16:29
送出感谢: 0
接收感谢: 0

#7

帖子 youngcmu » 2007-03-21 14:53

还是不行啊

代码: 全选

~$ sudo ifconfig ath0 219.216.46.14
Password:

代码: 全选

~$ ping 219.216.46.254
connect: Network is unreachable
真的是要崩溃了。刚开始的时候有2次是自己连接到无线信号,然后我运行xrgsu就打开网页了。
现在是到处问题啊………………
:( :( :(
头像
jarlyyn
论坛版主
帖子: 4671
注册时间: 2006-04-12 18:54
送出感谢: 0
接收感谢: 6 次
联系:

#8

帖子 jarlyyn » 2007-03-21 16:02

试下sudo iwconfig ath0 essid CMU_GuolufangI
另外,怀疑楼主没有屏蔽本身的网卡驱动,ndis没生效
ndis默认的设备名是wlan0
youngcmu
帖子: 92
注册时间: 2006-12-30 16:29
送出感谢: 0
接收感谢: 0

#9

帖子 youngcmu » 2007-03-21 17:38

谢谢回复!
ndis应该是后装的,那么原来的驱动怎么屏蔽呢?
不要嫌我笨啊,我现在实在是不愿意搜索了,一搜索全是熟悉的结果,看到了就像吐啊!!!!!!!!
而且我也是在xp下上网找东西,基本是有个方法就重启进入ubuntu 尝试一下,可怜我的电脑了,一天下来重启N次啊!
头像
jarlyyn
论坛版主
帖子: 4671
注册时间: 2006-04-12 18:54
送出感谢: 0
接收感谢: 6 次
联系:

#10

帖子 jarlyyn » 2007-03-21 18:51

LZ有没有试过我给你的命令?
头像
jarlyyn
论坛版主
帖子: 4671
注册时间: 2006-04-12 18:54
送出感谢: 0
接收感谢: 6 次
联系:

#11

帖子 jarlyyn » 2007-03-21 18:56

关于你的驱动是什么的问题

你在终端下打lsmod

看看 pcmcia 后面是什么
youngcmu
帖子: 92
注册时间: 2006-12-30 16:29
送出感谢: 0
接收感谢: 0

#12

帖子 youngcmu » 2007-03-21 20:38

代码: 全选

~$ lsmod
Module                  Size  Used by
af_packet              24584  4 
binfmt_misc            13448  1 
rfcomm                 42260  0 
l2cap                  27136  5 rfcomm
bluetooth              53476  4 rfcomm,l2cap
ipv6                  272288  8 
cpufreq_userspace       5408  0 
cpufreq_stats           7744  0 
freq_table              6048  1 cpufreq_stats
cpufreq_powersave       2944  0 
cpufreq_ondemand        8876  0 
cpufreq_conservative     8712  0 
video                  17540  0 
tc1100_wmi              8324  0 
sbs                    16804  0 
sony_acpi               6412  0 
pcc_acpi               14080  0 
i2c_ec                  6272  1 sbs
hotkey                 11556  0 
dev_acpi               12292  0 
button                  7952  0 
battery                11652  0 
container               5632  0 
ac                      6788  0 
asus_acpi              17688  0 
nls_cp437               6912  5 
vfat                   14720  5 
fat                    56348  1 vfat
nls_utf8                3200  6 
ntfs                  112116  1 
lp                     12964  0 
snd_seq_dummy           4996  0 
snd_seq_oss            36480  0 
snd_seq_midi            9984  0 
snd_seq_midi_event      8960  2 snd_seq_oss,snd_seq_midi
snd_seq                59120  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
tsdev                   9152  0 
snd_via82xx            30360  1 
gameport               17160  1 snd_via82xx
snd_via82xx_modem      16648  0 
snd_ac97_codec         97696  2 snd_via82xx,snd_via82xx_modem
snd_ac97_bus            3456  1 snd_ac97_codec
snd_mpu401_uart        10240  1 snd_via82xx
snd_pcm_oss            47360  0 
snd_mixer_oss          19584  1 snd_pcm_oss
wlan_scan_sta          15744  1 
ath_pci               100000  0 
snd_rawmidi            27264  2 snd_seq_midi,snd_mpu401_uart
snd_seq_device          9868  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq,snd_rawmidi
psmouse                41352  0 
i2c_viapro              9876  0 
snd_pcm                84612  4 snd_via82xx,snd_via82xx_modem,snd_ac97_codec,snd_pcm_oss
snd_timer              25348  2 snd_seq,snd_pcm
via_rhine              26116  0 
evdev                  11392  1 
serio_raw               8452  0 
parport_pc             37796  1 
parport                39496  2 lp,parport_pc
ath_rate_sample        16512  1 ath_pci
wlan                  206940  4 wlan_scan_sta,ath_pci,ath_rate_sample
amd64_agp              13124  1 
agpgart                34888  1 amd64_agp
i2c_core               23424  2 i2c_ec,i2c_viapro
snd_page_alloc         11400  3 snd_via82xx,snd_via82xx_modem,snd_pcm
snd                    58372  14 snd_seq_oss,snd_seq,snd_via82xx,snd_via82xx_modem,snd_ac97_codec,snd_mpu401_uart,snd_pcm_oss,snd_mixer_oss,snd_rawmidi,snd_seq_device,snd_pcm,snd_timer
soundcore              11232  1 snd
mii                     6912  1 via_rhine
floppy                 63044  0 
pcspkr                  4352  0 
shpchp                 42144  0 
pci_hotplug            32828  1 shpchp
ath_hal               192976  3 ath_pci,ath_rate_sample
ext3                  142856  1 
jbd                    62228  1 ext3
ehci_hcd               34696  0 
uhci_hcd               24968  0 
usbcore               134912  3 ehci_hcd,uhci_hcd
ide_generic             2432  0 
ide_cd                 33696  2 
cdrom                  38944  1 ide_cd
ide_disk               18560  9 
via82cxxx              10500  0 [permanent]
generic                 6276  0 
sata_via               10500  0 
libata                 74892  1 sata_via
scsi_mod              144648  1 libata
thermal                15624  0 
processor              31560  1 thermal
fan                     6020  0 
fbcon                  41504  0 
tileblit                3840  1 fbcon
font                    9344  1 fbcon
bitblit                 7168  1 fbcon
softcursor              3328  1 bitblit
vesafb                  9244  0 
capability              5896  0 
commoncap               8704  1 capability

代码: 全选

~$ sudo iwconfig ath0 essid CMU_GuolufangI
~$ sudo dhclient ath0
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

wifi0: unknown hardware address type 801
wifi0: unknown hardware address type 801
Listening on LPF/ath0/00:14:78:75:c1:9b
Sending on   LPF/ath0/00:14:78:75:c1:9b
Sending on   Socket/fallback
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 17
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
在帮助里查看pcmcia发现了

代码: 全选

~$ pccardctl -v
pcmciautils 014
Copyright (C) 2004-2005 Dominik Brodowski, (C) 1999 David A. Hinds
Report errors and bugs to <linux-pcmcia@lists.infradead.org>, please.
invalid or unknown argument
Usage: pccardctl COMMAND
Supported commands are:
        ls
        insert
        eject
        suspend
        resume
        reset
        info
        status
        config
        ident
~$ pccardctl ls                  #什么都没有出现
~$ pccardctl status          #同上
~$ pccardctl config
~$ sudo pccardctl config
~$ pccardctl info

头像
jarlyyn
论坛版主
帖子: 4671
注册时间: 2006-04-12 18:54
送出感谢: 0
接收感谢: 6 次
联系:

#13

帖子 jarlyyn » 2007-03-21 21:49

LZ,我又仔细的看了两遍你的帖子,你的网卡驱动应该是没问题的,能正常驱动的

那么,你的上网方式是什么样的?
youngcmu
帖子: 92
注册时间: 2006-12-30 16:29
送出感谢: 0
接收感谢: 0

#14

帖子 youngcmu » 2007-03-21 21:53

我的上网是通过学校的无线网络。在xp下,我需要一个锐捷的客户端来输入我的用户名和密码,然后连接就可以登录了。每次我都是在xp里看回复,再去ubuntu修改……
头像
jarlyyn
论坛版主
帖子: 4671
注册时间: 2006-04-12 18:54
送出感谢: 0
接收感谢: 6 次
联系:

#15

帖子 jarlyyn » 2007-03-21 21:57

回复

回到 “老旧版本支持”