[Klug-general] newbie networking questions

James Morris jwm.art.net at gmail.com
Fri Oct 8 11:31:59 UTC 2010


Hi,

I've just started to look into networking between a laptop connected
wirelessly to a BT Home Hub, and a desktop PC connected wirelessly to
the same hub.

Both running Debian, and the desktop has NFS and SSH daemons running.

The router assigns IP addresses via DHCP so I'm guessing that the IP
addresses could change depending on the order the machines are
switched on/connected to the internet (the laptop does not connect
automatically).

Does this mean I must turn DHCP IP address assigning off in the router
and choose two permanent addresses?
(so I can specify the address of the laptop int the desktops
/etc/hosts.allow file)

Basically, I want to make it easy for my partner to use NFS to access
data on my desktop from her laptop. While I know how to get the IP
addresses of both, she does not, so I want to write a bash script
which will mount the NFS partitions, and then perhaps show her how to
ssh to my PC as well using something like:

ssh user at mydesktop.home

I need a few pointers as to which information I should look into as
it's a bit bewildering to begin with and I know you all are pretty
good with networking ;-)

Cheers,
James.



More information about the Kent mailing list