Difference between revisions of "Cellular modem configuration via Linux command line (for non-GUI OS)"

From fit-PC wiki
Jump to: navigation, search
(Created page with "Cellular modem configuration from command line in non-GUI Linux distributions Terminal only): # Install wvdial tool: ## NOTE: On different Linux Distributions installatio...")   (change visibility)
 
 
Line 3: Line 3:
 
  # Install wvdial tool:
 
  # Install wvdial tool:
 
   
 
   
  ## NOTE: On different Linux Distributions installation command may be different $ sudo apt install wvdial
+
  ## NOTE: On different Linux Distributions installation command may be different
 +
$ sudo apt install wvdial
 
   
 
   
 
  # Configuration file /etc/wvdial.conf should look like this:
 
  # Configuration file /etc/wvdial.conf should look like this:

Latest revision as of 11:56, 8 March 2017

Cellular modem configuration from command line in non-GUI Linux distributions Terminal only):

# Install wvdial tool:

## NOTE: On different Linux Distributions installation command may be different
$ sudo apt install wvdial

# Configuration file /etc/wvdial.conf should look like this:
$ cat /etc/wvdial.conf

[Dialer Defaults]
Init1 = ATZ
Init2 = AT+CGDCONT=1,"IP","net.hotm"
Baud = 115200
Modem = /dev/ttyACM3
Phone = *99#
Password = dummy
Username = dummy

## NOTE: replace "net.hotm" with your operator name

# Run wvdial dialer
$ sudo wvdial &

# Thats all, press [Enter] to get to the command line again and test your connection:
$ ping google.com