Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.

Customizing the Modem

Sean Shahkarami edited this page Apr 30, 2019 · 8 revisions

Customizing and Testing AoT Modem Configuration

In this guide, we assume that you're running an Ubuntu based Linux system. We use wvdial to manage our modem connection.

Installing wvdial

sudo apt-get update
sudo apt-get install wvdial

Template Config

This is a template of the configuration we use on our AoT Chicago nodes. This file is located at /etc/wvdial.conf.

[Dialer Defaults]
Init1 = ATZ
Init2 =                     <- Please fill out
Init3 =                     <- Please fill out
Check Def Route = yes
Phone = *99#
Idle Seconds = 0
Modem Type = Analog Modem
Stupid Mode = no
Baud = 57600
New PPPD = yes
Dial Attempts = 2
Abort on Busy = on
Modem = /dev/ttyACM0        <- Please fill out
ISDN = 0
Username =                  <- Please fill out
Password =                  <- Please fill out
Carrier Check = yes
Auto Reconnect = yes

Testing the Configuration

After saving the configuration to /etc/wvdial.conf, please run:

wvdial

It will take a moment, but should indicate that it has received an IP address. After this, you should be able to ping an external site:

ping google.com