Add functionality to your NS-349/NS-349S NAS (IDE & SATA)

SunnyD

Belgian Waffler
Jan 2, 2001
32,674
146
106
www.neftastic.com
Back in January, Computer Geeks had a kickass deal on a network NAS enclosure, both SATA and IDE flavors. A lot of people got in on the deal, and the NAS does a decent job of what it's designed to do, but people had questions and other issues with it.

Link to the Original Thread which had a lot of us providing info about it.

There was a lot of great info going on, people taking the thing apart, posting up pics and parts lists, etc. The big question was whether or not you could run OpenNAS or the Linksys NSLU2 Linux on it, among other things.

Note: There are two versions of this NAS - the NS-349 which is the IDE version, and the NS-349S which is the SATA version. They are similar, but use different mainboards and firmwares!!! DO NOT ATTEMPT TO FLASH ONE WITH THE FIRMWARE OF THE OTHER!!! Fair warning.


Well, I recently did some digging around after the dust settled, as I finally got around to throwing a drive in my NAS. After spending a day on the internet, I came up with some interesting info. So before I get too far, most of this info needs to be credited to the OpenNAS team, as well as lochness from the FSC NExt team, and Robert from the Longshine boards. A lot of my info is stolen from what they've done - however everything pertaining to the A-Tec NS-349(S) is new info based on a bunch of educated guesses from me, and I also want to thank VirtualLarry for much of his digging from the previous thread - he did a good deal of the legwork that helped me find all this.


Info for the NS-349S SATA version
Alright, down to business. The base firmware for the A-Tec NS-349S SATA version are available here. The firmware extension are also available (which give you BT, iTunes, UPnPAV, etc).

I haven't found the base firmware for the IDE version yet, as I don't have the IDE model. But more on that later.

The base firmware is fine, you really do want to update to the most recent version possible as the NAS itself runs far faster (Web UI, etc) than what shipped with it. That's all fine and dandy if all you want is NAS functions. But there's more... oh so much more.

The interesting thing about this NAS is it's mainboard - and that's the important part. The fact that it's a Freescale PPC 8241 CPU means it can (and does) happily run Linux PPC. The problem is getting at it. The key to all this is the mainboard - which just happens to be Netronix NH-231. If you're familiar with the original thread, that NAS should look quite familiar.. In fact, it's the exact same thing, and the mainboard is the same as our NS-349S, minus the eSATA port not having been included.

Note: Many of the links following are in German - you will want to use Google's translator to help you out!

Now interestingly, OpenNAS claims to support the LCS-8311, which as we've just learned is the same as the NS-349S. OpenNAS does support the Netronix NH230 mainboard which is what the IDE version uses, but more on that later. Anyhow, information on OpenNAS's site should get you going. The catch here is - I'm pretty sure you need to mod your board with the JTAG header in order to install it. Please note, when I get to talking about Debian - that also would require the JTAG serial interface as well. OpenNAS has info on how to make the JTAG/Serial connections, it's not too terribly difficult. But we've gotten a lot of info already that makes the JTAG less necessary unless you strictly want Linux on this unit.

So where did OpenNAS take me? Well, it opened up the LCS-8311, but they also mention another product - the Fujitsu Seimens SBLAN2. This little guy is indirectly interesting. Basically, it's the IDE version (NH230 mainboard), appears to be available only in Germany, and is quite popular. Googling it brings up a lot of posts in the German Fujitsu Seimens (FSC from now on) forums. Why is this interesting? Because in digging around I came across it's brother, the AMS150. Why is this interesting? Take a look - familiar isn't it? After digging around, it turns out the AMS150 actually uses the very same Netronix NH231 mainboard. SWEET... and better yet, the AMS150 seems to be fairly well supported by FSC and the community! FSC ships the AMS150 with a Twonky license - for those that don't know Twonky is a media server.

Well, where to go from here? I've given a lot of information, but nothing majorly useful. Sorry for the suspense... but we had to go from there to here in order to go to what's NExt. :)

