General NAS-Central Forums

Welcome to the NAS community
It is currently Tue Oct 21, 2014 11:56 am

All times are UTC




Post new topic Reply to topic  [ 31 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: Sitecom MD253
PostPosted: Thu Feb 11, 2010 10:49 am 
Offline

Joined: Wed Feb 10, 2010 9:24 pm
Posts: 3
Started working on getting telnet or ssh access to this NAS. Maybe somebody has an idea?

Here's what I've tried:
NAS website uses calls to cgi-bin/setup.cgi?[command] to get and set different settings of the NAS. If command is run with no or incorrect command it reports Hello Mapower back. Mapower is a company that designs NAS systems for rebranding. Mapower also produces USB Landrive. I expect that the setup.cgi is a standard cgi file used on multiple NAS devices based on or developed by Mapower. The setup.cgi might provide an instruction to enable telnet or ssh access.

tried: setup.cgi?todo=debug result: failed

From NAS website captured following calls:
http://sitecomnas/cgi-bin/setup.cgi?webmaster result: username and password
Other script returning info
http://sitecomnas/cgi-bin/info.cgi?GetStatusInfo
http://sitecomnas/cgi-bin/info.cgi?syslog&messages
http://sitecomnas/cgi-bin/info.cgi?syslog&kernel
http://sitecomnas/cgi-bin/info.cgi?syslog&conn
http://sitecomnas/cgi-bin/info.cgi?GetDateTime
http://sitecomnas/cgi-bin/services.cgi?bt_state
http://sitecomnas/cgi-bin/services.cgi?iTuneStatus
http://sitecomnas/cgi-bin/services.cgi?DiskStatus
http://sitecomnas/cgi-bin/services.cgi?MusicFolder
http://sitecomnas/cgi-bin/mediaDir.cgi?/home result shows directory structure. / also works :-)
http://sitecomnas/cgi-bin/services.cgi?UsersData
http://sitecomnas/cgi-bin/services.cgi?SecurityData
http://sitecomnas/cgi-bin/services.cgi?USBData
http://sitecomnas/cgi-bin/services.cgi?ftp_state
http://sitecomnas/cgi-bin/services.cgi?FolderList
http://sitecomnas/cgi-bin/services.cgi?DiskStatus
http://sitecomnas/cgi-bin/user.cgi?HDDSize
http://sitecomnas/cgi-bin/user.cgi?user_data_list
http://sitecomnas/cgi-bin/user.cgi?HDDUseFree
http://sitecomnas/cgi-bin/user.cgi?UsersData
http://sitecomnas/cgi-bin/user.cgi?SecurityData
http://sitecomnas/cgi-bin/user.cgi?USBData
http://sitecomnas/cgi-bin/user.cgi?nas_state
http://sitecomnas/cgi-bin/user.cgi?FolderList
http://sitecomnas/cgi-bin/user.cgi?DiskStatus


Top
 Profile  
 
 Post subject: Re: Sitecom MD253
PostPosted: Tue Feb 23, 2010 8:55 pm 
Offline

Joined: Tue Feb 23, 2010 8:54 pm
Posts: 3
Yep, have a look at http://md253.blogspot.com

Cheers,


Top
 Profile  
 
 Post subject: Re: Sitecom MD253
PostPosted: Wed Feb 24, 2010 9:58 am 
Offline

Joined: Wed Feb 10, 2010 9:24 pm
Posts: 3
Wow.. this was the information I was looking for. Please note while having mounted bootfs you can see what is in their web interface. If you look in var/www/cgi-bin/setup.cgi there is a lovely function called: service_ssh_start :-)

I've tried on my original MD-253:
http://192.168.0.10/cgi-bin/setup.cgi?service_ssh_start
No output is show... which is a good sign

Now SSH is enabled:
Username: toor
Password: MapoweR

Without opening the box or uploading new firmware :-)
Thanks to Rizzow for showing how to read the firmware file. ;)

Gr.,
Donderschok


Top
 Profile  
 
 Post subject: Re: Sitecom MD253
PostPosted: Fri Feb 26, 2010 12:14 pm 
Offline

Joined: Tue Feb 23, 2010 8:54 pm
Posts: 3
Hah, that's good to hear! I knew there had to be a simpler way to do it, thanks for the heads-up! I'll put it on the web page.

Cheers


Top
 Profile  
 
 Post subject: Re: Sitecom MD253
PostPosted: Fri Mar 05, 2010 7:44 am 
Offline

Joined: Wed Feb 10, 2010 9:24 pm
Posts: 3
Heard you bricked it. Shame man, I’ll be extra careful.
I’m trying to find if there's module controlling the fan and if it can be adjusted. It’s annoying how the fan keeps changing RPM when drives are idle.


Top
 Profile  
 
 Post subject: Re: Sitecom MD253
PostPosted: Fri Mar 05, 2010 8:21 am 
Offline

Joined: Tue Feb 23, 2010 8:54 pm
Posts: 3
Seems I'm not the only one, there's another guy mentioning he had the same problem. Let's hope SiteCom makes the firmware flashing slightly more robust (or provides instructions how to recover).

Anyway, we'll get around it


Top
 Profile  
 
 Post subject: Re: Sitecom MD253
PostPosted: Thu Mar 25, 2010 6:38 am 
Offline

Joined: Thu Mar 25, 2010 6:29 am
Posts: 3
I am using this item with 2 HDD 1TB RAID1. Running XP and attached to Sitecom Media Router 300N WL-350. when looking at the NAS logfiles I found that it's getting out of memory? +- 10.000 Mp3's and 15.000 Pictures.

I have attached the log, but can someone explain what it means? I would not expect it would run out of memory since space and number of files should not be a problem?

http://i4.photobucket.com/albums/y107/s ... 3-2010.jpg

your feedback is appreciated.


Top
 Profile  
 
 Post subject: Re: Sitecom MD253
PostPosted: Thu Mar 25, 2010 8:15 am 
Offline

Joined: Mon Jun 16, 2008 10:45 am
Posts: 4540
Your NAS is out of RAM, not diskspace. It seems there is no swapspace. I don't know if that is normal for a MD253. Maybe one of the others in the thread can tell.

When you get root access, as described earlier in this thread, you can see if there is a dedicated (yet unused) swap partition by running
Code:
fdisk -l
(be careful using fdisk, you can kill your data with it)
If there is none maybe you can create a swapfile:
Code:
dd if=/dev/zero of=./swapfile bs=1024 count=32768
mkswap ./swapfile
swapon ./swapfile
The last line has to be repeated after each boot. Running
Code:
free
should show 16MB ram and 32MB swapspace.

BTW, next time just copy and paste the logtext. it's easier to read and easier to find for search robots.


Top
 Profile  
 
 Post subject: Re: Sitecom MD253
PostPosted: Tue Mar 30, 2010 4:36 am 
Offline

Joined: Thu Mar 25, 2010 6:29 am
Posts: 3
OK thanks I'll check your supplied details, however since i'm not that familiar with the code i'll first try to understand more on how the code works. regarding your BTW: I tried using hxxp://sitecomnas/cgi-bin/info.cgi?syslog&messages. however this did not return any results. therefore I created this pic. just checked "syslog&kernel" and "syslog&conn" these are returning results.so I'll do this next time. thanks.


Top
 Profile  
 
 Post subject: Re: Sitecom MD253
PostPosted: Tue Mar 30, 2010 7:44 am 
Offline

Joined: Mon Jun 16, 2008 10:45 am
Posts: 4540
You saw the message log in your browser, so you could just use the browser to select, copy&paste the text.


Top
 Profile  
 
PostPosted: Wed Apr 07, 2010 10:56 am 
Offline

Joined: Wed Apr 07, 2010 10:25 am
Posts: 19
Great news on the SSH.

Does anyone know how to set the twonky server base to the samba root folders? It now points to /Public so nobody can set or access the created shares in the root from the twonky config.

Supposedly one should edit:
/usr/local/mediaserver/twonkyvision-mediaserver.ini

and change these settings to .....contentbase=/home

# contentbase
contentbase=/home/PUBLIC => needs to be contentbase=/home

Sitecom doesnt want to solve this; they say it is too complex.

Request to sitecom
Code:
The problem is that the base dir set for the uPNP AV Server: twonky is /Public in the root of the share folders. Users should be able to set their own shares just like you have done for the iTunes server. A lot of people define a share folder /documents, or /music in the root and not as a subfolder of PUBLIC. This way my uPNP compliant devices see none of the movies, files, music etc on my server.

Requested change: set twonky server ini settings to be allowed to acces root and thereby mount directories directly in the root like /movies or /music etc


UPDATE.
1. I tried updating the settings file directly using, but somehow the file is not affected
sed "/contentbase=/s/.*/contentbase=\/home/" -i twonkyvision-mediaserver.ini

2. I tried an echo contentbase=/home >> twonkyvision-mediaserver.ini
This shows up in a cat command directly after, but when I restart the daemon then the change is gone!

Some tips appreciated

ps. If you also experience this problem or think this should be changed please report it to support@sitecom.com


Last edited by seansan on Fri Apr 09, 2010 7:22 am, edited 2 times in total.

Top
 Profile  
 
 Post subject: Re: Sitecom MD253
PostPosted: Wed Apr 07, 2010 11:21 am 
Offline

Joined: Wed Apr 07, 2010 10:25 am
Posts: 19
Furthermore recently I made some suggestions for the MD253.

What do you think?

Code:

Dear reader, please send the following change requests to the R&D department for the MD-253 Home Storage Center V1. I was told that the R&D and FW department for the MD-253 Home Storage Center is asking for user feedback and that new functionality is being added in future FW updates. Below a list of important user requests (also captured from the internet fora)

1. Change the behavior of the default cooling fan to only start spinning when the apparatus reaches a certain temperature. For many users having a silent and quiet NAS is very important. Having a fan is good, but it does absolutely not have to run all the time. Many other NAS have added this function and seen an increase in positive comments. Realize that many users live in colder countries for instances or dont have the room temperature so high but rather cool. Request: Change the behavior of the cooling fan to only start spinning when the apparatus reaches a certain temperature.

