m umts: add apn option
This commit is contained in:
parent
5be72ba404
commit
56ea401766
|
@ -66,6 +66,7 @@
|
||||||
];
|
];
|
||||||
makefu.server.primary-itf = "wlp2s0";
|
makefu.server.primary-itf = "wlp2s0";
|
||||||
makefu.full-populate = true;
|
makefu.full-populate = true;
|
||||||
|
makefu.umts.apn = "web.vodafone.de";
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
krebs.nginx = {
|
krebs.nginx = {
|
||||||
|
|
|
@ -26,7 +26,7 @@ let
|
||||||
Dial Command = ATDT
|
Dial Command = ATDT
|
||||||
Modem = ${cfg.modem-device}
|
Modem = ${cfg.modem-device}
|
||||||
Baud = 460800
|
Baud = 460800
|
||||||
Init1 = AT+CGDCONT=1,"IP","pinternet.interkom.de","",0,0
|
Init1 = AT+CGDCONT=1,"IP","${config.makefu.umts.apn}","",0,0
|
||||||
Init2 = ATZ
|
Init2 = ATZ
|
||||||
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
|
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
|
||||||
ISDN = 0
|
ISDN = 0
|
||||||
|
@ -54,6 +54,13 @@ let
|
||||||
to avoid race conditions.
|
to avoid race conditions.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
apn = mkOption {
|
||||||
|
default = "pinternet.interkom.de";
|
||||||
|
type = types.str;
|
||||||
|
description = ''
|
||||||
|
apn to use for dailing
|
||||||
|
'';
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
imp = {
|
imp = {
|
||||||
|
|
Loading…
Reference in a new issue