PlugPBX Forums
May 19, 2012, 04:03:10 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Win Vista Step by Step PlugPBX Setup  (Read 1365 times)
mattmc97
Administrator
Full Member
*****
Posts: 144


« on: June 19, 2010, 09:48:18 PM »

Here is my contribution to the site.  Once again, thanks to admin and all the others before me that figured this out. I am just consolidating.

I kept this as a running log as I went so I could learn from it and so I can do it again if my card dies or I brick my plug  Lips sealed

Here we go:

Step by Step Windows Vista SheevaPlug PlugPBX Installation Instructions

SD Card:  Lexar Platinum II  Class 6 4GB from Target $18.99

1. Download the latest Plugpbx image from Download section on main page - Do this first as it takes a while to download!

1. Plug in Sheeva Plug to outlet

2. Plug in Mini USB to PC and Sheeva plug and install driver - My computer did not find the USB drivers.
Use CD or download from here: http://www.plugcomputer.org/index.php/us/resources/downloads?func=startdown&id=44
My plug did not come with a CD, should I ask for a refund???

If you want more official install instructions, Here is the openplug Wiki entry: http://www.openplug.org/plugwiki/index.php/How-to_setup_PuTTY_for_the_SheevaPlug_on_Windows

3. Download Putty from here: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

4. Open Putty and on the first page, change from SSH to Serial, choose Com Port (Check Device Manager) and speed to 115200.
I actually had to reboot and run and close Putty about 3 times to finally get to a terminal window

5. When you get a terminal window, left click on it hit <Enter>. Login: root  Password: nosoup4u

6. Type: shutdown -r now  OR reboot (looks like regular linux commands work!) This will reboot the plug.

7. The plug will reboot and say "Hit any key to stop autoboot", hit the any key :<)

8. Type: version  which will show your Uboot version.  Mine is 3.4.16 - so it looks like I am upgrading...


Upgrading Uboot.  Well documented here: http://www.cyrius.com/debian/kirkwood/sheevaplug/uboot-upgrade.html

I will post any snafus I find below

Uboot issues to watchout for:

I did the USB version. Did a quick format FAT on the drive and had no issues with the above instructions. Now I have Marvell version 3.4.27
I also did the TFTP version. Both very easy. I don't know if it makes a difference or not which one you do. The USB version does not ask
you if you want to "override Env parameters"

9. Go to Install Guide-> Windows Card Imaging   http://www.plugpbx.org/?page_id=110

10. Download winmd5sum and install. In Vista, it locked up on first run after install and so tried again in Xp compatiblity mode.
Checksum checked out

11. I decided to go ahead and format the card to prevent future issues, may not be necessary SDCARD.org formatter: http://www.sdcard.org/consumers/formatter_3/ (thanks pbx_2010!)

12. Download Roadkil’s DiskImage Tool. I got the standalone version, so I don't have to install.

13. Major problems.. My computer is showing the image is bigger than my SD card, nothing has worked as of yet. Writing zeros, reformatting, writing with 3 different programs.
 Probably going to have to get another card reader from work...

14. With the current image,  3 out of the 4 cards I tried were too small. See post on "Known Working Cards" until this gets fixed.
    Finding a card that fit the image has been the hardest part!

15. Downloaded SD Formatter Beta 3.0  (Actually 2.9XX something right now) from:  http://www.sdcard.org/consumers/formatter_3/ and formatted the card.

16. Ended up using win32diskimager to do the imaging. Link: https://launchpad.net/win32-image-writer

17. Now configure the Sheeva to boot from SD Card. Found here BELOW video: http://www.plugpbx.org/?page_id=119

Copied here from above link...

       * Now with your UBOOT at 3.4.19 or greater you need to setup your Sheeva to boot from SD card full time (and how to boot Linux).
    * You’ll enter the following parameters one at a time exactly as shown here. Copy and paste into you serial terminal program of choice.
Code:
setenv mainlineLinux yes
setenv arcNumber 2097
setenv bootargs_console console=ttyS0,115200

setenv bootcmd_mmc 'mmcinit; ext2load mmc 0 0x0800000 /uInitrd; ext2load mmc 0 0x400000 /uImage'
setenv bootcmd 'setenv bootargs $(bootargs_console); run bootcmd_mmc; bootm 0x400000 0x0800000'
saveenv


    * Now you can insert your SD card and power cycle the device or just type (Mac users, power cycling without first disconnecting the USB cable can cause Mac panics, or dead driver, FTDI’s drivers do not handle APCI events cleanly…)


