commit 228b2703858d897e4baa3b078046d347d8d2275c
parent 3b75cadb20b9f346b8752b39f05e98a67ce75442
Author: Daniel Barlow <dan@telent.net>
Date: Sat, 25 Feb 2023 20:31:41 +0000
pppoe: capture nameserver addresses as outputs
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/pkgs/liminix-tools/networking/pppoe.nix b/pkgs/liminix-tools/networking/pppoe.nix
@@ -25,6 +25,8 @@ let
echo $3 > speed
echo $4 > address
echo $5 > peer-address
+ echo $DNS1 > ns1
+ echo $DNS1 > ns2
)
echo >/proc/self/fd/10
'';
@@ -32,6 +34,7 @@ let
"ip-up-script" ip-up
"ipparam" name
"nodetach"
+ "usepeerdns"
"logfd" "2"
];