/srv/irclogs.ubuntu.com/2024/03/27/#netplan.txt

naptasticI have dhcp: false as the only configuration directive, but if there's a carrier, it requests a lease. Where do I file a bug?00:19
GridfuseHello! I'm trying to configure a GSM modem with netplan and the NetworkManager renderer. The GSM interface is ttyUSB2, but the resulting ppp device is ppp0. I'd like to configure routes for the ppp0 device. Adding a "routes" block to the modems > ttyUSB2 section does not work, though. I think I need to configure the routes for ppp0, but where to12:26
Gridfuseput this? Like what device type is the correct one? Thanks!12:26
danilogondolfoGridfuse, hi, when you say that adding the "routes" block doesn't work, do you mean the routes were not added to the system?12:38
danilogondolfoI've never used a GSM modem with Network Manager unfortunately, but as the ppp0 interface is created on demand and managed by Network Manager, I'd expect it would add the routes correctly...12:39
slyonNetplan does not have direct ppp support. You might be able to define an "ethernets -> ppp0" interface, that matches on the ppp0 interface created outside of Netplan (i.e. automatically by NetworkManager), then defining "routes: ..." in there. But as danilogondolfo stated, you'd need to make sure it's not in conflict with NetworkManager itself trying to manage this and setup the routes automatically.13:08
danilogondolfoI think NM would create a ppp1 in this case hehe13:09
danilogondolfoas ppp0 already exists and it doesn't known anything about it13:09
danilogondolfooh well, you said "ethernet" so it wouldn't be really created13:10
danilogondolfowhen you create a mobile connection using the NM GUI, you have the option to set routes. As it does for OpenVPN connections and tun devices, I'd expect those routes to be added to the ppp0 interface too13:14
danilogondolfobut I've never did that so I'm not really sure13:14

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!