setting up ubuntu dhcp hostname

Tuomas Utrecht tuomas.utrecht at gmail.com
Wed Aug 30 10:43:46 EDT 2006


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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.blu.org/pipermail/discuss/attachments/20060830/23328313/attachment.html>


More information about the Discuss mailing list