/etc/init/network-interface.conf makes it impossible to have persistent PPP connection
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ifupdown (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
I have a server with a static PPP connection to the Internet. (It's a PPPoE connection to an ISP, actually.) I want said PPP connection to come up on boot and then *always stay up* (unless I take it down temporarily myself for sysadmin work, obviously). This used to be possible with hardy, but now doesn't work at all with lucid unless I hack /etc/init/
I have my PPP connection configured with "persist" and "maxfail 0". I also have a script / upstart conf file to restart the pppd program if it terminates unexpectedly, but I don't think that impacts this bug report. Here's the root of the problem, to the best of my understanding. When the PPP connection is stopped, the kernel destroys the ppp0 interface. Upstart sees this and the network-
I believe the solution would involve only doing ifup/ifdown calls in network-
ifdown should only be called if the interface is marked as "auto" in /etc/network/ interfaces, in your case, it really shouldn't be.
Can you attach your /etc/network/ interfaces, your upstart job and any other relevant config?