justlinux.com
Mon, 13-Feb-2012 12:39:15 GMT

Forum: Registered Users: 75964, Online: 360
nhfs Here you can view your subscribed threads, work with private messages and edit your profile and preferences Registration is free! Calendar Find other members Frequently Asked Questions Search Home Home

Help File Library: Installing Kingston EtheRx Ethernet Adapters in Linux

Only Kernel 2.2.x or greater will be supported. With the latest Kernel, no additional source code will be needed. The KNE100TX with the Intel chipset and the KNE120TX with the RealTek are the exception. See below for driver instructions

Configuring Linux

During the boot up sequence, Linux will try to autodetect the network adapter. If applicable, look for the I/O address and IRQ the OS is detecting for reference.

Log in as root.

Start the X Server.

NOTE FVWM will be the windows manager for this install procedure.

Kernel Daemon Configuration

  1. Go to [Control Panel]
  2. Click [Kernel Daemon Configuration]
  3. Click [Add]
  4. Module Types should default to eth, Click [OK]
  5. Click [Which Module?] (hold down the mouse button) and select
  1. "ne" for KNE20xxLC, KNE20xx+, KNE20x, KNE30x
  2. "tulip" for KNE40x, KNE100TX, KNE110TX
  3. "rtl8139" for KNE120TX
  1. Fill out I/O address and IRQ boxes with the resources that were set in Qstart
  2. NOTE Example of an I/O address 0x300 – For PCI devices, leave blank.

  3. Click [Done]
  4. Click [Restart Kerneld]
  5. Close window

Network Configuration

  1. Go to [Control Panel]
  2. Click [Network Configuration]
  3. The Network Configuration is divided into four sections: Names, Hosts, Interfaces, Routing

    Names: Specify a host name (local computer name) and a domain name

    Hosts: List of systems that the host system can access
    Interfaces: Specify IP and Subnet addresses

    v

    Routing: Specify the gateway IP address (if applicable)

  4. When finished, click [Save]
  5. Click [Quit]
  6. Restart the system

Obtaining Drivers

Drivers for KNE100TX and KNE120TX Kingston ethernet adapters can be obtained from:

http://cesdis.gsfc.nasa.gov/linux/drivers

The drivers are chipset specific. Example: KNE100TX uses the Intel 21143 chipset.

Compiling the Driver

  1. Copy or download the source code into the /usr/src/linux directory.
  2. Located at the bottom of the source code is the command for compiling
  3. Compile the source code in the same directory as listed above
  4. After the file is compiled, copy or move the new file to /lib/modules/2.2.x-x/net

Example: tulip.c creates tulip.o

Compile Command Example

gcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -c tulip.c `[ -f /usr/include/linux/modversions.h ] && echo -DMODVERSIONS`

Troubleshooting

If you are unable to browse the network, please check the following:

Restart your computer in MS-DOS mode and run QStart to make sure that your network card passes the Basic Adapter Test.

Run QSTART’s "Transmit / Receive" test to verify proper adapter / cable communication / connection (NOTE: This test must be run on 2 separate workstations, using Kingston cards, on the same network.)

Check for Link / LED lights on the card / hub (if applicable.)

If using coaxial media, make sure that each network card has a T-connector, and that you have 50-Ohm terminators on both ends of the network.

If you are connecting two machines together using RJ45 cabling only (no hub), make sure your crossover cable is built correctly, crossing pins 1&3 and 2&6. Even though pins 4,5,7, & 8 are not used, it is mandatory that they be present in the cable. (NOTE: A crossover cable is necessary for connecting PC to PC, or hub to hub, unless your hub has a built-in crossover switch on one of the rear-panel ports.)

There are a two of ways to determine the kernel version. (1) It will be listed before the login. (2) It will be listed on a restart/shutdown.

To shut down, type shutdown –h now

To restart, type shutdown –r now

Use ifconfig in terminal to verify IP settings

Make sure that you can ping your own IP address.