setting up ubuntu dhcp hostname

gboyce gboyce at badbelly.com
Wed Aug 30 10:54:26 EDT 2006


No, /etc/conf.d/* is a naming convention that I believe is specific to 
Gentoo.

Assuming that you followed my earlier advice and it didn't work, try 
copying /etc/dhclient.conf to /etc/dhcp3/dhclient.conf.  I think they 
might have changed the location of the file during one of the releases.

On Wed, 30 Aug 2006, Tuomas Utrecht wrote:

> hi.
> my friend said he just has to add his computer name to /etc/conf.d/hostname
> in his gentoo. he showed me and rebooted and i could ssh his computer easy.
> does ubuntu have this file? i cant find it.
> thanks! tuomas
>
> On 8/30/06, dsr at tao.merseine.nu <dsr at tao.merseine.nu> wrote:
>> 
>> On Wed, Aug 30, 2006 at 10:16:47AM -0400, Tuomas Utrecht wrote:
>> > hi.
>> > my ssh problem is i can ssh my address 192.168.1.104 but not its name
>> and my
>> > name tuomas. gboyce helped me but i cant get that to work. its hard to
>> > remember the number everytime.
>> 
>> Ah. You need name resolution.
>> 
>> The two major methods available are DNS or a hosts file. The
>> easy one is a hosts file:
>> 
>> On each machine in your local network, add an entry to
>> /etc/hosts or the equivalent (there's one in Windows, for
>> instance) like this:
>> 
>> 192.168.1.104     tuomas
>> 
>> After that, "ssh tuomas" on that machine should work.
>> 
>> -dsr-
>> 
>> 
>> --
>> -. ---   -- --- .-. .   ... . -.-. .-. . - ...
>> ..-. ..- -.-. -.-   - .... .   -. ... .-
>> ..-.   ..-   -.-. -.   .-. -..   - .... ...   ..-   -.- -. .--   -.-. -..
>> 
>> 
>
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the Discuss mailing list