Using UMTS with Ubuntu Feisty

I just managed to get a Nozomi based UMTS card working with the current stable version of Ubuntu. The most interesting pages were the Gentoo wiki and Mathias Kellers blog entry. After setting the nameservers to 194.48.124.200 and 194.48.139.254 everything worked like a charm. Here is my chatscript:

# This chatfile was generated by pppconfig 2.3.15.
# Please do not delete any of the comments. Pppconfig needs them.
#
# ispauth PAP
# abortstring
ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO DIAL TONE' ABORT 'NO ANSWER' ABORT DELAYED
# modeminit
'' ATZ
# auf Fabrikeinstellungen setzen
#'OK' 'AT&F'
# Echo an
'OK' 'ATE1'
# Pin schon eingegeben?
'OK' 'AT+CPIN?'
# Pin eingeben (replace XXXX with your Pin)
'CPIN: READY-AT+CPIN=XXXX-OK' 'AT+COPS?'

# Netzpräferenz GPRS only
#’OK’ ‘AT_OPSYS=0,2′
# Netzpräferenz UMTS only
#’OK’ ‘AT_OPSYS=1,2′
# Netzpräferenz GPRS preferred
#’OK’ ‘AT_OPSYS=2,2’
# Netzpräferenz UMTS preferred
‘OK’ ‘AT_OPSYS=3,2′
# Empfangsqualität
#’OK’ ‘AT+CSQ’
# APN
‘OK’ ‘AT+CGDCONT=1,”IP”,”web.vodafone.de”‘
# ispnumber
OK-AT-OK “ATDT*99***1#”
# ispconnect
#CONNECT \d\c
CONNECT \c

And my /etc/ppp/peers/umts file:

lock
noauth
nobsdcomp
connect "/usr/sbin/chat -v -f /etc/chatscripts/sven"
connect-delay 8000
debug
/dev/noz0
460800
crtscts
modem
novj
defaultroute
noipdefault
ipcp-accept-remote
ipcp-accept-local

# do not use as vodafone transmits wrong dns servers
# manually use 194.48.124.200 and 194.48.139.254
#usepeerdns

As a precaution I remove the nozomi kernel module prior to removing the card … the driver is said to cause problems:

sudo modprobe -r nozomi

Happy Surfing! We had a ping of 119ms to google 😉

, , ,

About Jörn Dreyer

learned in a bank, studied business informatics, took the red pill and went down the rabbit hole of software engineering, working on my Ph.D.