[Freedombox-discuss] Guidance needed to add a new "connection" form for ppp.
jvalleroy at mailbox.org
Tue Feb 21 20:50:57 UTC 2017
On 02/19/2017 03:20 PM, A. F. Cano wrote:
> I notice that there is still no option to create an interface of type cdma
> (for ppp). Rather than using nmcli like I did the first time, I would like
> to set up an additional menu entry and form to enter what minimal data is
> needed. That way, the interface will be properly known to plinth and fully
> I believe the only options that need to be set explicitely are:
> nmcli con add con-name "ppp" type cdma # set by the connection type menu entry
> nmcli con modify "ppp" connection.zone external # can be set automatically?
> nmcli con modify "ppp" cdma.username qnc # qnc can possibly be a default
> nmcli con modify "ppp" cdma.password qnc # but should be changeable
> Other options (such as the phone number (#777) have good default values
> for the cdma type.
> Can someone point me to either documentation on how to do that or
> where the existing forms are so I can use them as examples?
You will want to create a subclass of ConnectionForm in the networks module:
There are examples in that file for generic, ethernet, PPPoE, and wifi
You will also need to update utility functions in this file:
Those functions do the actual work (of passing configuration to
For more general information, see the developer manual:
> Finally, a few observations:
> Last I heard someone was working on porting shaarli to the current php.
> That was the first application I tried and I really miss it. Any idea when
> it might be available again?
I updated the packaging repository at
One thing that is missing is a new dependency, which also needs to be
I guess it won't be in the Stretch release, anyway.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 866 bytes
Desc: OpenPGP digital signature
More information about the Freedombox-discuss