Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Hey guys,
I'm stuck between a rock and a hard place with my DNS-323:
It's currently loaded with 2 x 2 TB hard drives arranged in a RAID 1, the current firmware version is 1.08.
Now, sadly, I can't upload a fun_plug script and chmod it. In the past (before the RAID 1) I would just take the drive out, mount it on my laptop and chown and chmod it there, stick it back in the DNS-323 and voila I would have ffp.
I can't downgrade my firmware (from what I can tell) because earlier versions don't have support for 2TB drives, I also can't mount (that I've tried so far anyways) one of the RAID 1 drives in my laptop and add the file there (this also seems like a really bad idea...).
I have some breadcrumbs but I was wondering what you guys thought:
1) Install D-Link NFS apkg => does anyone know if I can do a chmod with their package?
2) Make my own very simple apkg => I've looked at the format a little bit and it looks possible... but tricky
3) Build a serial cable and do it from the shell => don't have the stuff for it, I guess I could buy / make one but I'd rather stick to a software solution.
4) Beta firmwares => Do any of the newer firmwares allow chmoding (via FTP, etc.)
Any advice would be greatly appreciated!
Thanks,
l0rd_hex
Offline
All right, so I took some time to look at this closer and #1 DOES work. Sorry to spam the boards but I was stuck.
For anyone else that has this problem:
I downloaded the NFS add-on (dns323_NFS _Package_v100.zip) from (ftp://ftp.dlink.com/Multimedia/dns323/Apps/)
Unzipped the file, logged into the web interface (configuration)
Advanced -> Add-Ons
Browse, Apply, Start/Stop [Start]
Head over to the Network Access page, select NFS
I restricted the host to just my laptop's IP, selected Volume_1, Read/Write and set Root_Squash to no.
Save settings, etc.
Then I mounted the share on my remote system, chown root:wheel fun_plug and did a chmod a+x.
sync, unmount, reboot...
telnet and I have fun_plug
Thanks for all your hard work with ffp!
Offline
Be sure to read all the info on AFT drives if it applies to you since you are running 1.08 and Raid.
Offline
Ah, thanks! I'll look into that, I noticed that currently my drives appear to be using 512-byte sectors (I think I formatted these drives when my firmware was 1.09). Here's how they look:
root@ApartmentStory:~# fdisk -ul Disk /dev/sda: 2000.3 GB, 2000398934016 bytes 255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors Units = sectors of 1 * 512 = 512 bytes Device Boot Start End Blocks Id System /dev/sda1 63 1060289 530113+ 82 Linux swap /dev/sda2 2088450 3904903484 1951407517+ 83 Linux /dev/sda4 1060290 2088449 514080 83 Linux Partition table entries are not in disk order Disk /dev/sdb: 2000.3 GB, 2000398934016 bytes 255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors Units = sectors of 1 * 512 = 512 bytes Device Boot Start End Blocks Id System /dev/sdb1 63 1060289 530113+ 82 Linux swap /dev/sdb2 2088450 3904903484 1951407517+ 83 Linux /dev/sdb4 1060290 2088449 514080 83 Linux Partition table entries are not in disk order
So I'm thinking my best option would be to backup the DNS-323 to an external 2 TB, upgrade the firmware to 1.10, wipe both current drives, reformat+RAID and copy the data back... Any thoughts, suggestions, free pizza?
Offline