Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Router can't determine my hostname
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
garethed
n00b
n00b


Joined: 06 Jul 2003
Posts: 10
Location: Wales UK

PostPosted: Sun Jul 06, 2003 4:11 pm    Post subject: Router can't determine my hostname Reply with quote

Hi Everything seems to be working, exept my router is giving me a new ip address every time i connect because it can't find the hostname. I didn't have this problem before with redhat or debian so it's not the router. I have set /etc/hostname.

This is probably a no brainer but my brain isn't working today

Thanks in advance
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Sun Jul 06, 2003 4:17 pm    Post subject: Reply with quote

You can add this option to /etc/conf.d/net:
Code:

dhcpcd_eth0="-h <hostname>"

You need to put in the actual value for <hostname>. The above line is commented out in the stock /etc/conf.d/net file. You need to uncomment it first.
Back to top
View user's profile Send private message
garethed
n00b
n00b


Joined: 06 Jul 2003
Posts: 10
Location: Wales UK

PostPosted: Sun Jul 06, 2003 4:39 pm    Post subject: Reply with quote

wow that was a fast reply.
I added the line and it works fine.
Thanks a lot.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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