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 2008-05-29 22:01:19

ChaoZ
Member
Registered: 2008-05-29
Posts: 7

Can't delete files

Hi, just picked up a DNS-323 yesterday, flashed the firmware to 1.05 and starting pulling files over.

Our office is mainly a Mac environment and we plan to store archives of magazine layouts on the 323. During the file transfer, the machine rejected files that had slashes in the file names. (Which I guess is fair enough, since Windows wouldn't like them either). However, when I tried to delete the files off using either FTP or network drive connection, it says the file is not found.

Two files in particular are hanging me up: both say "...t - March05.pdf", however they are different sizes. The files cannot be renamed or deleted.

I'm still early enough in the file transfers where I can format the drive over and not lose too much time, but is there a way to delete those files (as well as seemingly empty directories)? For example, is there a way to delete directories regardless of whether or not there are files within?

What causes these files/directories to be undeletable? CHMOD shows 777.

I'm afraid I have no linux/unix experience, so I'll have to take this slowly. I assume I will need to install this fun_plug thing to enable telnet?

Many thanks in advance.

Offline

 

#2 2008-05-29 22:51:25

ChaoZ
Member
Registered: 2008-05-29
Posts: 7

Re: Can't delete files

On further examination, it seems the file that tripped this was a file that had ellipses (...) in the middle of the file for some reason. I think the blame in this case goes to Apple, which seems to allow all sorts of bizarre behaviour in its filenaming conventions in OSX.

When I logged in using command line FTP, the file used some kind of gibberish character that I could not replicate to delete.
Argh. Does this mean I pretty much have to format the drive to delete the files?

Offline

 

#3 2008-05-29 23:04:05

SilentException
Member
From: Island of Krk, Croatia
Registered: 2008-05-04
Posts: 148

Re: Can't delete files

you could use fun_plug or if you are a bit more skilled, upload ffp busybox binary to first disk, and make a simple fun_plug with

#!/bin/sh
cp -f /mnt/HD_a2/busybox /bin
ln -snf /bin/busybox /sbin/telnetd
/sbin/telnetd -l /bin/sh

restart, telnet in, search & destroy smile


D-Link DNS-323 v1.05 fun_plug-ed + many mods,  2 x 320GB Seagate Barracuda 7200.10 RAID0, Cat6 Gigabit Network, 9k Jumbo Frames, Average (WRITE): 19,32 MB/sec, Average (READ): 28,6 MB/sec

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB