There are a lot of pages explaining different ways to achieve this over the Internet, I have read a lot of them, and this is my summary of the steps I needed to follow to finally have a working Internet connection through my nokia E71 phone integrated modem.

Yes, it is better to have an ADSL, Cable o any other connection over a 3G connection, but sometimes your cellular is your only way to access the Internet, for me that is specially true when traveling, sometimes the Hotel Internet fails and I need a backup connection to read my email, and yes E71 is capable to do that, but I prefer to use my Laptop keyboard rather than the phone’s one. Now lets start installing the needed software, I will explain this as I did on Arch Linux, but it should also work with other distros, like Debian, Ubuntu, Fedora, or Gentoo, I will try it later on those distros, and if I find any differences I will put them here.

Other considerations, for this how-to are:

  1. I use OpenBox on my Laptop
  2. I use kdebluetooth to connect to my bluetooth devices
  3. My actual Kernel is 2.6.30-ARCH

Installing software

sudo pacman -S bluez-utils bluez-libs dbus kdebluetooth wvdial

Now that we have installed the software, we have to configure it.

usb connection

To surf the Internet using a usb connection with your cellular, we only need to configure wvdial.

Edit /etc/wvdia.conf file and add something like this:

[Dialer usb]
;Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
init1 = AT+CGDCONT=1,”IP”,”internet.tigo.bo”
Modem Type = USB Modem
Phone = *99#
ISDN = 0
Username = ” “
Init1 = ATZ
Password = ” ”
Modem = /dev/ttyACM0
Baud = 460800

Be sure to change it according to your needs, what you may need to change is

internet.tigo.bo, change it for your provider APN, you may need to insert a username and password.

Connecting to the Internet

As soon as you connect your laptop to your cellular with the usb cable, select PC Suite on the phone, then run the next command on the laptop

su -c "wvdial usb"

Bluetooth connection

I prefer this over usb, so lets configure bluetooth first, and start the service.

sudo /etc/rc.d/bluetooth start

Run this command, to find your phone address

hcitool scan

You should get something like this (Do not forget to turn on your phone’s bluetooth, and make it discoverable).

Scanning ...
         00:21:FE:F8:BF:4B      Nokia

Edit /etc/bluetooth/rfcomm.com, and make it look like this.

rfcomm0 {
bind yes;
device 00:21:FE:F8:BF:4B;
channel 4;
comment "Tigo";
}

Now edit the file /etc/rc.d/bluetooth</p> and look for this line:

RFCOMM_ENABLE="true"

make sure it says true and not false

Now restart bluetooth service.

sudo /etc/rc.d/bluetooth restart

Link (pair) your laptop with your phone

To do this, I use kdebluetooth, start the applet

bluetooth-applet

Your may have problems with dbus org.freedesktop configuration, if that happens to you, edit the file /etc/dbus-1/system.d/bluetooth.conf, and add these lines.

  < policy user="user" >
    < allow own="org.bluez"/ >
    < allow send_destination="org.bluez"/ >
    < allow send_interface="org.bluez.Agent"/ >
  < /policy >

Be sure to use, your own user, instead of “user” (with quotes) and remove spaces after < and before >

Once your applet is working use to pair your laptop with your phone, it is an easy graphic tool, we are now finishing, once you have it paired, you are ready to connect to the Internet.

One more step before surfing the web, add this lines to /etc/wvdial.conf

[Dialer bluetooth]
init1 = AT+CGDCONT=1,”IP”,”internet.tigo.bo”
Modem Type = bluetooth Modem
Phone = *99#
ISDN = 0
Username = ” “
Init1 = ATZ
Password = ” ”
Modem = /dev/rfcomm0
Baud = 460800

and finally run:

su -c "wvdial bluetooth"

you should now be connected.

Notes for Debian, Ubuntu and Gentoo

Services on these distros are under /etc/init.d/ instead of /etc/rc.d/.