Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


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

setting up ubuntu dhcp hostname



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.





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org