Dear maintainer,

The use of the "updetach" option is indeed critical when bringing up the interface via ifupdown.

Without it, the network bring up via ifupdown fails:

systemd[1]: Starting networking.service - Raise network interfaces...
systemd[1]: Finished ifupdown-wait-online.service - Wait for network to be configured by ifupdown. systemd[1]: networking.service: Main process exited, code=exited, status=1/FAILURE
server-timo systemd[1]: networking.service: Failed with result 'exit-code'.
systemd[1]: Failed to start networking.service - Raise network interfaces.

And afterwards, the PPPoE connection (interface ppp0) is not available.

After reading this bug report and adding option 'updetach', the issue is resolved.

As this option is essential when bringing up the network via ifupdown, I would strongly support the suggestion above to add it to the default configuration file (/etc/ppp/peers/dsl-provider). This provides a clear hint to other users that they may face similar issues. I would suggest to add something along the following lines:

# With this option, pppd will detach from its controlling terminal once it has successfully # established the ppp connection (to the point where the first network control protocol,
# usually the IP control protocol, has come up).
# When bringing up the interface via ifupdown (/etc/network/interfaces), enabling this # may be required (as otherwise, bring up may fail). See Debian bug report #626944.
#updetach

See also my responses in this thread: https://forums.debian.net/viewtopic.php?t=135218

Cheers,

Timo

Reply via email to