Connecting to the Dreamplug on Windows 7
27 Jan 2012
I am going to write a series of posts showing the process I am going through as I turn my Dreamplug into a PBX. I'm basing the software on PlugPBX and (just for extra points) doing it all from Windows 7. However, I'm no expert so please correct me where I'm wrong below and share your experiences too - we can learn together.
Connecting using SSH
The out-of-the-box operating system should boot fine and it will allow you to log on using SSH once you identify the unit's IP address. More information on this is available from Spinifex, a company specialising in plug computers.
Connecting with SSH works fine if you want to build on top of the supplied operating system and if you can do everything you want it means you won't need the JTAG module. However, SSH won't let you change the loader setup to, for example, boot from the SD card. The PlugPBX project that I'm planning to use requires the SD card boot so I need the JTAG serial connection operating to be able to make those changes.
Connecting using JTAG
First off, you need to purchase your Dreamplug with a JTAG module. The JTAG is a small box that connects between your Dreamplug and your main computer and lets you see what is happening and change settings on the plug that are unavailable once the operating system is loaded.
So, connect the JTAG module to the Dreamplug using the two small cables, then to your PC using the USB. Then if you're on Windows you need to install Putty and some extra drivers:
- Plug in the Dreamplug to the power
- Plug in the jtag USB cable betwen the jtag board and the computer
- Start the windows device manager, you should see two sheevaplug FTDI devices in error state
- Right click one of them and say "Update driver software"
- Select "Browse computer" then "Let me pick." then "All devices" then "have disk"
- Select ftdibus from the folder you uncompressed the driver package to
- Select "USB Serial Converter" from the list, it should be near the top
- Accept all the warnings about it being the wrong driver, etc...
- This should change the device label to a "USB Serial Converter"
- Repeat the process for the other FTDI device
- After you've done both of these the device manager will show a new USB COM device in error state
- Right click that new device and go through the process except select the ftdiport from the uncompressed image
- Then select the last device type of "USB Serial Port" from the list
- This should enable the device in device manager as COM(n) (The number depends on which USB port you're connected to on yoru machine)
- Start Putty. Select "Serial", type the port number from above eg "COM3"
- Change "speed" to "115200" and click "open"
- Then press enter a couple times, you should see the login prompt for the dreamplug
- The "root" user password is the usual "nosoup4u"
(Big thanks to jlinton)
Now when we need to make changes we can plug in via USB and fire up Putty to see a console of what's going on.
The next step will be changing the bootloader so that the Dreamplug loads from SD card.