readme.txt Driver File Contents (

  SHANTOU Semiconductor Inc.				05/16/2003

        A SHANTOU ST268 USB Fast Ethernet driver for Linux. 
        Copyright (C) 1997  Sten Wang

        This program is free software; you can redistribute it and/or
        modify it under the terms of the GNU General Public License
        as published by the Free Software Foundation; either version 2
        of the License, or (at your option) any later version.

        This program is distributed in the hope that it will be useful,
        but WITHOUT ANY WARRANTY; without even the implied warranty of
        GNU General Public License for more details.

  A. Compiler command:

     A-1: For normal single processor kernel
          "gcc -DMODULE -D__KERNEL__ -I/usr/src/linux/include -Wall 
            -Wstrict-prototypes -O6 -c ST268.c"

     A-2: For single processor and set version info on all module symbol
          "gcc -DMODULE -DMODVERSIONS -D__KERNEL__ -I/usr/src/linux/include
            -Wall -Wstrict-prototypes -O6 -c ST268.c"

     A-3: For multiple processors(SMP) and set ver. info. on all module symbol
          "gcc -D__SMP__ -DMODULE -DMODVERSIONS -D__KERNEL__ -I/usr/src/linux
           /include -Wall -Wstrict-prototypes -O6 -c ST268.c"

     	Note: O of -O6 is a capital "o", not a "0".

  B. How to compile driver 
     B-1: Login by supervisor
     B-2: Copy ST268.c and Makefile into your HD. You can make a new directoty
          to put.
     B-3: Keep driver source file name as "ST268.c" and makefile name as 
     B-4: You can type the following command to compile driver. Please according
     	  to your system to pick one.
     		make org	;;Without SMP support 
     		make mod	;;Set version info on all module symbol
     		make smp	;;symmetric multi-processing(SMP) support
     		make smp_mod	;;SMP & Set version info on module

     	  Or you can type above compiler command to compile driver.
     	  Note: Please check you must have the right kernel source on 

  C. The following steps teach you how to activate NIC:

     C-1: A simple and temporary method

        1. Used the upper compiler command to compile ST268.c

        2. Insert ST268 module into kernel
           "insmod ST268.o"           ;;Auto Detection Mode (Suggest)
           "insmod ST268.o mode=0"    ;;Force 10M Half Duplex
           "insmod ST268.o mode=1"    ;;Force 100M Half Duplex
           "insmod ST268.o mode=4"    ;;Force 10M Full Duplex
           "insmod ST268.o mode=5"    ;;Force 100M Full Duplex

	   NOTE: You can type "man insmod" to see more description.

        3. Config a ST268 network interface
           "ifconfig eth0"
                          ^^^^^^^^^^^ Your IP address

	   NOTE: 1. You can type "man ifconfig" to see more description.
		 2. If eth0 has been used, you should use eth1 instead.

        4. Activate the IP routing table. For some distributions, it is not
           necessary. You can type "route" to check.

           "route add default netmask eth0"

	   NOTE: 1. You can type "man route" to see more description.
		 2. If eth0 has been used, you should use eth1 instead.

        5. Well done. Your ST268 adapter actived now.

	Note. This is a temporary method. After you reboot the system, you
	      will lost the setting.

     C-2: For Redhat, You can use the following to Activate NIC
	1.  login your system used the superuser.
	2.  copy ST268.o into	/lib/modules/2.4.x/kernel/drivers/net/
	3.  add the new line with "alias eth0 ST268" in "/etc/module.conf". 
	4.  execute "netconfig -d eth0".
	5.  Fill your IP address, netmask and gateway
	6.  press <ok> to confirm and exit this setting
	7   reboot

	Note. If eth0 has been used, you should use eth1 instead.

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.34