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-12-11 23:27:44

Sraet
Member
Registered: 2008-12-11
Posts: 6

Resetting the DNS323 via SSH

I am currently away from the box and have not opened a port through the firewall for the web interface to the DNS323. So I have gone and installed Lynx to reach the web interface internally, but I can not submit the form to log in. So I installed Links, this one allows me to submit the form but always chooses the Downloads button instead of the Configuration button.

Is there a command line I can do to safely restart my DNS-323 or another text browser or something I am doing in one of the ones I mentioned that would enable me to reset the DNS-323 through my SSH connection? My searches on these forms did not turn up much more than people saying do all this then restart to boot it up, hehe.

If it matters I have 1.05 FW.

Offline

 

#2 2008-12-11 23:57:03

luusac
Member
Registered: 2008-04-29
Posts: 360

Re: Resetting the DNS323 via SSH

how about typing

reboot

or

do_reboot

at the console?  I don't know what the difference is between them, but do_reboot seems to reboot the box more gracefully (e.g. it shuts down SMB NMB) before rebooting.

Offline

 

#3 2008-12-12 00:18:50

Sraet
Member
Registered: 2008-12-11
Posts: 6

Re: Resetting the DNS323 via SSH

do_reboot and reboot do not appear to work (Nor does shutdown -r now) due to missing files/directories (/dev/initctl). I think its because I am stick within the debian chroot installation that those do not work. hehe, Ah well, guess I have to just wait until I am out of work to fix a few things up with this fun_plug.

Thanks for the response though! I am thinking I should set up two separate shell accesses, one for the debian and one for system access, hehe.. that or just fixing the routing on the web interface. Curse verizon for blocking port 80 by default! And me forgetting that they did before I left this morning smile

Offline

 

#4 2008-12-12 00:37:47

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

Re: Resetting the DNS323 via SSH


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

 

#5 2008-12-12 04:07:12

Sraet
Member
Registered: 2008-12-11
Posts: 6

Re: Resetting the DNS323 via SSH

Those solutions still suffer from the same problems I mentioned up above. I am in the debian environment and not the firmware environment so I can not get to the proper places to do those, either because the fun_plug remaps the pathing of the files so I can not get to the original pathing, or because I can not get to the HTTP interface of the DNS323. In either case, Ill be heading out of work in about an hour and just be able to fix the problem, so no worries.

Offline

 

#6 2009-02-09 07:47:16

cfobel
New member
Registered: 2009-02-09
Posts: 2

Re: Resetting the DNS323 via SSH

You can use the busybox 'reboot' command!

Install busybox:

sudo apt-get install busybox-static

Then you can reboot with:

sudo busybox reboot

Hope this helps!

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB