You are not logged in.
Hey there.
My system was running great before an update I did a week ago.
Since that upgrade dhcp won't work, which means i have to set my route tables and ip every boot.
I changed nothing in the router and the only config i changed on this box is removing the -R from
the dhcpcd args and adding the appropriate nameservers to resolv.conf.header (or whatever it's name is)
The dns servers are set correctly, though dhcpcd just times out without getting/setting the ip/routes or anything else.
Weird as it may sound, although it stopped working on this box, it kept on working with the other ubuntu machines in my house
though i just upgraded to 8.10 on my brother's computer, and it stopped working there as well. Maybe because a different reason,
maybe not. Thgouh i have to mention ubuntu uses dhclient by default, and not dhcpcd.
The windows machines can still conncet using dhcp.
Thanks in advance.
Offline
You should have something like 'eth0="dhcp"' in your '/etc/rc.conf', please check.
Also please post your /etc/resolv.conf (not resolv.conf.head).
Check with 'ipconfig' that your interface has a valid IP.
Try with 'host' (pacman -S host) or 'dig' (pacman -S dnsutils): host google.com
Put as first line in resolv.conf the line:
nameserver 4.2.2.2
and try again.
Mektub
Follow me on twitter: https://twitter.com/johnbina
Offline
i have eth0=dhcp - as i said, it times out.
# Generated by dhcpcd
#/etc/resolv.conf.head
nameserver 192.168.1.254
# /etc/resolv.conf.tail can replace this line
is my /etc/resolv.conf, as you can see, it was updated by dhcpcd and added my resolv.conf.head.
my interface doesn't get an ip, cause dhcpcd times out.
host google.com doesn't work, says something about no routing or network unreachable, i don't remember.
192.168.1.254 is the correct dns server for me. as i said, the problem is with dhcp not working so i don't get a routing table or ip.
Offline
OK, you are right, seems to be a plain dhcp problem.
Does executing it by hand solve the problem ?
What do you have in '/etc/conf.d/dhcp' ?
And: a new version of DHCP (dhcpcd 4.0.3-1) has just showed up. Didn't try it yet.
Mektub
Follow me on twitter: https://twitter.com/johnbina
Offline
what bothers me the most is the fact that it also happens in the newest ubuntu, with dhclient.
Though it doesn't happen with old ubuntu/xp, so it must be a software change.
Offline
well, it seems that i got this working with dhcpcd -r ipaddr instead of -s, sounds more reasonable since -r is request and -s is inform, weird it worked before though.
btw, it still doesn't work in ubuntu, there i used the graphical tool that should work just right, weird.
Offline