On 03/08/2010 03:26:11 PM, Stefan Monnier wrote: > > In either case we'd be looking at an openvpn configuration > > directive (or 2) that takes a command to run once > > the link comes up (and down). If that was in place then > > any of A, B, C, or D, or your choice of using an ifup/ifdown > > script would all work. > > BTW, there are generic tools to run/stop dhcp clients (and other > configuration steps) when the interface goes up/down. I've used > ifplugd > for it, but IIUC there are others.
Come to think of it I've used ifplugd too. Since there are multiple "right" ways it sounds like the documentation could be extensive. Would this be a job for the wiki, at least initially? FWIW http://openvpn.net/wiki/ comes up a blank page. Is this because I've cookies and scripts off or something? > > I think if the user just starts the dhcp client on an interface > independently from the moment the interface goes up (or down), this > is > simply a misconfiguration. I'm not sure I understand. Are you saying that manually starting a dhcp client means that the system is mis-configured because it's not configured to do the right thing automatically? Karl <k...@meme.com> Free Software: "You don't pay back, you pay forward." -- Robert A. Heinlein