You are not logged in.

#1 2009-07-15 08:04:05

skazhy
Member
From: Riga, Latvia
Registered: 2009-07-01
Posts: 46

dhcp timeout error

Hi!

I installed a fresh copy of archlinux and changed eth0 to dhcp in install. Network was working fine, I got IP address & all. Then I ran pacman -Syu update (and some other package installs) and after restart network stopped working!

While booting in `starting network` I got `fail` error with text `dhcpcd timed out`. There was no IP given, and /etc/network restart , dhcpcd eth0 lead to the same timeout error. Here are network settings from rc.conf:

HOSTNAME="localhost"
eth0="dhcp"
INTERFACES=(eth0)
gateway="default gw 10.1.2.254"
ROUTES=(!gateway)

DAEMONS=(syslog-ng network netfs crond httpd sshd)

The gateway is correct, this PC is working fine in the same subnet. The arch install is pretty fast, so I re-installed the PC (from the same install CD) 3 times. And every time it was the same result! Maybe it's an install cd issue?

UPDATE: I reinstalled the PC again, and managed to add dhclient before internet went down. And with dhclient I also get:

No DHCPOFFERS recieved.
No working leases in persistent database - sleeping.

UPDATE #2: I booted with my arch live CD, started up dhcpcd eth0, and got an IP address. On livecd there is dhcpcd version 4, but pacman -Syu installs dhcpcd 5. Is this be the solution?

Thanks in advance,

-skazhy

Last edited by skazhy (2009-07-15 13:38:28)

Offline

#2 2009-07-15 11:03:44

jacko
Member
Registered: 2007-11-23
Posts: 840

Re: dhcp timeout error

If your saying everytime you update the internet stops working, then this is easy to resolve. Check the pacman.log and start downgrading packages till you find the offender. Should be easy to figure out which packages should be your first priority. Does the computer manually connect using a static IP?

Last edited by jacko (2009-07-15 11:04:10)

Offline

#3 2009-07-15 11:20:22

skazhy
Member
From: Riga, Latvia
Registered: 2009-07-01
Posts: 46

Re: dhcp timeout error

Does the computer manually connect using a static IP?

No, it is set to DHCP. But I will try downgrading packages.


Also, I just checked cable and it works fine (also with DHCP on this PC).

Offline

#4 2009-07-15 11:35:49

skazhy
Member
From: Riga, Latvia
Registered: 2009-07-01
Posts: 46

Re: dhcp timeout error

There are quite a few packages installed / upgraded in the full system upgrade. Which packages could possibly affect the dhcp?

Offline

#5 2009-07-15 11:43:26

miau
Member
Registered: 2009-05-06
Posts: 202

Re: dhcp timeout error

Can you connect to the internet with a static IP?

Offline

#6 2009-07-15 11:46:03

skazhy
Member
From: Riga, Latvia
Registered: 2009-07-01
Posts: 46

Re: dhcp timeout error

No. Of course, the given address (the same which was earlier given by dhcp) appears in ifconfig, and /etc/rc.d/network start runs successfully, but I cannot ping this pc / connect to net.

Offline

#7 2009-07-15 16:00:07

jamesbond007
Member
From: Germany
Registered: 2009-06-14
Posts: 150

Re: dhcp timeout error

Hi skazhy,

if you have an onboard Intel e1000 NIC, then you could be affacted by the following bug: http://bugs.archlinux.org/task/13334

Kind regards,
jamesbond007.

Offline

Board footer

Powered by FluxBB