[SLUG] Networking

Paul Teasdale pdt at rcsuk.fsnet.co.uk
Sun May 11 19:04:01 BST 2003


Hi Al,

>Paul briefly outlined the commands as we left the pub but I didn't make
notes and can't remember whats needed to >get Mandrake set up for the
network connection.  I remember him saying I needed to change a line in a
file from >dcop to static but which file etc I can't remember. :(

You may not need this if you get Debian up and running but for anyone
interested the file you are talking about is in
\etc\sysconfig\scripts\networking and is called ifcfg-eth0. The line to
change is BOOTPROTO and you need to change it from DHCP (not dcop) to
STATIC. The reason for this is that Phil's PC was using DHCP to get an IP
address automatically from a DHCP server and our small network of two
machines didn't have one. We therefore needed to change Phil's machine to
use a static IP address hence specifying the variable 'STATIC'.

Finally you will also need to make sure that the same file contains the
static IP address (and a subnet mask) that you wish to allocate.

BTW after changing the BOOTPROTO variable you will need to (from the same
directory) take down and bring up the interface to get the changes. Do this
with:

./ifdown eth0
./ifup eth0

Kind regards,

Paul.





More information about the Scarborough mailing list