Freitag Systemtechnik WiKi
A service of Freitag Systemtechnik

Email to friend
* Your name:
* Your email:
* Friend's email:
Comment:


UMTS Verbindung unter Linux herstellen (EPlus, BASE)

Voraussetzung:
GPRS/UMTS Modem per PCMCIA oder Bluetooth läuft bereits.
Siehe dazu entsprechende Artikel

PPPD Environment:
root@amilo:~ # cat /etc/ppp/pap-secrets
umts                                                                           *umts
eplus * eplus

Wahlweise GPRS oder UMTS:
root@amilo:~ # cat /etc/ppp/peers/eplus
/dev/ttyUSB0
460800
crtscts
lock
defaultroute
mtu 1500
mru 1500
debug
idle 300
noauth
noipdefault
novj
nomagic
user umts
connect '/usr/sbin/chat -v -f /etc/ppp/chatscripts/eplus'

root@amilo:~ # cat /etc/ppp/chatscripts/eplus
TIMEOUT 240
ABORT "NO CARRIER"
ABORT "NO DIALTONE"
ABORT "ERROR"
ABORT "NO ANSWER"
ABORT "BUSY"
"" "+++atz"
OK "ATE0V1"
OK "AT_OPSYS=3,2"
OK AT+CGDCONT=1,"IP","internet.eplus.de","",0,0
OK "ATD*99***1#"
"CONNECT" ""


Chatscript für UMTS (ausschliesslich):
File /etc/ppp/peers/umts-eplus entspricht /etc/ppp/peers/eplus, jedoch mit Zeile:
connect '/usr/sbin/chat -v -f /etc/ppp/chatscripts/umts-eplus'
root@amilo:~ # cat /etc/ppp/chatscripts/umts-eplus
TIMEOUT 240
ABORT "NO CARRIER"
ABORT "NO DIALTONE"
ABORT "ERROR"
ABORT "NO ANSWER"ls /
ABORT "BUSY"
"" "+++atz"
OK "ATE0V1"
OK "AT_OPSYS=1,2"
OK AT+CGDCONT=1,"IP","internet.eplus.de","",0,0
OK "ATD*99***1#"
"CONNECT" ""

Chatscript für GPRS (ausschliesslich):
File /etc/ppp/peers/gprs-eplus entspricht /etc/ppp/peers/eplus, jedoch mit Zeile:
connect '/usr/sbin/chat -v -f /etc/ppp/chatscripts/gprs-eplus'

root@amilo:~ # cat /etc/ppp/chatscripts/gprs-eplus
TIMEOUT 240
ABORT "NO CARRIER"
ABORT "NO DIALTONE"
ABORT "ERROR"
ABORT "NO ANSWER"
ABORT "BUSY"
"" "+++atz"
OK "ATE0V1"
OK "AT_OPSYS=0,2"
OK AT+CGDCONT=1,"IP","internet.eplus.de","",0,0
OK "ATD*99***1#"
"CONNECT" ""

Programmaufruf:
pppd call eplus
pppd call umts-eplus
pppd call gprs-eplus


Vorgang überwachen:
tail -f /var/log/daemon.log &



RSS