rejetto forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - danny

Pages: 1 ... 13 14 15
211
HTML & templates / Watchdog accessory?
« on: February 20, 2020, 07:01:56 AM »
The windows hosts file modification -or- the dnsmasq alternative all work to stabilize the settings.  So, a watchdog wasn't needed for that particular case.


Even so, a standard keepalive/ping watchdog could be a nice feature to consider. Perhaps there is a simple batch file method?

Here's a batch used to run a sync-backup for a WiFi nas. It shows the errorlevel loop reset to 0 by the successful ver command and the sync which may or may not be successful over WiFi (but it will loop until success).
@echo off
:ONE
timeout /t 30 /NOBREAK
VER > nul
robocopy \\source\folder D:\destination /e /copy:DT /xo /purge /w:0 /r:0
IF %ERRORLEVEL% NEQ 0 GOTO ONE

I put that sample, because the errorlevel isn't well documented for batch.

Now for watchdog
I'm fairly sure the ping command exits with an errorlevel of some sort, and then there's the tskill command to exit a program gently or taskkill to exit an unresponsive program.
added function
It seems possible to make a safety copy of hfs.ini at the batch start.
And, then after tskill and 2 seconds timeout (sleep without loading cpu), reverse the copy before starting hfs. So, if settings caused the server to freeze, functional settings and server would be restored to working order automatically.

I haven't figured out the particulars yet
But, this type of watchdog could allow for the automatic updates and settings. It would revert changes that didn't work or keep any that did work.
That approach seems more reasonable than a few other things that I have tried. 

212
HTML & templates / Re: The Throwback (retro) template.
« on: February 18, 2020, 05:14:50 AM »
This is good to keep the forum community healthy and to keep the post sanity :) (This thread has currently almost 42k views, and those who come back to download your Throwback template will now have your template available again). I appreciate your comment, and that you have restored the good-willing...
Thanks again for your help.

Here is original Throwback11MP and Throwback11basic, which are older, but may have reference value.

However, the newer version is located: http://rejetto.com/forum/index.php?topic=12055.msg1065284#msg1065284

213
HTML & templates / Re: The Throwback (retro) template.
« on: February 18, 2020, 04:35:57 AM »
the temp files you are talking about are because i don't  immediately overwrite the file, but create a temp file and then rename it.  It's a common technique to avoid totally losing a file. The process probably fails at the moment it tries to rename to hfs.ini because was marked as read-only. If nonetheless you want to stay like this but gets these leftovers, i can only suggest to add an "event script" each minute to delete all *.tmp
I was trying to make a watchdog (including settings stabilizer) which did not do a write loop.  But, I'm not actually a good programmer, so I didn't figure this out yet. 

214
HTML & templates / Re: The Throwback (retro) template.
« on: February 14, 2020, 07:45:12 AM »
...he deleted most of his comments...
Well, unfortunately, too many words from me just won't do anyone any good.  However, there is a cleaned-up open source Throwback template located at post#1 here.  It is quite like Throwback11MP along with some of the Throwback13-Gigabit project.  Think of that as a "best of" collection in one file.  It has finished the same way that it started, with simplifying as the main goal. 

Edit:
That tidy version is attached to this post.
Edit2:
Same with updated error-handler is also attached to this post.

215
HTML & templates / Re: Responsive small screen template
« on: February 13, 2020, 10:55:40 PM »
...Edit: Review: MP_theme is a clone from dannys Throwback
See the attached file.  It has the looks and it has your older music player which is far-out better for music. I like it ever so much. 

216
HTML & templates / Re: The Throwback (retro) template.
« on: February 13, 2020, 08:56:10 PM »
It seems that the open-source router projects could do it with DNSmasq settings:
address=/hfstest.rejetto.com/0.0.0.0
address=/www.rejetto.com/0.0.0.0
address=/hfsservice.rejetto.com/0.0.0.0

P.S.
Write protecting the hfs.ini file was not effective because there were additional tmp file(s) automatically added, which happens to bypass the server operator's choices.  He or she may become disturbed at that point.  And, I did. 
So, I hope that the host blocking can restore the server-operator's control of changes and settings.

Edit:
Days later, no cpu spikes, no settings changed themselves. 
Hosts-block by either windows hosts file or router, all worked, so far. 

217
HTML & templates / Re: The Throwback (retro) template.
« on: February 11, 2020, 11:51:48 PM »
guys, peace and love. Danny is free to do what he wants. Also I took no offense in his statements, I just made "technical" comments about them.
That is really great.  I'd like to know if the following modifications to the windows hosts file will block phone-home modifications to settings...

0.0.0.0 hfsservice.rejetto.com hfstest.rejetto.com

Will that entry to the windows hosts file prevent external modifications to hfs.ini settings? 

Our ancient dns is spoof-able, it rarely happens, that happened to me; so, I would like to request an opt-out. 

218
Beta / version 2.4 rc2 template
« on: February 11, 2020, 10:45:14 PM »
My apologies!
During my recent cleaning conniption, I shouldn't have removed this file (attached).

It is Rejetto's HFS 2.4 template with: checkbox patch, practical archive scope, move requires related permissions, automated error-handler, faster uni icons instead of system icons, an efficient blue-effects background plus contrast effects, and DJ's really nice music player.

If I hadn't seen HFS until today, I'd want those features and 2 more: 
Ability to download fast and browse/upload, concurrently?
Security-first focus involving available opt-outs and native https?

Those 2 seem beyond the scope of a template; so, their status is not changed by this template file.
I think that it may be desired for reference.

219
HTML & templates / The Throwback (retro) template.
« on: February 10, 2020, 12:34:11 PM »
...I hope he can review his attitude...
I did revise it.  Thanks. 
However, there is no permission to publish any of my works.  Please remove them.

This is because I don't want to suggest using them.  Personally, I have upgraded to encrypted FTP + encrypted DNS, which is a peaceful combination. 

EDIT:  Clarifying that.  Some usage is okay, but cleartext over the internet was not okay. 
And mainly, I wanted Throwback12 and all Photo (photo by default) versions removed because of overdo's and the photos everytime idea, which works on-LAN, but isn't successful over the internet and could cause overload in some cases.  Basically, it lost to the superior Throwback11mp.  An update based on Throwback11mp + updated modules, can be found at http://rejetto.com/forum/index.php?topic=12055.msg1065284#msg1065284

220
Hi Danny! :) Relax, there is no need to panic (I've sent you a PM with more details). It's not that "HFS takes control of your settings". If you delete "ip-services=" line from "hfs.ini" (like Rejetto said to do), HFS automatically recreates that line again, reading it from: http://hfsservice.rejetto.com/ipservices.php (but this only happens if you delete that "ip-services=" line from "hfs.ini"). Those 'freezing' you experienced, were because a URL contained on "ip-services=" (from your local "hfs.ini"), started to make a redirection from HTTP to HTTPS (and because HFS can't handle HTTPS, it just freeze). Just as simple as that. Rejetto or Mars could explain this better than me. Cheers, Leo.-
Thanks for your help.  I thought that the matter wasn't malicious.  Unfortunately, settings altered by remote, isn't going to work for me.

221
This post redacted.

222
HTML & templates / forum error
« on: May 08, 2018, 06:12:33 PM »
This thread has copies of some posts from the Throwback thread.   Seems to be an error.

223
The files (here at post#1) are open source; built for speed and quality.   Feel free to make a comment.

There is no limit on folder size (any size folder is fine); so, it can be used for an effective music player and file finder (tested up to half million file list).  There is no minimum connection speed (it has streaming file list).  Any kind of connection works fine.  It does caching too!

It has a clean layout that works on any size screen, and automated error recovery so it is super-easy for users (they are not confused).

The photo Thumbnail & Slideshow features are ondemand and adaptive for data savings.
The music shuffle player does many file types, and for direct-play just click on filename.

Template Install:  HFS menu, HTML Template, change file
Do see:  watchdog & WatchCat keepalive monitor accessories.
HFS2.3K for high capacity, if ethernet port force-set to 100mbit
Kudos to DJ for login, music shuffle player, delete and slideshow
See also:  The simpler Stripes template on its own thread

224
HTML & templates / build 299, still trying to log in, from a phone
« on: April 27, 2018, 09:56:23 PM »
Edit:  Many of the phone/mobile browsers don't have basic-auth.  But, Firefox mobile is compatible and Some chrome versions can do it.  So, the eventual solution was to simply download a compatible browser. 

It seems recommendable to put a note like that into the [unauthorized] section of an hfs template.  So, instead of no explanation, the user could have a note on what to do to achieve login. 

Pages: 1 ... 13 14 15