主题 : udhcpc: socket: Address family not supported by protocol (was 求助usb网卡问题) 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 51190
精华: 0
发帖: 10
金钱: 50 两
威望: 10 点
综合积分: 20 分
注册时间: 2011-06-30
最后登录: 2015-07-01
楼主  发表于: 2011-12-25 11:15

 udhcpc: socket: Address family not supported by protocol (was 求助usb网卡问题)

型号是 TL-WN321G+usb无线网卡
[root@YingJun> /]# scan-wifi
modprobe: module 'ath9k_htc' not found
modprobe: module 'ath9k_htc' not found
phy0 -> rt2x00lib_request_firmware: Info - Loading firmware file 'rt73.bin'.
rt73usb 1-1:1.0: firmware: requesting rt73.bin
phy0 -> rt2x00lib_request_firmware: Info - Firmware detected - version: 1.7.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
         69% ChinaNet
         40% bsunet
         46% CMCC
         49% CMCC-EDU
         46% CMCC
         43% CMCC
         40% CMCC-EDU
         51% CMCC
         51% CMCC-EDU
         57% TP-LINK_60DB6A(Security)
10 Access Point Found
[root@YingJun> /]# start-wifi none ChinaNet
modprobe: module 'ath9k_htc' not found
modprobe: module 'ath9k_htc' not found
socket(PF_PACKET): Address family not supported by protocol
udhcpc (v1.15.2) started
udhcpc: socket: Address family not supported by protocol
[root@YingJun> /]#

能搜索到无线网络,但是为什么连接的时候出现了错误,自己弄了好久没有解决,故发帖求助。
[ 此帖被kasim在2012-01-06 21:00重新编辑 ]
级别: 新手上路
UID: 51190
精华: 0
发帖: 10
金钱: 50 两
威望: 10 点
综合积分: 20 分
注册时间: 2011-06-30
最后登录: 2015-07-01
1楼  发表于: 2011-12-26 11:21
自己顶
级别: 新手上路
UID: 61663
精华: 0
发帖: 5
金钱: 25 两
威望: 5 点
综合积分: 10 分
注册时间: 2012-01-04
最后登录: 2012-01-09
2楼  发表于: 2012-01-05 12:44
顶!哪位大侠能帮忙解决下,我也碰上这个问题了!
级别: 新手上路
UID: 61663
精华: 0
发帖: 5
金钱: 25 两
威望: 5 点
综合积分: 10 分
注册时间: 2012-01-04
最后登录: 2012-01-09
3楼  发表于: 2012-01-06 19:02
你参考这个贴中的命令试试,应该可以直接使用命令,不需要配置编译什么的 http://www.aiothome.net/read.php?tid-1305.html   ,我之前也出现这样的问题,用这个贴中的命令连接就能连接上网络了,不过要注意:只能连接无线路由器的无线信号,笔记本的无线局域网不能连接。我的笔记本是xp系统,虚拟wifi不能连接,也许win7的虚拟wifi可以,你可以尝试一下。
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
4楼  发表于: 2012-01-06 20:59
楼主的问题在于
udhcpc: socket: Address family not supported by protocol

这是由于内核中没有相应的网络协议支持造成的,解决的办法参考http://www.mculee.cn/post/90.html
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 侠客
UID: 14158
精华: 0
发帖: 52
金钱: 260 两
威望: 52 点
综合积分: 104 分
注册时间: 2010-02-03
最后登录: 2012-03-08
5楼  发表于: 2012-03-07 20:32
我的网卡和问题都和你的一样!哥们,咱两撞题了!