linux.txt Driver File Contents (5120S-Driver.zip)

**
**
**  VIA Networking Solomon-A/B/G Wireless LAN Adapter
**
**  Linux Driver 
**
**  v1.10  June 2005
**
**
                 
Introduction:
=============

    The instructions listed below are for linux driver installation. You must complier the source
    and follow the installation steps to setup your card.


Contents of the Subdirectory:
=============================
1. \viawget\                     x86 build driver sudfolder          
    linux.txt                    linux driver description. 
    sta.wlan                     Station wireless settings script file.
    remove                       Remove driver module shell script.     
    ap.wlan                      Access point wireless settings script file.
    ap.remove                    AP mode remove shell script.   
    Makefile                     Makefile for install driver & utility
    \solomon\device_module.c     The network device module functions
    \solomon\device_exp.h        The hardware dependent exported functions
    \solomon\device_module.h     The device module function declaration
    \solomon\x86g_up.o           The x86 driver object code
    \solomon\x86g_smp.o          The x86 driver object code, smp build
    \utility\wetctl.c            The source code of wireless utility
    \utility\wetctl.h            The header file of wireless utility    
    \include\device_cfg.h        The driver configuration header
    \include\iocmd.h             The private command interface header
    \include\type.h              The type definition header
    \ndiswrapper\ndiswrapper-1.2.tar.gz   
                                 The ndiswrapper package
    \wpa_supplicant\wpa_supplicant-0.3.8-patch.tar.gz
                                 The driver pactched wpa supplicant package   
                                 
2. \arm\                         arm build driver sudfolder
    ReadMe.txt                   tool-chain & description.

Installed Driver & Utility
==========================
    \solomon\viawget             Driver module
    \utility\wetctl              Utility module

Kernel & Linux Supported:
========================
    This driver support linux kernel version 2.4.x includes:
    1. 2.4.18-14(Redhat 8.0).
    2. 2.4.20(Redhat 9.0).
    3. 2.4.26

    
Function Supported
=================
    1. Support 802.11b/g station and AP functions.
    2. Support wireless extension interface.(ex. iwconfig, see Note 1) 
    3. Support wpa/wpa2 with wpa_supplicant-0.3.8 (see Note 2) 

Installation
============
    Please enter the following commands at the UNIX prompt. Remember, UNIX is
    case sensitive and make sure your root login.

    1) Create a temporary directory:
        mkdir /temp

    2) Change to the temporary directory:
        cd /temp

    2) Copy driver (viawget.tgz) from DOS disk, (mcopy below is one tool in
       mtools, if you didn't install mtools, you can type 
       'mount -t msdos /dev/fd0 /mnt' and use 'cp /mnt/viawget.tgz /temp'
       command to copy the driver to the temporary directory):
        mcopy a:viawget.tgz.

    3) untar the archive file:

        tar xzvf viawget.tgz
        cd viawget
                         
    5) Compile the source files and it will generate './driver/viawget.o' and 
       './ioctl/wetctl'. The file 'viawget.o' will copy to driver installation 
       path and'wetctl' will copy to '/sbin/wetctl'. 
       
        make clean
        make install
        
    6) Check configuration file (/etc/modules.conf or /etc/conf.modules,it 
       depend on your Linux distribution) for loading kernel modules. Make sure
       there is the following content in the configuration file, where # is 
       interface number (eg: alias eth0 viawget):
        alias eth# viawget        

    7) Configure/Modify the wireless settings. 
        
       Edit the 'sta.wlan' script files under path '/viawget' for required 
       wireless settings. 
       
       'sta.wlan' is an example for startup a wireless station.
       

    8) Reboot now:
        shutdown -r now
        
    9) Install your driver module (If the driver module is in the wrong place,
       an error message will appear, and say that can't find the driver 
       module):
        insmod viawget

    10) Use ifconfig command to assign the IP address, where # is network 
       interface number:
        ifconfig eth# <IP>
        
    11) Run 'sta.wlan' script file to setup wireless connection:
         ./sta.wlan
        
    12) You can use 'wetctl' tools to check link status:
         /sbin/wetctl eth# link
        
        Or use wirelss extension tools 'iwconfig':
         iwconfig eth#

    13) Check the interface works:
         ping <remote_host_IP>
        
    14) Shutdown & remove driver:
         ./remove
        
  
Uninstallation
==============
    Please enter the following commands to uninstall your driver:
        make uninstall

Note
======
    1) You can use 'iwconfig' wireless tools (from 'wireless_tools.25' package)
       in your Linux distribution to configue the wireless settings. 
       
       For example, to join a Access Point called "TestAP":
       
        /sbin/iwconfig eth# mode managed essid TestAP
       
       The Redhat 8.0/9.0 already supports Wireless Extension Interface under
       X windows; you can use the network configure pannel to configure 
       wireless settings and network parameters(like ip,gateway).These 
       parameters will be used at boot time.

       More details see Linux user Manual, or type: 

        man iwconfig  
        
    2) For WPA/WPA2 supplicant installations:
       First untar the archive file 'wpa_supplicant-0.3.8-patch.tar.gz' then 
       follow the steps described in file 'README' to build & install this 
       freeware.  
       
       The 'wpa_supplicant-0.3.8-patch.tar.gz' contains the extra file
       'driver_viawget.c' which is interface for 'viawget' linux driver. 

        
    3) If you can't install driver at boot time.
       If you can install your driver using insmod command, but you can't
       install it at boot time, please check whether the driver is in the
       correct directory (eg: /lib/modules/2.2.XXX/net/), and check the
       /lib/modules/2.2.XXX/modules.dep file, it must include the following
       line:
            /lib/modules/2.2.XXX/net/viawget.o:

       You can insert this line using depmod command or insert it manually.
       Also, you must consult your Linux distribution installation guide
       and learn how to set the IP address of your network interface and 
       up it at boot time.
       
             
    4) If you can't compile this driver, and parse error messages appear,
       please make sure your source code text format is right. You must convert
       your source code text format from MS-DOS to UNIX, as show below (see
       Solution 1 and 2).
       Make sure the files in floppy disk are not viawget.tgz file. They must
       be the source code text files (5 files), viawget.tgz is not a text file
       , so it can't be converted.

        Solution1:
            If you use mcopy command to copy your driver from floppy disk to
            linux, you can type:
                mcopy -t a:\* .
            then it will convert the format for you. 

        Solution2:
            If you use mount command to mount floppy disk to linux, you can
            type:
                mount -t vfat -o conv=t /dev/fd0 /mnt/floppy
            then, when you copy files from /mnt/floppy, these files format will
            be right.

    5) For AP mode settings, you can refer to ap.wlan script.


Download Driver Pack

How To Update Drivers Manually

After your driver has been downloaded, follow these simple steps to install it.

  • Expand the archive file (if the download file is in zip or rar format).

  • If the expanded file has an .exe extension, double click it and follow the installation instructions.

  • Otherwise, open Device Manager by right-clicking the Start menu and selecting Device Manager.

  • Find the device and model you want to update in the device list.

  • Double-click on it to open the Properties dialog box.

  • From the Properties dialog box, select the Driver tab.

  • Click the Update Driver button, then follow the instructions.

Very important: You must reboot your system to ensure that any driver updates have taken effect.

For more help, visit our Driver Support section for step-by-step videos on how to install drivers for every file type.

server: web3, load: 1.90