the ppp interface (and general renaming/transitioning of interfaces)

Oliver Grawert ogra at ubuntu.com
Tue Feb 21 14:06:54 UTC 2017


hi,
On Di, 2017-02-21 at 12:08 +0000, Jenny Murphy wrote:
> Hi,
>  Just about this ppp interface.
> I would like to use it from the snap I have developed myself.
> So how to I invoke it ?
> At the moment I am calling the command line pppd from my snap java
> code.
> However I think I should be doing something different to invoke ppp
> from within the core snap ?

the ppp interface allows you to just call /usr/bin/pppd and also to
write and modify files in /etc/ppp. so if your management snap is
connected to the ppp interface it should just be able to use everything
directly [1].

ciao
	oli

[1] https://github.com/snapcore/snapd/blob/master/interfaces/builtin/pp
p.go
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20170221/9d7158e7/attachment.sig>


More information about the Snapcraft mailing list