LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 720|回复: 5

无线网卡无法联网

[复制链接]
发表于 2009-11-2 21:06:01 | 显示全部楼层 |阅读模式
localhost ~ # ifconfig

localhost conf.d # ifconfig
eth0      Link encap:Ethernet  HWaddr 00:1E:EC:CF:1D:85  
          inet addr:192.168.1.103  Bcast:255.255.255.255  Mask:255.255.255.0
          inet6 addr: fe80::21e:ecff:fecf:1d85/64 Scopeink
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1202 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1224 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1087675 (1.0 Mb)  TX bytes:224214 (218.9 Kb)
          Interrupt:218

lo        Link encapocal 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:4 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:200 (200.0 b)  TX bytes:200 (200.0 b)

wlan0     Link encap:Ethernet  HWaddr 00:21:5D:6E:15:7E  
          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-21-5D-6E-15-7E-B8-BF-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)

localhost conf.d # iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

sit0      no wireless extensions.

wmaster0  no wireless extensions.

wlan0     IEEE 802.11abgn  ESSID:""  
          Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated   
          Tx-Power=15 dBm   
          Retry min limit:7   RTS thrff   Fragment thr=2352 B   
          Encryption keyff
          Power Managementff
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
以上是我的一些信息,现在是无法连接无线网络

localhost conf.d # lsmod | grep iw
iwlagn                112516  0
iwlcore               116740  1 iwlagn
rfkill                  9176  2 iwlcore
mac80211              134428  2 iwlagn,iwlcore
cfg80211               22088  3 iwlagn,iwlcore,mac80211


localhost conf.d # uname -a
Linux localhost 2.6.27-gentoo-r7 #1 SMP Thu Dec 25 22:43:50 HKT 2008 i686 Intel(R) Core(TM)2 Duo CPU T5800 @ 2.00GHz GenuineIntel GNU/Linux

配置文件
# This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d.  To create a more complete configuration,
# please review /etc/conf.d/net.example and save your configuration
# in /etc/conf.d/net (this file :]!).
config_eth0( "dhcp" )


#wireless config
modules=( "iwconfig" )
key_TP-LINK_21AEB2="[1] 09876fedcb [1] enc open"
config_TP-LINK_21AEB2=( "dhcp" )
fallback_TP-LINK_21AEB2=( "192.168.1.100/24" )
fallback_route_TP-LINK_21AEB2=( "default via 192.168.1.1" )

以上是我的一些信息,希望大家帮帮忙
发表于 2009-11-2 22:19:48 | 显示全部楼层
WICD 很好用,不用配置的。
回复 支持 反对

使用道具 举报

发表于 2009-11-4 09:57:35 | 显示全部楼层
关注一下。
顺便借地一问,电信的那个无线3G业务,必须通过安装自带的windows软件才能上网吗?我是被网/联通"折磨"的受不了,有用过的XD告知一下。。。要不在gentoo没法用。
回复 支持 反对

使用道具 举报

发表于 2009-11-4 16:42:11 | 显示全部楼层
key_TP-LINK[color="Red"]_21AEB2="[1] 09876fedcb [1] enc open"

SSID名在配置文件中下划线要转为-
key_TP-LINK[color="Red"]-21AEB2="[1] 09876fedcb [1] enc open"

当初我也是在这个问题上纠缠了很久,你试试吧
回复 支持 反对

使用道具 举报

发表于 2009-11-4 20:46:51 | 显示全部楼层
无线3G业务,只要是免驱动的设备都可以使用linux下的拨号软件wvdial拨号使用,我使用的是edge.不过配置文件比较麻烦,网上有配置好的可以参考
回复 支持 反对

使用道具 举报

发表于 2009-11-4 21:07:46 | 显示全部楼层
我正在用电信的3g

d-link dwm-162-u5

需要一个内核补丁,我已经提交了
不过我准备再提交一次
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表