[Klug-general] newbie networking questions

James Morris jwm.art.net at gmail.com
Fri Oct 8 12:14:40 UTC 2010


On 8 October 2010 12:37, David Halliday <david.halliday at gmail.com> wrote:
> Most routers allow you to assign an IP to a MAC address.
> So everything on the laptop/desktop level works the same (over DHCP) but you
> tell the router which IP to give to each device.
> Either that or you can set up your own internal DNS server.

Thanks. I didn't realize a MAC address was assigned by the hardware
manufacturer of the network card. I've done that.


> On 8 October 2010 12:31, James Morris <jwm.art.net at gmail.com> wrote:
>>
>> 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.
>>
>> _______________________________________________
>> Kent mailing list
>> Kent at mailman.lug.org.uk
>> https://mailman.lug.org.uk/mailman/listinfo/kent
>
>
> _______________________________________________
> Kent mailing list
> Kent at mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/kent
>



-- 
_
: http://jwm-art.net/
-audio/image/text/code



More information about the Kent mailing list