Configuring a LAN Card with linuxconf

  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:

  1. once you completed the above, click accept

  2. click quit

  3. 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)

Configuring a LAN Card manually

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

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