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 - RobertM

Pages: 1 ... 118 119 [120] 121 122 ... 126
1786
Pretty easy if I am understanding you correctly...

You simply want an app where you can tell it "Reboot every day at 01:00" or do you want an app that at 1AM checks for network connectivity for 30 minutes and reboots if needed? Either is doable... just let me know...

1787
Hi Dave,

That is exactly what it is supposed to do... it's waiting for a TCP/IP timeout (which isnt configurable in the TCP/IP routines... if I re-write them myself, I'll make them configurable). While waiting for the timeout it "hangs" the interface waiting on a return code... since I am not sure the exact amount of time of the timeout I didnt bother starting the getHTTP request in another thread... if I get bored one day, I may (that way I can have the interface indicate it is waiting for a timeout or response).

The problem that may still arise though, can't be simulated by unplugging the machine... hopefully though, the app will work in your situation... leave one of the machines up and let me know how it goes. If the TCP/IP stack actually hangs, it may never send the timeout (or the getHTTP request may hang waiting for a socket) - in which case the machine may not reboot. (get me a copy of your POPUPLOG.OS2 file so I can see what type of hang we are dealing with)...

If that happens, let me know... then I will rewrite it so that the getHTTP request is in a separate thread or process, and failing a response from that thread/process, initiate a reboot (this method should work no matter what TCP/IP failure there is - but will take a little more work to program).

Once the thing is fully usable (in multiple ways, such as test via ping, test via ftp, and has a full GUI interface, separate threads/processes for the connection test, alias failover support, and reporting to/from another machine support) I'll post it someplace (probably one of my sites or Hobbes).

-Robert

1788
El Vato,

Very nice work - and thanks from everyone!

For those who would prefer a web enabler, check out the UnPlug or MediaPlayerConnectivity plugins... though, personally, I think you may find youtube-dl a far nicer option as you aren't wasting browser resources.

Also, with a little work, I am sure someone can modify the chrome on Mozilla to allow a right-click on a YouTube link that automatically sends it to youtube-dl without opening the YouTube page... any takers?

-Robert


1789
Hardware / Compact Flash as IDE
« on: 2007.09.11, 02:10:22 »
Hey all,

I just tested a Compact Flash (120X / 20MB/s transfer U-TEK Supreme 16GB) card as an IDE drive on my WSeB station.

The good news:
It works

The Install Notes:
You will require an IDE to CF adapter (cheap on eBay)
You (may) need to disable Busmaster (I needed to) - if you hear a bunch of beeps with it enabled, and your system takes forever to boot (if at all), disable busmaster [shut down machine (CTRL-ALT-DEL if it hangs), unplug CF card, reboot, modify config.sys to disable busmaster for the CF card as noted below].


Quote
BASEDEV=DaniS506.ADD /A:0 /U:1 /T:30 /!BM
  • /A:0 /U:1 identifies Adapter 0, Unit 1 no busmaster...
  • Change /A:0 to /A:1 for secondary CONTROLLER
  • Change /U:1 to /U:0 for primary DRIVE


The Bad News:
I formatted the drive JFS (after removing the Fat32 partition) and then tried using it as my temp and swap volume.

That much worked fine - BUT, the speed was abysmal. My 160GB IDE drive with 4 partitions (using the last partition - which is JFS - as swap and Temp space outperforms it by a factor of nearly 10).

So, unless it is because the CF unit I have (or the CF to IDE converter, or the motherboard's chipset) does not support busmastering, then I would say that CF would make a nice solution for an embedded device - but that's about it - at least under Warp/eCS.


1790
Hey Dave,

You might not be out of the woods yet... so let me know if the script successfully reboots your machine once the TCP/IP stack locks...

When the stack is running and there is no route, it will successfully reboot your machine... if the stack locks, I dont know (and cant test it since I cant get my TCPIP stack to lock) - but it is possible the app will wait for a timeout it never receives because of the locked stack condition.

So, let me know...

-Robert

1791
Either contact Serenity, (for sVista) or search Google for vpc51os2 and all related updates and add-ons...

1792
Setup & Installation / Re: Bootable JFS vs. Bootable HPFS
« on: 2007.09.10, 22:19:43 »
Overall, it seems that on large writes, JFS beats HPFS & HPFS386 hands down - possibly due to the extra overhead of HPFS/386 trying to prevent fragmentation.

I've started playing with Ceres Sound Studio, and moved all my temp files to a JFS partition and the speed increase was phenomenal... yet other things seem to do better on HPFS386 (with the difference being that Ceres is usually writing or reading 50-300MB temp files from disk). This may partially be because Ceres (and other apps) dont report the file size when initiating a file write... when an app does report the file size, HPFS looks for an available block big enough and writes (usually) one solid file... without that file size, HPFS has a lot more overhead as it keeps looking for what it thinks might be an appropriate place to write the file or parts thereof (if I understand how HPFS works correctly). Because JFS does fragment and doesnt do all that fragmentation checking, it should be a lot faster for writing any file that it doesnt know the filesize for.

That makes JFS ideal for any file that will grow to an arbitrary file (log files, temp files, browser caches, etc), and HPFS better at not wasting space (smaller block size, and far less fragmentation).

My preferred solution is to have all my boot stuff on an HPFS(386) partition, and another one for the "lots of tiny files" directories, and then a JFS drive or 3 for the swap file, temp files, Mozilla, etc...

With my boot drive only containing what I need to boot (OS/2, any DLLs loaded at start, etc) HPFS' deficiencies in speed become irrelevant - and if need be, I can manually chkdsk the JFS partitions after boot (before I load anything located on them).

My next step is to install a 16GB Compact Flash Card on a CF to IDE connector, and transfer my temp and swap files to it... and see how that improves things.

-Robert

1793
Hey Dave,

Glad it works... let me know if you need any additional functionality... also, don't forget to check your message box on the forums here for some more info that I need to help you prevent the need for the app...

And yes, most of it is written in REXX, with some OS/2 CmdLine calls, and calls to OS/2's REXXUTIL.DLL and two calls to Igor Pool's RexxWeb DLL [I didnt have the time to re-write the TCP/IP portion (though REXX does support it out of the box) from scratch, and couldnt find my old code, so Igor's work helped simplify that greatly].

-Robert

1794
Oh and let me add, I am running OS\2 as a Virtual PC on a Windows xp Host for testing. Shouldnt be a factor but just in case... ::)

No, I dont think it is a factor... the script simply calls OS/2's Reboot function... if it doesn't reboot your (virtual or otherwise) machine, let me know (some really old versions of OS/2 dont support calling the reboot function in this fashion - but it is rare - and if that is the/your case, there is another way I can get the machine to reboot).

Keep in mind it does not close any open sessions or anything... it just tells OS/2 to shut down the file systems and reboot.

1795
Hmmm... I forgot something... which is really sad, since I was just talking about DLL dependencies in another thread... I'm not loading the functions from a needed DLL... and I should be. I forgot they are auto-loaded on my system.

Fixed it... download it again and replace the EXE... the DLL is the same...

http://www.GeoCodeEngine.com/Reboot.Zip

-Robert

1796
Utilities / Re: Master Volume widget
« on: 2007.09.10, 01:29:51 »
Well, with that DLL in place, the plugin works fine, so I think that is the issue...

...And, according to the xCenter DLL, the VAC++ DLL is definitely a needed dependency... Perhaps someone needs to contact the author and ask him about resolving it (either a package that includes the needed DLL, or a recompile that doesnt have the dependency...


-Robert

1797
Utilities / Re: Master Volume widget
« on: 2007.09.09, 23:52:33 »
I do have a copy of the DLL in question (it's a required DLL for Lotus Domino GoWebserver v4.6.2.8 and lower I believe) - if you have Warp Server for eBusiness, you will have the DLL once you install LDGW (and it will also automatically update your path statement).

If you don't have the DLL, I can send it to you or make it available from my Web Server... I cant test the volume DLL since I have the CPPOM30 DLL already installed and thus wont be able to reproduce your error...

1798
Utilities / Re: Master Volume widget
« on: 2007.09.09, 23:50:15 »
Hmmm... something is missing then - or the DLL was compiled with a dependency for a VAC++ DLL instead of compiled with all the needed dependencies in the one DLL.

CPPOM30(.DLL) is a VisualAge C++ (v3.0?) DLL - and the error *seems* to indicate it is trying to load the DLL and failing...

That DLL should not be on your system by default, and would have to come with an application of some sort that required it. You may want to check to see if a copy is on your system - and if so, move it to your OS2\DLL directory and try again...

A simple way to find it would be from a command window do a DIR CPPOM30* /s /p for each and any drive you have... I'd start with checking whatever folder the xCenter Plugin was originally decompressed to...

It could honestly be that a DLL is just simply missing from the package... an easy mistake (for a programmer) to make. (The programmer would) test the plugin, forget that there are other dependencies, because the DLLs depended on are already installed in their libpath.

-Robert

1799
Utilities / Re: Master Volume widget
« on: 2007.09.09, 22:49:45 »
Hi ADam,

I have yet to try the new xCenter Plugin in question, but it looks to me like there is a DLL missing (or not in the right place). I'd suggest re-reading the instructions and see if the Plugin requires anything else to be installed or says that certain things need to be in either (a) your libpath statement, or (b) one of the xWorkPlace folders...

If I get a chance to try it out, I will see what I come up with and let you know.

-Robert

1800
Dave,

Try this and let me know if it works...

http://www.GeoCodeEngine.com/ReBoot.zip

Follow the (simple) installation instructions in the Zip File.

-Robert

Pages: 1 ... 118 119 [120] 121 122 ... 126