The Nokia e71 phone and linux

As part of my work I need to be reachable and have access to my e-mail. So I received a Nokia E71 with a mobile data subscription.

Internet access

One of the main things I want to use is mobile Internet access, both on the phone itself and to connect the Dell D630 laptop to the Internet.

One of those things that was way too easy in Linux. Just connect the USB cable, select 'PC Suite' on the phone and dmesg shows:

[23516.399038] usb 4-2: new full speed USB device using uhci_hcd and address 5
[23516.519102] usb 4-2: configuration #1 chosen from 1 choice
[23516.765346] cdc_acm 4-2:1.10: ttyACM0: USB ACM device
[23516.767542] usbcore: registered new interface driver cdc_acm
[23516.767545] /build/buildd/linux-2.6.24/drivers/usb/class/cdc-acm.c: v0.25:USB Abstract Control Model driver for USB modems and ISDN adapters
[23516.811823] usbcore: registered new interface driver cdc_ether
[23516.814994] usb 4-2: bad CDC descriptors
[23516.815006] usbcore: registered new interface driver rndis_host
And connecting to the Internet requires a new /etc/ppp/peers/kpn with:
/dev/ttyACM0 115200
115200
local
nocrtscts
defaultroute
usepeerdns
novj
remotename kpn
debug
user kpn
lcp-restart 5
lcp-echo-interval 0
connect "/usr/sbin/chat -v -f /etc/chatscripts/kpn-data"
And in the chatscript /etc/chatscripts/kpn-data:
ABORT BUSY
ABORT 'NO CARRIER'
ABORT VOICE
ABORT 'NO DIALTONE'
ABORT 'NO DIAL TONE'
ABORT 'NO ANSWER'
"" ATZ
OK AT+CGDCONT=1,"IP","internet"
OK ATDT*99#
CONNECT ""
Now a pon kpn will connect. Speed goes up to 1 megabit downstream and 64 kilobit up. More than enough for e-mail and webbrowsing.

Filesystem access

Connect the usb cable and select 'mass storage mode' on the phone.
Comments about this page and updates are welcome. E-mail is the preferred contact method.
Koos van den Hout (koos@kzdoos.xs4all.nl)
Other webprojects: Camp Wireless, wireless Internet access at campsites The Virtual Bookcase webcam.idefix.net Weather maps