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 2007-01-17 17:22:06

MiK
Member
From: Sweden
Registered: 2006-12-17
Posts: 102

fun_plug on DNS-323

Hi!

Should the fun_plug script be uploaded to / or /Volume_1/? I just wonder since I get permission denied on /

/MiK

Offline

 

#2 2007-01-17 17:45:17

Apskaft
Member
From: Karlskrona, Sweden
Registered: 2007-01-09
Posts: 165

Re: fun_plug on DNS-323

In 1.01, the fun_plug shall be in /HD_a2, which should correspond to /Volume_1 in 1.02. However, in 1.01 I weren't allowed to CHMOD, but when files transferred to \\192.168.0.196\hdd_1 their permissions were set to 777 by default.

HTH/

Offline

 

#3 2007-01-17 17:50:55

MiK
Member
From: Sweden
Registered: 2006-12-17
Posts: 102

Re: fun_plug on DNS-323

Ok.

In 1.02 the dafult seems to be 644, but after UL I can change it to 777 without problem from within FlashFXP.

Btw, should ash, busybox, nc, sed et'al also have the 777 permission?

/MiK

Offline

 

#4 2007-01-18 02:10:19

MiK
Member
From: Sweden
Registered: 2006-12-17
Posts: 102

Re: fun_plug on DNS-323

Btw, since FW1.02 uses Volume_1 and not HD_a2, I guess I need to edit fun_plug and replace all HD_a2 occurences with Volume_1?

/MiK

Offline

 

#5 2007-01-18 06:11:53

mig
Member
From: Seattle, WA
Registered: 2006-12-21
Posts: 532

Re: fun_plug on DNS-323

MiK wrote:

Btw, since FW1.02 uses Volume_1 and not HD_a2, I guess I need to edit fun_plug and replace all HD_a2 occurences with Volume_1?

/MiK

No, you don't have to replace HD_a2 in fun_plug, the directory is still there on the file system,
but the samba share is called now called 'Volume_1'

Firmware v1.02

# ls -la /mnt

drwxr-xr-x    4 root     root         1024 Jan 16 08:45 .
drwxr-xr-x   18 root     root         1024 Jan 16 00:44 ..
drwxrwxrwx    7 root     root         4096 Jan 17 19:59 HD_a2
drwxr-xr-x    2 root     root         1024 Dec 26  2005 web_page


# more /etc/samba/smb.conf

[ global ]
client code page = 850
character set = 850
workgroup = mignet
netbios name = OLYMPUS
server string = DNS-323
hosts allow =
hosts deny =
security = SHARE
encrypt passwords = yes
max log size = 0
socket options = TCP_NODELAY SO_RCVBUF=65536 SO_SNDBUF=65536
max xmit = 65535
create mask = 0777
directory mask  = 0777
force create mode = 0777
force directory mode = 0777
load printers = Yes
printcap name = /usr/local/LPRng/etc/printcap
min print space = 2000
max print jobs = 1000
printing = lprng
print command = /usr/local/LPRng/bin/lpr -P%p -r %s
lpq command = /usr/local/LPRng/bin/lpq -P%p
lprm command = /usr/local/LPRng/bin/lprm -P%p %j
lppause command = /usr/local/LPRng/sbin/lpc hold %p %j
lpresume command = /usr/local/LPRng/sbin/lpc release %p %j
queuepause command = /usr/local/LPRng/sbin/lpc -P%p stop
queueresume command = /usr/local/LPRng/sbin/lpc -P%p start
use sendfile =yes


[ web_page ]
comment = Enter Our Web Page Setting
path = /mnt/web_page
valid users =
read only = yes
guest ok = yes

[printers]
path = /mnt/HD_a2/.lpd
guest ok = Yes
printable = Yes
use client driver = Yes
browseable = No

[ Volume_1 ]
comment =
path = /mnt/HD_a2
valid users = mig
read only = no
guest ok = no


DNS-323 • 2x Seagate Barracuda ES 7200.10 ST3250620NS 250GB SATAII (3.0Gb/s) 7200RPM 16MB • RAID1 • FW1.03 • ext2 
Fonz's v0.3 fun_plug http://www.inreto.de/dns323/fun-plug

Offline

 

#6 2007-01-18 16:25:01

MiK
Member
From: Sweden
Registered: 2006-12-17
Posts: 102

Re: fun_plug on DNS-323

Thanks for the info

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB