Dockstar

Introduction

This guide will replace the old Pogoplug bootloader on mtd0 with a new bootloader. The old Pogoplug bootloader is required for booting into the old Pogoplug installation, so a copy of it will be saved to the Pogoplug root on mtd2. The new bootloader will look for a USB drive with a kernel and filesystem on it. If a usable USB drive is found, the bootloader will boot from it. If no drive is found, the bootloader will load the old Pogoplug bootloader and run that, which will boot into the old Pogoplug environment.

Connecting via SSH

Find your Pogoplug's IP address and SSH in using:

username: root
password: stxadmin

Immediately after connecting, stop the Pogoplug service by running the following command:

killall hbwd

Backup, Backup, Backup

This is the essence of computing, to store or backup your data. In this case, you want to backup your Dockstar's NAND. Just in case something one day goes wrong. Jeff Doozan's site has a nifty little tool that allows us to backup our NAND.

Connect a USB drive and run the following commands

cd /tmp
mkdir usb
mount /dev/sda1 /tmp/usb
wget http://plugapps.com/os/pogoplug/uboot/nanddump
chmod +x nanddump
./nanddump -nf usb/mtd0.oob /dev/mtd0
./nanddump -nf usb/mtd1.oob /dev/mtd1
./nanddump -nf usb/mtd2.oob /dev/mtd2
./nanddump -nof usb/mtd0 /dev/mtd0
./nanddump -nof usb/mtd1 /dev/mtd1
./nanddump -nof usb/mtd2 /dev/mtd2
umount /dev/sda1

Take your USB disk and store those NAND dumps in a safe place.

Install the new uBoot on mtd0

Use the following commands to install the new bootloader:

cd /tmp
wget http://plugapps.com/os/pogoplug/uboot/install_uboot_mtd0.sh
chmod +x install_uboot_mtd0.sh
./install_uboot_mtd0.sh

Read the warning carefully. Type ok at the prompt and press Enter to continue.

The installer will ask if you would like to disable the Pogoplug environment. The default answer is Yes, so press Enter to accept it and continue.

prepare external usb/flash disk

Once uBoot's installed, plug in your flash drive and unplug any hard drives currently connected. We're going to destroy all data on the flash drive, so if there's anything on it you're going to miss I'd back it up now. To partition properly we're going to need to run fdisk:

/sbin/fdisk /dev/sda

In fdisk, type p to see all the partitions on your flash drive. You're going to need to get rid of them, so type d 1 to get rid of the first. Depending on how many partitions you have you'll need to keep going. Use d 2 for the second partition, d 3 for the third, etc. When you're done, type p to list the partitions again. You should see no partitions at all.

Success? Then it's time to create new partitions.

1). You can do that by typing n. Press enter, then type p to designate this partition as the primary partition. Press enter again and 
type 1 to specify that this is the first partition on the flash drive. then default as starting cylinder, then +6144M for the 1st partition.
2)  type n, p , then 2, then default, then +2048M for the 2nd partition for swap
3)  type t, then 2, the 82 for swap
4)  type a , then 1 to activate 1st partition

When it's all done, type w to exit. After you've created the partition you'll need to format the flash drive. Use the following commands to make that happen:

/sbin/mke2fs -T ext2 /dev/sda1
/sbin/mkswap /dev/sda2

install openwrt with freeswitch

1. download the 1st file from : dsl report

2. unplug the fash drive from dockstar, use a linux machine to upload the bz2 file into the external flash drive. untar the tarball file into my USB storage device mounted on /tmp/usb (tar -jxf openwrt-kirkwood-rootfs.tar.bz2 -C /tmp/usb).

3. Plug the USB storage to your Seagate Dockstar device and power it up.

4. attach flash drive to your Seagate DockStar device and power recycle the dockstar. The PogoPlug SetBoot approach will make a Seagate DockStar device to boot from a new firmware found on an external USB storage.

5. You can use a telnet utiility (no SSH yet as of this moment) to log into your Seagate DockStar device once it has finished booting. no username/password is required. Once you have logged into your Seagate DockStar device running a new OpenWRT SVN firmware, you have to change its root password by using the 'passwd' utility. Just type passwd and hit return. Then, you will be prompted to enter for a new password as well as its confirmation. Once you have secured your device with a new root password, the next login MUST be done using a secured shell login, i.e. ssh (on Linux) or putty (on windows).

6. By now, you can use a ps utility to see a lot of freeswitch processes are running. Execute fs_cli to get into freeswitch console. Once in the Freeswitch console, you can type /bye to exit to the shell.

reinstall freeswitch and mod_dingaling

opkg install

http://lifehacker.com/#!5637092/turn-a-pogoplug-into-a-fully+featured-linux-web-server

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License