home *** CD-ROM | disk | FTP | other *** search
/ ftp.tcs3.com / ftp.tcs3.com.tar / ftp.tcs3.com / DRIVERS / Network / LinkSYS / LNE100TX / lne100txv42.exe / README.TXT < prev    next >
Text File  |  2000-06-26  |  5KB  |  180 lines

  1. ****************************************************************************
  2.         Linksys LNE100TX Fast Ethernet Adapter(LNE100TX v4)
  3.               Linux Driver Installation
  4.               ~~~~~~~~~~~~~~~~~~~~~~~~~
  5.  
  6.        Copyright (C) 2000 Linksys. All rights reserved.
  7. ****************************************************************************
  8.  
  9. I. Installation Guide using TurboLinux 6.0.X (It will also work for all other linux but some directories will be different)
  10. =============================================
  11.  *Note: Before starting make sure the diskette is not write protected! (won't matter much)
  12.  
  13. Step 1: Mount the Linksys driver diskette with the following command;
  14.  
  15.     mount -t msdos /dev/fd0 /mnt/floppy 
  16.  
  17. Change directories into the Linux directory on the diskette;
  18.  
  19.     cd /mnt/floppy/Linux
  20.  
  21. Step 2: Create a temp directory called netdrivers in /root;
  22.  
  23.     mkdir netdrivers
  24.  
  25. Step 3: Copy netdrivers.tgz on the floppy diskette to the new directory you have just created;
  26.  
  27.     cp /mnt/floppy/netdrivers.tgz /root/netdrivers
  28.  
  29. Step 4: Decompress netdrivers.tgz to extract the source files;
  30.  
  31.     tar xzvf netdrivers.tgz
  32.  
  33.     The extracted files should now be located within the netdrivers directory
  34.  
  35. Step 5: Compile the modules;
  36.  
  37.     make
  38.  
  39.     You now have compiled the modules successfully
  40.  
  41. Step 6: Install the modules;
  42.  
  43.     insmod pci-scan.o
  44.     insmod tulip.o
  45.  
  46. Step 7: Issue the depmod command;
  47.  
  48.     depmod -a
  49.  
  50. Step 8: Initialize the eth0 adapter
  51.  
  52.     ifup eth0
  53.  
  54. Step 9: Run ifconfig to make sure that the eth0 interface is loaded;
  55.  
  56.     ifconfig
  57.  
  58.     You should see the loopback adapter (lo), and the Ethernet adapter (eth0)
  59.  
  60. Step 10: To have the eth0 load everytime you boot into Linux you must copy tulip.o, and pci-scan.o into the     following directories;
  61.  
  62.     /lib/modules/2.2.14-3/net
  63.  
  64.     /lib/modules/2.2.14-3BOOT/net
  65.  
  66.     /lib/modules/2.2.14smp/net
  67.  
  68.     If you are prompted to replace the current files, say YES
  69.  
  70. Step 11: You will have to add two lines of code to the following file;
  71.  
  72.     /etc/rc.modules
  73.  
  74.     Add the following;
  75.  
  76.     pci-scan.o
  77.     tulip.o
  78.  
  79.     To write the changes to the file type the following;
  80.  
  81.     Shift+: wq (this is only true if they use vi, you not telling them to use vi).
  82.  
  83. Step 12: Edit etc/modules.conf (if needed).
  84.  
  85.     vi etc/modules.conf
  86.  
  87.     Add the following to the begining of the file;
  88.  
  89.     alias eth0 tulip
  90.  
  91.     To write the changes to the file type the following;
  92.  
  93.     Shift+: wq
  94.  
  95.  
  96. A. Get source Code and produce a binary code 
  97. =============================================
  98. Step 1 : Get the source code from the following site;
  99.  
  100.     FTP://cesdis.gsfc.nasa.gov/pub/linux/drivers/kern-2.3/tulip.c
  101.     FTP://cesdis.gsfc.nasa.gov/pub/linux/drivers/kern-2.3/kern_compat.h
  102.  
  103. Step 2 : Compile the source code by using
  104.  
  105.          "gcc -DMODULE -D__KERNEL__ -I/usr/src/linux/net/inet 
  106.           -Wall -Wstrict -prototypes -O6 -c tulip.c 
  107.           '[ -f /usr/include/linux/modversions.h ] && echo 
  108.           -DMODVERSIONS`"
  109.                  
  110.  
  111.  
  112. B. Installation guide using Slackware 3.XX
  113. ==========================================
  114.  
  115. Step 1 : Copy tulip.o into the latest kernel's modules:
  116.          cp tulip.o /lib/modules/2.0.XX/net/tulip.o
  117.          Where the XX is the version number of the latest kernel.
  118.  
  119. Step 2 : Modify /etc/rc.d/rc.modules:
  120.          Unmark the line /sbin/modprobe  tulip
  121.  
  122. Step 3 : Reboot system:
  123.          reboot
  124.  
  125. Step 4 : when system boots, the driver will be load.
  126.  
  127. Step 5 : run netconfig to setup TCP/IP
  128.          (run 'ifconfig' or 'netstat -i' to see if there is a 
  129.          interface 'eth0')
  130.  
  131.  
  132.  
  133. C. Installation guide using Redhat 5.XX
  134. =======================================
  135.  
  136. Step 1 : Copy tulip.o into the latest kernel's modules:
  137.          cp tulip.o /lib/modules/2.0.XX/net/tulip.o
  138.          Where the XX is the version number of the latest kernel.
  139.  
  140. Step 2 : Update kernel's module dependencies:
  141.          /sbin/depmod -a
  142.  
  143. Step 3 : Check /etc/conf.modules:
  144.          alias eth0 tulip
  145.          options tulip options=X debug=X
  146.  
  147. Step 4 : Valid media types selections for options=X are:
  148.          0 Auto-select (default to the 10baseT link)
  149.          1 10base2
  150.          2 AUI
  151.          3 100baseTx
  152.          4 10baseT-FD
  153.          5 100baseTx-FD
  154.          6 100baseT4
  155.          7 100baseFx
  156.          8 100baseFx-FD
  157.          9 MII 10baseT
  158.         10 MII 10baseT-FD
  159.         11 MII (autoselect)
  160.         12 10baseT (no autoselect), v0.69 and later only
  161.         13 MII 100baseTx
  162.         14 MII 100baseTx-FD
  163.         15 MII 100baseT4
  164.  
  165. Step 5 : Valid debug levels for debug=X are:
  166.          1 normal output
  167.          2 more verbose
  168.          3 even more verbose
  169.          4 even more verbose
  170.          6 insanely verbose
  171.  
  172. Step 6 : Reboot system:
  173.          /sbin/shutdown -r now
  174.  
  175. Step 7 : when system boots, the driver will be load.
  176.  
  177. Step 8 : run netconfig to setup TCP/IP
  178.          (run 'ifconfig' or 'netstat -i' to see if there is a interface 
  179.          'eth0')
  180.