Linux & internet via mobile phone
Most of what I wrote at linux_umts-gprs-hsdpa_huawei-e220 applies to this as well. So look there for scripts and such.
Samsung D880 via datacable & T-Mobile in the Netherlands
Chat-script
Put the following in /etc/chatscripts/samsung_d880_cable.chat:
TIMEOUT 35
ECHO ON
ABORT 'nBUSYr'
ABORT 'nERRORr'
ABORT 'nNO ANSWERr'
ABORT 'nNO CARRIERr'
ABORT 'nNO DIALTONEr'
ABORT 'nRINGINGrnrnRINGINGr'
'' rAT
OK AT+CGDCONT=1,"IP","internet"
OK ATDT*99#
CONNECT ""
ppp configuration script
Put the following in /etc/ppp/peers/samsung_d880_cable:
user tmobile
debug
ipparam tmobileumtscable
connect "/usr/sbin/chat -v -f /etc/chatscripts/samsung_d880_cable.chat"
noccp
noauth
noipdefault
usepeerdns
defaultroute replacedefaultroute
Connecting
/usr/sbin/pppd debug /dev/ttyACM0 call samsung_d880_cable ; tail -f /var/log/messages
Disconnecting
poff
|