2022-07-12 23:36:05 +02:00
|
|
|
{ config, pkgs, ...}:
|
|
|
|
|
|
|
|
{
|
|
|
|
networking.vlans."net-uplink-a" = {
|
|
|
|
id = 101;
|
|
|
|
interface = "ens18";
|
|
|
|
};
|
2022-07-13 22:52:50 +02:00
|
|
|
|
|
|
|
services.pppd = {
|
|
|
|
peers.uplink-a = {
|
|
|
|
config = ''
|
2022-07-23 16:46:03 +02:00
|
|
|
plugin rp-pppoe.so net-uplink-a
|
2022-07-13 22:52:50 +02:00
|
|
|
user "002742928961551138009163#0001@t-online.de"
|
|
|
|
ifname ppp-uplink-a
|
|
|
|
persist
|
|
|
|
maxfail 0
|
|
|
|
holdoff 5
|
|
|
|
noipdefault
|
|
|
|
lcp-echo-interval 20
|
|
|
|
lcp-echo-failure 3
|
|
|
|
mtu 1492
|
|
|
|
hide-password
|
2022-07-15 01:16:51 +02:00
|
|
|
nodefaultroute
|
2022-07-13 22:52:50 +02:00
|
|
|
+ipv6
|
|
|
|
debug
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
};
|
2022-07-12 23:36:05 +02:00
|
|
|
}
|