23 responses to “Nokia 2630, Linux, Bluetooth, Safaricom, and you!”

  1. Daggi

    Hallo allan. Hows ukambani stumbled upon your site and have been trying to configure my 2630 on ubuntu 8.04 bu am getting an error connection refused when calling “sudo wvdial nokia”. My rfcomm is as you indicated and my wvdial is purely like yours and also i have enable auto connect on the phone and marked it as trusted on ubuntu. so it cant be authentication issues. Assist!!

  2. Peter Waa

    Hi Alan,

    Many thanks for the write-up.

    I am unable to connect to with Fedora 10, I keep getting the following error message…

    [root@dev waa]# wvdial bluetooth
    –> WvDial: Internet dialer version 1.60
    –> Cannot get information for serial port.
    –> Initializing modem.
    –> Sending: ATZ
    ATZ
    OK
    –> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    OK
    –> Sending: AT+CGDCONT=1,”IP”,”WEB.SAFARICOM.COM”
    AT+CGDCONT=1,b [1d]IPb [1d],b [1d]WEB.SAFARICOM.COMb [1d]
    ERROR
    –> Bad init string.
    –> Cannot open /dev/rfcomm0: Input/output error
    –> Cannot get information for serial port.
    –> Initializing modem.
    –> Sending: ATZ
    ATZ
    OK
    –> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    OK
    –> Sending: AT+CGDCONT=1,”IP”,”WEB.SAFARICOM.COM”
    AT+CGDCONT=1,b [1d]IPb [1d],b [1d]WEB.SAFARICOM.COMb [1d]
    ERROR
    –> Bad init string.
    [root@dev waa]#

    Can you figure out what the problem could be?

    Best Regards,
    Peter Waa.

    1. Alan

      I just pasted this config to an Ubuntu netbook I am working on, and I got the same error. In my case it was that the blog uses some different characters which wvdial doesn’t like, namely the “pretty” quotes around the IP and SAFARICOM. Replace them with normal quotes and it should work.

  3. teknosavvytom

    cool it worked with my nokia 2630!!!
    Really the Linux/GPRS/Bluetooth forums r old but urs helped
    Thankx a lot…

  4. Soulstar

    Peter, you’re missing the *99#- the number your phone has to dial to initialize a gprs connection. Allan, not a bad job done- but this kind of knowledge should be rudimentary to any linux user, lol. Anyway, good work:-).

  5. Symbian Software

    I found your blog on google and read a few of your other posts. I just added you to my Google News Reader. Keep up the good work. Look forward to reading more from you in the future.

  6. Sidney

    Cudnt do it guys

  7. Touhid

    hi im new to linux
    i v installed fedora 10
    i have use nokia 2630 as modem via bluetooth on both xp an vista
    but im having trouble to do that on my fedora10
    i edited ext/bluetooth/rfcomm.config but when i tried saving it, this is what it said
    The document could not be saved, as it was not possible to write to /etc/bluetooth/rfcomm.conf.

    Check that you have write access to this file or that enough disk space is available.
    For file /etc/bluetooth/rfcomm.conf no backup copy could be created before saving. If an error occurs while saving, you might lose the data of this file. A reason could be that the media you write to is full or the directory of the file is read-only for you.

    but i think im the main user for i installed it and only i use it
    please some1 help

    and iv installed the fedora in a drive with about8 gb and there are still more than 2 gb free
    i alos tried changing the permision of all kinds lf user to read write and…
    but when i press ok to save the permision setting it changes back

  8. Touhid

    i discovered that i cannot edit or delete anything from the root drive
    can any1 tell me y?
    could it b anything wrong i did while the system installation?
    i installed fedora on logical drive
    could that b any problem?
    please some1 help
    i badly wanna use internet on fedora using my 2630 via bluetooth

  9. Atul

    I tried each step exactly the way you explained and the EDGE connection gets activated still I am not able to browse the internet. Can you suggest me of the possible reasons? The messages that I get are:

    –> WvDial: Internet dialer version 1.60
    –> Cannot get information for serial port.
    –> Initializing modem.
    –> Sending: ATZ
    ATZ
    OK
    –> Sending: ATZ
    ATZ
    OK
    –> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    OK
    –> Sending: AT+CGDCONT=1,”IP”,”www.e.pr”
    AT+CGDCONT=1,”IP”,”www.e.pr”
    OK
    –> Modem initialized.
    –> Sending: ATDT*99#
    –> Waiting for carrier.
    ATDT*99#
    CONNECT
    ~[7f]}#@!}!} } }2}#}$@#}!}$}%\}”}&} }*} } g}%~
    –> Carrier detected. Starting PPP immediately.
    –> Starting pppd at Mon Nov 2 05:10:21 2009
    –> Pid of pppd: 2405
    –> Using interface ppp0
    –> pppd: Ðk[06][08]Ðk[06][08]lentÜk[06][08]
    –> pppd: Ðk[06][08]Ðk[06][08]lentÜk[06][08]
    –> pppd: Ðk[06][08]Ðk[06][08]lentÜk[06][08]
    –> pppd: Ðk[06][08]Ðk[06][08]lentÜk[06][08]
    –> pppd: Ðk[06][08]Ðk[06][08]lentÜk[06][08]
    –> pppd: Ðk[06][08]Ðk[06][08]lentÜk[06][08]
    –> local IP address 10.6.52.1
    –> pppd: Ðk[06][08]Ðk[06][08]lentÜk[06][08]
    –> remote IP address 10.6.6.6
    –> pppd: Ðk[06][08]Ðk[06][08]lentÜk[06][08]
    –> primary DNS address 218.248.240.23
    –> pppd: Ðk[06][08]Ðk[06][08]lentÜk[06][08]
    –> secondary DNS address 218.248.240.79
    –> pppd: Ðk[06][08]Ðk[06][08]lentÜk[06][08]

  10. Atul

    I did that but still can’t browse. pinging too doesn’t yield any result!

  11. Atul

    I am thinking about blueman. Will that work?

  12. Atul

    I installed blueman (now available in the repository) with the command:

    yum install blueman

    and it works like a charm. Slowly linux is gaining popularity and is reaching towards linux challenged people too.

  13. kuldeepsidhu

    Everything is working fine with command line.but when once disconnected it gives the error:—

    [root@localhost kuldeep]# wvdial nokia
    –> WvDial: Internet dialer version 1.60
    –> Cannot open /dev/rfcomm0: Device or resource busy
    –> Cannot open /dev/rfcomm0: Device or resource busy
    –> Cannot open /dev/rfcomm0: Device or resource busy

    how to release this so that i can connect to phone without restarting..??

    and one more thing how to connect through blueman.i have fedora 12 and blueman installed..but i cannot connect to phone with Dial up option..how to integrate this with network manager…?

  14. Rmd

    It didn’t work for me..when i enter “sudo wvdial nokia” in the terminal, i got the error:
    –>Cannot open /dev/rfcomm0: Connection refused
    I just follow all the instructions you’ve said above..any HELP..by the way, i’m using fedora10

  15. german ochoa

    well this is my xperience with wvdial in Debian Lenny 5.0.5
    1. first, before starting up your computer plug in the modem or the device
    2. then as root or sudo su user type “wvdial &” no matter if it shows the message “Cannot…” if you see
    local IP address ….
    remote IP address ….
    primary DNS address ….
    secondary DNS address ….
    at the end of the dial-up message, like some user showed above, your are already connected but
    3. make sure it’s using the ppp protocol to connect, in Debian it’s
    System>Administration>Network
    disable other connections except the point-to-point one
    OR simply restart your network
    /etc/init.d/networking restart
    as a tip ping to any web site, if you see an ip different from that assigned to your pc like above
    local IP address ….
    it means that it’s not using the modem or device to connect so you know what you can do.
    4. if you finally got connected and ,after so many days and nights of addictive downloading and getting knowledge, want to stop the connection just, as root or sudo user, type
    killall wvdial
    killall will stop any program or process by its name
    type it until you see the message ‘no process to kill’
    that’s it, this is how it always works for me, i’m a proud Debian user, it was a pleasure to show you my how-to

  16. Atul Potdar

    I am in the process of validating this connection on Linux (fedora); in the sence I assume that the bluetooth adapter is supported by the bluetooth stack and both the stack and adapter support the bluetooth profiles used by the Nokia phone. Have you tried this ? Any inputs from you are valuable. Thank you. Your write up on Nokia, gprs, linux, usb and you is being tried by me as an alternative to the bluetooth adaptation which may not be correct if the stack, adapter and nokia (or any other cell phones) are not compatible.

    I did try the BT connection and now in the process of trying the usb alternative for the above mentioned reasons. Thank you.
    Please respond.

Leave a Reply