Welcome to HardwareForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

hacking Synology DS-101

 
Goto page Previous  1, 2, 3, 4 ... 9, 10, 11
   Hardware Problem Solving Community! (Home) -> General Discussion RSS
Next:  S.M.A.R.T. hard drive warning  
Author Message
Waspfactory




Joined: Jun 19, 2005
Posts: 8



(Msg. 31) Posted: Fri Jul 01, 2005 3:40 pm
Post subject: Re: hacking Synology DS-101 - PROGRESS!!! [Login to view extended thread Info.]

Idea synopass

 >> Stay informed about: hacking Synology DS-101 
Back to top
Login to vote
jaxe




Joined: Jul 01, 2005
Posts: 11



(Msg. 32) Posted: Fri Jul 01, 2005 3:56 pm
Post subject: Re: hacking Synology DS-101 - PROGRESS!!! [Login to view extended thread Info.]

Simply unbelievable Smile

 >> Stay informed about: hacking Synology DS-101 
Back to top
Login to vote
Waspfactory




Joined: Jun 19, 2005
Posts: 8



(Msg. 33) Posted: Fri Jul 01, 2005 4:03 pm
Post subject: Re: hacking Synology DS-101 - PROGRESS!!! [Login to view extended thread Info.]

Hence why I fell off my chair in surprise. There was me thinking I'd have to leave some nasty brute force attack running on it for days! I suppose it's not a problem if telnet is off but all it takes is for some bright spark to turn it back on and...

...playtime!

Just need SSH and rsync up and running now and I'll be happy!
 >> Stay informed about: hacking Synology DS-101 
Back to top
Login to vote
frl




Joined: Jul 01, 2005
Posts: 8



(Msg. 34) Posted: Fri Jul 01, 2005 4:41 pm
Post subject: Re: hacking Synology DS-101 - PROGRESS!!! [Login to view extended thread Info.]

Very Happy Doesn't look like security is Synology's strong point Smile

Nice work gents, glad things are moving along.

jaxe, I agree it would be good to have some sort of recovery plan in case things go wrong - I suppose for now we just have to be extra careful.

As soon as I get a sec I'll look again at getting dropbear going. Feel free to beat me to it though Smile
 >> Stay informed about: hacking Synology DS-101 
Back to top
Login to vote
frl




Joined: Jul 01, 2005
Posts: 8



(Msg. 35) Posted: Sun Jul 03, 2005 6:05 am
Post subject: Re: hacking Synology DS-101 - PROGRESS!!! [Login to view extended thread Info.]

Hmm, well in trying to resolve the dropbear dependencies I took and chance and overwrote one of the standard synology libc libraries with a version from nslu2-linux. It resolved that particular dependancy issue, but stopped the thing booting succesfully. Embarassed

Resets didn't have any affect but swapping out the disk for another has got me back up and running.

On the bright side, at least this suggests that poking around in the filesystem isn't going to affect the firmware / hardware and permanently damage the unit.
 >> Stay informed about: hacking Synology DS-101 
Back to top
Login to vote
jaxe




Joined: Jul 01, 2005
Posts: 11



(Msg. 36) Posted: Sun Jul 03, 2005 2:24 pm
Post subject: Re: hacking Synology DS-101 - PROGRESS!!! [Login to view extended thread Info.]

Yes, the system stores /etc and /var folders on the hard disk. I would assume that the box restores their contents from /etc.defaults and /var.defaults if the hard disk is changed.

/lib folder is also stored on hard disk, but I do not see a backup copy of that, so I'm unsure what happens if that is broken - will the system remain in a condition where you can reprogram the firmware?

Has anyone studied the reprogramming procedure yet?

frl, was it the /lib folder that you messed up?
 >> Stay informed about: hacking Synology DS-101 
Back to top
Login to vote
frl




Joined: Jul 01, 2005
Posts: 8



(Msg. 37) Posted: Sun Jul 03, 2005 3:14 pm
Post subject: Re: hacking Synology DS-101 - PROGRESS!!! [Login to view extended thread Info.]

Yep, file was libc.so.6 - I'm sure it was in the/lib folder but don't quote me on that as I haven't got back into the filesystem since switching drives - that's certainly where it 'normally' lives though.

The way I see it, the unit has to keep a copy of the complete OS in flash / firmware / whatever - as it ships without a hard disk. So whatever you break on the harddisk has a backup in somewhere. It'd just be nice to be able to do a restore of the OS without having to format the drive - especially as the filesystem isn't standard Reiser and therefore not readable outside of the unit.

My new project is merging Syno's version of Reiser with my linux desktop so it's accesible from there. Call me paranoid but I don't like the idea of being unable to get at my data if the syno goes bang!
 >> Stay informed about: hacking Synology DS-101 
Back to top
Login to vote
jaxe




Joined: Jul 01, 2005
Posts: 11



(Msg. 38) Posted: Tue Jul 05, 2005 12:55 pm
Post subject: Re: hacking Synology DS-101 - PROGRESS!!! [Login to view extended thread Info.]

Is there any progress in this topic since last week?

Personally, I'm attempting to build a development environment based on the work of the NSLU2 community for porting and compiling software for the DS-101. I do not have any previous cross compiling experience, so this might take a while... so far I have managed to port only simple programs like 'less'.
 >> Stay informed about: hacking Synology DS-101 
Back to top
Login to vote
frl




Joined: Jul 01, 2005
Posts: 8



(Msg. 39) Posted: Tue Jul 05, 2005 2:17 pm
Post subject: Re: hacking Synology DS-101 - PROGRESS!!! [Login to view extended thread Info.]

I've just finished compiling a kernel that supports Synology's file system, to act as a backup in case of hardware failure (or errant hacking Smile )

If there's any interest I'll try and remember exactly what I did to make it work and type it up, but essentially, just grab the source code from synology's site and the source to the 1.4.22 linux kernel from kernel.org. Once you've extracted them both, find all the files in the synology/source/uclinux1422 directory (and all sub directories) that contain the string "MY_ABC_HERE" and copy them into the vanilla linux source directory (and relevant subs) - overwriting the original files where necessary. Compile the kernel (make sure to include reiser support!), boot it up and mount the synology partitions as reiser. I seem to remember I had to disable USB storage support in the kernel to avoid a compile error. There may have been one or two code tweaks along the way too, but that was essentially it. Oh, and I had to use RedHat 9 - I was unable to compile the 1.4.22 kernel (even without any modifications) on my usual Fedora Core 3 box.

I'm much happier now I have a recovery route in case I every break the thing again!
 >> Stay informed about: hacking Synology DS-101 
Back to top
Login to vote
gm28lab




Joined: Jul 08, 2005
Posts: 3



(Msg. 40) Posted: Fri Jul 08, 2005 1:09 pm
Post subject: Re: hacking Synology DS-101 - PROGRESS!!! [Login to view extended thread Info.]

Hi to all,

I'm new on this forum.
If you think I am out of the scope of this thread, I sincerely apologize.

Here is my story :
I bought a bare DS-101 one month ago or so. I installed in it a Seagate Barracuda 7200.8 250 GB ST3250823A

It works fine, as a PC shared resource, as printer server, and FTP server. I installed the last Firmware. I have not used the WEB server functionality.

I use this DS-101 also as a shared ressource for a DVB-T adaptor Siemens Gigaset M740 AV, to digitally record TV programs.

I can record 1 program, while watching another in time-shift mode (One can pause a real time program and resume after a certain amount of time, after answering a phone call for instance).
That means the QS-101 records 2 data streams and read one of them with a delay.
Generally, after less than 1 hour, the video become jerky.
I made some tests. the data troughput is normally 6.4 MB/s and it falls to 1 MB/s. Synology support made a telnet connection to my DS-101, and they found that the Seagate disk leaves the DMA mode in which it is after a boot.
They are trying to reproduce this in their lab.

Does any of you, experts, have an idea on what could happen ?

Many thanks for your answer.
Again, I apologize if I am out of scope.
 >> Stay informed about: hacking Synology DS-101 
Back to top
Login to vote
frl




Joined: Jul 01, 2005
Posts: 8



(Msg. 41) Posted: Sat Jul 09, 2005 7:38 am
Post subject: Re: hacking Synology DS-101 - PROGRESS!!! [Login to view extended thread Info.]

Hi,

I use my DS-101 to stream tivo "ty" files to my desktop - these are essentially mpeg2 streams and I suspect very similar to your usage. So far I have not noticed a drop in performance over time but I'll keep an eye on it.

If I understand you correctly, after a period of time your drive is dropping out of DMA mode - that would certainly explain the drop in throughput.

Do you maybe have another drive you could test with? It may help to know if the problem affects just the seagate.

I've had to contact Synology support a couple of times and both times they were excellent - I'm sure if the problem is at their end they'll do what they can to resolve it for you.

Good luck,
frl
 >> Stay informed about: hacking Synology DS-101 
