GNU/Linux Desktop Survival Guide by Graham Williams |
|||||
We present here some example network configurations. The numbers will only make sense for very specific locations and you will need to obtain your specific addresses from your System Administrator. We illustrate these through the contents of /etc/network/interfaces but it is advisable to use Applications-->System Tools-->Networking as discussed above to change the contents of this configuration file.
The simplest configuration uses DHCP to automatically obtain network information from a server that allocates addresses:
auto eth0 iface eth0 inet dhcp |
Velox (97.27) was initially set up to allow DHCP allocation of the IP address. The DHCP server delivered the appropriate information as demonstrated in /var/log/installer.log:
got dhcp offer HOSTNAME: requesting velox ip: 183.44.70.122 next server: 0.0.0.0 netmask: 255.255.255.0 gateway: 183.44.70.177 dnsServers[0]: 183.44.72.1 numDns: 1 domain: togaware.com broadcast: 183.44.70.255 network: 183.44.70.0 configured interface eth0 The network has been successfully configured using DHCP/BOOTP. A manual configuration requires the information to be specified:
A computer with a 3Com 3c905 ethernet card:
You can check that the eth0 interface is functioning:
A computer with a SMC91C92 Ethernet network card. I had to configure the appropriate kernel module to have this card recognised. I used the modconf command to do this, select the Net modules and select the smc9194 module. Configuring this succeeded, returning the following message:
|