NExt is a firmware extensions package which you can add to the AMS150 and SBLAN2 to provide additional functionality like:

* Telnet
* SSH
* NFS
* PHP
* mySQL
* CUPS print server

This list only a partial list of some of the more interesting extension. There's many, MANY more available. But more importantly, NExt doesn't require a new OS on the NAS, and as such doesn't need you to add the JTAG interface. But what good does it do for us if it's for the AMS150? We have an NS-349S! Doing a little digging around, I found there's absolutely no physical differences in the core of the Netronix NH231 mainboard between our NS-349S, the Longshine LCS-8311, and the FSC AMS150, aside from a few buttons or connectors (eSATA particularly). What's more, NExt also happens to directly support the LCS-8311 as well! BONUS! But we has an NS-349S!!! :(

This is where I decided to get a little brave. Longshine happens to have a more recent firmware than the NS-349S, version 2.22 in fact as opposed to version 2.1. Oooh... I linked the firmware - that's important isn't it? :)

Yup - the step I took was to flash my NS-349S with the Longshine firmware. But... it's not that simple. You try to upload the firmware and the NS-349S's web interface gives you the finger, asking you to use the correct file. A little JavaScript-fu told me that it's looking for a filename with the extension of .web. Well, if you bothered to extract the firmware from the RAR file (RAR is extremely popular in Germany mind you), you'd notice it is a .web file. What could be wrong? Bad file data? Nope. It's also checking the front end of the file name to see if it's NH231_AC - the AC standing for A-Tec Corporation. HAH! Rename the the file from NH231_LONGSHINE_V2.22_3-11-2009_.web to NH231_AC_V2.22_3-11-2009_.web, and assuming your browser isn't being a PITA, in 3 minutes your NAS should upload, flash and reboot itself. Assuming all goes well, you should be able to log in (all the original settings/logins should be the same as before you flashed it), and you'll be greeted by a bright red Longshine LCS-8311 web interface, which incidentally is exactly the same as the A-Tec interface aside from minor cosmetic differences... and the addition of the eSATA button.

We now have an LCS-8311!!! Okay... so? So... we can install the previously mentioned NExt! First - go to the following site URL which you will be prompted to log into:

http://www.internetteam.de/zap...download/firmware/FSC/

Use the login credentials "amsadmin" and "ams150" for the pass. Don't worry, you're not breaking in - lochness has this info posted on the FSC forums in his sig. Once there, you'll want to traverse down the NExt folder to /NExt/Base/LCS-8311. We need to install the Base extensions before we can install anything else. Each download will have a corresponding README - if you want to know more... READ THEM!

At this point, download the latest NEXT_base_LCS-8311 version. Again, I'm not hotlinking, because this can change anytime. The appropriate file will have the version number followed by --ntx_libra.tgz. Download it, and cuddle it for a bit. Not too long though, because you're going to want to load these extensions into your NAS! You should know how to do this if you've gotten this far. Let it rip, wait for the load to complete (about 2 minutes), then log into your NAS again.

Notice anything different? I bet you don't! :) That's because no visible changes are made on the Web UI by loading this extension. But now, we're primed to load the actual fun stuff!

Traverse your way back up to the /NExt top directory, and go ahead and fall into the Addons folder. I'm going to walk you through only two addons - the rest you can do yourself because they all follow the same procedure, and you can pick and choose what you want to install.

The first two we want to download are NEXT_php followed by NEXT_webadmin. It will be obvious why once we're done. Go ahead and download the files. Once they're done, we need to change the file name in order to get them loaded. Rename each file simply by adding --ntx_libra at the end of the filename before the [/b].tgz[/b]. There's no need to explain why, aside from the fact that the extension loader looks for the filename ntx_libra.tgz starting from the end of the file name. After you've renamed both, go ahead and load each extension, order doesn't really matter I don't think. Once each one loads, reboots and reloads, give the NAS one more reboot for good measure.

At this point, you should be able to open a browser and enter the following URL:

http://<Your NAS Name/IP Here>:81/phpwebif/index.php

Obviously... change <Your NAS Name/IP Here> to whatever your actual NAS name or IP address is. You will be greeted by a slick little login prompt - log in with your NAS admin/root username and password, and welcome to the NExt Webadmin UI! From this page, you can manage any additional Addons you install using the same method as above (download/rename/load extension). They work pretty much the same as services do in Windows on this page. If the Addon has it's own interface (Like CUPS for example), there will be a link labeled Interface next to the Readme, which will take you directly to that module's interface.

At this point... go nuts! The Base extension I believe loads BusyBox among other things, so you can install the Telnet or SSH server and go play at the shell level. There's tons of Addons available - they're always making news ones too. Also check the Addons.Beta folder, there's some fun ones in there too. Read the READMEs, and have fun with it. Keep in mind that some of these Addons duplicate some of the functionality of the original firmware extensions (which are loaded at this point!!!), so you may want to go into the main NAS web interface and disable them (iTunes, UPnPAV, Web Server, etc) before installing the corresponding Addon.

One final note - the LCS-8311 firmware that we now have loaded fully supports the eSATA port. From what I can tell, if you feel like modding your NAS, all you need is the appropriate connector to solder onto the mainboard, and you'll have a fully working eSATA connector. Sounds like fun!

Next post will be for the IDE version - which incidentally I found can load Debian. I'll be taking my time on that though.
 

jez286

Junior Member
May 14, 2009
2
0
0
SunnyD, you're a superstar! Not only has this added some excellent functionality and increased performance, but it has finally allowed my PS3 to browse and successfully play video via the upnp service!

THANK YOU! :)
 

SunnyD

Belgian Waffler
Jan 2, 2001
32,674
146
106
www.neftastic.com
Originally posted by: jez286
SunnyD, you're a superstar! Not only has this added some excellent functionality and increased performance, but it has finally allowed my PS3 to browse and successfully play video via the upnp service!

THANK YOU! :)

Glad I could help. I was actually fiddling with uShare today on it, and managed to finally get it to work with the XBox360. Baby steps... that's all it takes.

I also noticed the NExt downloads have a specific section for the LCS-8311 now... with the proper file names. I doubt there's anything different about the binaries themselves, but if you download from there you don't have to add the --ntx_libra.tgz onto the filename.
 

SunnyD

Belgian Waffler
Jan 2, 2001
32,674
146
106
www.neftastic.com
Okay, having a telnet terminal on the NAS is a bad thing, as is using rm -r.

Quick update, I've gotten in touch with lochness who maintains NExt, and she'll be willing to take a look at the A-Tec firmware and bring NExt support directly to the NS-349S!
 

SunnyD

Belgian Waffler
Jan 2, 2001
32,674
146
106
www.neftastic.com
Another update - lochness verified that the NS-349S firmware is pretty much identical to the LCS-8311, and she's willing to bring NExt support to the NS-349S firmware.

Now, while on the surface that's a good thing, Longshine has newer firmware than A-TEC, and I'm inclined to use their firmware over the A-TEC stuff. There might be some legal issues in doing that, but either way, we're going to get NExt support.
 

lokiju

Lifer
May 29, 2003
18,526
5
0
Originally posted by: SunnyD
This is where I decided to get a little brave. Longshine happens to have a more recent firmware than the NS-349S, version 2.22 in fact as opposed to version 2.1. Oooh... I linked the firmware - that's important isn't it? :)

That link is dead, can someone rehost?

I also noticed the NExt downloads have a specific section for the LCS-8311 now... with the proper file names. I doubt there's anything different about the binaries themselves, but if you download from there you don't have to add the --ntx_libra.tgz onto the filename.
[/quote]

So this is basically the same file that I need then but rehosted and with the correct naming convention?

EDIT: Nope, I just download the firmware from http://www.enclosureservice.com/ and it is the .web extension but nothing on the NExt site is in that format, which means they're just extensions but don't host any actual firmware updates.

