BBB takes a long time to boot if network cable is not plugged in [Saucy 13.10]

Hello all. As the title says, about 7 seconds with cable plugged in, ~5 minutes without. Anyone have any idea where to start?

Thanks,

Miro

sudo sed -i -e 's:sleep 20:#sleep 20:g' /etc/init/failsafe.conf
sudo sed -i -e 's:sleep 40:#sleep 40:g' /etc/init/failsafe.conf
sudo sed -i -e 's:sleep 59:#sleep 59:g' /etc/init/failsafe.conf

Should take care of 1:59 of that delay..

Regards,

Like a charm, many thanks!

Miro

Hello Robert!

What would be the equivalent to that on Debian? I also noticed that if I boot with network cable unplugged and plugin it in after the boot, it doesn’t acquire a ip address from dhcp. I followed http://eewiki.net/display/linuxonarm/BeagleBone+Black (worked like a charm, than you for that!! If I did that from the very start I would’ve saved myself a lot of time.) and installed debian-7.1-minimal-armhf-2013-08-25 and I think I’ll stick with that. Also, how do I go about configuring the os (where’s the startup script that shows what runs on boot)? Point in the right direction is immensely appreciated

Thanks for the support and putting up with the newb questions,

Miro

Hello Robert!

What would be the equivalent to that on Debian?

Don't define eth0 in /etc/network/interfaces... (and manually sudo
dhclient eth0 later..)

I also noticed that if I
boot with network cable unplugged and plugin it in after the boot, it
doesn't acquire a ip address from dhcp.

it's a bug in 3.8, just don't do that.. 3.12 handles it a LOT better. :wink:

I followed
http://eewiki.net/display/linuxonarm/BeagleBone+Black (worked like a charm,
than you for that!! If I did that from the very start I would've saved
myself a lot of time.) and installed debian-7.1-minimal-armhf-2013-08-25 and
I think I'll stick with that. Also, how do I go about configuring the os
(where's the startup script that shows what runs on boot)? Point in the
right direction is immensely appreciated

Debian (in wheezy/7.x) uses SysV, so all startup scripts are under
/etc/init.d/...

I don't remember if 2013-08-05, has it as I may have added it later,
but try looking at /etc/init.d/boot_scripts.sh for a simple example
script..

Thanks for the support and putting up with the newb questions,

Regards,