Please see this


Contents

- INDEX
- HP-UX Index
- Solaris
- Linux Index
- Other Unix types
- General Unix
- Unix Networking
- Unix Scripts
- Unix Databases

Associated Information

- none

Useful Links

Useful Links

- HOWTOs, FAQs, etc
- Linux Documentation Project
-
GNU free software sight
- Freshmeat software sight
- Linux Weekly News
- Linux Gazzette
- Caldera Openlinux knowledge d/base
- Corel Linux knowledge d/base
- Debian documentation
- Mandrake documentation
- Redhat Online Manuals
- Slackware FAQs
- SUSE support database

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:

    • IP address you want to use
    • netmask required for the subnet
    • use eth0 (if you only have one ethernet card) as the net device
    • 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)

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:

  • /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 this file 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

Copyright 2000 Intronet Computers Ltd
Email: Intronet Computers for enquiries