Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sun Jun 19, 2011 12:36 am 
Offline
Junior Member

Joined: Thu Jun 16, 2011 12:49 am
Posts: 27
I have a problem with my OpenVPN and Dnsmasq configuration running on a Ubuntu 11.04 machine. The problem is that Dnsmasq is set to only listen on my "lo" and "tun0" interfaces and uses "bind-interfaces". But, the problem is that Dnsmasq starts before OpenVPN does, so Dnsmasq fails to start stating that tun0 does not exist.

How do I go about changing the order in which Ubuntu starts the services? I need it such that OpenVPN starts, then Dnsmasq starts.

Thanks in advance!


Top
   
 Post subject:
PostPosted: Sun Jun 19, 2011 4:45 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
check the init scripts, are openvpn and dnsmasq in /etc/init/ or /etc/init.d/

If in /etc/init/ edit the dns mask to start on tun0, if in init.d use update-rc.d <service> defaults SS KK where SS is higher than openvpn's init.d and KK is lower (see the ubuntu man page for more details)

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group