Bluetooth internet with Nokia 7710 using Linux

This guide prepares you to use your computer's (Linux) internet connection via your phone's Bluetooth so that you don't have to pay high data transfer bills. Setting up Bluetooth internet on Linux is much easier than on Windows, as long as the commands and settings are correct. You must download a third-party program called Gnubox. The Nokia 7710 version can be downloaded from this link. Be sure to enter every command and setting correct because Gnubox is case sensitive.

Nokia 7710's settings

  1. Open Control panel
  2. Open Internet setup
  3. Press "New access pt."
  4. A query pops up: "Use an existing access point as a basis for the new one?" Answer "No"
  5. Press "Next"
  6. Connection name: Bt
  7. Data bearer: Data call
  8. Press "Next"
  9. Dial-up number: 0000
  10. Press "Next"
  11. Prompt password at every login: No (uncheck it)
  12. User name: btdialin
  13. Password: bt
  14. Press "Next"
  15. Now the settings are done. Press "Advanced"
  16. Call type: Normal
  17. Modem type: Analogue
  18. Maximum data speed: 14400 bps
  19. Modem initialisation: (leave empty)
  20. Goto the "IP addresses" tab
  21. Uncheck the item "Auto-retrieve IP address" under IPv4 addresses header
  22. IP address: Put here an IP address near your computer's IP address, e.g. if your computer's IP address is 88.189.155.189, set your phone's to be 88.189.155.190
  23. DNS address: Enter manually
  24. Enter here your own DNS addresses. You can view them in the file /etc/resolv.conf. Open it e.g. in Terminal with the command sudo gedit /etc/resolv.conf
  25. Go check in the Login scripts tab that the text field doesn't have any text in it
  26. Press "OK"
  27. Press "Finish"
  28. Check that your preferred access point is set to "Bt" and press OK

Computer's settings

  1. Open Terminal
  2. Become root (e.g. on Ubuntu with the command sudo -i)
  3. Install bluez-utils (e.g. on Ubuntu with the command apt-get install bluez-utils)
  4. Luo tiedosto /etc/ppp/peers/dun, jonka sisältö on seuraava:
    460800
    debug
    [COMPUTER_IP_ADDRESS]:[PHONE_IP_ADDRESS]
    ms-dns YOUR_DNS_ADDRESS
    lock
    crtscts
    noauth
  5. Give Terminal the command hcitool scan which scans for Bluetooth compatible devices. The device sign is in the form of xx:xx:xx:xx:xx:xx
  6. When your device shows up into the scan list, give the command sdptool add --channel=2 SP
  7. After that: dund --listen --channel 2 --msdun noauth [COMPUTER_IP_ADDRESS]:[PHONE_IP_ADDRESS] crtscts 115200 ms-dns [YOUR_DNS_ADDRESS] lock
  8. Next rfcomm bind 3 [THE DEVICE SIGN FETCHED WITH HCITOOL SCAN] 2
  9. One more... iptables -t nat -A POSTROUTING -s [PHONE_IP_ADDRESS] -j MASQUERADE
  10. And the last one, echo 1 > /proc/sys/net/ipv4/ip_forward
  11. Now we're ready on the PC side.

Nokia 7710's settings

  • Go to Control panel and choose Bluetooth. Check the box Switch Bluetooth on and Visible to all
  • Then press the Paired devices button and after that, Search
  • Press Start. When your computer shows up into the list, press the button Pair. Enter your password into the required field and press OK. Confirm the pairing on the computer also (it happens automatically if you change the security setting from user to auto in the file /etc/bluetooth/hcid.conf
  • When the pairing is done, press Close and press OK
  • Now we only need to make Gnubox functional on the phone, and then we are ready to use the Bluetooth internet connection

    1. Open Gnubox and press the menu button. Select Install -> create records and then Install -> Set RAS login script. The background of the application should now turn from white to blueish
    2. Select 2box Bluetooth -> Seral port. If your Bluetooth connection isn't on, switch it on, ordered by the program, and search your computer with the Bluetooth, select it and press Send
    3. The program now asks you: "Do you want to require encryption?" Answer "No". The program should now notify you with the following message: "Set BT registry here"
    4. Choose the selection Debug -> Bring up IF
    5. After a while the program should notify you with a "Connection open" message
    6. If everything worked out OK, you can exit Gnubox and open the Web application. Now your phone's internet connection should be working via Bluetooth, and you can browse the Internet as much as you like.

    You might want to download Opera Mini 4.1, because it's a much more faster and lighter browser. It's worth mentioning that Wikipedia and GMail scale perfectly onto the device's screen.


    Screenshots of the Opera Mini 4.1 application: