DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

#1 2007-02-06 09:01:32

sala
Member / Site Admin
From: Estonia
Registered: 2006-07-28
Posts: 731
Website

TS-I300W

I was able to get shipping firmware (v1.10.0619.2006) for TS-I300W from Trendnet support. And now I can confirm that this firmware and this device is pretty much DSM-G600 clone with fun_plug feature. Main difference is that TS-I300 and TS-I300W is RDC based (i386 compatible) device.

http://download.dsmg600.info/people/sal … hipping-fw

Code:

dd if="TS-I300W-shipping-fw" bs=$((0x0e3cda)) skip=1 | gzip -dc > ramdisk.ext2
dd if="TS-I300W-shipping-fw" bs=$((0x37e06b)) skip=1 | gzip -dc > defaults-settings.tar
dd if="TS-I300W-shipping-fw" bs=$((0x003eb4)) skip=1 | gzip -dc > kernel

PS: I haven't look out right offset for kernel because there is no practical reason (use find to get the right place).
Now I actually wish I had bought TS-I300W instead of DSM-G600, mainly because of Trendnet support (at least I hope so).
GPL tarball is still limited and miss many sources but I am sure that it is easier to get them from Trendnet than D-Link.

Links:
GPL tarball
TS-I300W Official site
TS-I300W Review with pictures
TS-I300 Official site
TS-I300 review with pictures


DSM-G600 - NetBSD hdd-boot - 80GB Samsung SP0802N
NSA-220 - Gentoo armv5tel 20110121 hdd-boot - 2x 2TB WD WD20EADS

Offline

 

#2 2007-04-13 22:08:01

Serge
Member
Registered: 2007-04-13
Posts: 11

Re: TS-I300W

Hello!
I have new TS-I300 and fun_plug not works for me. I use your guide located on  http://tsi300.info/howto:fun_plug,   way #5 (FTP from Windows XP).
Logon ok, but command "cd /HD_a1" says "No such file or directory". Using
"dir" command I only can see "HD_a2" directory. Logged in with administrative rights, on the root of device. So no fun_plug - no telnet. Any suggestions?

P.S. Placing fun_plug on HD_a2 and setting "execute" attribute has no result - no files such as dmesg.out appears after reboot.

Last edited by Serge (2007-04-13 22:13:07)

Offline

 

#3 2007-04-13 23:04:24

Serge
Member
Registered: 2007-04-13
Posts: 11

Re: TS-I300W

Ok, fun_plug is working now.
Fun_plug must be in UNIX coding instead of MS Windows text. Suggest it must be putted in the FAQ.

Offline

 

#4 2007-04-14 20:08:14

sala
Member / Site Admin
From: Estonia
Registered: 2006-07-28
Posts: 731
Website

Re: TS-I300W

Serge wrote:

Ok, fun_plug is working now.
Fun_plug must be in UNIX coding instead of MS Windows text. Suggest it must be putted in the FAQ.

Nice to see that it did work smile


DSM-G600 - NetBSD hdd-boot - 80GB Samsung SP0802N
NSA-220 - Gentoo armv5tel 20110121 hdd-boot - 2x 2TB WD WD20EADS

Offline

 

#5 2007-04-15 01:51:41

Serge
Member
Registered: 2007-04-13
Posts: 11

Re: TS-I300W

More of it, telnet & ctorrent from downloads section helps me too smile.

But fun_plug was compiled from wiki and forum, cause only wiki script don't allow to connect to telnet, telnet terminates session right after connecting.

Code:

#!/bin/sh
if [ ! -e /mnt/HD_a2/ash ]
then
  ln -s /mnt/HD_a2/busybox /mnt/HD_a2/ash
fi
if [ ! `grep root /etc/shadow` ]
then
  echo kontroll.`grep admin /etc/shadow` >> /etc/shadow
  /mnt/HD_a2/busybox sed -i -e 's/kontroll.admin/root/' /etc/shadow
fi
/mnt/HD_a2/busybox sed -i -e 's/root:.*/root:x:0:0:Linux User,,,:\/:\/mnt\/HD_a2\/ash/' /etc/passwd
cd /dev && /mnt/HD_a2/busybox makedevs ptyp c 2 0 0 9
cd /dev && /mnt/HD_a2/busybox makedevs ttyp c 3 0 0 9
for i in 0 1 2 3 4 5 6 7
do
/bin/mknod /dev/ttyp$i c 3 $i
/bin/mknod /dev/ptyp$i c 2 $i
done
/mnt/HD_a2/busybox telnetd &

Now looking for something more informative and automated than only ctorrent.
Where did I get binaries packages for TS-I300's Cyrix i486? Cause compiling is too complicate for me, I'm newbie in linux, especially in linux embedded sad

Offline

 

#6 2007-04-15 02:10:36

sala
Member / Site Admin
From: Estonia
Registered: 2006-07-28
Posts: 731
Website

Re: TS-I300W

Telnet drops probably because you haven't set a password for admin user at interface. And my other guess it that makedevs did mess something up. mknod my be solution. But do not use both of them!

