I've just finished the configuration of my ppp for connecting to UMTS using the Ericsson F5521gw of my Thinkpad x121e and a FONIC SIM card.
Now I also know much more about the modem language
Again I'm using Arch Linux, netcfg and ppp.
You have to replace '/dev/ttyACM0' with the device path of your UMTS device (dmesg | grep cdc
).
/dev/ttyACM0
modem
crtscts
lock
hide-password
noauth
connect "/usr/sbin/chat -v -f /etc/ppp/fonic_chat"
defaultroute
usepeerdns
noccp
You have to replace 'xxxx' with your PIN. If you don't have a PIN protected SIM card you can remove TIMEOUT 5
OK AT+CPIN=„xxxx“
.
If you don't use FONIC you have to replace 'pinternet.interkom.de' with you APN-address.
ABORT BUSY ABORT 'NO CARRIER' ABORT 'NO DIALTONE' ABORT 'NO ANSWER' ECHO OFF '' AT TIMEOUT 5 OK AT+CPIN="xxxx" '' ATZ OK AT+CGDCONT=1,"IP","pinternet.interkom.de" OK-AT-OK ATDT*99# TIMEOUT 30 CONNECT
As you can see netcfg uses comgt
as pre-up command because I have to enable and initialize my UMTS device before connecting.
In Arch Linux you can find comgt
either in my repository or on AUR.
CONNECTION='ppp' INTERFACE='ignore' PEER='fonic' PPP_TIMEOUT=10 PRE_UP='comgt -d /dev/ttyACM0 > /dev/null'