You are not logged in.

#1 2010-05-21 14:15:26

pedro_sland
Member
Registered: 2010-05-21
Posts: 15

dhcpcd stops working

Hi everyone,

I'm not sure if this should go in the newbie forum or here. I have searched and read the wiki (the wiki is great).

I have had a server running for a while. It crashed - I don't yet know why - and I had to repair my ext4 / partition. It now works except networking. I have not changed any hardware.

First, I wandered if that something had become corrupt and so I reinstalled dhcpcd from pacman's cache I think. This has not worked. I am now in the live cd and although it worked when I installed it and subsequently repaired after a bad kernel or something, dhcpcd can't find a network. It seems that the live cd is loading the correct driver.

dmesg |grep eth

Driver 'sr' needs updating - please use bus_type methods (I have no idea what this means)
Driver 'sd' needs updating - please use bus_type methods (nor this)
eth0: RTL-8139C+ at 0xffffc2000029000, 00:16:3e:cb:08:4a, IRQ 32
eth0: link up, 100Mbps, full-duplex, lpa 0x05E1

ifconfig -a

eth0  Link encap:Ethernet  HWaddr 00:16:3E:CB:08:4A
        UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
        RX ...
        TX ...
        RX ...
        Interrupt:32 Base address:0x2000

lo ...

dhcpcd --release eth0

dhcpcd: dhcpcd not running

dhcpcd eth0

dhcpcd: version 5.0.6 starting
dhcpcd: eth0: broadcasting for a lease
dhcpcd: timed out

dhcpcd -k eth0

dhcpcd: dhcpcd not running

dhcpcd -nd eth0

dhcpcd: version 5.0.6 starting
dhcpcd: eth0: executing ... (x2)
dhcpcd: eth0: broadcasting for a lease
dhcpcd: eth0: sending DHCP_DISCOVER (xid 0x11c93cfb), next in 4.99 seconds
...
dhcpcd: eth0: removing interface

It takes a wile for this to time out but it says that it failed to receive DHCP_<something>

Any help would be greatly appreciated.

Thanks,
Pedro.

Offline

#2 2010-05-21 14:33:49

Sin.citadel
Member
Registered: 2008-01-22
Posts: 267

Re: dhcpcd stops working

it means that the dhcp server giving out leases is either offline or not giving any leases, if possible use static ip/dns settings, if not, check the dhcp server.

Offline

#3 2010-06-29 21:08:22

trusktr
Banned
From: .earth
Registered: 2010-02-18
Posts: 907
Website

Re: dhcpcd stops working

I have the same problem. How do you check the DHCP server?


joe@trusktr.io - joe at true skater dot io.

Offline

Board footer

Powered by FluxBB