Modem & PPP
When a PSTN/POTS modem is detected, the cellular specific settings will not appear.
Conversely, if a cellular modem is detected, the PSTN/POTS settings will not appear in the config.
Config | Type | Default | Description |
---|---|---|---|
c.modem.init |
string | '' |
Any extra initialisation commands to send to the modem. When using this feature, exclude the initial “AT”. |
c.modem.country |
string | 'B5' |
The country code of the modem. |
c.modem.connect |
string | 'od' |
How to connect for out-bound connections. 'od' = On Demand, 'nu' = Nailed-Up (always connected, no firewall). #Firmware/v276 |
Config | Type | Default | Description |
---|---|---|---|
c.modem.answertime |
integer | 120 |
The maximum time, in seconds, to answer, negotiate, and get a connection. |
c.modem.interval |
integer | 60 |
The time to pause, in seconds, after hanging up after a dial-out process. |
c.modem.connecttime |
integer | 150 |
The maximum time in seconds to dial, negotiate, and get a connection. |
c.modem.dialoutmax |
integer | 15 |
The maximum time to spend online when dialling out – in minutes. |
c.modem.failreset |
integer | 3 |
The number of failures in a row before resetting a nailed-up connection. #Firmware/v290 |
c.modem.holdoff |
integer | 240 |
The time, in seconds, to hold off between dialling, when dialling fails. |
c.modem.recycletime |
integer | 360 |
The number of PPP-quiet minutes before resetting a nailed-up connection. #Firmware/v290 |
c.modem.exclude.lo |
string | '1800' |
The dial-out exclusion start time. 24 hour clock format, just digits. |
c.modem.exclude.hi |
string | '1900' |
The dial-out exclusion end time. 24 hour clock format, just digits. |
c.modem.mtu |
integer | 1460 |
The MTU for the PPP interface. If not present then 1460 is assumed. #Firmware/v260 |
c.modem.retry |
integer | 3 |
The number of times to try dialling before entering the “holdoff” time. |
c.modem.ringcount |
integer | 2 |
The number of times to ring before answering the call. |
Config | Type | Default | Description |
---|---|---|---|
c.modem.dialtype |
string | 'T' |
The dial type. “T”=Tone, “P”=Pulse. |
c.modem.ip |
string | '' |
The default IP address for the ip.buffer end of the PPP connection. Blank = Computer IP address + 1. |
c.modem.alternate |
integer | 0 |
Specifies the order to dial ISP#1 and ISP#2. 0 =Try ISP#1 then #2 on fail. 1 =Alternate between ISP#1 and ISP#2. |
c.modem.isp[#].pass |
string | '' |
The password to use when authenticating PPP with the ISP. (#=1,2) |
c.modem.isp[#].tel |
string | '' |
The telephone number for the ISP. (#=1,2) |
c.modem.isp[#].user |
string | '' |
The username to use when authenticating PPP with the ISP. (#=1,2) |
c.modem.chap |
integer | 1 |
Whether to use PAP/CHAP or just CHAP when authenticating incoming calls. 1=CHAP only, 0=PAP/CHAP |
c.modem.user |
string | 'user' |
The dial-in PPP username. |
c.modem.pass |
string | 'password' |
The dial-in PPP password. |
c.modem.remoteip |
string | '192.168.234.1' |
The IP address for the computer if the computer connects with auto IP enabled. |
Config | Type | Default | Description |
---|---|---|---|
c.modem.gprs.apn |
string | '' |
The cellular Access Point Name string. |
c.modem.gprs.user |
string | '' |
The cellular username (if required). |
c.modem.gprs.pass |
string | '' |
The cellular password (if required). |
c.modem.gprs.pin |
string | '' |
The SIM PIN number (if required). The value is always hidden and will be shown as “********” . If blank, there is no PIN set. |
c.modem.gprs.band |
integer | 31 |
The frequency bands to use. +1=GSM-850, +2=P-GSM-900 (primary), +4=E-GSM-900 (extended), +8=DCS-1800, +16=PCS-1900 |
c.modem.gprs.delay |
integer | 0 |
An optional setting. Specifies the number of seconds the ip.buffer will wait before communicating with the GPRS modem after a power-cycle or reset. Allowed values are 0 to 120 seconds. |
c.modem.gprs.rstint |
integer | 300 |
An optional setting. Specifies the number of seconds to wait for the modem to register before resetting. The default is to reset the modem every 5 minutes while not registered with the local network cell. |
c.modem.baud |
integer | 230400 |
Sets the Quectel modem baud rate. Only applicable to the Quectel modems. #Firmware/v310 |