(Update: Instructions for connecting via the DKU2 cable now at the end of the post.)
This is how I made the GPRS Internet connection working from my Ubuntu Dapper laptop via a Nokia 9300 and Bluetooth. I found this info on an Ubuntu forums thread, kudos go to emperon:

  1. Have a working bluetooth setup.
  2. hcitool scan gives you your phone’s BD address. Make a note of this.
  3. sdptool search DUN will show you the appropriate channel to use. Make a note of this.
  4. Check that you have a 4-number code in /etc/bluetooth/pin unless your phone and the machine are very friendly already. Your phone may ask for this number later.
  5. Type rfcomm bind /dev/rfcomm0 X:X:X:X:X:X YY (where X:X:X:X:X:X is the BD address and YY is the channel number).
  6. Type rfcomm and check that the channel is either “clear” or “closed”.
  7. Create /etc/ppp/peers/gprs with the following contents:
    /dev/rfcomm0
    connect ‘/usr/sbin/chat -v -f /etc/ppp/peers/gprs.chat’
    noauth
    defaultroute
    usepeerdns
    lcp-echo-interval 65535
    debug
  8. Create /etc/ppp/peers/gprs.chat with the following contents:
    TIMEOUT 15
    ECHO ON
    HANGUP ON
    ‘’ AT
    OK ATZ
    OK ATD*99*#
    (NOTE: *99*# above is the number to call. This one works for Sonera in Finland and many other providers, but call your friendly provider helpdesk and make sure you have the correct one.)
  9. Initiate bluetooth pairing between your phone and the computer.
  10. Make the call: sudo pppd call gprs
  11. Surf away!

Here’s instructions for connecting via the DKU2 cable supplied with the 9300. Cables are uncool and sometimes get in the way, but the procedure is simpler. This info comes mostly from gr0kzer0 in another forum thread:

  1. Install wvdial.
  2. Connect the cable.
  3. Run wvdialconf /etc/wvdial.conf
  4. Edit the /etc/wvdial.conf just created. Look at the last four lines, we edit the Phone, Password and Username lines (the username and password are bogus ones. wvdial wants non-empty ones but you can enter Batman’s credentials there if you like), and additionally force the modem into Stupid Mode.
    [Dialer Defaults]
    Init1 = ATZ
    Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    Modem Type = USB Modem
    Baud = 460800
    New PPPD = yes
    Modem = /dev/ttyACM0
    ISDN = 0
    Phone = *99#
    Password = foo
    Username = bar
    Stupid Mode = 1

    (NOTE: Again try to find a suitable phone number)
  5. Now you should be able to dial out with wvdial or GNOME PPP.

Technorati Tags: , , , ,

GNOME Phone Manager for Dapper

Tagged with , | Comments Off

Since the gnome-phone-manager-0.6 on dapper is broken, I built a package from the latest 0.7 sources. Since I know someone might be insterested in a working phone manager, I’ve uploaded the package on Box.net. My package works, but not perfectly of course: you’ll have to make a link in /usr/share/gnome-phone-manager to the phone icon or the phone manager will crash upon startup. So after you install the package do “sudo ln -s /usr/share/pixmaps/cellphone.png /usr/share/gnome-phone-manager” and enjoy. As always, there’s no guarantee and if my packages break your system or are found eating children on the midnight streets, don’t bother me.

SyncML doesn’t entirely suck

Tagged with , | Comments Off

I can now sync (sort of) my Nokia 9300‘s calendar and the Mozilla calendar and the Thunderbird address book. As Nokia doesn’t think LInux is worthy of support, I’ve taken another route. The 9300 and the Communicators do support one open standard, namely SyncML. So, I’ve created an account on ScheduleWorld, which uses SyncML. Syncing works between the phone and ScheduleWorld. Then, you can access the address book via LDAP, and the Ical calendar. These are both read-only of course, the only way to edit the information from Linux is to use ScheduleWorld’s own Java-based application. Anyway, this doesn’t suck as much as total inaccessibility.

rw!

Tagged with , | Comments Off

With the latest p3nfs (5.18), i finally have read/write access to my damn phone. Yay, I have defeated Nokia! After another six months, I might be able to sync my Evolution calendar and address book with it… Anyway, file transfer is quite enough for now!

The Saga of the Commie, again

Tagged with , | Comments Off

The Communicator saga continues: after much fussin’ and fightin’, I have decided to make peace with the darn thing, at least for the time being. Sigh. Here are the terms of our pact:

1. The device shall at all times yield the data I have created to me, via my personal preferred method, namely p3nfs on Linux.

2. In return, I shall respect Nokia’s right to be a clueless corporation, and never attempt to write to the device via p3nfs, but shall for this purpose use a “Compatible computer” as defined by Nokia (ie. Nokia PC suite on somebody else’s Windows box).

Fortunately, use case 1 is far more common than use case 2: usually you just need to transfer things jotted down on the Communicator to your computer. For stuff you already have on computers, you hopefully have smarter transportation means. Another fortunate thing is I actually do have a Windows box, but it still isn’t exactly my preferred environment, which is why I’d really like Nokia to wake up an do more for interoperability issues and offer standards-based interoperability with “your favorite system” and substitute that for that lame “compatible computer”.

Oh, and there’s another undestanding: I’ll use Nokia’s cruft for backups, which is not very good for one’s peace of mind, but it might still be less worse than relying on the mysterious workings of p3nfs…

I wrote email to Nokia Support, asking simply what is the preferred method for a 9210 to communicate with Linux boxen. The reply was, “Unfortunately we do not support Linux software”. Well d’oh! I sort of knew that already. but they might as well read the question beyond the word “Linux”, and answer it since they’re supposed to be one of the greatest FOSS/Linux companies in Finland (if you’ve ever seen a Nokia representative speaking at Open Source or Linux happenings, you will easily be tricked to believe so).

The bottom line: I can read and write to the Communicator, albeit not with the comfort I’d like to. And it’s a very cool device in itself. I probably wouldn’t have written such a long note on many other phones. All the cool functionality the Commie has, actually woks quite well. It does leave me hungry for the new model with wireless LAN though, it would solve these data transport problems at once. Perhaps Nokia is learning? Maybe the biggies can learn too.

More phone suckage; newbie-love

Tagged with , , | Comments Off

I can use p3nfs for reading my phone now. Writing is still impossible. Nobody seems to use p3nfs anymore, and those who do, are getting perfect results. Not very encouraging, as no-one seems to have had any reason to fix the problem I’m having. Also, I can’t get irda working on Linux (this one is certainly my own fault). So I’m still reduced to a Windows user when I need write support.

Helped newbies on #ubuntu, which is a nice hobby.

Using Windows again!

Tagged with , | Comments Off

So Santa brought me a used (!) Nokia 9210 Communicator. I’m having trouble with p3nfs on Linux, so I’m frequently reduced to using the Nokia PC Suite on Terhi’s Windows box. Santa has the weirdest sense of humor.

← Previous Page

Switch to our mobile site