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-10 23:36:25

SuperInsanity
Member
Registered: 2008-05-10
Posts: 11

Permissions Problems? Cannot update firmware, etc...

Hey All,

I've found many post on this site very helpful, and most of all Fonz' Fun_Plug!!

Anyway, I updated just recently to version 0.5, and everything was fine.

I followed the link for "Cleanboot" from the wiki page to here: http://dns323.kood.org/forum/t1828-clea … 3SNAS.html

Since dmesg showed the "unchecked fs" message I followed the link under the title * How do I repair my filesystem if I already have the 'unchecked fs' warning: to here: http://dns323.kood.org/forum/t1708-Modi … nance.html. I renamed my original fun_plug script and took the one from the 2nd post there with a couple of additions from the post further down.

After rebooting telnet wasn't working, however I noticed the script was for 0.4, and that the paths had changed in 0.5, so I reconfigured it like shown here. I rebooted again, but still nothing.

Code:

#!/bin/sh

# Revision 080219 by Skydreamer
# You must have installed funplug 0.4

# Prepare terminal (simplified fun_plug, based on 0.4)

if [ ! -e "/dev/ptmx" ]; then
    mknod -m 0666 /dev/ptmx c 5 2
fi

if [ ! -d "/dev/pts" ]; then
    mkdir -p /dev/pts
fi

mount | grep devpts 1>/dev/null 2>/dev/null

if [ $? -ne 0 ]; then
    mount -t devpts devpts /dev/pts
fi

# Replace busybox

cp -f /mnt/HD_a2/ffp/bin/busybox /bin

# Link telnetd

ln -s /bin/busybox /sbin/telnetd

# Start telnet

/sbin/telnetd -l /bin/sh

# Create killall for choking smbd and nmbd

ln -s /bin/busybox /bin/killall

# Copy newer version of e2fsck

cp -f /mnt/HD_a2/ffp/sbin/e2fsck /sbin
cp -f /mnt/HD_a2/ffp/sbin/badblocks /sbin
cp -f /mnt/HD_a2/ffp/lib/libext2fs.so.2.4 /lib
rm -r /lib/libext2fs.so*
ln -s /lib/libext2fs.so.2.4 /lib/libext2fs.so
ln -s /lib/libext2fs.so.2.4 /lib/libext2fs.so.2
cp -f /mnt/HD_a2/ffp/lib/libcom_err.so.2.1 /lib/
ln -s /lib/libcom_err.so.2.1 /lib/libcom_err.so.2
ln -s /lib/libcom_err.so.2.1 /lib/libcom_err.so

# Run manually from the command line
# Do not ever kill samba in fun plug
#               
# killall smbd
# killall nmbd
# umount /dev/md0
# e2fsck /dev/md0
# or
# e2fsck -v -f -c /dev/md0

Following that I tried the instructions at the bottom of that topic here: http://dns323.kood.org/forum/p14420-200 … tml#p14420 But it warned of problems, so I didn't continue the fsck.

After that I switched back to my original fun_plug...the one from ffp 0.5, but now it won't start anything either. I tried renaming that fun_plug script and downloading it and the .tgz again, hoping it would reinstall itself, but that wouldn't work either.

So I was hoping to enable FTP and fix some permissions, but then I noticed when looking at the Web Interface, that I cannot add users, or remove existing ones. and the buttons are greyed out to start the FTP server, and several other little problems like that.

That led to trying a "System Reset" from the Web Interface, but that didn't change anything, in fact after reboot the system was exactly as before. So, I thought maybe a firmware upgrade (to 1.04, the device has Firmware 1.03) would reset things properly, but just it goes through the motions and after reboot it's still 1.03, and it still has the same problems.

I'm not physically able to get to the device, so I haven't tried the physical reset button, but I'm working on getting someone on location to do so...

Has anyone had a similar issue?

Any ideas on a solution?

Thanks,
SuperInsanity

Last edited by SuperInsanity (2008-05-10 23:43:08)

Offline

 

#2 2008-05-11 00:54:50

SuperInsanity
Member
Registered: 2008-05-10
Posts: 11

Re: Permissions Problems? Cannot update firmware, etc...

I'm happy to report that a hardware reset did the trick!!

I had the on site personal follow this procedure: http://dns323.kood.org/howto:hardware_reset

Worked, and all back up and running!

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB