- Install pppd
- Create /etc/ppp/peers/s45_indigo something like the following:
# These are the options to dial out to your default service provider.
# Please customize them correctly. Only the "provider" file will be
# handled by poff and pon (unless with extra command line arguments).
# You usually need this if there is no PAP authentication
# I've added the export commands to set up $DNS1 & $DNS2 with indigo DNS servers
# The chat script (be sure to edit that file, too!)
connect "export DNS1=184.108.40.206; export DNS2=220.127.116.11; /usr/sbin/chat -v -f /etc/chatscripts/s45_indigo"
# Set up routing to go through this PPP link
# Default modem (you better replace this with /dev/ttySx!)
# Keep modem up even if connection fails
# Tell pppd to set up DNS servers set above
# Username/password to use from /etc/ppp/chap-secrets
- Create /etc/chatscripts/s45_indigo something like the following:
ABORT "NO CARRIER"
ABORT "NO ANSWER"
ABORT "NO DIALTONE"
ABORT "Username/Password Incorrect"
# Put your ISP Phone Number after ATDT below
- Add a line to /etc/ppp/chap-secrets something like the following:
username1 "*" "password1"
- Type the following:
gavin@linux gavin> pon s45_indigo
or if pon is not a known command
gavin@linux gavin> pppd call s45_gprs
You should then see the phone screen show it's dialling the phone number and
after a few seconds a connection should be established. ifconfig will show a
ppp connection once it's setup.
- To disconnect type the following:
gavin@linux gavin> poff s45_indigo
gavin@linux gavin> killall pppd