Category Archives: phone

Reading accesstoinsight.org site on nokia E63 without internet connection

Accesstoinsight (ati) has a huge collection of buddhists texts translated to English. Apart from the suttas, it is also a huge repository of teachings by many buddhist teachers. Besides the normal online browsing of the site, ati also has a feature where one can download the entire site and then access the pages on our PCs or Laptops or other devices without internet connection. The site downdoad feature is here.

For more convenience, the offline version can be viewed using devices like iphone or ipad or other ebook readers as explained here. I have a Nokia E63 mobile phone and have been looking for ways to put a copy of ati’s offline version on it. I was finally able to do that using the steps mentioned below:

  1. Download the offline version of ati. Unzip the file. After unzipping you will get a folder named “ati_website”, inside which is another folder named “html” and a file “start.html”
  2. Copy the “ati_website” folder into the SD card of your phone. I copied it in “E:/Web/” (Symbian devices like the e63 refer to the SD card as “E:”)
  3. Now the actual software which we will be using to the browse the files. Download and install Opera Mobile from the opera site. (Install opera mobile, not opera mini. Opera mobile is a native symbian application while opera mini is java application. I could not get opera mini to read html files from the SD card)
  4. Start Opera mobile. In the Address bar enter “file://localhost/E:/Web/ati_website/start.html” (without the quotes. also the path that you enter will depend on where you copied the ati_website folder on your phone). Once the path till the start.html file is typed in the address bar, press enter. If everything goes right, the front page of the ati offline site will appear. From there, you can click on the links to access all the other pages. Go to Menu -> Bookmarks and bookmark the start page, so that you dont have to enter the path into the address bar every time. To have more reading space on the relatively small screen of e63, I enabled full screen reading from the settings. Also the font size in the opera mobile is way smaller for my eyes at 100% zoom. I found that a zoom of 160% is good.

Below are some screenshots:

ATI front page on e63

Another ATI page on E63

The above method worked for me. I hope it will work on any other phone which can run the opera mobile browser (opera mobile runs on most symbian s60 devices).

Happy reading the Teachings of the Awakened!

Free Softwares for Symbian Series 60 Version 3

I recently bought a Nokia E63 which runs Symbian Series 60 Version 3. To add more functionality I searched for Free and Open Source softwares to run on it. Following is a list softwares I found on the internet. The list will be updated as and when I find new stuffs.

  1. Alternatedjvu – To read djvu ebooks (http://sourceforge.net/projects/alternatedjvu/)
  2. Oggplay – To play ogg files (http://symbianoggplay.sourceforge.net/)
    (Update: oggplay 2.0 beta can now play theora videos; http://sourceforge.net/projects/symbianoggplay/forums/forum/294908/topic/3728176)
  3. s2putty – putty ssh client for series 60 (http://s2putty.sourceforge.net/)
  4. Office Reader – Read OpenDocument files on series 60 (http://code.google.com/p/officereader/)
  5. Python for series 60 (http://sourceforge.net/projects/pys60/)

Connecting to the Internet using phone’s GPRS modem from a Debian machine

Here in Bhutan, we are at the moment enjoying free GPRS connection ( Free test-trial till 5th May, 2008 ) thanks to B-Mobile. I have a four year old Nokia Ngage-QD and got myself registered for the free GPRS. I installed the 45-days trail version of Netfront as my browser, Slick for IM and Profimail for e-mail. With its small screen and keypad, my phone is not an ideal device to experience the internet. Hence, I made a google search on how to use a GPRS connection as a modem. I have some experience regarding this from my college days where I used the Rs. 99/month GPRS connection from Hutch. But this time I wanted to connect from my laptop running Debian.

My set-up:

  • GPRS from B-mobile

  • Nokia N-Gage QD with, Access point configured to use the GPRS connection

  • My Debian Laptop with Gnome Desktop, inbuilt bluetooth and the ppp package installed

Configuring bluetooth on laptop

  • Install the packages bluetooth, bluez-utils and gnone-bluetooth

  • Run ‘hcitool dev’ to get the address of the bluetooth device on the laptop in the form of ‘xx:xx:xx:xx:xx’. Run ‘hcitool scan’ after turning on the bluetooth on your phone. This will give you the bluetooth address of your phone. Now bond the phone to the computer using the Gnome Bluetooth Manager. I also set my laptop as “Authorised” in my phone’s bluetooth setting.

  • Run ‘sdptool browse <phone-bluetooth-address>’ to see which channel on the phone is being used for Dial-up Networking. The sdptool command will give a long output. We have look out for a block of output beginning with “Service Name: Dial-up Networking” see which channel this service uses. On my phone, it is channel 1.

  • Set up a RFCOMM device. We can use /dev/rfcomm0 as the device to connect the phone as a modem. Edit the /etc/bluetooth/rfcomm.conf as shown below to ensure /dev/rfcomm0 connects to channel 1 (in my case) of the phone.

rfcomm0 {
                bind yes ;
                device <Bluetooth-device-address> ;
                channel 3 ;
                comment "Dial-up Networking Service -- for PPP" ;
            }
  • Run ‘/etc/init.d/bluetooth restart’ to restart the bluetooth sub-system.

  • Set up the PPP (point-to-point) sub-system. Here we have to creat a peer specification file in /etc/ppp/peers. I created the file /etc/ppp/peers/rlw-ngage-qd-bluetooth-modem with the following content:

hide-password
noauth
connect "/usr/sbin/chat -v -f /etc/chatscripts/rlw-ngage-qd"
debug
/dev/rfcomm0
460800
defaultroute
noipdefault
remotename rlw-ngage-qd
ipparam rlw-ngage-qd
usepeerdns
lcp-echo-interval 0
  • Now create the chat script mentioned in the above peer specification file in line no. 3. Create the file /etc/chatscripts/rlw-ngage-qd with the content below:

# This chatfile was generated by pppconfig 2.3.10.
# Please do not delete any of the comments.  Pppconfig needs them.
#
# ispauth chat
# abortstring
ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO DIAL TONE' ABORT 'NO ANSWER' ABORT DELAYED
# modeminit
'' ATZ
# ispnumber
OK-AT-OK "ATDT*99***1#"
# ispconnect
CONNECT ''
# prelogin

# ispname
#login: xxxxxx
# isppassword
#password: yyyyyy
# postlogin
'' \d\c
# end of pppconfig stuff
  • Since the login details is handled by the setting in the phone, there is no need to specify login name and passord. The most inportant piece of information in the above file is the no. “*99***1#” which is used by the gprs modem to dial for Internet access. On a windows system, to connect to the internet using gprs modem, we create a dial-up connection using the bluetooth Network setting and then use the no “*99***1#” to dial.

  • Now to connect to internet run ‘pon rlw-ngage-qd-bluetooth-modem’ and run ‘poff’ to disconnect.

I have consulted many online docs to get my connection working. This documentation is a collection of settings and configurations that worked for me. With a little or no change, I hope this documentation will be helpful to its readers. Once again, Thanks to all the great docs out there on the Internet.

P.s: Am using my GPRS modem to post this article.