Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/etc/hostname not found on boot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
rajl
Apprentice
Apprentice


Joined: 25 Sep 2002
Posts: 287

PostPosted: Thu Jan 16, 2003 3:45 am    Post subject: /etc/hostname not found on boot Reply with quote

ok, I just installed gentoo...on boot I get an error message about "file /etc/hostname not set"

what is the /etc/hostname file, since one doesn't exist on my box, and how would I go about making one?
_________________
-Rajl

-----------------------------------------------------------
It's easy to be brave once you consider the alternatives.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Thu Jan 16, 2003 4:13 am    Post subject: Reply with quote

Did you see step 21 in the install guide?
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
li1_getoo
l33t
l33t


Joined: 20 Oct 2002
Posts: 661
Location: Queens , NY

PostPosted: Thu Jan 16, 2003 4:38 am    Post subject: Reply with quote

check ur /etc/hosts ; /etc/hostname ; /etc/env.d/01hostname

and just to make sure #hostname <urhostnamehere>
and like kanuslupus said check out that step :)
'man hostname' is a good read also
Back to top
View user's profile Send private message
tecknojunky
Veteran
Veteran


Joined: 19 Oct 2002
Posts: 1937
Location: Montréal

PostPosted: Thu Jan 16, 2003 3:35 pm    Post subject: Reply with quote

/ect/hostname contains the DNS name you want your Gentoo box to have. You have to create it manually at install time (or after).

echo 'whatever.localnet' > /etc/hostname

That's all there is to it.
_________________
(7 of 9) Installing star-trek/species-8.4.7.2::talax.
Back to top
View user's profile Send private message
rajl
Apprentice
Apprentice


Joined: 25 Sep 2002
Posts: 287

PostPosted: Thu Jan 16, 2003 5:22 pm    Post subject: Reply with quote

haha...I missed that step entirely...even after reading the install guide again...boy do i feel stupid.
_________________
-Rajl

-----------------------------------------------------------
It's easy to be brave once you consider the alternatives.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum