- Install pppd
- Set up /etc/ppp/peers/s45_gprs something like this:
# 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=22.214.171.124; export DNS2=126.96.36.199; /usr/sbin/chat -v -f /etc/chatscripts/s45_gprs"
# 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
# leave username blank
- Create /etc/chatscripts/s45_gprs something like the following:
ABORT "NO CARRIER"
Please note, these settings are specific to the O2 Ireland Network. my-siemens.com
has a pdf with the details for many networks.
- To connect type the following:
gavin@linux gavin> pon s45_gprs
or if pon is not a known command
gavin@linux gavin> pppd call s45_gprs
It's necessary here to have enabled GPRS on the phone in Setup->Connectivity
- To disconnect type the following:
gavin@linux gavin> poff s45_gprs
gavin@linux gavin> killall pppd