Back to top
Login to vote
LD




Joined: Jul 10, 2005
Posts: 2



(Msg. 42) Posted: Sun Jul 10, 2005 3:17 am
Post subject: V00 Files on the Synology DS-101 [Login to view extended thread Info.]

Hope you experts can assist me, I'm a Synology newbie.

After I backed up all my MP3 and digital camera JPGs I noticed all the files had the suffix V00 attached to the name. I believe it uses V00 to track the versions of the file.

How do I shutoff this feature? With the suffix V00 I cannot easily use the files remotely on my other computers.

I tried setting versions to 0 in the Synology data backup software but that doesn't stop the v00.

Much appreciated...THANKS!
 >> Stay informed about: hacking Synology DS-101 
Back to top
Login to vote
gm28lab




Joined: Jul 08, 2005
Posts: 3



(Msg. 43) Posted: Sun Jul 10, 2005 11:24 am
Post subject: Re: hacking Synology DS-101 - PROGRESS!!! [Login to view extended thread Info.]

frl wrote:
I've had to contact Synology support a couple of times and both times they were excellent - I'm sure if the problem is at their end they'll do what they can to resolve it for you.

Good luck,
frl


I think next week I will got a status on their tests. I do think they are excellent and one very good thing for them is that they answer mail, (that is very rare by the time being).

I have a (naive) question, relative to DS-101 FTP server security.
I am not expert at all in term of software development and I don't know anything on Linux. What could be the chances for a DS-101 to be hacked, with a Web access open for FTP ? The router firewall directs incoming FTP to the DS-101. Access control is made by login + password (not anonymous).
 >> Stay informed about: hacking Synology DS-101 
Back to top
Login to vote
rss




Joined: Jul 02, 2005
Posts: 2



(Msg. 44) Posted: Sun Jul 10, 2005 12:11 pm
Post subject: Re: V00 Files on the Synology DS-101 [Login to view extended thread Info.]

LD:
I think the key here is that you did a backup. If you don't want the V00 etc attached to the files so the files can be used by other computers then I would think you must copy the files you want to share with other computers to a folder that is meant to be shared. Use the DS-101 as a file server.
 >> Stay informed about: hacking Synology DS-101 
Back to top
Login to vote
LD




Joined: Jul 10, 2005
Posts: 2



(Msg. 45) Posted: Sun Jul 10, 2005 1:24 pm
Post subject: Re: V00 Files on the Synology DS-101 [Login to view extended thread Info.]

Thanks, I couldn't find any method to shutdown the versions in the Synology program so I started trying out different freeware backup programs. They definitely work, hoping to find one that is simple yet allows filters and incremental backup. Too bad the Synology program doesn't work for this purpose.



rss wrote:
LD:
I think the key here is that you did a backup. If you don't want the V00 etc attached to the files so the files can be used by other computers then I would think you must copy the files you want to share with other computers to a folder that is meant to be shared. Use the DS-101 as a file server.

 >> Stay informed about: hacking Synology DS-101 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Get the Serial Number with Visual Basic - Hi folks, I have to write a Visual Basic 6.0 Program and need to uniquely identify a computer in a network and the user mustn't be able to change that id while my program is running. So the Volume Serial Number of the HDD isn't a possibility, because yo...

which one to get? - I'm looking for a DVD +/- R/RW. These two seem to be a pretty good value. Which one should I get? Plextor PX-708A http://www.plextor.com/english/products/708A.html or Sony DRU510A..

questions about DVD-RAM and 2 sided DVDs - The guy I spoke to at my local Futureshop showed me that LG dvd burner they had that supported DVD-RAM and that some type of DVD-RAM media you could write on both sides. He told me he didn't have them though. I've made a few phone calls at my local..

Subject: Another Slow Hard Drive Issue - Ack, I am having a problem. Access to my hard drive is a tad slow. I am running win 2K sp4, on a 1gig hz machine 768meg ram. I have a Maxtor 200gig hard drive on the second IDE channel. It is plugged into a removable tray. I recently went to device...

Maxtor One Touch USB NTFS Failure - I bought two Maxtor One Touch USB drives and both failed on the NTFS format under Windows XP Home (all current updates applied) The formatting meter gets to 100% but then an error displays that the format failed. Can anyone help? TIA, Dan
   Hardware Problem Solving Community! (Home) -> General Discussion All times are: Pacific Time (US & Canada) (change)
Goto page Previous  1, 2, 3, 4 ... 9, 10, 11
Page 3 of 11

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]