l umts: fix connection
This commit is contained in:
parent
0e11d7af99
commit
358ff6da9c
|
@ -61,6 +61,7 @@ let
|
||||||
'';
|
'';
|
||||||
|
|
||||||
wvdial-defaults = ''
|
wvdial-defaults = ''
|
||||||
|
[Dialer Defaults]
|
||||||
Modem = ${cfg.modem}
|
Modem = ${cfg.modem}
|
||||||
${cfg.initstrings}
|
${cfg.initstrings}
|
||||||
Modem Type = Analog Modem
|
Modem Type = Analog Modem
|
||||||
|
@ -70,6 +71,7 @@ let
|
||||||
Password = ${cfg.password}
|
Password = ${cfg.password}
|
||||||
Stupid Mode = 1
|
Stupid Mode = 1
|
||||||
Idle Seconds = 0
|
Idle Seconds = 0
|
||||||
|
PPPD Path = ${pkgs.ppp}/bin/pppd
|
||||||
'';
|
'';
|
||||||
|
|
||||||
imp = {
|
imp = {
|
||||||
|
@ -77,6 +79,10 @@ let
|
||||||
umts = "sudo ${umts-bin}/bin/umts";
|
umts = "sudo ${umts-bin}/bin/umts";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
environment.systemPackages = [
|
||||||
|
pkgs.ppp
|
||||||
|
];
|
||||||
|
|
||||||
security.sudo.extraConfig = ''
|
security.sudo.extraConfig = ''
|
||||||
lass ALL= (root) NOPASSWD: ${umts-bin}/bin/umts
|
lass ALL= (root) NOPASSWD: ${umts-bin}/bin/umts
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in New Issue
Block a user