KPN UMTS on Linux: Difference between revisions

From DWIKI
 
Line 65: Line 65:


===In English===
===In English===
*http://gentoo-wiki.com/HOWTO_Huawei_E630_HSDPA_Data_card
*http://gentoo-wiki.com/HOWTO_Huawei_E630_HSDPA_Data_card (this wiki is still offline, patience)
*http://www.kuix.de/umts/vodafone/
*http://www.kuix.de/umts/vodafone/

Latest revision as of 10:38, 28 February 2009

UMTS with the KPN 720 pccard (Huawei E620)

The Kernel

Since pcmcia-cs/cardmgr are deprecated, the way to go now is documented here.

PPP configuration

/usr/local/bin/umtsinit

#!/bin/sh 
#based on script from http://www.xs4all.nl/helpdesk/mobielinternet/umts/linux/
DEFAULTPIN="0000"; 
TTYDEV="/dev/ttyUSB0"; 
if [ $1 ] ; then 
 PIN=$1; 
else 
 PIN=$DEFAULTPIN; 
fi 
echo "at" > $TTYDEV; 
sleep 1; 
echo "at+cpin=\"$PIN\"" > $TTYDEV; 
echo "PIN passed to $TTYDEV";

/etc/ppp/peers/umts

/dev/ttyUSB0 460800 
connect '/usr/sbin/chat -v -f /etc/ppp/umts-chat' 
novj 
crtscts 
noauth 
defaultroute 
debug 
nodeflate 
noccp 
noipdefault 
noaccomp 
usepeerdns

/etc/ppp/umts-chat

TIMEOUT 5 
ECHO ON 
ABORT '\nBUSY\r' 
ABORT '\nERROR\r' 
ABORT '\nNO ANSWER\r' 
ABORT '\nNO CARRIER\r' 
ABORT '\nNO DIALTONE\r' 
ABORT '\nRINGING\r\n\r\nRINGING\r' 
'' \rAT 
TIMEOUT 12 
OK ATZ 
OK 'AT+cgdcont=1,"IP","internet",,0,0' 
OK ATD*99***1#

Connecting

Run umtsinit and wait for the LED to turn blue, then run pppd call umts.


Disconnecting

poff umts

Related docs

In Dutch

In English