Tag: Gnokii

  • Managing your Nokia 6300 using Wammu

    I’ve written before about connecting to a Nokia 6300 using Gnokii. John Dickson mentioned in the comments about using Wammu, and that he’d found it worked in part (but that also he’d written something in Java that did the backup side better). So I thought I’d give Wammu a try first, then John’s program another time.

    Under Ubuntu or Kubuntu, having followed the instructions in my previous article for installing Gnokii, I simply installed wammu via the adept package manager. This installed it under Utilities. Upon running, it pointed out there were no records for any phone, and asked if I wanted to search for one. This is a good start. So I hooked up my Nokia 6300 via USB, and set it into Nokia mode. I then let it perform the search, and after about a minute it showed that it had found one phone. It looks to me like it used the same settings I had for Gnokii. Now I don’t know if it used the connection I’d set before, or if it had figured that out for itself. I’d be interested to know if it is self-configuring like that, so I might try it out on another computer when I get chance.

    Once connected, it is a fairly basic program. It reads the address book to an extent, but can only see the name and the phone number (I am after other information as well ideally). It can’t see the calendar or SMS messages, but it can read the phone log. It looks like I could potentially use it to send SMS from the computer, but I’m not so bothered about that. However it does seem to do a basic backup of what it can see fine.

    So I’m not completely happy with it so far, but it does work to some extent, and if it is figuring the connection out for itself, then it is at least a lot easier than what I’ve done before. So a casual thumbs up for Wammu thus far.

  • Linking your Nokia 6300 mobile phone to Ubuntu

    So I did some further investigation tonight into getting my Nokia 6300 working under Ubuntu, with very positive results. What I tracked down was a program called Gnokii. It is a project to provide connectivity to Nokia phones that has been going since at least 2001, so they’ve got quite a bit of collective experience. And it has got me started.

    First of all, I installed the software. It was available as a program to install, but I went with the trusty:

    sudo apt-get install gnokii

    Next I had to configure the connection. The documentation on the site is a little dusty, and does deal with a lot of different options depending on the phone, so I’m going to concentrate on my model, the 6300. First connect the phone using the usb cable, and select the Nokia mode on the phone when asked. You then need to edit the config file by hand (I tried setting it within the program itself, but it wouldn’t allow me):

    sudo cp /etc/gnokiirc /etc/gnokiirc.OLD
    sudo vi /etc/gnokiirc

    And you will get a very well commented config file. If you are using a different phone, or connecting through another means such as Bluetooth, have a read through the file, there are good pointers for the changes you need to make. For the Nokia 6630, delete the contents (you’ve already backed it up) and use the following:

    [global]
    port = /dev/ttyACM0
    model = AT
    initlength = default
    connection = serial
    use_locking = yes
    serial_baudrate = 19200
    smsc_timeout = 10
    [gnokiid]
    bindir = /usr/sbin/
    [connect_script]
    TELEPHONE = 12345678
    [disconnect_script]
    [logging]
    debug = off
    rlpdebug = off
    xdebug = off

    and save the file. You may well prefer to comment out the port and model in the existing file, and then just uncomment the two lines I’ve set at the start of this file.

    Now to test the connection:

    sudo gnokii --identify

    If this has worked, it will show a small amount of information about the phone, the make, model, EMEI number and revision number. If you’ve got this, you’re ready to go. If not, check the config file, or look up on the Gnokii site for further help.

    You can know run Gnokii from the applications menu (it should be under utilities). You will be able to view and edit basic details about your contacts, back them up, and send SMS from the computer via the phone. There is also an option for Calendar entries, but I can’t get this working yet. It may be down to me using the model = AT option, which I think is more limited in what it can do. I’ll certainly keep investigating to see if I can solve it.