主题 : wif连接问题,求助!! 复制链接 | 浏览器收藏 | 打印
级别: 侠客
UID: 79046
精华: 0
发帖: 57
金钱: 285 两
威望: 57 点
贡献值: 0 点
综合积分: 114 分
注册时间: 2012-09-28
最后登录: 2014-11-12
楼主  发表于: 2012-11-21 18:07

 wif连接问题,求助!!

我的无线网卡接口名字是ra0.
[root@FriendlyARM /]# start-wifi wpa2 Connectify-me 9876543210
ifconfig: SIOCSIFADDR: No such device
ioctl[SIOCGIFFLAGS]: No such device
Could not get interface 'wlan0' flags
ioctl[SIOCSIWPMKSA]: No such device
ioctl[SIOCSIWMODE]: No such device
Could not configure driver to use managed mode
ioctl[SIOCGIWRANGE]: No such device
ioctl[SIOCGIWMODE]: No such device
ioctl[SIOCSIWAP]: No such device
ioctl[SIOCSIWESSID]: No such device
ioctl[SIOCGIFINDEX]: No such device
ioctl[SIOCSIWENCODEEXT]: No such device
ioctl[SIOCSIWENCODE]: No such device
ioctl[SIOCSIWENCODEEXT]: No such device
ioctl[SIOCSIWENCODE]: No such device
ioctl[SIOCSIWENCODEEXT]: No such device
ioctl[SIOCSIWENCODE]: No such device
ioctl[SIOCSIWENCODEEXT]: No such device
ioctl[SIOCSIWENCODE]: No such device
Failed to disable WPA in the driver.
ioctl[SIOCGIWMODE]: No such device
ioctl[SIOCSIWAP]: No such device
ioctl[SIOCSIWESSID]: No such device
ioctl[SIOCGIFFLAGS]: No such device
udhcpc: SIOCGIFINDEX: No such device
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2012-11-22 13:46
看起来start-wifi只认wlan0, 不认抒的ra0?
"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: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
2楼  发表于: 2012-11-23 13:33

 回 3楼(honeydbb) 的帖子

我不清楚友善之臂什么时候能开放start-wifi的源代码,目前来说,恐怕你只能修改无线网卡的驱动把"ra0"改成"wlan0". 这个看起来定义在include/rtmp_def.h里

复制代码
  1. #define INF_MAIN_DEV_NAME        "ra"
  2. #define INF_MBSSID_DEV_NAME        "ra"
  3. #define INF_WDS_DEV_NAME        "wds"
  4. #define INF_APCLI_DEV_NAME        "apcli"
  5. #define INF_MESH_DEV_NAME        "mesh"
"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."