Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
This is now pretty much done, downloadable from here. You can monitor the 323 plus shut it down/ restart it from your vista desktop.
Offline
Very neat, I will will check it out when I get home.
Offline
Hello philw,
this is smart. sell it to dlink!
would it be possible to have some custom buttons that could be used to run scripts on the box?
so for example I could have a button to stop the transmission service without using telnet (ie the missus could stop transmission using all the bandwidth so she can shop for shoes on line without unplugging my dns from the network)?
Offline
That's all pretty easy to do, so long as you can run the command from http. You could just add those things in, or if I know the commands and the expected responses I can add them. If I don't have the [custom] scripts on my box it would be hard for me to test though.
It would also be possible to make a gadget telnet to the box and then run a script on it; I'm not precisely sure how to do that from html/javascript but it should be possible.
I was thinking of adding a little history graph for space usage and temperature sometime.
Offline
index monkey wrote:
ie the missus could stop transmission using all the bandwidth
With a good router (like DD-WRT) you should be able to set up bandwith quotas in order to have some juice left for web browsing!
Offline
well if I could just have a button that would run customscript.sh i could then put whatever i liked in the script, I wouldnt expect the gadget to show any responses. thanks for applying total sweetness.
Last edited by index monkey (2008-09-26 15:24:57)
Offline
Well I can just put an optional button on there which "runs" whatever you script in (say) a text box in the settings. I need to know only what the http:// request looks like to do that... if you can't run it from http then that's more of a problem...
Offline
Nice! It also works on a CH3SNAS. Except the uptime. It reports NaN:NaN:NaN and there is an error Maint_TTLD error 404. In the user interface there is no page that shows the uptime, so that might be the problem.
Offline
Is there any way to port your Vista gadget to a Mac OS X widget?
Offline
It looks nice, again, good work! A few things:
1. How do you set the scale of the temp bar? Max seems to be 50 centigrades but mine is always 'round 49 so I would like to set it to perhaps 60.
2. If I click reboot or shutdown, will I get a confirm question or will it fire right away? (I know, it's easy to try but I don't want to reboot)
3. The net and os tabs are a bit cluttered.
Offline
CH3SNAS. Except the uptime. [...] In the user interface there is no page that shows the uptime [...]
404 means precisely that, so it's failing to find that page. If you just comment out the "uptime" bit that will stop happening, or if someone else is interested then I'll make it an option.
Is there any way to port your Vista gadget to a Mac OS X widget?
The last Mac I had was a Lisa, and a very fine piece of kit it was. You'd probably be better off just writing it from scratch on top of whatever they have there, but I know nothing about it I'm afraid.
vedeja wrote:
1. How do you set the scale of the temp bar? Max seems to be 50 centigrades but mine is always 'round 49 so I would like to set it to perhaps 60.
2. If I click reboot or shutdown, will I get a confirm question or will it fire right away? (I know, it's easy to try but I don't want to reboot)
3. The net and os tabs are a bit cluttered.
(1) It's hard coded. Look for that in the code and change it yourself for now; I will make it an option later, default 50 but changeable by you. I didn't think they ran that hot! I'll put this in the next version.
(2) You get a confirmation question. Hit "no" (or do something else) and it does nothing; hit "ok" and it will do the business and shut it down or bounce it.
(3) Agreed - I'll try to sex up the format there in the next version.
Offline
Just wanted to say thanks for such a neat little app!
Offline
Thanks for such an incredible piece of gadget. It makes monitoring the DNS-323 so much easier now.
I am getting a version error404...not sure what that is?
Just thought it will also really be helpful if you are able to add alert when drive is in degraded mode.
Offline
404 means "page not found" - it's a HTTP error. "Version error..." if you look, that's probably when it's doing "/proc/version". Can you type that into a web browser: (http://<your nas address or name>/proc/version). That's what the program's effectively doing. If the NAS responds "404", that means that the page isn't there, which is odd (because it should be there.
Degraded mode - what does it look like when it's in that mode? If I know that I can parse it..
Offline
philw wrote:
That's all pretty easy to do, so long as you can run the command from http.
That is the key. I think that the goahead webserver on the dns323 won't allow you to access pages not in the firmware, so in order to do what you want you need another webserver (like lighthttpd) and configure it to allow execution of scripts (obviously this exposes a security hole, so you need to manage that security yourself). Once that is done then Phil's gadget (or anything else that can make a http call) can execute that script.
What I would suggest is that the additional button calls a defined script nane in a defined location (the same way fun_plug works) then all the user needs to do is make a script with the appropriate name in the appropriate place (one example might be gadgetscript.sh/cgi in the root of Volume_1).
RunaR wrote:
CH3SNAS. Except the uptime. It reports NaN:NaN:NaN and there is an error Maint_TTLD error 404.
This is because it is written for the dns323. On the whole what it does is parse the web interface pages and extracts the relevant information. the CH3SNAS probably does not have a Maint_LLTD page (hence the http 404 error).
If anybody is using a DNS323 and getting 404 errors what firmware version are you running? If you arn't sure either look in the web interface or go to
http://<ip of dns323>/web/debug.asp or http://<ip of dns323>/web/version.asp
lu
Offline
philw wrote:
Degraded mode - what does it look like when it's in that mode? If I know that I can parse it..
I think, and this is from memory as I try and avoid that situation :-), that instead of "Sync Time Remaining: Completed" you get "Sync Time Remaining: Degraded" on your favourite page.
lu
Last edited by luusac (2008-09-27 20:40:37)
Offline
philw wrote:
This is now pretty much done, downloadable from here. You can monitor the 323 plus shut it down/ restart it from your vista desktop.
I've installed the gadget however all that appears in the sidebar is a white box with three buttons and the status bar. Several other gadgets installed in the sidebar are working fine. Does this gadget depend on any (Java!) files that may not be installed on my PC? Would virus scanning or F/W software prevent successful operation?
Offline
The gadget is written in html and javascript, not java. If your antivirus is stopping it from operating there should be a log entry to that effect (in your a/v software). Try disabling the software and see what happens with the gadget! Try uninstalling it and reinstalling. Are you using the latest version of the gadget? f/w is only relevant in terms of what the gadget can display, e.g. if memory serves, LLTD is not available on firmware versions earlier than 1.05, therefore, the gadget can't display info on that for earlier versions.
lu
Last edited by luusac (2008-09-28 13:41:38)
Offline
luusac wrote:
The gadget is written in html and javascript, not java. If your antivirus is stopping it from operating there should be a log entry to that effect (in your a/v software). Try disabling the software and see what happens with the gadget! Try uninstalling it and reinstalling. Are you using the latest version of the gadget? f/w is only relevant in terms of what the gadget can display, e.g. if memory serves, LLTD is not available on firmware versions earlier than 1.05, therefore, the gadget can't display info on that for earlier versions.
lu
After a long search on the Internet I found a solution (But not the cause) to the problem; reseting IE 7.
The last message of a long thread located at http://www.vistax64.com/general-discuss … ken-5.html give me the clue. The fix is located at http://www.vistax64.com/tutorials/11431 … reset.html. The unfortunate part is now I need to reconfigure IE 7. To me that's not a big deal as my primary browser is Firefox.
Offline
What software is required to modify this Gadget?
Offline
Um, notepad? There is a teeny-weeny copyright issue too, but I probably won't send the lawyers 'round if you're nice. Or poor.
Offline
I was looking at the .gadget file which I didnt realize was a zip file
Offline
Only thing I wanted to modify was support for both seperate drives - you only have it configured for the 1st drive. If your going to add this, then I wont mess with it
Offline
come to think of it, since you mention copyright here, and no where on the monitor page.....
I will just write my own that supports all 3+ of my boxes.....
Offline
Well, as you'll be aware it's not necessary to actually do anything to assert copyright ownership in the UK, but as you're asking it's in the xml file (so it's in the installer) and in the "about" section.
I don't have a NAS with two separate drives so I can't test that; if someone writes something do it then I'll happily incorporate it.
Offline