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.

Announcement

#1 2006-12-24 02:46:12

secretagent
Member
From: Norway
Registered: 2006-12-24
Posts: 15

fun_plug doesnt work

Hey guys, great to see a forum for the DNS-323 already

I am trying to run a fun_plug script on mine (fw1.00), but the unit does not appear to run it as I cannot find any output from the script afterwards...

- attempted with fun_plug placed at the root of any of my drives (RAID0 + JBOD configuration, ext2)
- chmod 777 set

script file contents:

#!/bin/sh
cd /mnt/HD_a2/
ls >list.txt

Can anyone spot what I am missing here? Thanks a lot!


-E

Offline

 

#2 2006-12-24 10:30:57

levring
Member
From: Denmark
Registered: 2006-12-16
Posts: 30
Website

Re: fun_plug doesnt work

hi..

have you remembered to upload the file in unix format ? (and NOT dos format)

/Jonas

Offline

 

#3 2006-12-24 12:23:32

KRH
Member
From: Denmark
Registered: 2006-10-27
Posts: 219
Website

Re: fun_plug doesnt work

download notepad++ there you can convert the files to unix format under formats -> unix

the files are chmodded 777 by default on the 1.00 fw.


First user to fun_plug the dns-323.

Offline

 

#4 2006-12-24 14:50:41

secretagent
Member
From: Norway
Registered: 2006-12-24
Posts: 15

Re: fun_plug doesnt work

Hello again, and thanks.

Yes, I have verified that I have UNIX (LF) format and not CRLF, but still no output from the script. So what else could it be then?


-E

Offline

 

#5 2006-12-24 14:55:30

KRH
Member
From: Denmark
Registered: 2006-10-27
Posts: 219
Website

Re: fun_plug doesnt work

try download my files from here. http://sconk.se/dns323/dns-323.rar


First user to fun_plug the dns-323.

Offline

 

#6 2006-12-27 01:18:49

secretagent
Member
From: Norway
Registered: 2006-12-24
Posts: 15

Re: fun_plug doesnt work

Ah, now it works. Seems like it was a CRLF/LF problem after all. Thanks a lot!


-E

Offline

 

#7 2006-12-28 05:21:52

jackl3221
New member
Registered: 2006-12-28
Posts: 1

Re: fun_plug doesnt work

The file must use linux format to edit , if use windows to edit  , it needs to convert to linux format.
You can try
ls > test.txt

Offline

 

#8 2006-12-29 17:21:11

secretagent
Member
From: Norway
Registered: 2006-12-24
Posts: 15

Re: fun_plug doesnt work

Yep, my bad. I used an editor that claimed to save with LF only, but apparently it didn't anyway so I couldn't figure this out until I switched to Ultraedit. Well, now it works so thanks for the advice guys!


-E

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB