summaryrefslogtreecommitdiffstats
path: root/lass/2configs/ppp
diff options
context:
space:
mode:
Diffstat (limited to 'lass/2configs/ppp')
-rw-r--r--lass/2configs/ppp/umts-stick.nix33
-rw-r--r--lass/2configs/ppp/x220-modem.nix32
2 files changed, 0 insertions, 65 deletions
diff --git a/lass/2configs/ppp/umts-stick.nix b/lass/2configs/ppp/umts-stick.nix
deleted file mode 100644
index 64551a2b3..000000000
--- a/lass/2configs/ppp/umts-stick.nix
+++ /dev/null
@@ -1,33 +0,0 @@
-{ pkgs, ... }: {
-
- # usage: pppd call stick
-
- environment.etc."ppp/peers/stick".text = ''
- /dev/ttyUSB0
- 460800
- crtscts
- defaultroute
- holdoff 10
- lock
- maxfail 0
- noauth
- nodetach
- noipdefault
- passive
- persist
- usepeerdns
- connect "${pkgs.ppp}/bin/chat -f ${pkgs.writeText "default.chat" ''
- ABORT "BUSY"
- ABORT "NO CARRIER"
- REPORT CONNECT
- "" "ATDT*99#"
- CONNECT
- ''}"
- '';
-
- environment.systemPackages = [
- pkgs.ppp
- ];
-
-}
-
diff --git a/lass/2configs/ppp/x220-modem.nix b/lass/2configs/ppp/x220-modem.nix
deleted file mode 100644
index d6facb724..000000000
--- a/lass/2configs/ppp/x220-modem.nix
+++ /dev/null
@@ -1,32 +0,0 @@
-{ pkgs, ... }: {
-
- # usage: pppd call x220
-
- environment.etc."ppp/peers/x220".text = ''
- /dev/ttyACM2
- 921600
- crtscts
- defaultroute
- holdoff 10
- lock
- maxfail 0
- noauth
- nodetach
- noipdefault
- passive
- persist
- usepeerdns
- connect "${pkgs.ppp}/bin/chat -f ${pkgs.writeText "default.chat" ''
- ABORT "BUSY"
- ABORT "NO CARRIER"
- REPORT CONNECT
- "" "ATDT*99#"
- CONNECT
- ''}"
- '';
-
- environment.systemPackages = [
- pkgs.ppp
- ];
-
-}