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-09-19 23:52:57

deeps
Member
Registered: 2007-10-21
Posts: 12

brick forgot password?

I have the strangest problem. Well to me anyway :-)

The HD f**cked up, and left a lot of files corrupted. I replaced corrupted files which included sed and busybox with telnet. And chmod'ed them all to 777.

But i can't login. Login screen appears but it won't recognize root password. This should be the same as admin password on web administration page, right?

I can login on telnet as admin using the same password as on web, but after login, I only get this:

"BusyBox v1.00-pre1 (2005.10.27-08:04+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands."

No prompt and no response to any commands.

Any ideas what's wrong?

Offline

 

#2 2008-09-20 10:31:22

BertrandB
Member
From: Dijon (France)
Registered: 2006-09-16
Posts: 119
Website

Re: brick forgot password?

The message seems to bee the original version of busybox surely because the shel for admin is the old one.
I think that your fun_plug script isn't right and you must have some strange things in /etc/passwd.
you must delete and recreate all of the root users in the /etc/password in the begin of your fun_plug script.

other problem possible : the busybox and sed must have execution right

Offline

 

#3 2008-09-20 10:44:18

deeps
Member
Registered: 2007-10-21
Posts: 12

Re: brick forgot password?

Youre right. Solved it just before your reply.

Followed the thread about funplug and added this in beginning of fun_plug:

/mnt/HD_a2/sed -i -e '/^root/d' /etc/shadow
mount /sys/mtd1
cp /etc/shadow /sys/mtd1
umount /sys/mtd1

Rebooted succesfully and logged in as root.

And now it's time to remove above lines from fun_plug...

Tnx...

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB