via Instagram http://instagram.com/p/XMy_knIkMc/
Saturday, March 23, 2013
Friday, March 22, 2013
1. Install following apps In your Android device.
3. Once you get command prompt of Pi, start VNC Server by running the command x11vnc
4. Launch the Android VNC Viewer, fill in the details and hit the 'Connect' button at the top.
Thursday, March 21, 2013
Tuesday, March 19, 2013
A Portrait of Unnayi Warrier - Oil Painting by my Grand Father.
Unnayi Warrier (also, Variar/Variyar/Warriar) was a poet, writer, scholar, dramatist who lived in Kerala, India during the later part of the 17th century.He gave immense contributions to the art of Kathakali the classical dance-drama form of Kerala. He is widely renowned for his chef-d'oeuvre Nalacharitham aattakatha. Read the Wikipedia Article
Thursday, March 14, 2013
Last few days were quite, for lack of a better word, Eventful. Continuing the experiments with Raspberry Pi, I was able to host a special 'Pi Edition' version of my site in it (More on that in another post). Content wise, the site is almost a clone of the original site with some minor modifications in elements to distinguish the Pi edition from the original Site. It’s published in HTML 5 and hence should be accessible from almost all devices. However, the 'Games' section is still in Flash. So if you want to try out any of the games, you may be asked to install the flash player Brower plugin.
When I launched my site almost 3 years back, it was based on Adobe Flash. For 3 years, it continued to be a Flash based site. Anyways, recently I had a calling to convert the site to HTML 5; considering the increasing number of mobile devices and the ever declining popularity of 'Flash' platform. The main problem was complete lack of knowledge in HTML 5 and the lack of motivation to learn the new language. But, the experiments with the Pi gave me enough rush to overcome these. So I goggled about converting flash files to HTML 5 and landed on Google Swiffy. It’s a handy little extension that can export a flash file to HTML 5 (with all the actionscript). It’s basically a single click procedure and Swiffy did an excellent job of converting my site to HTML 5 within seconds. After that, I needed to edit the exported page to add some custom scripts (Social Networks buttons etc.) and the new site was ready to be uploaded to the server.
In the coming days, as I learn more of PHP and Flash, I intend to tweak the site to make it more efficient.
Tuesday, March 12, 2013
- Raspberry Pi running Raspbian
- A linux machine - running a Debian based distro (I had an Ubuntu machine).
- LAN (I connected the pi using Ethernet cable and the laptop via WiFi)
- A VNC Server in Pi - I used x11vnc
- A VNC Viewer in Linux machine - I used gtkvncviewer
- Find out the IP Address of your Router and go to its settings page. To find out the IP address of Router, enter the command route in terminal of your Linux machine. In the output, look for 'Gateway' and the IP number mentioned below it. That is the IP Address of your router. Now, go to your router's settings page by entering the IP address of the router in a browser.
- Connect Pi to LAN and find out the IP Address of Pi in your LAN. To find out the IP address of Pi, Look for DHCP/DHCP Client Table (probably under LAN Status) in Routers Settings page. If you cant find out the IP, Google with model number as the procedure varies from router to router.
- In your Linux machine, take terminal enter the following command:
(if the IP address of Pi is 192.168.1.103, command should be 'ssh email@example.com')
- Some text will flash and it will ask if you want to proceed further. Enter "Yes" and proceed
- Then It should prompt for the password for the user 'pi'. The default password is "raspberry". Enter the password.
- Now you should see the command prompt of Pi. That means you have logged in to Pi remotely.
Now you have access to command prompt of Pi. Lets see how to get the GUI.
- Connect to Pi via SSH command mentioned above and once you get the command prompt, install x11vnc by entering following command:
sudo apt-get install x11vnc
- In the terminal of your linux machine, install gtkvncviewer by entering the command:
sudo apt-get install gtkvncviewer
- Once x11vnc is installed, run it by entering x11vnc in the command terminal of Pi
- It will ask to setup a password for VNC. Choose a password and press enter (This is a one time exercise)
- Once GTK VNC Viewer is installed in your linux machine, run the program my entering the command gtkvncviewer
- You should get a dialogue box (like the one given below) asking you to enter the address etc of remote machine.
- In 'Server(:port)', Enter the IP address of Pi and port as 5900 (i.e. following the above example, 192.168.1.103:5900)
- Give the username as 'pi'
- Give the password you setup in step 4 above and press enter.
- Another window will appear with the desktop of Pi.
Next Issue: Accessing Pi from an Android Tablet