Bug 1344024 - RFE: Please add a systemd service reflecting "pppd call"
Summary: RFE: Please add a systemd service reflecting "pppd call"
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: ppp
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jaroslav Škarvada
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-06-08 14:28 UTC by Alec Leamas
Modified: 2023-12-08 21:18 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)
Add systemd service, update source uris (2.88 KB, application/mbox)
2016-06-08 14:28 UTC, Alec Leamas
no flags Details

Description Alec Leamas 2016-06-08 14:28:51 UTC
Created attachment 1166035 [details]
Add systemd service, update source uris

Description of problem:

Although 'pppd call' is callable from command line it's a little cumbersome to handle as a long-running service e. g., a VPN connection. One solution is to add a systemd service which runs disconnected from session and with a standard set of tools.

Enclosing patch, which also updates source uris. The ppp-watch uri needs a thorough review, is this really the right way?

The service is just a wrapper to 'pppd call' so the connection must be defined in /etc/ppp/peers/.

Comment 1 Tomasz Torcz 2023-12-08 21:18:41 UTC
It has been years, the unit could be updated a bit.
I'm personally using service adapted from https://www.sherbers.de/diy-linux-router-part-3-pppoe-and-routing/
One small change:
- ppp 2.5.0 has `up_sdnotify` configuration option, which enables `Type=notify`


Note You need to log in before you can comment on or make changes to this bug.