Re: [Dnsmasq-discuss] DNSMASQ fails to start on boot

2016-10-19 Thread David Griffiths
Thanks for the reply kwitty42. Unfortunately you're talking to a linux novice 
and I am 
not sure of all the answers but...

I am running Raspian Jessie which does use systemd I believe.

I have also confirmed that dnsmasq runs a startup script in /etc/init.d which 
says 
that it requires $NETWORK.

Can you spell out for me how I check the interface status in the script please?

Cheers,
DG

> On 10/19/2016 12:06 AM, David Griffiths wrote:
> > I found a discussion talking about the same problem on Ubuntu but the
> > recommended fix did not work for me :-(
> > https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1531184
> >
> > It is a case of DNSMASQ starting before the network is ready.
> >
> > Any suggestions please?
> 
> you can't have your DNSMASQ start up script check to see if the network is up 
> before starting DNSMASQ? systemd isn't involved in your RPi installation, is 
> it? 
> the older style init.d scripts (sysV??) should be much easier to work with... 
> check the interfaces' statuses with the ip or ipconfig command and see if 
> they 
> are ready to be used...
> 


---
  David Griffiths   da...@digitalgraphics.com.au
  Digital Graphics P/L  http://www.digitalgraphics.com.au
  Sydney, Australia +61 2 4567 8999
---
Australian agents for:
 E-LAB computers - AVR Pascal and In Circuit programmers
 Logical Systems - programming adapters
 Intronix - LogicPort 34 channel Logic Analyser
 
___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


Re: [Dnsmasq-discuss] DNSMASQ fails to start on boot

2016-10-19 Thread wkitty42

On 10/19/2016 12:06 AM, David Griffiths wrote:

I found a discussion talking about the same problem on Ubuntu but the
recommended fix did not work for me :-(
https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1531184

It is a case of DNSMASQ starting before the network is ready.

Any suggestions please?


you can't have your DNSMASQ start up script check to see if the network is up 
before starting DNSMASQ? systemd isn't involved in your RPi installation, is it? 
the older style init.d scripts (sysV??) should be much easier to work with... 
check the interfaces' statuses with the ip or ipconfig command and see if they 
are ready to be used...


--
 NOTE: No off-list assistance is given without prior approval.
   *Please keep mailing list traffic on the list* unless
   private contact is specifically requested and granted.

___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss