-   Linux - Networking (
-   -   Unable to automatically connect to network on boot (DHCP) (

Economicus 12-10-2011 06:50 PM

Unable to automatically connect to network on boot (DHCP)
Hi everyone,

I am running a fresh install of Arch Linux, but I am not able to automatically connect to my university network when starting the computer. DHCPCD times out and I am forced to run "dhcpcd eth0" before it works:


$ sudo dhcpcd eth0
dhcpcd[862]: version 5.2.12 starting
dhcpcd[862]: eth0: broadcasting for a lease
dhcpcd[862]: eth0: offered from
dhcpcd[862]: eth0: ignoring offer of from
dhcpcd[862]: eth0: acknowledged from
dhcpcd[862]: eth0: checking for
dhcpcd[862]: eth0: leased for 720 seconds
dhcpcd[862]: forked to bakcground, child pid 883

/etc/rc.conf (with network in the daemons array)


Code:  localhost.localdomain  localhost arch
::1  localhost.localdomain  localhost arch

Any ideas?

Thank you in advance.

ptrivino 12-10-2011 07:06 PM

Spanning Tree?
If the system boots very fast, the switch port to which you are connected might not be 'forwarding' yet, takes about 45 seconds from when it sees the nic up. If it's a Cisco switch try 'spanning-tree portfast'


Economicus 12-11-2011 05:43 AM

Thank you for your response, Paul. I am on a university network, so I do not have access to the router. The boot is fairly fast but I am not sure if this is this the issue? Any other advice?

All times are GMT -5. The time now is 11:50 AM.