View previous topic :: View next topic |
Author |
Message |
garethed n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 06 Jul 2003 Posts: 10 Location: Wales UK
|
Posted: Sun Jul 06, 2003 4:11 pm Post subject: Router can't determine my hostname |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Naan Yaar Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Sun Jul 06, 2003 4:17 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
garethed n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 06 Jul 2003 Posts: 10 Location: Wales UK
|
Posted: Sun Jul 06, 2003 4:39 pm Post subject: |
|
|
wow that was a fast reply.
I added the line and it works fine.
Thanks a lot. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|