Benutzer-Werkzeuge

Webseiten-Werkzeuge


linux:fonic_umts_connection_using_internal_modem

Fonic UMTS connection using internal modem

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.

Configuration of ppp

You have to replace '/dev/ttyACM0' with the device path of your UMTS device (dmesg | grep cdc).

/etc/ppp/peers/fonic
/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.

/etc/ppp/fonic_chat
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

Configuration of netcfg

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.

/etc/network.d/fonic
CONNECTION='ppp'
INTERFACE='ignore'
PEER='fonic'
PPP_TIMEOUT=10
PRE_UP='comgt -d /dev/ttyACM0 > /dev/null'

References

Comments



R A R T F
linux/fonic_umts_connection_using_internal_modem.txt · Zuletzt geändert: 2012/05/06 13:36 von Andrwe Lord Weber