View previous topic :: View next topic |
Author |
Message |
opensas Guru
Joined: 24 Nov 2004 Posts: 408 Location: Buenos Aires - Argentina
|
Posted: Sun Mar 04, 2007 4:03 am Post subject: SOLVED - dhcpcd not working on first try |
|
|
everytime I boot my machine I can't access the web
I have to issue
Code: |
killall dhcpcd
dhcpcd
|
and then everything works fine
I've noticed that when I boot, the file resolv.conf is generated for lo, and not for eth0
Code: |
cat /etc/resolv.conf
# Generated by net-scripts for interface lo
domain tuxnetwork
|
after killing dhcpcd and running it again I get the following
Code: |
cat /etc/resolv.conf
# Generated by net-scripts for interface eth0
namesrever 10.0.2.3
|
and then everything works as expected
this is my /etc/conf.d/net file
Code: |
config_eth0=("dhcp")
dhcp_eth0="nodns nontp nonis"
|
rc-update show default shows that net.eth0 belongs to default
and if I issue /etc/init.d/net.eth0 restart
then once again my /etc/resolv.conf plainly ignores eth0
any idea???
Last edited by opensas on Mon Apr 02, 2007 3:19 pm; edited 2 times in total |
|
Back to top |
|
|
opensas Guru
Joined: 24 Nov 2004 Posts: 408 Location: Buenos Aires - Argentina
|
Posted: Sun Mar 04, 2007 4:07 am Post subject: |
|
|
how silly of me
just had to remove nodns (which I had blindly copied from the handbook example) from
dhcp_eth0="nodns nontp nonis"
in /etc/cond.d/net
and that's it
saludos
sas
pd: please moderator, remove this whole thread, I don't think it might be useful to anyone... |
|
Back to top |
|
|
|