Jump to content

Looking for suggestions on network resource use


TJF1960

Recommended Posts

Posted

I have a Buffalo NAS that I want to shut down via ISY99 thru the network resources module. I can gain access to the nas via a web browser and there is a button available in the browser for nas shut down. I have searched but have not been able to find any info on what the commands would be (or the protocol for that matter).

 

So my question is how would one go about trying to figure out what the commands might be? Is there freeware available which would help in this situation?

 

Any comments or suggestions are welcome.

 

Thanks,

Tim

Posted

In the buffalo gui, can you right click on the shut down button and hit properties? It should give you the http command which you should be able to put into isy network module. If it is password protected you may need to address that.

Posted
In the buffalo gui, can you right click on the shut down button and hit properties? It should give you the http command which you should be able to put into isy network module. If it is password protected you may need to address that.
No, I wish. I had forgotten but once you hit the shut down button another small pop up comes up asking if you are sure you want to shut down. You then have to hit yes to shut down. Right clicking on either button doesn't give properties.

 

 

Wireshark lets you look at network traffic but I don't know if it will do what you want.

http://www.wireshark.org/

Thanks for the link. I downloaded wireshark and have been playing with it. It will take me some time to figure it out but hopefully I can find something useful.

 

Thanks again to both of you for your suggestions,

Tim

Posted

I use Fiddler for web debugging as it is specific to intercepting web browser traffic and gives many different view options, including RAW HTML, etc (www.fiddler2.com). I think Wireshark is a bit more generic to viewing network traffic from any source?

Posted

Thank you for the suggestion idmills. I will give Fiddler a try as well (thanks for the link also!). It is taking me a while to figure this all out and be cautious at the same time. I fear I know just enough to be dangerous.

 

Thanks again,

Tim

Posted

Hoping someone can shed some light on the following network capture for me. This was captured right when I pushed the “Ok†button on the popup window to shut down the nas. So I am assuming somewhere in this capture there should be enough info that can be sent by the ISY to shut down the nas. I just need a push in the right direction.

HTTP	POST /cgi-bin/top.cgi HTTP/1.1  (application/x-www-form-urlencoded)

Line-based text data: application/x-www-form-urlencoded
txtHelpSearch=&gPage=maintenance&gMode=shutdown&gType=shutdown&gKey=undefined&gSSS=5d0d420372dab66ab59c277765d3fffa&gRRR=771251978221921698&hiddenDummyText=dummy

In the ISY resource editor I have set up the following:

HTTP, Post, Host(nas ip address), Port 80, Path: /cgi-bin/top.cgi, Encode URL box unchecked. I have tried adding the above string to the path which didn’t work and then adding it to the body which didn’t work. I did add authentication (user name/password).

 

I am stuck.

 

Is there enough info here for someone to give me an idea which part of it to use in the ISY network resource, or what other info we might need?

 

Any help would be appreciated.

 

Thanks,

Tim

Posted

Hi Tim,

 

Some of those headers do not make any sense:

 

Path should be (and nothing else):

/cgi-bin/top.cgi

 

Method should be:

POST

 

Content-Type should be:

application/x-www-form-urlencoded

 

Body should be:

txtHelpSearch=&gPage=maintenance&gMode=shutdown&gType=shutdown&gKey=undefined&gSSS=5d0d420372dab66ab59c277765d3fffa&gRRR=771251978221921698&hiddenDummyText=dummy

 

I have never seen (so I do not recommend adding it)

Line-based text data

 

Hope this helps.

 

With kind regards,

Michel

Posted

Hi Michel,

 

Thanks for taking the time to help with this.

 

I set up the resource editor as you suggested and it still is a no go. Get the pop up TCP client read response failed (Net Module Rule).

 

I am about ready to throw in the towel.

 

Last effort: Is there a way to send WOL to the nas ip address and specify port 9? Or can I configure it thru the resource editor? If so how?

 

Thanks,

Tim

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing

    • No registered users viewing this page.
  • Forum Statistics

    • Total Topics
      37.2k
    • Total Posts
      372.4k
×
×
  • Create New...