Gavin McCullagh wrote:
>>As it happens, it was /etc/hosts that was the problem, along with extra
>>computers on the WAN - with all except the knoppix box using DHCP.
>>Is there a standard method of dealing with this? A wildcard in
>>/etc/hosts.allow I would presume?
>>1) your client thinks it has the name
>"rfc1918.space.should.not.be.used.on.publicips". If it were given an IP
>and DNS but no hostname, it might ask the DNS for it's own name and get
>2) your server is doing a DNS lookup of 192.168.0.6 and getting back the
>>I reckon it's . The solution is to set the hostname on your client.
>It _is_ set (as far as I can tell with respect to Windows - but thats a
question for google, not ILUG).
>>If it's  placing a line like one of the below in /etc/hosts should sort
>it out as it'll be able to then resolve name & ip address using the hosts
>file and won't revert to DNS for the answer.
>>192.168.0.6 [clienthostname].[yourlocaldomain] [clienthostname]
>Already there. The problem is that since my laptop connects to the WLAN via
DHCP it doesn't always get the same IP address. This is why it seemed to be
working when there were only 3 machines on the WLAN (my two clients always
received either 192.168.0.2 or 192.168.0.3, both of which had entries in
/etc/hosts). Now theres 5 or 6 machines on and off the WLAN and I'm not
always getting the same IP address.
What I've done for now is force the WAP to always assign the same IP to my
two clients. Seems like the best and easiest solution.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!