You are not logged in.

#1 2013-03-31 14:32:52

Torxed
Member
Registered: 2013-01-10
Posts: 200

[closed]dhcpcd - DHCP client can't get an IP on regular networks.

For some reason, my RPI running Arch Linux doesn't get an IP when connected straight to my internet without any firewalls (fiber 100/100 connection).
It was working for about two weeks ago and now nothing, no DHCP offer from any server (Tried two different ISPs, both fiber optic connections).

Whenever i switch to a local network it works, for some unapparent reason:

incoming packet from : .B8.27.EB.0F.73.31
<-DHCP_DISCOVER received, xid:B603F917
->DHCP_OFFER sent, IP:192.168.15.2, xid:B603F917

incoming packet from : .B8.27.EB.0F.73.31
<-DHCP_REQUEST received, xid:B603F917
->DHCP_ACK sent, IP:192.168.15.2, xid:B603F917


I don't really know even where to begin searching for any faults.. so any help would be appreciated because i refuse to just wipe and re-install the system :)
All I\ve tried is:

dhcpcd eth0

which says.. well nothing really :/



Edit: belongs on the ARM forum //Torxed

Last edited by Torxed (2013-05-03 08:37:03)

Offline

#2 2013-03-31 18:04:35

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: [closed]dhcpcd - DHCP client can't get an IP on regular networks.

Try dhclient. If it works, then maybe you have discovered a bug in dhcpcd, if not then something is wrong with your network.

Offline

#3 2013-03-31 20:42:49

Torxed
Member
Registered: 2013-01-10
Posts: 200

Re: [closed]dhcpcd - DHCP client can't get an IP on regular networks.

Cheers will try that out, otherwise i'll dump the tcpdump data for the DHCP chain and hopefully that will shed some light on the whole dilemma.

Just out of curiosity, how would i go about adding dhclient to the bootup process and replace dhcpcd?
I have no /etc/rc.local and i can't really find where the system runs dhcpcd to begin with (i have no /etc/rc.d/dhcpcd either)...


I love arch linux, i just have a hard time finding all the different mechanics of it..

https://wiki.archlinux.org/index.php/Arch_Boot_Process   <-- Differs from the release you get for Raspberry pi it seems..

Offline

#4 2013-03-31 22:07:37

Torxed
Member
Registered: 2013-01-10
Posts: 200

Re: [closed]dhcpcd - DHCP client can't get an IP on regular networks.

And perhaps dhcpdump would be a nice addition to archlinux? smile

Offline

#5 2013-04-01 17:58:36

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: [closed]dhcpcd - DHCP client can't get an IP on regular networks.

I am sorry I didn't notice that you were using raspberry pi. It is a separate project and they have their own forum.

http://archlinuxarm.org/forum/

ps: dhcpdump is available in the AUR.

Offline

Board footer

Powered by FluxBB