Evening everyone,
  I am experiencing an interesting problem and thought I would reach out
for some help.  I have a raspberry pi that I am using at the office to
drive a large monitor and display a dashboard.  The problem I have is that
when it boots up it is not immediately receiving a DHCP response (or at
least not receiving the leased IP) very quickly;.  Meanwhile, the boot
process continues on and loads X windows and chrome / chromium launching
full screen to a URL that is the basis for the dashboard.  The problem is
that all this loads before the ethernet interface actually receives it's IP
address and initializes so chrome just reports "Cannot load this page".
 Usually after several reboots it manages to time things correctly so the
dashboard displays.  I have tried adding time to the process by sticking
sleep commands into the xinitrc script but not very successful.  I have
tried adding pings to the xinitrc thinking that would "force" the interface
up but ping just fails immediately too.  What I need is a command I can run
that will wait until the network interface is fully initialized and then
return allowing chrome to load and successfully reach the URL for the
Dashboard.

 I tried writing a simple perl script to loop until it receives a
successful response to ping, but it doesn't appear to execute during the
boot process.

Any Suggestions?

More as it happens...

Andy Farnsworth

-- 
-- 
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nlug-talk?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to