You are not logged in.

#1 2011-10-05 16:36:44

namelessone
Member
Registered: 2009-12-17
Posts: 39

[SOLVED] wicd/dhcpcd wired connection fails for non-private IP

I am having the strangest problem with my Laptop. I am using wicd with dhcpcd and when I physically connect my laptop to my home router I get an (private) IP address. But if I attempt to connect my laptop directly to my wall jack to get an (non-private) IP directly from my ISP my DHCP request will fail.

I have tested the wall jack with my router and another computer; they both got IPs.

Here is what the wicd log says when I fail to get an address:

2011/10/05 11:11:18 :: Putting interface down
2011/10/05 11:11:18 :: Releasing DHCP leases...
2011/10/05 11:11:18 :: Setting false IP...
2011/10/05 11:11:18 :: Flushing the routing table...
2011/10/05 11:11:18 :: Putting interface up...
2011/10/05 11:11:20 :: Running DHCP with hostname laptop
2011/10/05 11:11:20 :: dhcpcd[2361]: version 5.2.12 starting
2011/10/05 11:11:20 :: 
2011/10/05 11:11:20 :: dhcpcd[2361]: eth0: broadcasting for a lease
2011/10/05 11:11:20 :: 
2011/10/05 11:11:50 :: dhcpcd[2361]: timed out
2011/10/05 11:11:50 :: 
2011/10/05 11:11:50 :: DHCP connection failed
2011/10/05 11:11:50 :: exiting connection thread
2011/10/05 11:11:50 :: Sending connection attempt result dhcp_failed

I tried killing wicd and just doing it straight with dhcpcd and I got the same results: obtained private IP from router with DHCP, did not obtain non-private IP from ISP with DHCP.

Any ideas?

Last edited by namelessone (2011-10-06 15:48:38)

Offline

#2 2011-10-05 21:35:27

the sad clown
Member
From: 192.168.0.X
Registered: 2011-03-20
Posts: 837

Re: [SOLVED] wicd/dhcpcd wired connection fails for non-private IP

I have noticed others complaining about dhcpcd (I haven't had any problem with it).  Have you tried using it without wicd?  If it has the same problem perhaps you could replace it with dhclient:

https://wiki.archlinux.org/index.php/Wi … IP_address


I laugh, yet the joke is on me

Offline

#3 2011-10-06 01:03:47

moz
Member
Registered: 2009-01-20
Posts: 17

Re: [SOLVED] wicd/dhcpcd wired connection fails for non-private IP

Err, just wanted to drop by and say i had the same problem. Upgrading net-tools from 1.60-18  to 1.60.20110819cvs-1 breaks wicd. You'll have to downgrade, atleast that's how i fixed it. If you don't have a copy of that package in your /var/cache/pacman/pkg then you can find it at this sole out_of_sync mirror ftp://ftp.klid.dk/archlinux/.

Good luck smile.

PS.: BTW replacing dhcpcd with dhclient didn't work for me.

Last edited by moz (2011-10-06 01:04:43)

Offline

#4 2011-10-06 01:22:15

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] wicd/dhcpcd wired connection fails for non-private IP

Have any of you tried installing inetutils?

Offline

#5 2011-10-06 01:30:27

the sad clown
Member
From: 192.168.0.X
Registered: 2011-03-20
Posts: 837

Re: [SOLVED] wicd/dhcpcd wired connection fails for non-private IP

I guess there is a problem with dhcpcd/dhclient and the now depreciated nettools:

https://bbs.archlinux.org/viewtopic.php … 20#p999820


I laugh, yet the joke is on me

Offline

#6 2011-10-06 15:48:17

namelessone
Member
Registered: 2009-12-17
Posts: 39

Re: [SOLVED] wicd/dhcpcd wired connection fails for non-private IP

I just switched to dhclient and now I can get IPs again. I like dhclient better anyway...

Offline

#7 2011-10-07 08:42:06

Hohoho
Member
Registered: 2007-06-23
Posts: 222

Re: [SOLVED] wicd/dhcpcd wired connection fails for non-private IP

Switching to dhclient didn't solve this for me, I rolled back to inetutils-1.8-4 and net-tools-1.60-18.
I added these packages to IgnorePkg for now.

Offline

Board footer

Powered by FluxBB