Olimex A20 Slow to boot when Eth0 enabled and no network plugged in

Hello,

By default eth0 is disabled in the stock Debian image because it makes the bootup really slow (it adds 60 secs) unless you have a network plugged in. Here’s how I workaround this:

1. Enable eth0 to come up automatically on bootup, by making sure you have the following lines using nano /etc/network/interfaces

auto eth0
iface eth0 inet dhcp

2. Now edit the dhclient configuration and make sure the following lines are uncommented and changed as below, using nano /etc/dhcp/dhclient.conf

timeout 10;
retry 15;

Reboot and if there’s no network connected it’ll only take 10 seconds longer. Also, the retry 15; means when you do plug a network in it should pickup a DHCP assigned IP within 15 secs rather than the default 5 mins!

Advertisements
Tagged with:
Posted in Olimex

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

In Archive
%d bloggers like this: