1. at the command line type linuxconf
 2. select networking
 3. select basic host configuration
 4. select adapter1 (assuming you only have one ethernet card)
 5. click the manual button and enter the following information:
        o IP address you want to use
        o netmask required for the subnet
        o use eth0 (if you only have one ethernet card) as the net device
        o the kernel module . This depends on the lan card your using. You
          should be able to find this information on their web site for the
          distribution you're using.
 6. once you completed the above, click accept
 7. click quit
 8. click activate changes

You should now be on the lan. You can check this with the command ifconfig -a . This should display eth0 with the IP address you assigned. You can also check connectivity with the ping command (man ping for details)

To add a card manually, you will need to set the following variables by editing the following files, setting them to appropriate values:

  • /etc/sysconfig/network - HOSTNAME GATEWAY
  • /etc/sysconfig/network-scripts/ifcfg-ethx - IPADDR NETMASK ONBOOT (set ONBOOT to yes)
  • /etc/sysconfig/static-routes - if extra static routes are required.

The entries in file static-routes should be in the following format:

    ethx net ip- address netmask 255.netmask gw gateway-ipaddr

At this point you can perform a reboot to restart the OS with the new network settings. Alternatively, if you don't want to perform a restart, you can dynamically update the network settings in addition to editing the files:

 1. To update the card, ifconfig ethx ipaddress netmask netmask up
 2. To add the default gateway, route add default gw gateway-ipaddr
 3. To add additional routes, route add -net network-ipaddr ethx

Recent Changes