• «
  • 1
  • 2
  • »
  • Pages: 1/2     Go
主题 : VT6656无线网卡不能使用 复制链接 | 浏览器收藏 | 打印
级别: 骑士
UID: 9169
精华: 0
发帖: 249
金钱: 1330 两
威望: 299 点
综合积分: 498 分
注册时间: 2009-09-19
最后登录: 2017-08-14
楼主  发表于: 2010-07-23 09:40

 VT6656无线网卡不能使用

我在使用光盘中的烧写代码,然后插上USB无线网卡VT6656后,能够显示:
[root@FriendlyARM /]# usb 1-1: new full speed USB device using s3c2410-ohci and
address 3
usb 1-1: New USB device found, idVendor=160a, idProduct=3184
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 1-1: Product: VNT USB-802.11 Wireless LAN Adapter
usb 1-1: Manufacturer: VIA Networking Technologies, Inc.
usb 1-1: configuration #1 chosen from 1 choice

然后按照用户手册操作
[root@FriendlyARM /]#
[root@FriendlyARM /]# ifconfig wlan0 up
ifconfig: SIOCGIFFLAGS: No such device
[root@FriendlyARM /]# ifconfig eth0 down
[root@FriendlyARM /]# ifconfig wlan0 up
ifconfig: SIOCGIFFLAGS: No such device

请问请问为什么没有办法检测到设备呢?谢谢答复!迫切等待中!
级别: 侠客
UID: 23357
精华: 0
发帖: 50
金钱: 250 两
威望: 50 点
综合积分: 100 分
注册时间: 2010-06-18
最后登录: 2017-09-13
1楼  发表于: 2010-07-23 23:12

 回 楼主(libailiang) 的帖子

打开http://www.aiothome.net/read.php?tid-7143.html
下载文件*.tar.gz包,其中含有你要的vntwusb.ko驱动模块文件
在超级终端中(或写入开机rcS启动文件中)用命令加载 insmod vntwusb.ko 即可
之后: ifconfig eth1 192.168.0.6 up        //ip地址
              iwconfig eth1 essid   "xxxxxxx"     //连接的无线路由器标识
              iwconfig eth1  key  xxxxxxxxx        //连接的无线路由器wep口令
              iwconfig eht1 ap auto                  //连接模式-自动
             route add default gw 192.168.0.1 dev eth1   // 设置无线网卡默认的网关
级别: 骑士
UID: 9169
精华: 0
发帖: 249
金钱: 1330 两
威望: 299 点
综合积分: 498 分
注册时间: 2009-09-19
最后登录: 2017-08-14
2楼  发表于: 2010-07-26 09:52
我按照你的步骤加载了,但是还是不行。
有几个问题想请教一下。
1、iwconfig eth1 essid   "xxxxxxx"  无线路由器标识是否就是无线网络名呢?我查到的可用网络名是“ChinaNet”?
2、iwconfig eth1  key  xxxxxxxxx        //连接的无线路由器wep口令,这里的口令是否就是网络“ChinaNet”的网络密码呢?
3、route add default gw 192.168.0.1 dev eth1   // 设置无线网卡默认的网关,设置的网关是否是我的无线网络的网关?
谢谢答复!

[root@FriendlyARM /]# insmod vntwusb.ko
[root@FriendlyARM /]# ifconfig eth1 192.168.0.6 up
[root@FriendlyARM /]# iwconfig eth1 essid "ChinaNet-7nGm"
AP(BSS) finding:Found a AP(BSS)..
802.11 Authen (OPEN) Successful.
Association Successful, AID=10.
Link with AP(SSID): ChinaNet-7nGm
[root@FriendlyARM /]# iwconfig eth1 key halation     //halation是网络密码
Error for wireless request "Set Encode" (8B2A) :
    invalid argument "halation".
[root@FriendlyARM /]# route add default gw 192.168.1.111 dev eth1
route: SIOCADDRT: Network is unreachable
以上的网络名是:“ChinaNet-7nGm”
网络密码是:“halation”
默认的网关是:“192.168.1.111 ”
按照我的信息,能提供一个详细的操作过程吗?万分感谢!
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
3楼  发表于: 2010-07-26 14:08
[root@FriendlyARM /]# iwconfig eth1 essid "ChinaNet-7nGm"
AP(BSS) finding:Found a AP(BSS)..
802.11 Authen (OPEN) Successful.
Association Successful, AID=10.
Link with AP(SSID): ChinaNet-7nGm

