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 2009-01-27 20:44:13

alpha
Member
From: Lithuania
Registered: 2008-10-06
Posts: 88

Very big problem. Any help is valuable

Hello,

I accidently did "chmod -R o-x /*" and then I got some error about not all files can change its permissions so on the same SSH session I thought to reinstall FFP. Deleted ffp from drive, restarted and.... I can't connect to DNS323. Only WEB interface. No network drives working, nothing. Tried factory defaults, tried reflash firmware, tried add new users and grans network access, but nothing helps. PLEASE !!!

Edit: I just connected to FTP root folder and see that owner/group for Volume_1 and Volume_2 is 0/0 and permissions is 776.

Darius

Last edited by alpha (2009-01-27 21:01:38)

Offline

 

#2 2009-01-28 09:36:30

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

Re: Very big problem. Any help is valuable

The command 'chmod -R o-x /*' would remove the execute permissions on all files and directories
for 'others', this would essentially prevent 'others' from executing files or listing directories.  I'm not
sure exactly how this would effect the system at the root level, but apparently your DNS-323 is not
functioning correctly.

Perhaps the best route is to reformat the drives and setup your DNS-323 again.

If there is data on the drives you want to keep (and don't have a backup) then, you can
pull the drives and connect to an XP system (with EXT file system drive) or to a Linux system
and make a backup, then proceed with the reformat.

There might be a more elegant solution, but I can't think of one that would deterministically fix all errors.


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

 

#3 2009-01-28 16:50:38

alpha
Member
From: Lithuania
Registered: 2008-10-06
Posts: 88

Re: Very big problem. Any help is valuable

Hi,

I have solved my problem without loosing data !
Fist of all I tried to flash lower firmware, because it corrected every permission problems on system root level. Problems still left on /mnt/HD_a2, /mnt/HD_a4, /mnt/HD_b2, /mnt/HD_b4. These problem you can fix only by reformatting drives. I thought it would be corrected by reflashing DNS, but I was wrong. Everything was corrected by reflashing except these mentioned above. So I nearly decided to reformat, because found here some topic about similar problem and users anded up by refomatting. Suddenly I found that there is custom firmware 1.05 with enabled telnet access and root user. So I flashed, go to telnet and succesfully logged to telnet sesion. Then did chmod o+x /mnt/HD_a2 and..... viola !!! I got back my permissions. Then reflashed again with 1.06 firmware and had no errors on DNS at all. Everything is working fine. So I had very helpful lesson yesterday.
I allways thought that reflshing and setting to factory defaults help to solve ANY errors, but reflashing DO NOT touch /mnt/HD_a2(4), /mnt/HD_b2(4). These can be corrected by reformatting or like I did smile

P.S. I had RAID0 config, so no pulling HDD out of the box would be helpful.

Offline

 

#4 2009-01-28 17:13:55

fordem
Member
Registered: 2007-01-26
Posts: 1938

Re: Very big problem. Any help is valuable

Where did you get this "custom" firmware?

Offline

 

#5 2009-01-28 17:41:31

alpha
Member
From: Lithuania
Registered: 2008-10-06
Posts: 88

Re: Very big problem. Any help is valuable

http://dns323.kood.org/howto:telnet see section "Modified firmware with telnet access". And here is direct link to this firmware http://pedro.larroy.com/files/FrodoII-firmware

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB