Note: see windows_networking.html for info on windows networking
Use the following GUI tools to setup networking. Setting up networking with an ethernet cable is easiest. Even with PCMCIA cards RedHat Linux seems to be able to set up networking with the default kernel.
There are a bunch of command line programs for setting up networking
If you do not see any "eth0" or "eth1" etc interfaces when you type 'ifconfig' then the module for your hardware is not loaded. You can try using the GUI methods above. Also try
See the man pages for more info.
Here are the files affected (this is on Redhat and maybe other systems):
sudo ifdown eth0 sudo ifup eth0
DEVICE=eth0 BOOTPROTO=dhcp ONBOOT=yes DHCP_HOSTNAME=<hostname> USERCTL=no PEERDNS=yes TYPE=Ethernet
NETWORKING=yes HOSTNAME=<hostname.domain>
DEVICE=eth0 BOOTPROTO=none ONBOOT=yes USERCTL=no TYPE=Ethernet IPADDR=<IP-addr> NETMASK=<netmask> BROADCAST=<broadcast> NETWORK=<network>
DEVICE=eth0 BOOTPROTO=none ONBOOT=yes USERCTL=no TYPE=Ethernet IPADDR=<IP-addr> NETMASK=<netmask> BROADCAST= NETWORK=
NETWORKING=yes HOSTNAME=<hostname.domain> GATEWAY=<gateway-IP-addr> GATEWAYDEV=eth0
search <domain1> <domain2> <domain3> ... nameserver <nameserver-IP-addr> nameserver <optional-nameserver2-IP-addr> ...
You may have to insert modules to get networking to work. If you type 'ifconfig' and do not see 'eth0' or 'eth1'... then the module is probably not loaded. Try one of these: