set internet-connection type cellular

Description

Configures settings for an existing internet connection.

Syntax

set internet-connection "<name>" type cellular number <number> [ username <username> { password <password> | password-hash <password-hash> } ] [ apn <apn> ]

set internet-connection "<name>" type cellular [ primary-sim <primary-sim> ] [ apn-sim1-username <apn-sim1-username> ] [apn-sim1-password <apn-sim1-password> ] [ apn-sim1-authentication-method <apn-sim1-authentication-method> ] [ apn-sim2-username <apn-sim2-username> ][ apn-sim2-password <apn-sim2-password> ] [ apn-sim2-authentication-method <apn-sim2-authentication-method> ] [ sim1-carrier-configuation-package <sim1-carrier-configuation-package> ] [ sim2-carrier-configuation-package <sim2-carrier-configuation-package> ] [ apn <apn> ] [ pin <pin> ] [ apn-sim2 <apn-sim2> ] [ pin-sim2 <pin-sim2> ] [ disable-sim {true | false} ]

Parameters

Parameter

Description

name

Connection name

type

Connection type

Press TAB to see available options

apn

The Access Point Name (cellular modem settings) given to you by your cellular network carrier

A string that contains these characters:

  • a-z (lower-case letters)

  • A-Z (upper-case letters)

  • 0-9 (digits)

  • '.' (period)

  • '-' (minus)

number

Dialed number of the cellular modem settings

A sequence of numbers and #,* characters

password

Password for PPP connection or cellular modem settings

password-hash

The hash of the user password

username

User name for PPP connection or cellular modem settings

Usually <username>@<ISP>

apn-sim1-authentication-method

The APN authentication method given to you by your cellular network carrier for SIM1.

Options: none, pap, chap

apn-sim1-password

The APN password given to you by your cellular network carrier for SIM1.

apn-sim1-username

The APN username given to you by your cellular network carrier for SIM1.

Usually <username>@<ISP>

apn-sim2

The Access Point Name given to you by your cellular network carrier for SIM2.

A string that contains these characters:

  • a-z (lower-case letters)

  • A-Z (upper-case letters)

  • 0-9 (digits)

  • '.' (period)

  • '-' (minus)

apn-sim2-authentication-method

The APN authentication method given to you by your cellular network carrier for SIM2.

Options: none, pap, chap

apn-sim2-password

The APN password given to you by your cellular network carrier for SIM2.

apns-im2-username

The APN username given to you by your cellular network carrier for SIM2.

Usually <username>@<ISP>

pin

The Personal Identification Number code given to you by your cellular network carrier for SIM1.

pin-sim2

The Personal Identification Number code given to you by your cellular network carrier for SIM2.

primary-sim

Indicates the preferred SIM for the cellular internet connection.

Options: sim1, sim2

sim1-carrierconfiguation-package

Predefined configuration and firmware package required for specific cellular network

carriers for SIM1.

Options: att, generic, rogers, sprint, verizon, verizon-alo, bell, vodafone, telus,

us-cellular, sierra-wireless, docomo, kddi, softbank, telstra

sim2-carrierconfiguation-package

Predefined configuration and firmware package required for specific cellular network

carriers for SIM2.

Options: att, generic, rogers, sprint, verizon, verizon-alo, bell, vodafone, telus,

us-cellular, sierra-wireless, docomo, kddi, softbank, telstra

Example

set internet-connection "My connection" type cellular number 758996 username MyUsername@MyISP password internetPassword apn my-apn