看起来你的无线AP没有用WEP加密,不是吗?

[root@FriendlyARM /]# ifconfig eth1 192.168.0.6 up
..
route add default gw 192.168.1.111 dev eth1

你给eth1设定的IP地址是192.168.0.6, 指定的网关地址是192.168.1.111,这是不匹配的。网关地址不在eth1的局域网地址内,对于默认的子网掩码255.255.255.0来说)
对于无线AP来说,最简单的做法就是参考无线连接到这个AP上的PC或笔记本的设定。
"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: 9169
精华: 0
发帖: 249
金钱: 1330 两
威望: 299 点
综合积分: 498 分
注册时间: 2009-09-19
最后登录: 2017-08-14
4楼  发表于: 2010-07-26 16:52
请问kasim,如果没有用WEP加密的话,那该如何打开网络呢?
我的方法是:
[root@FriendlyARM /]# insmod vntwusb.ko                          //加载驱动
VIA Networking Wireless LAN USB Driver Ver. 1.20.03
VIA Networking Wireless LAN USB Driver Ver. 1.20.03
Copyright (c) 2004 VIA Networking Technologies, Inc.
usb 1-1: reset full speed USB device using s3c2410-ohci and address 2
usbcore: registered new interface driver vntwusb

[root@FriendlyARM /]# ifconfig eth0 down
[root@FriendlyARM /]# ifconfig eth1 192.168.1.102 up                   //设定IP地址
[root@FriendlyARM /]# iwconfig eth1 essid "ChinaNet-7nGm"     //打开网络名

[root@FriendlyARM /]# AP(BSS) finding:Found a AP(BSS)..
802.11 Authen (OPEN) Successful.
Association Successful, AID=10.
Link with AP(SSID): ChinaNet-7nGm
[root@FriendlyARM /]# iwconfig eth1 key halation                       //输入网络密码
Error for wireless request "Set Encode" (8B2A) :                        //出现错误
    invalid argument "halation".

[root@FriendlyARM /]# iwconfig eth1 ap auto                              //设置自动连接模式
[root@FriendlyARM /]# route add default gw 192.168.1.111 dev eth1         //设置默认的网关

麻烦高手指正一下错误,万分感谢!
另外,我也抓取了电脑上的无线连接的状态。

常规
状态 :    连接上
网络:     ChinaNet-7nGm
持续时间: 06:56:32
速度:   54Mbps

支持
地址类型:     通过DHCP指派
IP地址:       192.168.1.101
子网掩码:     255.255.255.0
默认网关:     192.168.1.111
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
5楼  发表于: 2010-07-26 17:50
先从你的PC上看看“ChinaNet-7nGm”的加密类型,是WEP的,WPA的还是Open的?

另外,从你的PC看,无线网卡的IP地址应该是通过DHCP指派的,这可以在连接上AP之后用"dhclient eth1"来配置(如果你的文件系统里有DHCP client端程序的话,没有的话看http://www.aiothome.net/read.php?tid-5082.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: 9169
精华: 0
发帖: 249
金钱: 1330 两
威望: 299 点
综合积分: 498 分
注册时间: 2009-09-19
最后登录: 2017-08-14
6楼  发表于: 2010-07-27 09:36
我在PC上看到我的网络加密方式是WPA,请问我该如何操作呢?
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
7楼  发表于: 2010-07-27 10:49
引用第6楼libailiang于2010-07-27 09:36发表的  :
我在PC上看到我的网络加密方式是WPA,请问我该如何操作呢?

看看这个?
http://www.aiothome.net/read.php?tid-4221-keyword-WPA.html

作为试验,也可以先把AP配置成无加密方式。这是最简单的连接方式。
"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: 9169
精华: 0
发帖: 249
金钱: 1330 两
威望: 299 点
综合积分: 498 分
注册时间: 2009-09-19
最后登录: 2017-08-14
8楼  发表于: 2010-07-27 13:07
那请问友善提供的内核中是否含有wpa_supplicant工具呢?谢谢您!
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
9楼  发表于: 2010-07-27 13:27

 回 8楼(libailiang) 的帖子

wpa_supplicant不是内核的东西。至于光盘上有没有它的源代码,我不确定,我已经很久没有用我的开发板光盘了。
"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."
  • «
  • 1
  • 2
  • »
  • Pages: 1/2     Go