Installing Compex LAN driver for Linux RedHat kernel 1.xx ========================================================= Recompilation of the driver is needed when operate in different release or version of Linux. is the name of the driver source file with .c e.g. re100tx.c is the compiled driver in with a .o e.g. re100tx.o is the name of the .o file but without the .o e.g. re100tx < x.x.xx > is the Linux version number. e.g. 2.3.34-1 Installation ------------ 1) Copy the driver source code to the right directory, cp /mnt/floppy/ /usr/src/linux 2) Compile the source code by entering as shown. cd /usr/src/linux For single CPU machine enter as follows: gcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -c re100tx.c `[ -f /usr/include/linux/modversions.h ] && echo -DMODVERSIONS` For multiple CPU machine enter as follows: gcc -D__SMP__ -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -c re100tx.c `[ -f /usr/include/linux/modversions.h ] && echo -DMODVERSIONS` 3) Install the module to the right directory, install -m 644 /lib/modules/x.x.xx/net/ where x.x.xx is the version of Linux OS version e.g. if Red Hat version 2.3.34-1, install -m 644 re100tx.o /lib/modules/2.3.34-1/net/ 4) Edit using vi the file /etc/conf.modules to add an entry for the card, alias eth0 5) Reboot system: /sbin/shutdown -r now 6) Config the network, a) Start X-window by executing, startx b) Start network config utility by clicking on Network Config icon or run command, netcfg in terminal window, c) Goto Interface, there should be an entry, eth0 d) Double click to edit this entry. e) Set the parameters. These parameters are just for illustration only. Get the correct IP address and netmask from your system administrator. IP address: 192.168.1.12 netmask: 255.255.255.0 f) Check to select on the following: (X) - Active interface at boot time (X) - Allow any user to (de)active interface (X) - Interface configuration Protocol: none Then click Done and save the config. Troubleshooting Hints: --------------------- 1. When system is booting there should be message loading the driver. 2. After system is booted excute command dmesg, there should be info on the card as in file dmesg.txt or excute ifconfig command will show the message in file ifconfig.txt 3. Then, you can PING the loopback IP or other IP devices on LAN. If there's no such message above then pls go back to netcftg | X-window to see if all 4 ports are able to be manually activated. Also you can manually activate the ports eth0 to eth3 as shown, insmod -o eth0 /lib/modules/x.x.xx/net/ Also check that the card is inserted properly in the slot.