Eric-

Thanks for you reply.

My work environment is primarily Windows so I don't get to play much in 
the Linux world.  If changing the order of initialization for various 
subsystems is a bad idea then I will stay away from that.  

I investigated runlevels and RCDLINKS and came up with the following 
solution:

I created a script in /etc/init.d and made it executable.  The script 
contains the line RCDLINKS="2,S21" and the brctl and ip link commands.  
I backed up etc.lrp and rebooted.  The OpenVPN bridge is now up and 
functional with the Bering box sitting at a login: prompt.

Thanks for pointing me in the right direction.

Brent


Eric Spakman wrote:
> 
> Brent,
> 
> The bridge mode is started by the general networking setup at 
> runlevel S at level 40. Openvpn is started in runlevel 2, 3, 4, 5 at 
> level 20. This is after networking is setup.
> 
> Changing the initialization of networking isn't a good idea and can 
> break many things. But it should be possible to play a little with 
> the Openvpn start levels. Although it's normally bad practice to 
> start non base applications at runlevel S, you can try to change the 
> RCDLINKS line in /etc/init.d/openvpn and replace all the X,S20 
> instances with only S,S39 for example.
> 
> Eric
> 
> > Hello List-
> > 
> > I am using the excellent Bering uClibc v2.2 to set up a machine 
> > running
> > OpenVPN in bridge mode.  It seems that the bridge gets initialized 
> > before the OpenVPN tunnel.  I see the following as the 
> machine boots:
> > 
> > Configuring network interfaces: device eth0 entered 
> promiscuous mode 
> > interface tap0 does not exist!
> > SIOCGIFFLAGS: No such device
> > br0: port 1(eth0) entering learning state
> > Waiting 32 seconds for br0 to get ready.
> > br0: port 1(eth0) entering forwarding state
> > br0: topology change detected, propagating
> > done.
> > 
> > 
> > Further down I see:
> > 
> > Starting Openvpn: Openvpn.
> > 
> > 
> > The bridge doesn't work unless I log in and enter:
> > 
> > brctl addif br0 tap0
> > ip link set tap0 up
> > 
> > 
> > But after that it works great.  I'd like to get this set up to work
> > without user intervention.  Is there a way to get OpenVPN 
> to initialize 
> > before the bridge is set up?  Or perhaps a way to delay 
> bridge setup 
> > until after OpenVPN is running?
> > 
> > Thanks.
> > 
> > 
> > Brent Gardner
> > Network Administrator
> > IPRO Tech, Inc.
> > 602-324-4776
> > www.iprocorp.com
> > 
> > 
> > -------------------------------------------------------
> > This SF.net email is sponsored by: IT Product Guide on 
> > ITManagersJournal Use IT products in your business? Tell us 
> what you 
> > think of them. Give us Your Opinions, Get Free ThinkGeek Gift 
> > Certificates! Click to find out more 
> > http://productguide.itmanagersjournal.com/guidepromo.tmpl
> > 
> --------------------------------------------------------------
> ----------
> > leaf-user mailing list: [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/leaf-user
> > SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
> > 
> > 
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: IT Product Guide on 
> ITManagersJournal Use IT products in your business? Tell us 
> what you think of them. Give us Your Opinions, Get Free 
> ThinkGeek Gift Certificates! Click to find out more 
> http://productguide.itmanagersjournal.com/guidepromo.tmpl
> --------------------------------------------------------------
> ----------
> leaf-user mailing list: [EMAIL PROTECTED] 
> https://lists.sourceforge.net/lists/listinfo/leaf-user
> SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
> 


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to