[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cannot resolve hostname



On Saturday 07 May 2011 14:14:39 AG wrote:
> Hello
>
> In what seems to be a string of related issues having to do with
> networking, I now find that not only has my IP address been changed from
> 192.168.1.40 to 192.168.1.64 but also that my machine's name (valhalla)
> cannot be resolved.
>
>
> (1) How do I fix my IP address so that it remains as I originally
> configured it (i.e. 192.168.1.40) which will make it easier and more
> predictable for the print client to find the server machine?
>
> (2) How do I do so in such a way that I can access the Net once I reboot
> - which I was unable to do and hence - on good advice - changed the
> /etc/network/interfaces so that the stanza changed from iface eth0 inet
> *static* to *dhcp* .  This was the only thing that enabled this machine
> to access the Net after a reboot and I am loathe to change this back to
> something that didn't work.

Have you tried leaving your localhost on dhcp and setting a reserved IP in the 
router for your localhost's mac address?  That might achieve a fixed IP 
address, while allowing you to keep your dhcp configuration in 
your /etc/network/interfaces.

Lisi


Reply to: