Nokia E50 Gnubox and Fring

Introduction

After some time of inactivity i’ve decided to finally make something cool with my phone (Nokia E50). It has so many features and possibilites, that it’s a shame not to use it.

Next thing is the Gnubox myth. Nokia E50 doesn’t have Wi-Fi connection and thus it normally couldn’t use my broadband internet connection while I’m at home. But what for are all of genious people over the net. Gnubox is a small application for symbian phones, that could tunell all connections made by the fake APN in the phone trough bluetooth (or IrDA etc.) carrier to the computer and next through normal broadband (and presumably cable) connection.

Let’s get to work !

Bluetooth

You have to make correct phone connection with the linux box. Some steps i’ve mentioned in my other articles. I’m not going to write it once again. Nonetheless You have to have correct bluetooth stack on Your linux kernel and bluez stack running. Pairing of the devices should be made before next steps.

Gnubox on the phone

  • Download Gnubox for Nokia S90v3
  • Sign this package with your IMEI Number. More information on the internet and on the Symbian signed site (link below)
signsis.exe gnubox_s60v3.SIS gnubox_s60v2_sgn.SIS request.cer sultan.key 012345
  • Install the gnubox for Sumbian S90v3. This version is not provided on the official Gnubox site. I’ve uploaded here the most recent version.
  • Add special connection  access point:
    • Go to Settings->Connection->Acces points
    • Add acces point connection:
      • name ‘Bt’ (IMPORTANT WITH THIS NAME)
      • bearer: “Data call”  – not the packet transmission !
      • acccess phone number – something but not callable etc. 2333243243 🙂
      • other setting without changes
  • Open the Gnubox application and choose:
    • Menu->Debug->Dump CommsDB
    • Menu->Install->create records
    • Restart GnuBox
    • After restarting on the gnubox log screen you shoul see something like:
      • LoadingCommDb
        settings
        DialOutISP
        Description: Direct2Box
        DefaultTelNumber: 23443543545
        ModemBearer
        PortName: BTCOMM::5
        CSYName: BTCOMM
        TSYName: PHONETSY
    • Exit application (not closing it !)
    • Go to settings on the linux box 🙂

Linux routing

This is an excerpt from GnuBox site:

  • Create a file /etc/ppp/peers/dun with the following content:
    460800
     debug
     192.168.2.1:192.168.2.2
     ms-dns YOUR_DNS_ADDRESS
     lock
     crtscts
     noauth

    Substitute the IP address of your DNS server for YOUR_DNS_ADDRESS. You can find it out by looking into the file /etc/resolv.conf (look for ‘server aaa.bbb.ccc.ddd’ and write ms-dns aaa.bbb.ccc.ddd into the above file.)

  • Set up internet connection sharing with the following two commands (as root):iptables -t nat -A POSTROUTING -s 192.168.2.0/24 -j MASQUERADE
    echo 1 > /proc/sys/net/ipv4/ip_forward
  • Run command:
    • dund –listen call dun

Making it works together !

  • From GnuBox select:
    • menu->2box Bluetooth-> LAN Access server
  • Check your working internet connection trough bluetooth ! (always remember to check if the “Bt” APN is selected before connection to the internet

Transmission log

Exemplar listing from dund:

root@thinkpad:~# dund -n --listen call dun
 dund[11063]: Bluetooth DUN daemon version 3.9
 dund[11116]: New connection from 00:19:B7:XX:XX:XX
 using channel 1
 Using interface ppp0
 Connect: ppp0 <--> /dev/rfcomm1
 sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xedd1543c> <pcomp> <accomp>]
 rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xedd1543c> <pcomp> <accomp>]
 rcvd [LCP ConfReq id=0x1 <magic 0xf8416618> <asyncmap 0x0> <pcomp> <accomp>]
 sent [LCP ConfAck id=0x1 <magic 0xf8416618> <asyncmap 0x0> <pcomp> <accomp>]
 sent [LCP EchoReq id=0x0 magic=0xedd1543c]
 sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
 sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 192.168.2.1>]
 rcvd [LCP EchoRep id=0x0 magic=0xf8416618]
 rcvd [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
 sent [IPCP ConfNak id=0x1 <addr 192.168.2.2> <ms-dns1 192.168.1.1> <ms-dns3 192.168.1.1>]
 rcvd [IPV6CP ConfReq id=0x1 <addr fe80::9c4c:b26d:6000:216e>]
 Unsupported protocol 'IPv6 Control Protovol' (0x8057) received
 sent [LCP ProtRej id=0x2 80 57 01 01 00 0e 01 0a 9c 4c b2 6d 60 00 21 6e]
 rcvd [LCP ProtRej id=0x2 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f]
 Protocol-Reject for 'Compression Control Protocol' (0x80fd) received
 rcvd [IPCP ConfRej id=0x1 <compress VJ 0f 01>]
 sent [IPCP ConfReq id=0x2 <addr 192.168.2.1>]
 rcvd [IPCP ConfReq id=0x2 <addr 192.168.2.2> <ms-dns1 192.168.1.1> <ms-dns3 192.168.1.1>]
 sent [IPCP ConfAck id=0x2 <addr 192.168.2.2> <ms-dns1 192.168.1.1> <ms-dns3 192.168.1.1>]
 rcvd [IPCP ConfAck id=0x2 <addr 192.168.2.1>]
 Cannot determine ethernet address for proxy ARP
 local  IP address 192.168.2.1
 remote IP address 192.168.2.2
 Script /etc/ppp/ip-up started (pid 11145)
 Script /etc/ppp/ip-up finished (pid 11145), status = 0x0
 dund[11063]: Accept failed. Interrupted system call(4)

Fring

  • Go to the fring site and install this software. Necessary steps are very clearly stated on their site. You have to download ca. 300KB file on to phone, but you can do it with Your new bt->internet connection !
  • Install, set all of necessary information and voila. Take a look at the fring test call !

Links

Files

Summary

My opinion is: It’s perfect ! Fring call was quite good. It’s not perfect, but very promising for the next generation of phones. To sum up: great possibilites, if only E50 has got bigger display 🙂