Top

Seagate Dockstar Debian Squeeze

Seagate Dockstar Debian Squeeze

(8 votes, average: 5.00 out of 5)
Loading...

It’s been some days now when I got my dockstar and I’ve been reading along the web to get more and more information about how to get debian to work with the dockstar. There are a couple of HowTo’s out there, but I had to check at least a few of them to get to know what I wanted to know. So I decided to make my own HowTo as kind as a merged one with everything important in it.

Of course the first step was to unbox the little homeserver, but the second one, the most important step if you are going to put it online is to disable the Pogoplug software before you connect it to the internet by simply disabling the autoupdate on the NAND. You have done this already? Skip to part two!
Well then, you have to go offline, yes your wan-interface must go down.

1. Cut Pogo from the WWW

If you don’t have a DHCP running to get the IP-Address of the dockstar you can figure it out with this line at your desktop computer:

Where the last octets are the end of the MAC-Address as read on the sticker at the dockstar’s buttom.

Now you are ready to engage a ssh session to the dockstar:

Now comment this line out to permanently disable autostart of the updater:

If you are done remount the flash again readonly:

In my HowTo I will skip the part making backups of the original Pogoplug software because I am optimistic not to brick my dockstar or sell it in some days with pogo.

2. Install Debian Squeeze on USB Stick

With this done we have to prepare a propper usb-stick, some guys say 2 GB are enough, I recommend at least 2 GB, I took a 4 GB stick to have some space to play with.

Make sure the stick is partitioned like sda1 as rootfilesystem and sda2 as swap, I use 256 MB for swap and the rest as rootfs. Just take gparted on your desktop computer an partition your drive. You don’t have to format sda1, the installscript will do:

This will take some time to be done, get yourself a coffee.
After your device reboots, it may have a different IP address (it’s identifying as ‘debian’ to the DHCP server now instead of ‘Pogoplug’). Don’t worry if the green LED stops flashing, the current kernel doesn’t support it!
Now you can login as root using password root.

3. Install new Kernel

Well, we want to get the LED back flashing and probably some modules for usb devices and other optimizations, therefor we install the the heavykernel by gorgone:

To make the LED “know what to do” you have to edit two more files:

add to

and in

find

add after

to set it off, when the system halts.
Now take a reboot.

Once it comes up again the LED flashes green, while booting it flashes in orange heartbeat mode. After bootsequense it now should stay green.

4. Optimizations

Due to security change the rootpw, also speed up upgrades by modifying the sources.list to a server nearby and update the repos:

Install your favorite editor, vim for me:

To enable syntax highloghting for root uncomment this line in:

Probably you want to change the hostname:

When running a server it’s recommended to set a static ip:

If you have change the network, make sure the DNS is correct:

In case you want to change the timezone, type:

For now your dockstar is more or less ready to use, just install software for your needs.
If “df -h” doesn’t look that good, don’t worry, it’s no problem to change to a bigger stick. Just in short: Mount both sticks as /media/old and /media/new and

This is not the end of the story, I have some plans to do with my dockstar, stay tuned though.

5. Reference

http://jeff.doozan.com/debian/
http://forum.doozan.com/read.php?2,582
http://www.dermute.de/132-dockstar-debian-squeeze-kernel