|Running a Webserver on a Tonido Plug - Getting Started|
|Written by Administrator|
|Tuesday, 16 November 2010 20:16|
Page 2 of 9
My plug arrived in a cute box with a magnetic lid. It is interesting to use a computer that not only has no screen, but doesn't even have anywhere to plug one in. It is like the good old days when the only way to communicate with a computer was with a terminal. I still have my Hazeltine 1500 in the basement, although I doubt the poor thing still works.
To communicate with the plug will require it to be connected to your local network with an ethernet cable. Tonido politely provides one for you. Just plug it into your DSL or Cable router or a hub on your network. The device will get an IP address from your router using DHCP. This is important to know, because before we can actually talk to it, we'll need to know what that IP address is.
The Tonido also has a solitary USB port. You can insert a USB flash key to this port. Tonido's product is software which allows all your computers to access what is on that flash key, either computers at home, or anywhere on the internet.
As delivered the computer comes with 512 megabytes of flash and 512 megabytes of RAM. The flash contains a Linux filesystem with Ubuntu 9.04 installed on it. If what you really wanted it for is to have a computer on all the time with all your music and videos on it, there probably be no reason to change anything. The device showed up on my Windows network and behaved well with no setup. If all you want is Apache, php and Python, then be aware that Tonido sells a ready-to-go filesystem image with one already built for you for $49. They call it the TonidoPlug Custom Image - W/Lamp. You can get it by going to the 'Buy Now' button on their plug page.
The first step to doing anything with the Tonido is to find out its IP address on your network. In my case this was pretty easy. I just went to the web page of my wireless router and viewed the attached devices. The Tonido was there in the list. Since I always wanted the router to give the Tonido the same IP address, I went to the screen where you could reserve IP addresses for certain devices. Thus from now on, my Tonido should always get that same IP address.
Now once you have the IP address, you can see if it is really working.
We will use another computer to open a console session on the Tonido. For that we want an SSH client program. There is an excellent free program called Putty available.
Putty is just an exe. It doesn't need to be installed. Just download it and place it somewhere on your hard drive. You can make a shortcut to the .EXE for your desktop, or just double click on it in Windows File Explorer.
Run putty and type the IP address of your Tonido and press the 'open' button. Make sure the SSH radio button is selected, and the Port number is 22. If it connects you will get a warning box from Putty. Accept the certificate and continue. If you see
in your Putty window, then your Tonido is working and you got the IP address correct. The text in blue indicates the part you type in.
login as: root
If all is working, you should now be in Linux Bash command shell, running Ubuntu 9.04.
When the Tonido boots with no USB Flash driver connected, it will boot Ubuntu from the 512Megabyte internal flash memory. However, if one has a USB Flash Drive plugged in which has a bootable Linux filesystem on it, the Tonido will boot from that instead. The plan here is to format your USB Flash Drive to be Linux filesystem, and we will install Plugbox Linux on it.
In the next page we will reformat your flash drive and install PlugBox Linux on it.
|Last Updated on Wednesday, 01 December 2010 14:06|