• Page:
  • 1
  • 2

TOPIC: Network not ready after boot....

Network not ready after boot.... 1 year 3 weeks ago #1

  • Muggi
  • Muggi's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 49
  • Karma: 0
Hi,


on my wired network HTPC (with mysql on my nas) i have a strange issue....
After boot, sometimes i have no network connecton (no ip)/no connect to my shared DB, after a restart it works proper...

i think the boot is faster than the network is ready....
how can i fix this????


i run OE 1.95.2 beta2 on a E35Mi-Deluxe fusion board....
The administrator has disabled public write access.

Re: Network not ready after boot.... 1 year 2 weeks ago #2

  • chewitt
  • chewitt's Avatar
  • OFFLINE
  • Moderator
  • Posts: 2689
  • Thank you received: 418
  • Karma: 130
first things first; unless you share /var/log/messages we have zero idea what the problem might be
The administrator has disabled public write access.

Re: Network not ready after boot.... 1 year 2 weeks ago #3

  • Muggi
  • Muggi's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 49
  • Karma: 0
hi


here is my var/log/messages...

messages



it think the network is about a few seconds to slow to be ready.....
Last Edit: 1 year 2 weeks ago by Muggi.
The administrator has disabled public write access.

Re: Network not ready after boot.... 1 year 2 weeks ago #4

  • chewitt
  • chewitt's Avatar
  • OFFLINE
  • Moderator
  • Posts: 2689
  • Thank you received: 418
  • Karma: 130
The log shows the NIC being detected by the boot scripts around 4.9 seconds into the boot. Status is toggled from DOWN to UP (briefly) to DOWN again and it doesn't go back to UP until 25-26 seconds. I've no idea why it's so slow, although we have seen Realtek chipsets start slowly on many machines so it may be something endemic in their drivers or hardware. It's possible to work around the problem by putting a sleep delay in the boot process. Create /storage/.config/autostart.sh and add the following:
sleep 25
It's a sucky workaround as your boot times are now 25 seconds longer, but XBMC will always start with the network (and thus the DB on the NAS) available. You can probably reduce the sleep value by a couple of seconds with experimentation.
The administrator has disabled public write access.

Network not ready after boot.... 1 year 2 weeks ago #5

  • Muggi
  • Muggi's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 49
  • Karma: 0
Hi

Thanks for diacnostics... I will try it with a Boot delay...
For this HtPC it is Not a Problem if the Boot Time is a Bit longer... I Boot it Once and use it hours...
Last Edit: 1 year 2 weeks ago by Muggi.
The administrator has disabled public write access.

Network not ready after boot.... 1 year 2 weeks ago #6

  • Muggi
  • Muggi's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 49
  • Karma: 0
Hi,

A Little report. The delay with a Autostart.sh Works .
The administrator has disabled public write access.
  • Page:
  • 1
  • 2

Our Sponsors & Partners

arctic_logo