2. Please add the ability for an admin to receive an e-mail when something is wrong with the MD-253 Home Storage Center. Think about array rebuild, unexpected reboots, corrupt data, 1 disk not working, etc. I think it is only fair to have the ability to receive some information from the apparatus to the admin.Request: Please add the ability for an admin to receive an e-mail when something is wrong with the MD-253 Home Storage Center

3. Add the ability to copy from or to directly from the device using the GUI and avoiding network overhead. Create a GUI where users can copy data from/to the device directly to another device on the network using SAMBA/CIFS or other. Now when I bought the product I had to copy 300GB over an 100Mbit network using the windows explorer interface, result: data is copied from the original data host, to my laptop, to the MD-253 Home Storage Center. This creates a lot of unnecessary traffic on the network & also explorer is prone to crashing when handling large amounts of data. I have used other NAS's before that have the ability to circumvent this problem by setting up a direct copy or backup command from/to the MD-253 Home Storage Center device directly in the admin GUI. This way data is only transferred one over the network. Also it allows for a means of creating automatic backups to an external device when this functionality can also be timed/planned. Request: Add the ability to copy from or to directly from the device using the GUI and avoiding network overhead

4. Update the iTunes and DLNA server to the latest and greatest versions. How great would it be to really really act as an itunes server, where playlists are stored an the server, data is stored there and the library xml is also there. Please upgrade the server software to the latest and best versions, this is also what makes the NAS great and makes you keep and edge. Request: Update the iTunes en DLNA server to the latest and greatest versions

5. Why is there no user forum? I think having a place where users can ask questions, log requests and think about improvements would be great for your whole product set and especially a NAS like the MD-253 Home Storage Center. This is a different device than a router because it has interfaces, and is actively being used by the users (even my family!). This changes the way people want to interact with support or a company. Many great products offer a forum functionality online. Request: Please create a user forum!

6. Please add the webdav or similar internet/cloud online disk functionality. An absolute PLUS would be to be able to share the data we have on the disk as a real disk in the cloud (but then from home). Although it is another security risk it is the users choice to do/dont activate the functionality. The webdav (or similar) standard is so great to work from and with a disk remotely that is bound in windows or other OS. Request: Please add the webdav or similar internet/cloud online disk functionality

7. Please change the DLAN twonky server route to match the samba share root.

8. Finally. Is there a roadmap available for this product?



Any thoughts, additions and ideas that we should push to support@sitecom.com

Maybe with enough emails on a subject will sitecom move ...


Top
 Profile  
 
 Post subject: Re: Sitecom MD253
PostPosted: Thu Apr 08, 2010 6:39 pm 
Offline

Joined: Thu Mar 25, 2010 6:29 am
Posts: 3
great recommendations! let's hope you get any positive response. I also asked them several stuff. but have never got any response from them.


Top
 Profile  
 
 Post subject: Re: Sitecom MD253
PostPosted: Sun May 30, 2010 11:27 am 
Offline

Joined: Sun May 30, 2010 11:18 am
Posts: 21
Hi,

i research this device a little bit more indephts and have found some keys to usage. I will now start to create ways (no images) for enabling additional stuff on this box.

At the moment the folowing parts are planned:

1. Enabling swap space on the /home filesystem consistently (I already managed to change the start scripts for that.
2. Enabling a USB drive for everything ... So boot from bootfs and then remount everything from a usb pendrive. This should enable pretty unlimited possibilites with even a 2GB stick. The firmware is below 16MB today.
3. Enabling nfs - this is missing for my own use cases.
4. perhaps later on: how to exchange the twonky with actual release (4.4. is on it and 5.x is out).

For now I enabled swap space ... I am not sure if it is good to have the swap space on the hdd, as they are powered down for engery savings - so this could lead to system freeze if you need to access a page on the harddrive and it is powered down. So I think about putting it on an external usb drive.

Has anyone had a look inside of the box, if there is a possibibility to add more memory? 64M is very low. If you login with ssh you can see, that nearly all memory is utilized and nearly nothing is available for caching. I think this is the biggest limitation of this NAS.


Top
 Profile  
 
 Post subject: Re: Sitecom MD253
PostPosted: Mon May 31, 2010 12:43 pm 
Offline

Joined: Sat May 29, 2010 6:37 pm
Posts: 160
I have this box too and for now it's a good device.

The RAM is a bit low yes, i've enabled the swapfile as well as the cold_limit for the noisy fan.

Try adding a small USB hub to the USB slot on the back, that way you can have the swapfile on a stick and keep another USB port open for other devices :).

As with other NAS devices, it's a ARM based device, so is it possible to do a chroot on the device, or even better, install my own Linux distro on it like Debian?

BTW, is it just me or is the BitTorrent function a bit crappy? When downloading via this thing some torrents keep failing on downloading when as downloading directly on my desktop it runs fine and the ports are open as well...
Would like to install transmission on it, much better :).

I would like to open the box but for now i have failed to do so, it's really a puzzle to open...


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 31 posts ]  Go to page 1, 2, 3  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group