Einzelnen Beitrag anzeigen
Ungelesen 30.05.12, 23:50   #8
tommy.m86
Allround Talent
 
Registriert seit: May 2011
Ort: Wien
Beiträge: 110
Bedankt: 27
tommy.m86 ist noch neu hier! | 0 Respekt Punkte
Standard

Ich bin auch per UMTS online, benutze aber den pppd.

Hier mal die config:

/etc/ppp/chat-drei (drei.at ist der APN meines Providers)
AT+CFUN=1 --->UMTS
AT+CFUN=0 ---->GPRS
Ist zumindest bei den neueren Huawei der Umschaltbefehl
Code:
TIMEOUT 10
ABORT 'BUSY'
ABORT 'NO ANSWER'
ABORT 'ERROR'
ABORT 'NO CARRIER'

'' 'ATZ'
'OK' 'ATQ0 V1 E1 S0=0 &C1 &D2'
'OK' 'AT+CFUN=1'
'OK' 'AT+CGDCONT=1,"IP","drei.at"'
'OK' 'ATD*99#'
'CONNECT' '\c'

/etc/ppp/peers (eventuell noch das Modem Device und Baud Rate ändern)
Code:
hide-password
noauth
connect "/usr/sbin/chat -v -f /etc/ppp/chat-drei"
debug
/dev/ttyUSB0
9600
defaultroute
noipdefault
usepeerdns
crtscts
lock
local

persist
holdoff 5

novj
novjccomp
nopcomp
nodeflate

user "drei"
remotename drei.at
refuse-pap
refuse-eap

lcp-echo-failure 4
lcp-echo-interval 65535

/etc/ppp/chap-secrets oder /etc/ppp/pap-secrets (in der obrigen Datei refuse-pap natürlich auch umändern)
Code:
# client	server	secret			IP addresses
drei	drei.at	drei
tommy.m86 ist offline   Mit Zitat antworten