Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: HOWTO: Share your Ubuntu connection with Symbian phones

  1. #1
    Join Date
    May 2005
    Location
    Hong Kong
    Beans
    85
    Distro
    Ubuntu 8.04 Hardy Heron

    HOWTO: Share your Ubuntu connection with Symbian phones

    This guide will let you share your internet connection by Bluetooth
    so that you can surf the net on your bed without paying high GPRS/HSDPA rates

    I m just summarizing the steps, credits goes to the author of websites at the end of this post

    This is my first HOWTO, feel free to correct my mistakes

    My setup:
    Nokia n73 (most Symbian phones will do, even Sony Ericsson's)
    Feisty i386 (just about any distro will do)
    bluetooth dongle supported by Ubuntu (mine is CSR)
    wireless connection to AirStation router

    Pair up your phone and your computer
    1. make sure you have bluez-gnome installed, otherwise install it by the following command:
      Code:
      aptitude install bluez-gnome
    2. make sure you have a bluetooth icon in the notification area (otherwise you can't set PIN while pairing)
    3. on your phone, go to Connect > Bluetooth >. Paired devices > Option > New paired device, choose your computer
    Setup your phone:
    1. Backup your phone!
      I m a noob and can't fix your phone if anything goes wrong
    2. Install gnubox for Series 60 v3 or other Symbians(if you have a s60v3 phone, you will have to sign the sis file. just follow the instruction on the download page, 5th reply)
    3. Run gnubox, Options > Debug > Dump Full CommsDB, this dump the network configuration, in case any thing goes wrong
    4. Create an Access point, goto Tools > Settings > Connection > Accesspoints
      Name it "Bt" (case sensitive), set Data Bearer to "data call" and dial-up number to some random number
    5. Run gnubox again, Options > Install > Create records
    6. Restart gnubox, Options > Install > set RAS login script
    7. Restart gnubox, Options > 2box Bluetooth > LAN Access server, select your computer, no encryption if it ask
    Setup your ubuntu
    1. put the following into /etc/ppp/peers/dun
      Code:
      115200
      noauth
      192.168.11.30:192.168.11.40 (make sure these address doesn't crash with other on your network)
      crtscts
      ms-dns <your dns server>
      lock
    2. execute the following as root, to setup network forwarding, otherwise you can only access LAN from the phone
      Code:
      echo 1 > /proc/sys/net/ipv4/ip_forward
    3. Code:
      iptables -t nat -A POSTROUTING -s 192.168.11.0/24 -j MASQUERADE
    4. Code:
      dund --msdun --listen call dun
    DONE! grab your phone, fire up the Web app. and enjoy!


    ReferencesAdded iptables line so that it would work for people who aren't connected to NAT routers
    Last edited by kiddyfurby; March 4th, 2008 at 03:36 PM.

  2. #2
    Join Date
    Jun 2007
    Location
    DKI Jakarta
    Beans
    35
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: HOWTO: Share your Ubuntu connection with Symbian phones

    No Gateway Reply ,,

    thats what I always saw in my Phone browser
    Life is Easier If You Know How

  3. #3
    Join Date
    Jul 2006
    Location
    Islamabad
    Beans
    55
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: HOWTO: Share your Ubuntu connection with Symbian phones

    Thank you for creating this guide. I am using N73-Music Edition

    All seems to be done correctly. Added the text in the file
    115200
    noauth
    192.168.11.30:192.168.11.40 (make sure these address doesn't crash with other on your network)
    crtscts
    ms-dns <192.168.1.1>
    lock


    Steps 2,3 and 4 done with root login.
    root@favad-desktop:~# echo 1 > /proc/sys/net/ipv4/ip_forward
    root@favad-desktop:~# iptables -t nat -A POSTROUTING -s 192.168.11.0/24 -j MASQUERADE
    root@favad-desktop:~# dund --msdun --listen call dun


    However when I open Opera and select Bt as the Access Point, it says connecting and nothing happens, a few seconds later it again asks me to choose Access point but nothing happens this time too. Instead this time I get the message Failed to connect to the Internet from my Opera browser.

    I'll be very much grateful if someone could guide me. I aren't very familiar with Terminal Commands and have been trying to setup internet via blue tooth on my phone since ages.

    favad
    Last edited by favad; May 25th, 2008 at 09:52 AM.

  4. #4
    Join Date
    Jun 2007
    Beans
    303

    Re: HOWTO: Share your Ubuntu connection with Symbian phones

    the problem is he didn't told us what is <your dns server> and this (make sure these address doesn't crash with other on your network) is a comment after the command i think. I also didn't seed the file /etc/ppp/peers/dun and created it myself.
    I'm using 6600 and installed gnubox6600 and didn't seen and of options he said in my gnubox options menu.
    Things are more complicated that we think.
    I've didn't seen anyone who replies to these forums all over the web and seid "I have success. Thanks"

  5. #5
    Join Date
    Jun 2007
    Beans
    303

    Re: HOWTO: Share your Ubuntu connection with Symbian phones

    the problem is he didn't told us what is <your dns server> and this (make sure these address doesn't crash with other on your network) is a comment after the command i think. I also didn't seed the file /etc/ppp/peers/dun and created it myself.
    I'm using 6600 and installed gnubox6600 and didn't seen and of options he said in my gnubox options menu.
    Things are more complicated that we think.
    I've didn't seen anyone who replies to these forums all over the web and seid "I have success. Thanks"

  6. #6
    Join Date
    Mar 2008
    Beans
    4

    Wink Re: HOWTO: Share your Ubuntu connection with Symbian phones

    i did it very simply with blueman. my phone isn't a smartphone, just only SE k550i, but bluetooth pan network works too.
    here is a translated post from my blog, how to configure bluetooth pan network with SE phones
    http://64.233.179.104/translate_c?hl...n-network.html
    i'm from russia, so posts in my blog is in russian

    i hope somebody find it helpful

  7. #7
    Join Date
    May 2005
    Location
    Hong Kong
    Beans
    85
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: HOWTO: Share your Ubuntu connection with Symbian phones

    i m using n73 so i should be able to help.

    1. (make sure these address doesn't crash with other on your network) is a comment
    2. behind ms-dns you should put your dns address, you can find it in /etc/resolv.conf

    hope that helps

  8. #8
    Join Date
    May 2007
    Beans
    10
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: HOWTO: Share your Ubuntu connection with Symbian phones

    I keep getting the following error when I launch the connection from my E50.

    Code:
    squid@storm:~$ sudo dund -s -p -A -E -n call dun
    dund[7815]: Bluetooth DUN daemon version 3.26
    dund[7822]: New connection from 00:19:B7:40:EA:EC
    using channel 4
    Using interface ppp0
    Connect: ppp0 <--> /dev/rfcomm0
    sent [LCP ConfReq id=0x1 <magic 0xd9b3f0f> <pcomp> <accomp>]
    sent [LCP ConfReq id=0x1 <magic 0xd9b3f0f> <pcomp> <accomp>]
    sent [LCP ConfReq id=0x1 <magic 0xd9b3f0f> <pcomp> <accomp>]
    sent [LCP ConfReq id=0x1 <magic 0xd9b3f0f> <pcomp> <accomp>]
    sent [LCP ConfReq id=0x1 <magic 0xd9b3f0f> <pcomp> <accomp>]
    sent [LCP ConfReq id=0x1 <magic 0xd9b3f0f> <pcomp> <accomp>]
    sent [LCP ConfReq id=0x1 <magic 0xd9b3f0f> <pcomp> <accomp>]
    sent [LCP ConfReq id=0x1 <magic 0xd9b3f0f> <pcomp> <accomp>]
    sent [LCP ConfReq id=0x1 <magic 0xd9b3f0f> <pcomp> <accomp>]
    sent [LCP ConfReq id=0x1 <magic 0xd9b3f0f> <pcomp> <accomp>]
    LCP: timeout sending Config-Requests
    Connection terminated.
    Receive serial link is not 8-bit clean:
    Problem: all had bit 7 set to 0
    Modem hangup
    I have no idea what could be the problem. Any ideas?

  9. #9
    Join Date
    May 2005
    Location
    Hong Kong
    Beans
    85
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: HOWTO: Share your Ubuntu connection with Symbian phones

    Quote Originally Posted by gravyflex View Post
    I keep getting the following error when I launch the connection from my E50.

    Code:
    squid@storm:~$ sudo dund -s -p -A -E -n call dun
    dund[7815]: Bluetooth DUN daemon version 3.26
    dund[7822]: New connection from 00:19:B7:40:EA:EC
    using channel 4
    Using interface ppp0
    Connect: ppp0 <--> /dev/rfcomm0
    sent [LCP ConfReq id=0x1 <magic 0xd9b3f0f> <pcomp> <accomp>]
    sent [LCP ConfReq id=0x1 <magic 0xd9b3f0f> <pcomp> <accomp>]
    sent [LCP ConfReq id=0x1 <magic 0xd9b3f0f> <pcomp> <accomp>]
    sent [LCP ConfReq id=0x1 <magic 0xd9b3f0f> <pcomp> <accomp>]
    sent [LCP ConfReq id=0x1 <magic 0xd9b3f0f> <pcomp> <accomp>]
    sent [LCP ConfReq id=0x1 <magic 0xd9b3f0f> <pcomp> <accomp>]
    sent [LCP ConfReq id=0x1 <magic 0xd9b3f0f> <pcomp> <accomp>]
    sent [LCP ConfReq id=0x1 <magic 0xd9b3f0f> <pcomp> <accomp>]
    sent [LCP ConfReq id=0x1 <magic 0xd9b3f0f> <pcomp> <accomp>]
    sent [LCP ConfReq id=0x1 <magic 0xd9b3f0f> <pcomp> <accomp>]
    LCP: timeout sending Config-Requests
    Connection terminated.
    Receive serial link is not 8-bit clean:
    Problem: all had bit 7 set to 0
    Modem hangup
    I have no idea what could be the problem. Any ideas?
    that's a problem from the phone.
    perhaps E50 is not (yet) supported? try to find a matching gnubox
    but sorry i have no idea if gnubox for E50 exists or not

  10. #10
    Join Date
    May 2007
    Beans
    10
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: HOWTO: Share your Ubuntu connection with Symbian phones

    Someone has gotten it to work with the Nokia E50...

    http://slawek.mikula.googlepages.com...gnuboxandfring

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •