VT6656 VIA wifi-usb adapter

Vitor Christo
Hello everyone, I need help, I bought an adapter with chipset VIA VT6656
usb wifi, but I can not install on my X35 MINI2440 FriendlyARM model,
I'm using kernel zimage_X35, with rotfs_qtopia_qt4.img.

when I plug the device comes this message:

[root@FriendlyARM /www]# usb 1-1: new full speed USB device using
s3c2410-ohci and address 2                                                 
              
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 /]# ifconfig wlan0                                       
                                        
ifconfig: wlan0: error fetching interface information: Device not found    
                                                                           
    
[root@FriendlyARM /]# ifconfig wlan0 up                                    
                                                                           
 
ifconfig: SIOCGIFFLAGS: No such device                                     
                              
=====================================================                      
     
[root@FriendlyARM /]# scan-wifi                                            
                                                                           
 
cfg80211: Calling CRDA to update world regulatory domain                   
                                                                           
    
usbcore: registered new interface driver rt73usb                           
                                                                           
    
usbcore: registered new interface driver ath9k_hif_usb                     
                                                                           
    
ifconfig: SIOCGIFFLAGS: No such device                                     
                                                                           
    
0 Access Point Found 
===================================
Can anyone help me please ?

jokin
I have got to install the VIA VT6656 driver on my micro2440 with Linux
2.6.32.2.
There are perfect instructions to make it in this link.

cse.yeditepe.edu.tr/~sgoren/spring2011/CSE326/lab4_new.pdf

I am a begineer with linux so if I have made it, you will can too.
Good luck.

speed
Hi Jokin,

Kindly let me know where can I download the
VT6656_Linux_src_v1.20.03_x86.rar.

Thanks,
Speed

Screwface
Hi speed,

Maybe you can try via website :
http://www.viaarena.com/Driver/VT6656_linux_src_v1.20.03_x86.rar

Please, let us know
Good luck

Screwface
Hi all,

I succesfully compiled the driver following jokin tutorial.
I got vntwusb.ko driver. I tried to install it on 2.6.32.2 kernel (the
original from FriendlyARM) using insmod vntwusb.ko command, but I don't get
any eth1 interface when using ifconfig.

I'm not an expert of drivers, perhaps I missed something?
Can anyone help?

Thanks!

Screwface
Hi,

I finally found my mistake: I used ifconfig instead of iwconfig to see eth1
interface.

[root@FriendlyARM /]# modprobe vntwusb
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.4: reset full speed USB device using s3c2410-ohci and address 3
usbcore: registered new interface driver vntwusb
[root@FriendlyARM /]#

[root@FriendlyARM /]# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

eth1      802.11-a/b/g  ESSID:""
          Mode:Managed  Frequency=2.412 GHz  Access Point: Not-Associated
          Bit Rate:1 Mb/s   Sensitivity=0/255
          Retry min limit:8   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          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

vntwpa    no wireless extensions.

[root@FriendlyARM /]#


But I get an error when trying to set the ESSID :

[root@FriendlyARM /]# iwconfig eth1 essid my_essid
Error for wireless request "Set ESSID" (8B1A) :
    SET failed on device eth1 ; Invalid argument.
[root@FriendlyARM /]#

Does somebody have an idea?

Screwface
Hi everybody,

I managed to connect the mini with VIA VNT6656 wifi adapter successfully to
my network with WEP encryption.

In fact, when the driver is installed, nothing is reported by ifconfig.
eth1 is mentionned by iwconfig only. It is necessary to do ifconfig eth1 up
to get VNT6656 interface available for configuration with ifconfig.

So for beginners like me with linux wifi, the correct initialization is:

ifconfig eth0 down
modprobe vntwusb
ifconfig eth1 up
iwconfig eth1 key YOUR_KEY
iwconfig eth1 essid YOUR_NETWORK_NAME
ifconfig eth1 192.168.1.230 netmask 255.255.255.0
route add default gw 192.168.1.1
echo "nameserver YOUR_DNS_IP" > /etc/resolv.conf

then you should be able to connect ping and connect to your network.
Now I have to manage to connect to WPA network with wpa_supplicant.

mini2440_favr8
I'm also following the manual of 
http://cse.yeditepe.edu.tr/~sgoren/spring2011/CSE326/lab4_new.pdf

but i get error linux kernel source not found ,when i do 

make ­C /path/to/source/of/linux­2.6.32.2 M=`pwd`modules

please guide me.
i'm unable to get vntwusb.ko 
i use the same kernel as said in the manual.
atleast please send me vntwusb.ko i need to test it on my mini2440
my email-id:
yemailid123@rediffmail.com

Thanks

Vishwanath
When i did "make -C kernel_src M=$PWD modules" i got the following:


make: Entering directory `/home/eswara/linux/linux-2.6.32.2'

  WARNING: Symbol version dump
/home/eswara/linux/linux-2.6.32.2/Module.symvers
           is missing; modules will have no dependencies and modversions.

  Building modules, stage 2.
  MODPOST 0 modules
make: Leaving directory `/home/eswara/linux/linux-2.6.32.2'


Please can you help me with the above, especially getting 0 modules.

mo-weigand
I don`t really get it! It seems to be quiet easy but when I type in the
following:

make -C /opt/FriendlyARM/mini2440/linux-2.6.32.2/ M=`pwd`modules

...I get this error:

make: Entering directory `/opt/FriendlyARM/mini2440/linux-2.6.32.2'
scripts/Makefile.build:44:
/home/mo/Downloads/VT6656_linux_src_v1.20.03_x86/drivermodules/Makefile: No
such file or directory
make[1]: *** No rule to make target
`/home/mo/Downloads/VT6656_linux_src_v1.20.03_x86/drivermodules/Makefile'. 
Stop.
make: ***
[_module_/home/mo/Downloads/VT6656_linux_src_v1.20.03_x86/drivermodules]
Error 2
make: Leaving directory `/opt/FriendlyARM/mini2440/linux-2.6.32.2'


It seems, that it needs a makefile...but there isn`t a folder drivermodules
before....so there isn`t a makefile...

I apologize, if this question is far too dumb...

Thanks in advance!

Adrian
Hi,

i followed the manual, but when i install driver I got the following:


make -C /home/adrian/friendlyarm/linux-2.6.32.2/ M=`pwd` modules
make: se ingresa al directorio «/home/adrian/friendlyarm/linux-2.6.32.2»

  WARNING: Symbol version dump
/home/adrian/friendlyarm/linux-2.6.32.2/Module.symvers
           is missing; modules will have no dependencies and modversions.

/home/adrian/friendlyarm/VT6656_linux_src_v1.20.03_x86/driver/Makefile:116:
*** Linux kernel source not configured - missing config.h.  Alto.
make: ***
[_module_/home/adrian/friendlyarm/VT6656_linux_src_v1.20.03_x86/driver]
Error 2
make: se sale del directorio «/home/adrian/friendlyarm/linux-2.6.32.2»

Can somebody help me? Thank you

Munawwar
I've written detailed instructions on how to get this working (including
WPA2) at link http://codepasta.com/site/micro/mini2440/wifi-driver.php