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-09-23 17:28:10

jstkwan
Member
Registered: 2009-09-23
Posts: 8

How to reboot 323 without using admin page

I have a little problem....  I installed fun plug and everything went well, then I started to config lighttpd - this is where it starts to degrade.  I changed the port for lighttpd to port 80.  Of course by doing this, the Admin page is no longer accessible!  So, I reconfig lighttpd to port 8080, like the original fun plug.  However, I am still not able to get the Admin page.  I tried issuing a "reboot" command, it did not do anything, in the telnet shell, it just sits there after I hit enter.  I tried this with several session of telnets, they are react the same way, I terminated them all with the "X" on top right.  I also tried restarting the Admin web by issuing the command "www/webs", this did not work neither, it got to a status of "LANGUAGE=1" and it sits there and I cannot hit the Admin page. 

I don't want to do a hard power off, if I don't need to.....  there has to be a way to issue a reboot / shutdown to the NAS, HOW?

Thanks.

Offline

 

#2 2009-09-23 18:00:18

Mijzelf
Member / Developer
Registered: 2008-07-05
Posts: 709

Re: How to reboot 323 without using admin page

Try the 'halt' command.

Offline

 

#3 2009-09-23 18:02:36

jstkwan
Member
Registered: 2009-09-23
Posts: 8

Re: How to reboot 323 without using admin page

Thank you for the info, I will try it out when I get home tonight.

will the 'halt' command reboot the NAS or will it power it off?

Offline

 

#4 2009-09-23 18:14:58

Mijzelf
Member / Developer
Registered: 2008-07-05
Posts: 709

Re: How to reboot 323 without using admin page

It will power it off.

btw, you can probably login to the adminpages on port 81. type
<ip-of-the-box>:81
in the addressbar of your browser.

Offline

 

#5 2009-09-23 18:33:36

jstkwan
Member
Registered: 2009-09-23
Posts: 8

Re: How to reboot 323 without using admin page

Thanks again!

I tried to move the Admin to port 81, however, I was not successful.  I tried doing what the wiki describe by using the shell scripts, but I get an error on the line with the CASE statement.  I don't know why, I just copy and pasted into a file, gave execute to file, then it errors out.  For now, I just wanted to get the Admin page going, then I will try to get the ports reassigned again.  Thanks again.

http://dns323.kood.org/howto:lighttpd_php

Offline

 

#6 2009-09-24 05:15:47

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

Re: How to reboot 323 without using admin page

jstkwan wrote:

I just copy and pasted into a file

what editor are you using - a unix aware one - maybe you are having a problem with windows line endings when you edited the config?

Offline

 

#7 2009-09-24 05:49:57

jstkwan
Member
Registered: 2009-09-23
Posts: 8

Re: How to reboot 323 without using admin page

I don't think so, I copied other scripts from the wiki and pasted onto the same editor and they ran without problem.

I tried reboot and halt both failed to do what they intended to do.  I was not able to hold the power button and power off.  I had to pull the power cable to turn it off.  NAS is now back to normal working order.  However, with the HALT command, I issued it and all it did was sit there, just like before - non respondsive, I had to pull the power cable once again.  I wonder exactly what it does?  REBOOT works, it rebooted my NAS without problem.

Offline

 

#8 2009-09-24 10:26:08

Mijzelf
Member / Developer
Registered: 2008-07-05
Posts: 709

Re: How to reboot 323 without using admin page

jstkwan wrote:

However, with the HALT command, I issued it and all it did was sit there, just like before - non respondsive, I had to pull the power cable once again.  I wonder exactly what it does?

It's just a generic Linux command to shutdown the operating system, and powerdown the box. man page
When you system 'just sits there', couldn't it actually be shutted down? Tried a 2nd telnet session to test that?

Offline

 

#9 2009-09-24 11:24:02

index monkey
Member
From: UK
Registered: 2007-06-14
Posts: 112

Re: How to reboot 323 without using admin page

I use the command
do_reboot


DNS-323, HW B1, 2 x 2TB WD green, fw 1.08, fun_plug 0.5, transmission, automatic, nzbget newsreader & rsync time machine backup.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB