View previous topic :: View next topic |
Author |
Message |
Negated Void l33t
Joined: 25 Dec 2002 Posts: 672
|
Posted: Wed Feb 19, 2003 5:01 pm Post subject: (prolly easy) Setting hostname |
|
|
Hello!
I know it's prolly easy, but i must've botched it somewhere.
How do I set my Gentoo box's hostname?
Like so i could 'ping BLAH' and get it, etc.
THanks!
-Matt |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20588
|
Posted: Wed Feb 19, 2003 5:10 pm Post subject: |
|
|
hostname yourhostname
or edit /etc/hostname. Then, in /etc/hosts, add an entry similar to this: Code: | 127.0.0.1 localhost yourhostname |
_________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
|