[00:19] <naptastic> I have dhcp: false as the only configuration directive, but if there's a carrier, it requests a lease. Where do I file a bug?
[12:26] <Gridfuse> Hello! 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 to
[12:26] <Gridfuse> put this? Like what device type is the correct one? Thanks!
[12:38] <danilogondolfo> Gridfuse, hi, when you say that adding the "routes" block doesn't work, do you mean the routes were not added to the system?
[12:39] <danilogondolfo> I'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...
[13:08] <slyon> Netplan 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:09] <danilogondolfo> I think NM would create a ppp1 in this case hehe
[13:09] <danilogondolfo> as ppp0 already exists and it doesn't known anything about it
[13:10] <danilogondolfo> oh well, you said "ethernet" so it wouldn't be really created
[13:14] <danilogondolfo> when 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 too
[13:14] <danilogondolfo> but I've never did that so I'm not really sure