Open PupilTong opened 2 years ago
Hi! I'm working on, so I share the work done so far
For write a minium base I have tested a PoC with Python, pppoe
object represents the connection argument for dbus, so We need a Wizard to generate and send it:
import uuid
from pydbus import SystemBus, Variant
bus = SystemBus()
remote_object = bus.get("org.freedesktop.NetworkManager",
"/org/freedesktop/NetworkManager/Settings")
pppoe = {"connection": {'id': Variant('s', "PPPoE Client"),
'interface-name': Variant('s', "pppo34"),
'type': Variant('s', 'pppoe'),
'uuid': Variant('s', str(uuid.uuid4()))},
'ppp': {'lcp-echo-failure': Variant('u', 5),
'lcp-echo-interval': Variant('u', 30)},
'pppoe': {'password': Variant('s', 'gilitopassword'),
'username': Variant('s', 'gilito-user'),
'parent': Variant('s', 'eno2')
},
'ipv4': {'method': Variant('s', 'auto')}
}
remote_object.AddConnection(pppoe)
Other advanced options nm-connection-edit are:
Next steeps:
@gil-obradors any updates on this?
Hi! I'm not currently working on I was centered on Wireguard but I found an architectural problem that greatly complicates the process and I stopped. Include PPPoE if easy to achieve.
Page: Network
Hi, I'm trying to use ubuntu as my family router. I found that cockpit doesn't have a pppoe settings in the network page. I'm wondering if it's possible to add this feature?
As well as firewall settings(iptables, ufw...) and even dnsmasq settings( for dns server and dhcp server)
Thanks!