[Scottish] Need advice on setting up a Mandrake/Debian home network

Ben Thorp scottish at mailman.lug.org.uk
Mon Mar 10 13:31:01 2003

OK - I'll try and give you a start on this.

>Hi everybody,

>I'm trying to network two machines together to make a home network.

>One machine,
>    pepper.viewport.lan
>is the main machine, which has the connection to the internet (by modem)
>and is running Debian sarge.

>The other machine,
>    salt.viewport.lan
>will only be connected to the outside world through pepper (by network
>cable) and is running Mandrake 9.0.

Nice names ;)

>(I'm playing with Mandrake since I'm considering that pointy-clicky
>might just be a nicer way (for me - no holy wars, please) to get things
>working rather than spend what often seems like forever hacking with
>config files)

>Both machines have realtek 8139 network cards attached.

>Are there any Mandrake experts out there who can advise me on the
>"Mandrake way" to get this network up and running?
>(ie, some gentle handholding would be much welcomed :-)

>I've started up the Mandrake Control Center, selected Network &
>Internet, and then selected Connection.

Seems like a good start.

>Umm, what now?

>Obviously there are two steps involved (at least!).

>1 Getting both machines to see each other over the local network.
>2 Configuring pepper to share its internet connection (and getting salt
>to use that as its internet connection)

>On the Mandrake box (salt) what values should I put in for "DNS server"
>and "Gateway" in the wizard?

>How should I let salt know about the other machine (pepper)?
>Do I have to edit /etc/hosts by hand, or is there a better way to do it?

OK - on the Debian box you will probably need to edit your /etc/hosts,
/etc/hosts.allow and /etc/hosts.deny to make sure things are nice 'n'
secure. You'll also need to ensure that your eth0 has been allocated it's
IP address (ifconfig should help here). I think you will also need to setup
iptables (or ipchains, I forget) for the internet sharing stuff.

On the Mandrake box, you should be able to do all of this by the Control
Center, IIRC. Your Gateway is going to be your Debian box. Your DNS server
is likely to be the one provided by your ISP, unless you fancy running BIND
on the Debian box ;)

>This and further advice would be very welcome, thanks..

Further advice? Don't eat the yellow snow.


Ben Thorp