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 | 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



For my Ubuntu system, I added "send host-name HOSTNAME;" into 
/etc/dhclient.conf

You should also be able to define a hostname variable in 
/etc/networking/interfaces, but I've never been able to get that to work.

On Fri, 25 Aug 2006, Tuomas Utrecht wrote:

> hi.
> i just installed ubuntu it was really easy. my friend wants to "ssh into" my
> old computer. he was at my house. he said i have to set my hostname when i
> dchp and get my address so that the network knows my computers name.
>
> i keep searching and i found that if i run /etc/init.d/networking restart
> then i can reconnect to my network. i also found that in /etc/hostname it
> just says "tuomas" which is my computers name. and my name.
>
> can i tell the restart to look at that file so it tells my nic card to be
> tuomas not 192.168.1.104? can i tell it to do this when it starts so i dont
> have to do it every morning?
>
> im sorry i have to ask such an easy question but my roommate is gone today
> and i want to start learning about linux. that is all he uses.
>
> thanks everybody! tuomas
>
> -- 
> 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