diff options
author | lassulus <lass@aidsballs.de> | 2016-07-05 09:18:16 +0200 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2016-07-05 09:21:02 +0200 |
commit | e578dfcd67d62add1a9c016af7794309a2dc2d62 (patch) | |
tree | c6b471afdfb66bb9e1d432ea4d25523cfb8c493e /lass/1systems | |
parent | 54e6eecc9282b4a6e7ae06a0130a02684864afb9 (diff) |
l: build module from 2/umts
Diffstat (limited to 'lass/1systems')
-rw-r--r-- | lass/1systems/mors.nix | 11 | ||||
-rw-r--r-- | lass/1systems/uriel.nix | 6 |
2 files changed, 16 insertions, 1 deletions
diff --git a/lass/1systems/mors.nix b/lass/1systems/mors.nix index f26f0ed5f..d065d4dfa 100644 --- a/lass/1systems/mors.nix +++ b/lass/1systems/mors.nix @@ -25,7 +25,6 @@ ../2configs/c-base.nix ../2configs/mail.nix ../2configs/krebs-pass.nix - ../2configs/umts.nix ../2configs/repo-sync.nix { #risk of rain port @@ -54,6 +53,16 @@ # package = pkgs.postgresql; # }; #} + { + lass.umts = { + enable = true; + modem = "/dev/serial/by-id/usb-Lenovo_F5521gw_38214921FBBBC7B0-if09"; + initstrings = '' + Init1 = AT+CFUN=1 + Init2 = AT+CGDCONT=1,"IP","pinternet.interkom.de","",0,0 + ''; + }; + } ]; krebs.build.host = config.krebs.hosts.mors; diff --git a/lass/1systems/uriel.nix b/lass/1systems/uriel.nix index 92996c181..6b56419d7 100644 --- a/lass/1systems/uriel.nix +++ b/lass/1systems/uriel.nix @@ -16,6 +16,12 @@ with builtins; ../2configs/bitlbee.nix ../2configs/weechat.nix ../2configs/skype.nix + { + lass.umts = { + enable = true; + modem = "/dev/serial/by-id/usb-HUAWEI_Technologies_HUAWEI_Mobile-if00-port0"; + }; + } ]; krebs.build.host = config.krebs.hosts.uriel; |