So I still need to get my hands on the .web firmware update that'll unlock all these functions for me that was intended originally for Longshine.

Anyone still have a copy on hand?

EDIT2: Well I found it on that site, guess they changed the URL, here is the correct link now.

EDIT3:
Originally posted by: SunnyD
At this point, you should be able to open a browser and enter the following URL:

http://<Your NAS Name/IP Here>:81/phpwebif/index.php

Strange, I uploaded the extensions but when I go to my nas ip port 81/phpwebif/index/php I get nothing...

Not sure what else to try...
 

lokiju

Lifer
May 29, 2003
18,526
5
0
Did anyone get mediatomb working?

I installed it and it says it's running but when I click on the which brings me to my NAS ip with the port :49152/ but doesn't load anything.

Has anyone got this working?

Also, my PS3 does see it as a media server but since I can't configure it, I can't tell it were my videos are.
 

SunnyD

Belgian Waffler
Jan 2, 2001
32,674
146
106
www.neftastic.com
Originally posted by: lokiju
Did anyone get mediatomb working?

I installed it and it says it's running but when I click on the which brings me to my NAS ip with the port :49152/ but doesn't load anything.

Has anyone got this working?

Also, my PS3 does see it as a media server but since I can't configure it, I can't tell it were my videos are.

I'm using uShare (which also happens to be the same UPnP server that ships with the NAS, but installing through NExt enables more options). I don't have a PS3 though, and it works sometimes with my XBox, sometimes not so much.

I highly suggest installing the telnetd addon and telnetting into the NAS and configuring things manually. I know to enable XBox streaming to any extent in uShare, I actually had to change the command line to include a certain flag as it wasn't being read out of the config file properly.