Code:

reset


18. Upon issuing reset, your plug will reboot.  At this point, I will open my router's status page and watch to see if the PlugPBX will
grab an IP address. It may take 30 seconds to a minute to show up.

**One note ** When I rebooted, and I was still connected serially thru putty; I get the regular boot start
process then it will start spitting out information on your sdcard. Then it will start mounting linux. At this point, my
terminal goes to gibberish. Just garbage all over the screen. Only one other person has reported this issue and I have not
found the cause, but my plug is working just the same. So I am ignoring the problem for now.

19. I then will log back into the plug with Putty but over SSH now using the IP Address and port 22 (default SSH port)
Login: root Password: password

20. Once you login, then type "password" and <Enter> then enter your new password that is NOT the default. Don't forget it, or you will
have to reimage your card.   Grin

21. Once that is done, or once your router shows up with PLUGPBX in its DHCP routing table, then you can
type http://PLUGPBX into your browser or just enter the IP address of the plug into the browser.

You should see: PlugPBX v1.00 - Initial Release - Beta with a picture of a sheevaplug.

Congrats. You have your PlugPBX up and running.

You can configure FreePBX or continue on and get it running with Flashybrid. See Dev Section as a few guys figured this out and I pulled together a step by step on Pg 3 to contribute to the cause.

ONCE AGAIN, you gurus check my steps and point out any errors or omissions. I did most of this as I was working, so it should be mostly complete.

Thanks again to the PlugADMIN as he made all this possible!!!   Wink
Logged
PlugPBX Admin
Administrator
Sr. Member
*****
Posts: 426



« Reply #1 on: June 20, 2010, 11:18:31 AM »

Wicked posting, thank you!

OKAY okay, now I have to get the wiki running for you guys...I love it when people can help me out and kick start this thing....

Stay tuned. Its fathers day, and I gota get back into the kiddie pool and drink some beers in the backyard.... so not today Wink
Logged

-Greg
mcheavens
Newbie
*
Posts: 3


« Reply #2 on: November 19, 2010, 09:10:55 AM »

I was not able to get either of my cards imaged on Vista (pro). I tried my internal reader primary laptop (Dell E4300) and my external reader (IoGear) that are both known to work. I tried with both the roadkill and WinImage utilities recommended in the Windows "how to". I was able to flash both cards that I had on my XP (pro) using my Dell (D600).
Card verified to work: Patriot 8GB, Class4 Micro SD (in a SD adapter) (SDHC)
Would NOT work:       Kingston 4GB, Class 6 (SDHC) (Image would not fit)
My Sheeva is a VERY early model (003-SP1001)
Logged
BinaryTB
Newbie
*
Posts: 19


« Reply #3 on: December 20, 2010, 09:46:55 PM »

Just went through this guide step-by-step, so far my new SheevaPlug (a week old now) looks like it's working great! But then again, I only got to the "password" step and changed me password from the default.

Btw, typo in the guide, the command is "passwd", not "password".

And I too am getting the garbage upon boot! Any fix for that yet? Thanks again!
Logged
PlugPBX Admin
Administrator
Sr. Member
*****
Posts: 426



« Reply #4 on: December 21, 2010, 04:59:33 AM »

newer linux kernels fix the garbage issue. There was a slight hardware revision made by Globalscape on newer sheevaplugs causing this. The linux kernel in the old Dec22 image from last year is not new enough as such. Easily fixed with a kernel upgrade (which will break dhadi) so you'll loose conference calling until you compile that again.

Logged

-Greg
BinaryTB
Newbie
*
Posts: 19


« Reply #5 on: December 21, 2010, 08:04:54 AM »

I scoured the forums last night (stayed up late, feeling dead now), but did as you said, upgraded my kernel. Updated to flashybrid too. Since I'm pretty new at this, it was all a bit scary and took a long while, but so far it looks to be working. Can't wait to actually sit down and switch my phone over to using the plug.

Btw, when you say losing conference calling, does that include call waiting id or 3-way calling? and any news on an updated image?

Thanks again for all the work you've done!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.13 | SMF © 2006-2011, Simple Machines LLC Install SimpleMachinesForum web hosting Valid XHTML 1.0! Valid CSS!