DreamPlug The DreamPlug is a plug-top computer. It draws about 5 wats of power, but includes two gigabit Ethernet ports, WiFi, BluTooth, 2 USB 2 ports, 1 eSATA port, audio in and out, SDHC card slot, and includes ports for connecting a UART serial port and a JTAG board.
The DreamPlug is what the GuruPlug should have been. I purchased my DreamPlug from New IT http://www.newit.co.uk/shop/proddetail.php?prod=DreamPlug for £135 including tax and delivery. I have also purchased two SheevaPlugs and a GuruPlug from New IT and thoroughly recommend them.
Once the FTDI drivers are loaded I can connect to the JTAG using screen:
Simple screen commands:
So, turn on and off the WiFi led:
and turn on and off the WiFi-AP LED
Enable the flashing BlueToothLED
Disable the flashing BlueToothLED
WiFi Access PointFollow the instructions here to edit /root/init_setup.sh and configure the WiFi:
I altered the SSID variable, and set the WiFi into WPA2 by adding these lines before the 'bss_start' command:
/usr/bin/uaputl sys_cfg_protocol 32
/usr/bin/uaputl sys_cfg_cipher 8 8
/usr/bin/uaputl sys_cfg_wpa_passphrase $KEY
You can change the IP address range of the DHCP server, by altering the IP address of uap0 in /root/init_setup.sh
and also editing /etc/udhcpd.conf
A word of warning. udhcpd is a bit dumb, even though you've altered the config files it will still happily hand you out old leases for the old IP address ranges, so if you do alter the address ranges then remove /var/lib/udhcpd.leases before you restart:
DreamPlug to share it's 3G over WiFi.
You can follow the instructions here: http://code.google.com/p/azilink/
But you'll need a copy of adb, the Android Debugger, for Arm. There is a link on this page http://fieldeffect.info/w/Beagleboard_Notes?action=AttachFile&do=view&target=adb and notes on how to build it yourself here http://fieldeffect.info/w/Beagleboard_Notes
Then, to get the link up, you run this to get the socket forwarding from the DreamPlug to Azlink on the Android.
Then, to get the IP tunnel up, run:
THIS IS NOT WORKING YET
Instead of using my Anfroid phone, I'd like to use a 3G USB dongle.
The '3' 3G USB dongle I'm using is a ZTE MF627. It has two modes, when it's originally plugged in it appears as a USB CD-ROM, for automatically installing software drivers, and has to be ejected before it turns into a network device. When the device is a CD-ROM it's ID is when it's a network device the ID is
Here's an easy way to eject the CD-ROM device to turn the dongle into a network device:
with this contents:
Now when the dongle is inserted the udev daemon spots the device and sends the eject command. You can check the device ID with lsusb.
We can test the device now with chat:
in the output you'll see the current signal strength.
The stick seems to crash a lot - or perhaps it's the DreamPlug that is crashing...