Here’s a list of steps to get you started with the Guru Plug. It’s basically a summary of information scattered across various websites. I’m mainly using this as a reference for myself but I’m posting it here in case you might find it useful, too. This page may be updated without warning.
Since the OS that comes installed with the device is outdated, you should update. Get the latest U-Boot (uboot.guruplug.bin), Kernel (uImage-guruplug) and RootFS (rootfs.ubi.img) images from the official download site and copy them to a FAT formatted USB stick.
Connect the JTAG adapter to the Guru Plug and your computer. Use screen or any other terminal emulator to access the plug:
screen /dev/ttyUSB0 115200
usb start
fatload usb 0:1 0x0800000 uboot.guruplug.bin #type 1:1 if you're using the lower USB port
nand erase 0x0 0xa0000
nand write 0x0800000 0x0 0xa0000
reset
usb start
fatloat usb 0:1 0x6400000 uImage-guruplug
nand erase 0x100000 0x400000
nand write.e 0x6400000 0x100000 0x400000
fatload usb 0:1 0x6400000 rootfs.ubi.img
nand erase 0x500000 0x1fb00000
nand write.e 0x6400000 0x500000 0x(SIZE_IN_HEX)
reset
The plug should reboot into the new operating system. Login as root via WiFi or JTAG (user: root, pass: nosoup4u), then perform the following maintenance tasks.
passwd
rm /etc/ssh/ssh_host_*
dpkg-reconfigure openssh-server
/usr/bin/uaputl sys_cfg_ssid $SSID
Right below that, insert the following lines to set up WPA2 encryption:
/usr/bin/uaputl sys_cfg_protocol 32
/usr/bin/uaputl sys_cfg_wpa_passphrase "yourpassword"
/usr/bin/uaputl sys_cfg_cipher 8 8
dpkg-reconfigure tzdata
echo "newhostname" > /etc/hostname
aptitude install rdate
rdate ptbtime2.ptb.de
aptitude update
aptitude upgrade
Remember that you just changed the SSH host keys so you should get a warning when you try to log in using SSH. Remove the violating keys from your ~/.ssh/known_hosts file and you should be fine.
Unfortunately, there is a serious problem that causes the plug to crash and reboot once both LAN ports are in use and one of them is attached to a Gigabit device, even with the latest images. Thus using it as a combined WiFi/LAN router is currently impossible. Discussions in various forums suggest that this may be caused by the plug overheating which I can confirm. I cooled the plug using a large desktop fan, plugged in the Gigabit and it worked without problems.
Comments
Thanks for the simple
Thanks for the simple instructions!
When I last called Globalscale they said about sending a replacement daughterboard to fix the heating issues. Anyone got it?
Minor correction in step 2
Commands to flash new kernel should be: usb start fatload usb 0:1 0x6400000 uImage-guruplug
Corrected
I corrected it in the main text. Thanks for pointing it out!
you need to set the mac addresses after updating uboot
You need to set the mac addresses after updating uboot. They are on the label on the bottom of the plug and can be set at the uboot prompt.
Removing hosts from known_hosts
You can also use
ssh-keygen -R <hostname/IP>to delete an entry from ssh’s known_hosts.Configuring the Guru Plug
I have also heard of the overheating. Are you using 110V or 240V? Some have said the 110V source does not over heat.
GuruPlug Overheating
I’m using 240V - it seems like the makers never actually tested it on that current. I’ve read of people using a voltage converter to circumvent the problem but that about doubles the energy consumption.
Re: GuruPlug Overheating
The heating problems are unrelated to the power supply. Mine was extremely hot (metal parts untouchable). I opened it and noticed that the power supply was not hot at all, it’s the CPU, RAM and Gigabit ports that are dissipating that much heat into the box, and the very poor design ensures that all this heat cooks the PSU until it dies. Some people are reporting slightly lower temperatures with only one 100 Mbps connection attached, but it’s not even certain that it matters. And the CPU is noticeably slower than my Alix’s 500 MHz Geode ! That’s too bad a design for a computer, I don’t think that Globalscale has ever approached embedded computing at all. If you’re interested, there are photos of the internals of that crap on my website.
true
you haven’t done Globalscale any good with your review and comments :P, can’t say I blame you, their lax attitude regarding the heat build up is infuriating.
As for now, I can’t recommend the damn thing to anyone with the current reboot issues when using the functions you bought it for.
GuruPlug Power Consumption
The GuruPlug almost certainly consumes the same amount of energy regardless of whether it is running on 120 or 240VAC. The current consumption (Amps) will double if you change from 240 to 120VAC, but the total energy consumption (watts) will remain the same (Watts = Volts * Amps).