setting up ubuntu dhcp hostname

Tuomas Utrecht tuomas.utrecht at
Mon Aug 28 12:04:31 EDT 2006

i editted my etc network interfaces file and now it is
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp
        hostname tuomas
auto eth1
iface eth1 inet dhcp

auto eth2
iface eth2 inet dhcp

auto ath0
iface ath0 inet dhcp

auto wlan0
iface wlan0 inet dhcp

then i did /etc/init.d/networking restart
i also did your apt-get install openssh-server

my friend showed me how to do ssh and it is neat! can i use remote desktop
from my moms pc when i finish this or can i only do it from linux?

anyway i can do that to my computer but only with its computer address not
its english name :(

On 8/25/06, gboyce <gboyce at> wrote:
> On Fri, 25 Aug 2006, Tuomas Utrecht wrote:
> > i did not have that file so i made it and i restarted my computer and it
> > still happens. i have that other file but i dont know where to put my
> name
> > in it. i will use google to see if i can find it.
> iface eth0 inet dhcp
>         hostname YOURNAME
> > also when he tries to ssh using just my address he says it is refused so
> i
> > need to make a demon run that will let him. is that easy? should i try a
> > different linux?
> You need to start sshd:
> /etc/init.d/ssh start
> If /etc/init.d/ssh doesn't exist, you need to install the openssh server.
> apt-get install openssh-server
> --
> Greg

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

More information about the Discuss mailing list