Reply
Kilobyte
Hajo
Posts: 54
Registered: ‎08-13-2010

Enable SSH on BlackArmor 220 - Solution

[ Edited ]

I've written a small howto on how to enable SSH the BlackArmor 220 NAS:

 

http://www.noerenberg.de/hajo/pub/seagate-blackarmor-nas.txt

 

This modification has been tested on the Blackarmor 220 only. Please let me know if it works on other models, too.

 

Hajo

 


+++ Please do not Private Message me with questions that can equally well be posted in the forums, and may also help others. A forum search will very often produce an answer for your question +++
Visitor
sunday
Posts: 1
Registered: ‎08-31-2010
0

Re: Enable SSH on BlackArmor 220 - Solution

Hy,

 

the deobfuscation helped me to modify the sg1000-1000.0391.img for the NAS 110.

I modified the etc/inetd.conf within the .img by but the file was not taken over after

the firmware update. I had to delete the file from the sg1000-1000.0391.img/backup_list

so it was no longer kept after the firmware update. I don't think that this is a good solution

which should be posted. But i do not found a hint for a pre_setup and post_setup beeing

called anywhere. I am not into this admin stuff and cannot calculate the sideeffects of my

changes so how would you force the changes in /etc/inetd.conf to be made without modifying 

the backup_list file. Within one of the rc pre nfs runlevel startup scripts ?

 

 

anyway many thanks for the hints from Berlin but not Tegel.

 

 

Kilobyte
Hajo
Posts: 54
Registered: ‎08-13-2010
0

Re: Enable SSH on BlackArmor 220 - Solution

[ Edited ]

 

Did you try to upload my service pack file to your NAS 110? As it does not contain any model-specific data, it should get accepted by the web interface and patch /etc/inetd.conf for you. It also contains pre/post-setup scripts which you can modify according to your needs (e.g. to change other config files).

 

Hajo

 

 

 


+++ Please do not Private Message me with questions that can equally well be posted in the forums, and may also help others. A forum search will very often produce an answer for your question +++
Byte
haroon
Posts: 32
Registered: ‎02-18-2010
0

Re: Enable SSH on BlackArmor 220 - Solution

[ Edited ]

Just wanted to say thanks for jumpstarting this effort.  It will be great when we can get an entirely different Linux distribution onto this thing; think FreeNAS.  Yum. 

 

In the meantime I'll check this out and see if i can't get some development tools on this thing.  If I can get netatalk onto the 220 it won't be such a pain[Edit: Please do not evade the word filter] with my Macs. 

Byte
haroon
Posts: 32
Registered: ‎02-18-2010
0

Re: Enable SSH on BlackArmor 220 - Solution

Apparently this Buffalo NAS uses the same distribution, with the same CPU:

 

http://downloads.buffalo.nas-central.org/LSPro_ARM9/Distributions/Genlink/Binaries/armv5tejl-softflo...

 

Tried running nano but I was missing some libraries.  

Byte
netware5
Posts: 8
Registered: ‎11-17-2009
0

Re: Enable SSH on BlackArmor 220 - Solution

Hajo,

 

I have 220 with FW 2000.631. Please let me know if your SP is applicable to this FW version. I am very entusiastic to create a small community to improve our NASes.

 

Cheers!

Kilobyte
Hajo
Posts: 54
Registered: ‎08-13-2010
0

Re: Enable SSH on BlackArmor 220 - Solution

Haroon,

 

I've used Qemu+Debian (armel) to compile extra packages for the BA220:

http://people.debian.org/~aurel32/qemu/armel/

http://wiki.debian.org/QEMU

 

It shouldn't be a big problem to install Debian or any other linux distribution on the NAS. Having someone figuring out the serial port pinout (3.3V CA-42 cable) would help to monitor the boot process.

 

My BA220 went into production use some weeks ago and therefore I'm not able to alter the system anymore.

 

Hajo

 


+++ Please do not Private Message me with questions that can equally well be posted in the forums, and may also help others. A forum search will very often produce an answer for your question +++
Kilobyte
Hajo
Posts: 54
Registered: ‎08-13-2010
0

Re: Enable SSH on BlackArmor 220 - Solution

netware5,

 

I use BA220/2000.631 as well and it works for me (to be more precise, the SP has been developed on this FW ;-) ). As the image does not contain any device or model-specific files I _think_ it should for other systems, too.

 

Hajo

 


+++ Please do not Private Message me with questions that can equally well be posted in the forums, and may also help others. A forum search will very often produce an answer for your question +++
Regular Visitor
r3700l3r
Posts: 4
Registered: ‎09-18-2010
0

Re: Enable SSH on BlackArmor 220 - Solution

Hajo,

 

I have the pinouts figured out on my 440. I just want some directions on creating and loading my own altered firmware. Help would be much appreciated.

 

Pin 6 - black (Gnd)

Pin 1 - yellow (TX)

Pin 4 - green (RX)

Pin 9 - red VCC (3.3V)

 


    CN4   

 9|-X-0-|10

 7|-0-0-|8

 5|-0-X-|6

 3|-0-X-|4

 1|-X-0-|2

 

Baud rate 115200

 

I used this part http://www.acroname.com/robotics/parts/S27-USB-SERIAL.html for easy wiring.

 

Mike

 


 

Kilobyte
Hajo
Posts: 54
Registered: ‎08-13-2010
0

Re: Enable SSH on BlackArmor 220 - Solution

[ Edited ]

 

Mike,

 

thank you very much for sharing this information. With your kind permission, I've added the pinout to my seagate BA page.

 

If you reboot the NAS, you should see lots of debug output from the u-boot bootloader. You can interrupt the boot process and alter the u-boot settings if you press any key directly after resetting the device.

 

As a first step, I recommend to try to boot a linux system via NFS. You only have to alter the u-boot, and not flash and on-disk data. If anything goes wrong, you can easily revert to the original settings. Search for 'seagate dockstar NFS'  on the web, the process should be very similiar.

 

It would be interesting to know the output of the u-boot 'printenv' command.

 

http://www.denx.de/wiki/DULG/Manual

 

Hajo

 


+++ Please do not Private Message me with questions that can equally well be posted in the forums, and may also help others. A forum search will very often produce an answer for your question +++