Tom’s Extelopedia

O2 UMTS/GPRS from Ubuntu 7.10 Laptop

2007-10-19 · No Comments

There is no configuration tool for GPRS/UMTS phones to use with Ubuntu, but it turned out not to be all that hard to connect to O2. I’m using a USB cable (although a Bluetooth serial connection would also be possible, but I actually prefer USB).
The following should go into /etc/ppp/peers/O2

hide-password
noauth
connect “/usr/sbin/chat -v -f /etc/chatscripts/O2″
debug
/dev/ttyACM0
115200
defaultroute
noipdefault
user “”
remotename O2
ipparam O2

usepeerdns

And the following needs to go into /etc/chatscripts/O2

# ispauth PAP
# abortstring
ABORT BUSY ABORT ‘NO CARRIER’ ABORT VOICE ABORT ‘NO DIALTONE’ ABORT ‘NO DIAL TONE’ ABORT ‘NO ANSWER’ ABORT DELAYED
# modeminit
‘’ ATZ
# ispnumber
#OK-AT-OK “ATDT*99#”
OK-AT-OK ‘AT+CGDCONT=1,”IP”,”surfo2″‘
OK-AT-OK “ATDT*99#”
# ispconnect
CONNECT \d\c
# prelogin

# ispname
# isppassword
# postlogin

Afterwards, you can start connections with “pon O2″, and stop them with “poff O2″.

Categories: Linux
Tagged: , ,

0 responses so far ↓

  • There are no comments yet...Kick things off by filling out the form below.

You must be logged in to post a comment.