Word of warning if you do though - rm -r ./* is BAD.... mmmkay?
 

lokiju

Lifer
May 29, 2003
18,526
5
0
Just in case anyone else is having this issue and it's driving them nuts like it has me, since the PS3 came out with the 2.70 firmware it has no longer been able to play divx/xvid files from this NAS (which used to work fine). After doing a lot of digging around and trying to find alternative solutions, like Mediatomb, which I could never get working correctly, I found a solution.

Basically what changed with the PS3 firmware was the DLNA protocol was updated from 1.00 to 1.50 and as a result any NAS devices or DLNA compliant media servers that haven't updated to this new version are no longer working specifically for Divx/xvid video files.

Since I have not found any way to update the DLNA version on this NAS (even after flashing to firmware 2.22 from the landisk model) and couldn't get Mediatomb or ushare working with the PS3, I was forced to keep on looking for solutions. Thats when I found another site discussing the same issue but with a completely different NAS, deep down in there someone said he tried just renaming the file extension from .avi to either .mpg or .mp4 and to his surprise it worked! So I tested this and sure enough it does work.

It's a stupid fix to a even stupider problem, but for those in my shoes, at least it does fix the issue nonetheless.

Hopefully this will help someone else from going through all the trial and error I have.

EDIT: I haven't had any luck getting .mp4 working, just mpg but there is one issue, it seems if you try and fast forward any of the renamed files using the NAS directly it will crash/stop the movie every time.

Screw it, I'm using PS3 Media Server and pointing it to my NAS, I was really just trying to avoid leaving a computer on all the time to run a app on to act as a DLNA compliant media server.
 

jez286

Junior Member
May 14, 2009
2
0
0
Hi all, I've installed and been running this for a few weeks now, successfully streaming video, audio and pictures to the PS3. However, earlier this week I noticed that the UPNP device wasn't available. After switching on the laptop I noticed that the samba share wasn't available and I couldn't even ping the device. It turned out that the device had dropped it's settings and set itself back to default.

Now, I can make changes to the settings, but as soon as it reboots (eg, with an IP address change) the settings are reverted to default.

I'm wondering if there is a battery backup for the flash rom or something that's causing this - anyone else seen this issue?

Also, is there a way of removing the installed firmware updates (longshine & NEXT) and reverting back to the original V1.0?

Any help would be very much appreciated!

I'm going to check on the battery thing when I get home tonight, but don't remember seeing a battery in there when I was inside last.....

EDIT: There is NO battery backup on the board! Tried flashing firmware to all old and new versions but still loses its settings - looks like it's a gonna!
 

SunnyD

Belgian Waffler
Jan 2, 2001
32,674
146
106
www.neftastic.com
Originally posted by: jez286
Hi all, I've installed and been running this for a few weeks now, successfully streaming video, audio and pictures to the PS3. However, earlier this week I noticed that the UPNP device wasn't available. After switching on the laptop I noticed that the samba share wasn't available and I couldn't even ping the device. It turned out that the device had dropped it's settings and set itself back to default.

Now, I can make changes to the settings, but as soon as it reboots (eg, with an IP address change) the settings are reverted to default.

I'm wondering if there is a battery backup for the flash rom or something that's causing this - anyone else seen this issue?

Also, is there a way of removing the installed firmware updates (longshine & NEXT) and reverting back to the original V1.0?

Any help would be very much appreciated!

I'm going to check on the battery thing when I get home tonight, but don't remember seeing a battery in there when I was inside last.....

EDIT: There is NO battery backup on the board! Tried flashing firmware to all old and new versions but still loses its settings - looks like it's a gonna!

After a long run, and goofing around screwing things up, I had something similar happen. I recently had to "rebuild" the NAS, and in doing so I reverted to an older version of the Longshine firmware (2.21). So far so good.

---

Finally, as if anyone cares, I came across the full GPL source code to the firmware. Yep... I'm pondering possibly building my own custom firmware for this thing. Unfortunately, I use my NAS, so I'm not sure I want to goof around with it "yet".
 

VirtualLarry

No Lifer
Aug 25, 2001
56,570
10,202
126
Originally posted by: jez286
After switching on the laptop I noticed that the samba share wasn't available and I couldn't even ping the device. It turned out that the device had dropped it's settings and set itself back to default.

Now, I can make changes to the settings, but as soon as it reboots (eg, with an IP address change) the settings are reverted to default.
Something similar happened to me with the IDE version, for some reason it lost it's configuration data and reverted to default settings. Also, attempting to use the PNMD utility to access the NAS over the network and to login or change the IP or whatever refused to work.[/quote]

Dunno. I fried one of them (tried flashing to alternative firmware, seemed to hose the boot-up sequence, can probably be recovered and re-flashed with a JTAG interface), and now this happened to my second one. I bought four of them, so I've got two good ones left. :p
 

VirtualLarry

No Lifer
Aug 25, 2001
56,570
10,202
126
Originally posted by: SunnyD
Finally, as if anyone cares, I came across the full GPL source code to the firmware. Yep... I'm pondering possibly building my own custom firmware for this thing. Unfortunately, I use my NAS, so I'm not sure I want to goof around with it "yet".

Yeah, I came across some GPLed source for the NAS too, at one point.

If you want to try hacking it, I can provide a bricked donor unit. You just need to build a JTAG cable (or maybe serial console cable?), and reflash it.
 

MaxBlack

Junior Member
Apr 15, 2010
6
0
0
Ok I gotta bump this thread now, before it gets archived...

I bought a couple of the IDE versions of these units, the VIBE NS-349U2 and have been using them since the $25 deal from geeks last January, and re-flashed to the NAS-01G firmware v2.00. So they've been in service for 14 months, and recently one of them had the hard drive go bad, so after replacing that I got "smart" and decided to upgrade the FW hoping it was bug-free (v2.00 worked OK but sometimes the webserver wouldn't respond or it would tell me it couldn't see the hard disk).

Well long story short, like VirtualLarry when I tried v3.33 of the NAS-01G fw it bricked--constant reboots. Shouldn't have happened cuz that fw is for the NH230 which is what we have. Shoulda worked, dunno why not.

Anyway after arduous searching and mucho Google-translate-from-Deutsch I have found a recovery procedure which I am going to attempt as soon as my RS232-to-TTL converter arrives. I'm no programmer but have done this before with some routers so am expecting to bring my NAS back from the dead. If/when I do I will post-back here, but in the meantime here are some interesting links:

How to Manual Flash ALL6250

One guy that did it

Files you need:

http://www.nat32.com/opennas/all6250_originalfw.rar

Yeah the ALL6250 is the German version of the VIBE, the pics I found bear that out, and I found the original .img files you need to flash from serial (the .web file can only be used from the web interface which of course is dead).

Wish me luck; I'll soon be "going in". In any case, I hope this post inspires others w/"bricked" units to try this. :fingerscrossed:
 

VirtualLarry

No Lifer
Aug 25, 2001
56,570
10,202
126
Thanks for the info. I sent my NS-349 with the borked firmware to SunnyD, hopefully he sees this. My other one that reset the settings, I was able to get working again. So I have one working one with a HD in it, and two NIB left.
 

MaxBlack

Junior Member
Apr 15, 2010
6
0
0
Thanks for the info. I sent my NS-349 with the borked firmware to SunnyD, hopefully he sees this. My other one that reset the settings, I was able to get working again. So I have one working one with a HD in it, and two NIB left.
Well, it sounds like he didn't try, or failed, to get it going and if I can't either then, well, no harm no foul.

But if I'm successful we can ping him later, though I wonder why you'd possibly want THREE spares sitting in your closet! ;)
 

MaxBlack

Junior Member
Apr 15, 2010
6
0
0
OK, I got the RS232-to-TTL adapter and easily got my NS-349 working again, as an ALLNET 6250 v2.02. I haven't tried yet to use any other firmware to re-flash the thing but presumably any .web firmware appropriate to the NS-349 will now work (only the .img files from the earlier link can work with the de-brick procedure).

The adapter I chose cost $12 shipped (from this ebay seller) and it even included a set of jumper wires to connect to the NS-349 board. Highly recommended.

If there is any interest I can post clearer instructions than the translation I linked-to earlier... :)
 

MaxBlack

Junior Member
Apr 15, 2010
6
0
0
...presumably any .web firmware appropriate to the NS-349 will now work (only the .img files from the earlier link can work with the de-brick procedure).

Oops, no, it turns-out that once flashed to Allnet6250 the box does not accept other .web files in the web interface update/flash area.

But I learned how to separate the three .img files from the .web files of any firmware revision from any mfr, so have now set both my NS-349-U2s as PCI (Planex, I like their UI best) v3.00 devices. Haven't tried the v3.33 again which of course bricked mine & VL's in the past.

I think next I'm going to try to get Twonkyvision working, which is my preferred music server but is now running on an old 450MHz Pentium pc I'd like to retire.
 

markosjal

Junior Member
Nov 28, 2011
2
0
0
anyone have these files? Links are dead. I would be willing to host them.

Hard to tell what works and what does not forom this thread .

I am trying to run a WD 3 TB drive on the USB with stock firmware and folders are created and then Linuux and Mac show them and say they "can not be found"!
 

MaxBlack

Junior Member
Apr 15, 2010
6
0
0
It's likely that any 3TB drive is never going to work i.e. that the NS-349 kernel does not include GPT support. It may be possible to partition your USB drive to 1TB and 2TB and then the NS-349 would read it, but I myself don't know how to do this (or if it is even possible, but it seems I read something about this somewhere quite some time ago).
 

markosjal

Junior Member
Nov 28, 2011
2
0
0
I have the longshine firmware , extracted the .web file and renamed it as detailed here but the NAS still complains that it is the wrong firmware.

Anyone have an idea as to why? Clearly I have the correct NAS with firmware V01R26 as displayed on the web page .

Also, since the NeXt extensions now work with 349s firmware, how are they installed? The doc file says it has a place to upload extensions but I see none , and the author of this post breezed over that point as if unimportant. Maybe it is different on the longshine firmware?.

Thanks