For additional packages, it's hard to say where you can get them because binaries are (most cases) library (version) depended. So still easiest ways is to setup a cross compiler and just compile them. But if you look for some specific package then I might help you out by compiling them and uploading to download section.


DSM-G600 - NetBSD hdd-boot - 80GB Samsung SP0802N
NSA-220 - Gentoo armv5tel 20110121 hdd-boot - 2x 2TB WD WD20EADS

Offline

 

#7 2007-04-15 02:28:57

Serge
Member
Registered: 2007-04-13
Posts: 11

Re: TS-I300W

I've added this lines (as you can see in previous message) and it now works. (I use Windows XP & PuTTY as telnet client).

Code:

for i in 0 1 2 3 4 5 6 7
do
/bin/mknod /dev/ttyp$i c 3 $i
/bin/mknod /dev/ptyp$i c 2 $i
done

So now my goal is completely replace uTorrent on main computer by something with same functionality (not by interface, but by functions and acceptable usability - maybe web interface) on NAS. Sure, this is possible.
There are two ways - messing with working solution - ctorrent (adding side functionality) - by scripts or using CTorrent Control Server (CTCS) (is it possible?), or finding and testing completely different solution.
Now reading forum - about how far other people are from ultimate solution smile
Maybe my opinion will became useful for others sometime smile
Only one problem - difference in ARM/i486 platform sad

BTW, thank you in advance for help with compiling.

Last edited by Serge (2007-04-15 02:37:17)

Offline

 

#8 2007-04-15 21:11:08

sala
Member / Site Admin
From: Estonia
Registered: 2006-07-28
Posts: 731
Website

Re: TS-I300W

Serge wrote:

I've added this lines (as you can see in previous message) and it now works. (I use Windows XP & PuTTY as telnet client).

Code:

for i in 0 1 2 3 4 5 6 7
do
/bin/mknod /dev/ttyp$i c 3 $i
/bin/mknod /dev/ptyp$i c 2 $i
done

And now you should remove makedevs lines

Code:

cd /dev && /mnt/HD_a2/busybox makedevs ptyp c 2 0 0 9
cd /dev && /mnt/HD_a2/busybox makedevs ttyp c 3 0 0 9

For CTCS you need perl. I have tried to compile perl but I have failed many times.
And about other methods to control ctorrent you can read this topic: http://forum.dsmg600.info/p1592-2007022 … html#p1592


DSM-G600 - NetBSD hdd-boot - 80GB Samsung SP0802N
NSA-220 - Gentoo armv5tel 20110121 hdd-boot - 2x 2TB WD WD20EADS

Offline

 

#9 2007-04-15 23:27:14

Serge
Member
Registered: 2007-04-13
Posts: 11

Re: TS-I300W

CTCS reqires perl, but Sctcs is ctcs rewritten with C.
Only problem, it's compiled for ASUS wl-500g hardware. Maybe we can get sources and recompile this stuff for dlink/trendnet?

Last edited by Serge (2007-04-15 23:29:25)

Offline

 

#10 2007-04-15 23:40:24

sala
Member / Site Admin
From: Estonia
Registered: 2006-07-28
Posts: 731
Website

Re: TS-I300W

Serge wrote:

CTCS reqires perl, but Sctcs is ctcs rewritten with C.
Only problem, it's compiled for ASUS wl-500g hardware. Maybe we can get sources and recompile this stuff for dlink/trendnet?

I didn't know about sctcs, but there are no source available.

http://wl500g.info/showthread.php?p=49448 here the author of Sctcs states that sources are in his computer and also he avoids a license question.


DSM-G600 - NetBSD hdd-boot - 80GB Samsung SP0802N
NSA-220 - Gentoo armv5tel 20110121 hdd-boot - 2x 2TB WD WD20EADS

Offline

 

#12 2007-04-16 00:03:43

Serge
Member
Registered: 2007-04-13
Posts: 11

Re: TS-I300W

It uses busybox_httpd, and NAS compiled busybox isn't implement it?

Offline

 

#13 2007-04-16 00:04:25

sala
Member / Site Admin
From: Estonia
Registered: 2006-07-28
Posts: 731
Website

Re: TS-I300W

In that case we need i386 uclibc-0.9.26 binary for TS-I300 and maybe one more compiled against ppc 603e uclibc-0.9.26 tongue

Serge wrote:

It uses busybox_httpd, and NAS compiled busybox isn't implement it?

This is just smallest problem here. I can take care of this one.


DSM-G600 - NetBSD hdd-boot - 80GB Samsung SP0802N
NSA-220 - Gentoo armv5tel 20110121 hdd-boot - 2x 2TB WD WD20EADS

Offline

 

#14 2007-04-16 00:21:12

Serge
Member
Registered: 2007-04-13
Posts: 11

Re: TS-I300W

So we have to ask author to compile source for our architecture?

Offline

 

#15 2007-04-16 12:30:26

sala
Member / Site Admin
From: Estonia
Registered: 2006-07-28
Posts: 731
Website

Re: TS-I300W

Yes, or we could ask him to release source code. I just don't get it why hold it back, who cares how good or bad the code looks, main point for opens source is that everyone can improve it and post fixes/patches.


DSM-G600 - NetBSD hdd-boot - 80GB Samsung SP0802N
NSA-220 - Gentoo armv5tel 20110121 hdd-boot - 2x 2TB WD WD20EADS

Offline

 

#16 2007-04-16 19:42:21

Serge
Member
Registered: 2007-04-13
Posts: 11

Re: TS-I300W

Ok, but I can't register on his board. Mail.Ru banned on his site, hope not for political reasons sad
So, your turn.

Offline

 

#17 2007-04-17 09:03:24

sala
Member / Site Admin
From: Estonia
Registered: 2006-07-28
Posts: 731
Website

Re: TS-I300W

Serge wrote:

Ok, but I can't register on his board. Mail.Ru banned on his site, hope not for political reasons sad

It's blocked because of spam not political reasons. Any other private .ru or not so spammish free e-mail provider should be OK.

I did post my request here, you can add +1 if you like wink


DSM-G600 - NetBSD hdd-boot - 80GB Samsung SP0802N
NSA-220 - Gentoo armv5tel 20110121 hdd-boot - 2x 2TB WD WD20EADS

Offline

 

#18 2007-04-18 00:26:33

Serge
Member
Registered: 2007-04-13
Posts: 11

Re: TS-I300W

Done.

Offline

 

#19 2007-05-21 12:22:04

sala
Member / Site Admin
From: Estonia
Registered: 2006-07-28
Posts: 731
Website

Re: TS-I300W

Okey, somewhat I did knew from start that this guy is full of crap and he will never release source code nor he will never compile any binaries for request.
So now there is better alternative for controlling ctorrent (but it need php):
http://www.thewulong.com/w3btorrent

I haven't installed on DSM-G600 yet, but I will post further details if I do smile


DSM-G600 - NetBSD hdd-boot - 80GB Samsung SP0802N
NSA-220 - Gentoo armv5tel 20110121 hdd-boot - 2x 2TB WD WD20EADS

Offline

 

#20 2007-08-12 17:28:36

Shemmy
New member
Registered: 2007-08-12
Posts: 1

Re: TS-I300W

Hello!
I have new TS-i300 and trying to run fun_plug with unsuccess.
I'm using way #5 from your site guide, trying hack thru windows XP and ftp client, but no luck.
I have next strange things: i can't login to ftp server with "admin" or "root" logins, gettin 530 Login incorrect. but with hand created user login ok. And i can't change attributes for fun_plug file, i got error 550: Operation not permited.
What i need to do, help please.

P.S. Sorry for my bad English smile

Last edited by Shemmy (2007-08-12 17:29:05)

Offline

 

#21 2007-08-13 20:14:40

sala
Member / Site Admin
From: Estonia
Registered: 2006-07-28
Posts: 731
Website

Re: TS-I300W

Try to use other methods smile


DSM-G600 - NetBSD hdd-boot - 80GB Samsung SP0802N
NSA-220 - Gentoo armv5tel 20110121 hdd-boot - 2x 2TB WD WD20EADS

Offline

 

#22 2008-01-06 03:55:38

SiTLar
New member
Registered: 2008-01-06
Posts: 4

Re: TS-I300W

sala wrote:

Okey, somewhat I did knew from start that this guy is full of crap and he will never release source code nor he will never compile any binaries for request.
So now there is better alternative for controlling ctorrent (but it need php):
http://www.thewulong.com/w3btorrent

I haven't installed on DSM-G600 yet, but I will post further details if I do smile

Actually I've got bad feelings about running p2p clients on device with only 32MB ram. However I think that Hydranode can be of any use, since it's designed to be a daemon.

Offline

 

#23 2009-01-30 12:07:54

nik757
New member
From: Russia
Registered: 2009-01-30
Posts: 2
Website

Re: TS-I300W

hi, great linux users!smile
i'm glad that i found this forum about ts-i300
maybe somebody can help me
i just want to using ts-i300 like a simple web server, only html (no needs PHP, SQL etc...)

sorry for english:)

Offline

 

#24 2009-01-31 19:03:40

sala
Member / Site Admin
From: Estonia
Registered: 2006-07-28
Posts: 731
Website

Re: TS-I300W

Look out busybox binary (http://tsi300.kood.org/download) I don't remember any more do it have httpd applet in it, if it does then ./busybox httpd --help should help you out smile


DSM-G600 - NetBSD hdd-boot - 80GB Samsung SP0802N
NSA-220 - Gentoo armv5tel 20110121 hdd-boot - 2x 2TB WD WD20EADS

Offline

 

#25 2009-02-08 12:11:31

nik757
New member
From: Russia
Registered: 2009-01-30
Posts: 2
Website

Re: TS-I300W

Tere paevast!
thanks for answer!smile it helps me if i'll learn linux, but i really can't do something with a few binary files
maybe it exists simple firmware for stupid users, which i can upload to ts-i300?smile))
kohtumiseni:)

Last edited by nik757 (2009-02-08 12:16:03)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB