Seagate GoFlex Satellite

Posted: 12/24/11 12:00 AM

I received a 500 GB Seagate GoFlex Satellite for my birthday from my brother and it's a really nice gadget. After a bit of simple hacking I got SSH/SFTP and Samba working. This device has become a nice little wireless portable NAS. You can do much more with it but these simple additions were all I desired. You first need to get optware setup so you can install the above packages or others with ease.

  1. Turn off the device and plugin it in using the USB cable
  2. Mirror http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable to an optware directory at the root of the hard drive
  3. Unplug the device and turn it back on
  4. Using telnet login as root/goflex to 192.168.0.1
  5. $ ln -s /media/sda1/optware /satellite_app/www/satellite/media/optware
  6. $ tar -xOvzf /media/sda1/optware/ipkg-opt_0.99.163-10_arm.ipk ./data.tar.gz | tar -C / -xzvf -
  7. $ vi /opt/etc/ipkg.conf
  8. Add: src/gz cs08q1armel http://192.168.0.1/media/optware
  9. $ /opt/bin/ipkg update

Now you can install the desired packages.

  • $ /opt/bin/ipkg install dropbear
  • $ /opt/bin/ipkg install openssh-sftp-server
  • $ /opt/bin/ipkg install samba2

You should edit /opt/etc/default/dropbear and change the default port to 22. You will also need to edit /opt/etc/samba/smb.conf and add a share for the internal drive.

[Data]
path = /media/sda1
guest ok = yes
writeable = yes
browseable = yes
force user = root

Due to a bug in samba 2.2.x there is a problem writing files larger than 2 GB. I found a fix online and uploaded a fixed package and patch here. Copy the fixed package to the root of the drive and update samba.

  • $ /opt/bin/ipkg install /media/sda1/samba2_2.2.12-5_arm.ipk

Show/Add Comments (5)