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 2010-09-14 06:07:50

ipdaley
Member
Registered: 2008-05-19
Posts: 10

Password quit working when SSH to DNS-323- I need help...

Background:

I have been successfully using the fonz fun_plug and Transmission without any issues on my DNS-323.  I am using a mac with snow leopard.  tried the SAMBA mod listed at:  http://dns323.kood.org/howto:mac_osx_users  BIG MISTAKE.  made a fun_plug per the instructions but it did not work.  SO I took it upon myself to directly edit the smb.conf file per the article in the /etc/samba directory.  use vi to edit and saved the file.  after i rebooted the DNS-323, I cannot write to my disks.  I tried a hard reset.  Same.  Upgraded to firmware 1.09.  Same.  I created a new user with read/write access via ftp.  the web page access SAYS the user has read/write access but when I log in, I only have read access.  I used terminal to access the DNS-323 Volume_1 (while login in via FTP) and all files have the file permissions:

drwx------

If I try logging in with "ssh root@192.168.0.197" it no longer accepts the password I assigned when I installed the fonz fun_plug.  If I try to access the DNS-323 through finder, the finder windows never connects.  I would attempt reinstalling the fun_plug but I cannot write to the volume.

Any ideas?

Offline

 

#2 2010-09-15 05:06:25

ipdaley
Member
Registered: 2008-05-19
Posts: 10

Re: Password quit working when SSH to DNS-323- I need help...

ipdaley wrote:

Background:

I have been successfully using the fonz fun_plug and Transmission without any issues on my DNS-323.  I am using a mac with snow leopard.  tried the SAMBA mod listed at:  http://dns323.kood.org/howto:mac_osx_users  BIG MISTAKE.  made a fun_plug per the instructions but it did not work.  SO I took it upon myself to directly edit the smb.conf file per the article in the /etc/samba directory.  use vi to edit and saved the file.  after i rebooted the DNS-323, I cannot write to my disks.  I tried a hard reset.  Same.  Upgraded to firmware 1.09.  Same.  I created a new user with read/write access via ftp.  the web page access SAYS the user has read/write access but when I log in, I only have read access.  I used terminal to access the DNS-323 Volume_1 (while login in via FTP) and all files have the file permissions:

drwx------

If I try logging in with "ssh root@192.168.0.197" it no longer accepts the password I assigned when I installed the fonz fun_plug.  If I try to access the DNS-323 through finder, the finder windows never connects.  I would attempt reinstalling the fun_plug but I cannot write to the volume.

Any ideas?

another twist.  Transmission still works.  I can download a torrent through the GUI.  If I pause the torrent, I cannot turn it back on.  All the buttons on the GUI are grayed out EXCEPT "Open".

I really need some help.  I'm old enough to remember when IBM launched DOS.  As this post shows, I know just enough Linux to be dangerous.

Offline

 

#3 2010-09-15 20:22:27

karlrado
Member
Registered: 2009-12-07
Posts: 229

Re: Password quit working when SSH to DNS-323- I need help...

It is hard to tell exactly what you did with your fun_plug script.

Most fun_plugs start up a telnet daemon and most instructions say to keep starting telnet in the fun_plug until everything is working right.  It is probably good to leave it run anyway, unless you have a security issue.  This is useful for getting into the box to fix things when they go wrong.

Anyway, try to telnet into the DNS.  There's plenty of documentation on the wiki about it.  If you get in, rename the /mnt/HD_a2/fun_plug file to something else.  If you made any permanent changes to the files in flash as part of any customizations, you may want to consider undoing those before rebooting.  Then reboot.  That may help you get back closer to a default installation without the samba mods your fun_plug may have put into place.  Then you can check your mounts in the DNS web interface to ensure you can read/write HD_a2.  Then you can "try again" by fixing up your renamed fun_plug, probably by NOT messing with samba, rename it back to fun_plug, and reboot.  Make sure your fun_plug leaves a telnet daemon running.

If you cannot telnet in and are desperate, maybe try to find a friend with a Linux computer who is willing to plug the disk in and rename the file.  This can be done with Windows, but needs drivers.

Also, any edits you made to /etc/samba files are not preserved across reboots unless you take a lot of steps.  These files are generated during boot using the settings you set in the DNS web interface.


DNS-323 FW 1.07 : 2 1TB WD Caviar Green SATA : fun_plug: utelnet + optware (no ffp)

Offline

 

#4 2010-09-15 20:51:13

ipdaley
Member
Registered: 2008-05-19
Posts: 10

Re: Password quit working when SSH to DNS-323- I need help...

karlrado wrote:

It is hard to tell exactly what you did with your fun_plug script.

Most fun_plugs start up a telnet daemon and most instructions say to keep starting telnet in the fun_plug until everything is working right.  It is probably good to leave it run anyway, unless you have a security issue.  This is useful for getting into the box to fix things when they go wrong.

Anyway, try to telnet into the DNS.  There's plenty of documentation on the wiki about it.  If you get in, rename the /mnt/HD_a2/fun_plug file to something else.  If you made any permanent changes to the files in flash as part of any customizations, you may want to consider undoing those before rebooting.  Then reboot.  That may help you get back closer to a default installation without the samba mods your fun_plug may have put into place.  Then you can check your mounts in the DNS web interface to ensure you can read/write HD_a2.  Then you can "try again" by fixing up your renamed fun_plug, probably by NOT messing with samba, rename it back to fun_plug, and reboot.  Make sure your fun_plug leaves a telnet daemon running.

If you cannot telnet in and are desperate, maybe try to find a friend with a Linux computer who is willing to plug the disk in and rename the file.  This can be done with Windows, but needs drivers.

Also, any edits you made to /etc/samba files are not preserved across reboots unless you take a lot of steps.  These files are generated during boot using the settings you set in the DNS web interface.

thanks for the tips.  I've attempted to telnet in but it did not work.  I'll give it another try.  I SHOULD be able to access anything a Linux computer can using Terminal on the mac.  However, I would be willing to install ubuntu using Parallels on the Mac if needed (actually been intending to do that for some time).  I'll post my results this evening.

Offline

 

#5 2010-09-17 06:12:37

ipdaley
Member
Registered: 2008-05-19
Posts: 10

Re: Password quit working when SSH to DNS-323- I need help...

okay.  I installed the hacked firmware that enables telnet.  it works!  Next question:  How do I reset the root password for SSH?

Offline

 

#6 2010-09-17 11:15:11

chriso
Member
Registered: 2009-03-29
Posts: 74

Re: Password quit working when SSH to DNS-323- I need help...

ipdaley,
http://nas-tweaks.net/CH3SNAS:Tutorials/fun_plug

See the change root password section (I found this link in this page http://dns323.kood.org/howto:1st_steps)

Offline

 

#7 2010-09-19 05:17:15

ipdaley
Member
Registered: 2008-05-19
Posts: 10

Re: Password quit working when SSH to DNS-323- I need help...

chriso wrote:

ipdaley,
http://nas-tweaks.net/CH3SNAS:Tutorials/fun_plug

See the change root password section (I found this link in this page http://dns323.kood.org/howto:1st_steps)

Thanks for the links.  I still don't understand what I did to cause all this trouble but the telnet access in the hacked firmware allowed me to fix everything.  Thanks karlrado, chriso, and all the other guys/gals that post so much good information on this forum and others.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB