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 - Rich Walsh

Pages: [1] 2 3 4
Networking / Re: Samba Server
« on: March 15, 2018, 07:50:12 pm »
I am totally unable to add new users and/or groups to any of my samba installs.

The GUI is just a wrapper around commandline tools that do the actual work - in this case, "smbpasswd".
To add a user and password, switch to your 'samba' directory, then enter:

smbpasswd -L -a <your username>

It will then prompt you for a password. AFAIK (and I don't know a lot about this), that's all you should need.

It was bad enough that nothing would happen the first time I tried to use it until I discovered that I needed to hand produce a master.password file (something not mentioned in the readme.os2) one would assume that would be included in the 'Simple Samba Configuration Center' gui but it isn't.

When I installed it. 'sscc' started up with a "-create" (?) argument that automatically created the Unix password database and guided you through the setup. From what I could tell, Samba itself doesn't need or use that password d/b - it's a requirement imposed by the GUI tools.

Applications / Re: XWP v1.0.12 Beta 1
« on: February 25, 2018, 08:56:36 pm »
When I have shadow icons selected, they show up in all the subfolders, but not on the desktop. 

Could you clarify the problem? I don't know what you mean by "When I have shadow icons selected". Are you referring to the option "Mark shadow icons"? If so, then it WFM everywhere.

For your future reference:

If you press and hold Shift as soon as IFX starts running, it will display a recovery screen. Your options are to continue (which aborts IFX) or to restore any of the last 3 good copies of os2.ini and os2sys.ini that IFX has saved. (Note: you can probably press and hold Shift at any time after JFS chkdsk runs to get the recovery screen - you don't have to wait until the last second).

For your current problem:

After you've booted successfully, please go to x:\sys\apps\ifx. You'll find 4 log files there (ifx.log, ifx1.log, ifx2.log, and ifx3.log). Please zip them and either send them to me or post them here. One of them should identify where the hang occurred (provided you haven't rebooted more than 3 times since then).

Applications / Re: FMT
« on: February 23, 2018, 10:55:27 pm »
The 'fmt.exe' found in \usr\bin is NOT a file manager, it's a file reformatter:

[0 | C:\usr\bin]fmt --help
Usage: fmt [-WIDTH] [OPTION]... [FILE]...
Reformat each paragraph in the FILE(s), writing to standard output.
The option -WIDTH is an abbreviated form of --width=DIGITS.

With no FILE, or when FILE is -, read standard input.

Applications / Re: VLC problems - was Open Office 4.1
« on: February 21, 2018, 10:21:02 am »
I created my own 'VLC' directory and populated it with the exe from 'bin', the dlls from 'lib', and the 'vlc' subdirectory also in 'lib'.

Seems you'd lose access to the plugins going this way as they're often hard coded to use relative or worse, absolute paths.

I don't want to be giving out half-assed advice, so I took your comment to heart and did some testing.

I moved the 'vlc' subdirectory (x:\vlc\vlc) with the plugins and scripts to a more orthodox location (x:\vlc\lib\vlc) but vlc.exe wouldn't start, saying it couldn't find its plugins. Using my simplified directory structure, it had no problem finding them so the relative or hard-coded path issue isn't an issue for vlc.

When I opened "Tools->Effects and filters", my console window displayed a bunch of errors reporting that it couldn't find various video effects. Looking through the 'video_filter' directory, it became obvious that the problem was the various dlls' 8.3 names which were too short and not the usual "file not found" error. Attempts to use these effects caused both vlc _and_ seamonkey to crash, and left me with trashed video that required a reboot.

FWIW... I was writing this posting as I was doing my experiments and getting these crashes. Every time I reopened SM, it restored what I had typed so far without losing a word. I'm impressed (for once).

Article Discussions / Re: OS2VOICE RPM Server
« on: February 21, 2018, 09:03:37 am »
a more relevant disadvantage [to WarpIn] is that automated uninstall isn't possible, but has to be done manually instead.

WIC has long been able to do an automated uninstall, but people always thought you needed to have the original WPI available, so no one bothered to use that feature. However, that isn't the case.

Last week, I developed a way to have WIC uninstall a WPI using a dummy package that's only a few kb in size. Currently, the developer (not the user) must have the original WPI available to create the fake WPI. As I write this, it occurs to me that it may be possible to create the uninstall package by taking info directly from the WarpIn database. If so, then no one would need the original WPI. We'll see...

Applications / Re: VLC problems - was Open Office 4.1
« on: February 21, 2018, 05:25:44 am »
...I found the problem with VLC3.  I had to add the its "lib" folder to the Libpath statement in the config.sys,  It now works as it should....

[...] a more flexible/safe way would be to create a vlc.cmd file in the VCL directory which modifies the LIBPATH for just the VLC session, that way the VLC install will not impact anything else on your system. Here is what's in my vlc.cmd:

=== START ===
SET BEGINLIBPATH=G:\apps\multimedia\vlc2\usr\local\lib;%BEGINLIBPATH%
G:\apps\multimedia\vlc2\usr\local\bin\vlc.exe %1
=== STOP ===

...then my VLC program object simply points to the VLC.CMD script.

Just because the people who package these things can't be bothered to do so in a sensible, OS/2-friendly way doesn't mean that you should have to tie your system in knots with LIBPATH entries, command files, or ludicrously long paths.

I created my own 'VLC' directory and populated it with the exe from 'bin', the dlls from 'lib', and the 'vlc' subdirectory also in 'lib'. I dragged the exe to the Desktop so the WPS would create a program object and I was done - except for deleting all the unnecessary garbage that was left behind.

Hardware / Re: Limitation on using an USB DVD and CD writer under ArcaOS
« on: February 18, 2018, 07:47:37 pm »
Even with Rich Walsh's cdrecord, burning ISO to USB DVD causes an error.
To use USB DVD writer, install Full DVD Toys + old cdrtools (from the site of DVD Toys)

The version of cdrecord I posted was taken from the "old cdrtools" posted on the eCoSoft web site.

Unless DVD Toys uses some magic commandline option that the AOS version doesn't, then the full-featured version is also likely to fail on Neil's system.

Dave's build works fine here. When you start it, it's not "doing nothing", it's running the first test which takes quite a while. Look at a CPU meter - one core should show 99.9% utilization.

However, this is just a test build whose results are substantially meaningless because it's not optimized for a specific processor. The origin of this thread was a desire to see if P4 optimization was better suited for a specific AMD processor than 686 optimization (highly doubtful, IMHO). As such, you'd need at least 2 builds, each optimized accordingly, so you can compare the results.

BTW... something's wrong with the Neural Net test. It seems highly unlikely that a Core2/Quad running at 2.5ghz can only achieve 90% of the performance of an AMD K5 @ 233mhz.

Hardware / Re: Limitation on using an USB DVD and CD writer under ArcaOS
« on: February 14, 2018, 01:48:25 am »
Using a USB CD/DVD writer with AOS made simple...
  • Unzip the attached file which contains a copy of cdrecord.exe taken from cdrtools-2-01-01a59upd.wpi, along with a copy of libc05.dll.
  • Rename the existing (much newer) version of cdrecord in x:\usr\bin, then copy in the replacement.
  • Put libc05.dll in x:\usr\lib
You're done.

FYI... I tested this by burning an ISO to a CD. Whether it works for anything else remains to be seen.

Web applications / Re: REXX and 'mode'
« on: February 08, 2018, 09:14:50 pm »
Can one of you experts, (or anyone for that matter), tell me why "mode 29,7" is accepted at first run, but not upon restart?


You did yourself in with 'set path=C:\mptn\etc'.  '' is in C:\os2 but that's no longer on the PATH for the session you started.  Try 'set path=C:\mptn\etc;%PATH%'

BTW... in an OS/2 session, there's no need for "CO" or "BW".

It looks like what I wrote in my last posting was wrong.

After a lot more experimentation, I found that the WaveAudio and AmpMix components do work together. Surprisingly, it's the AmpMix setting that controls which WaveAudio component will be used (i.e. its own). As Lars noted, changing the WaveAudio default has no effect.

Even more surprising, you can create a completely bogus WaveAudio device in MMPM2.INI, make it the _only_ WaveAudio device, and your sound will still work.

In MMPM2.INI, under [Drivers], I changed 'Waveaudio' to "Waveaudio=JOEBLOWAVE01". I then made a copy of the three [UNIAUDWAVE01] sections and changed all references in them from UNIAUD to JOEBLO. With no [defaultnames] entries, UniAud's AmpMix was in control and sound came from my built-in Intel HD audio. With [defaultnames] set to use UsbAudio's AmpMix, sound was routed through my USB audio dongle. Even after deleting both UniAud and UsbAudio's [*WAVE*] sections, it still worked so those specific entries clearly weren't needed.

Finally, I deleted the "Waveaudio=" line under [Drivers] and rebooted. PM wouldn't start. It appears that the system needs (or at least wants) some of the info in the WaveAudio sections, but entries you'd think were important, like "PDDNAME=JOEBLO1$" are ignored.

All this suggests that Crystal and/or IBM's analysis of the problem was incorrect. The system uses whichever WaveAudio device is associated with the AmpMix device currently in use. It also suggests that my mix-and-match idea probably won't work: to get the benefits of UsbAudio's WaveAudio enhancements, you'll need a USB audio adapter.

P.S. All of my tests were conducted using only the two audio drivers mentioned. Other sound drivers may behave differently.

I have never seen a configuration page to switch between different instances of AMPMIX devices. You can switch the default WAVEAUDIO device but strange enough that does not seem to have any effect.

I spent most of today experimenting with UniAud, UsbAudio, and MMPM2.INI, and discovered some things that surprised me. Since I know nothing about the drivers' internals, I'm hoping you can confirm or refute my findings.

It appears that the WaveAudio and AmpMix components of a driver operate independently of one another or at least with minimal dependencies. Without changing the WaveAudio component, I found that I could switch the audio output from my built-in soundcard to my USB audio dongle simply by changing the default AmpMix, then rebooting. Conversely, I could switch between WaveAudio components and always have the output appear at the default AmpMix device.

To confirm that I could actually mix-and-match audio driver components, I wiped out all MMPM2.INI references to one driver's WaveAudio and the other driver's AmpMix so MMOS2 wouldn't (shouldn't?) be able to use them. After a reboot the results were identical to using [defaultnames] to set the components it should use. (Note: I did this multiple times in multiple ways and it always worked as expected.) However, while It was easy enough to confirm which AmpMix was in use, I didn't have a way to prove which WaveAudio was being used (e.g. playing a .WAV that UniAud can't handle but UsbAudio can).

If we can really mix-and-match driver components, then the enhancements you and Wim have made to UsbAudio's WaveAudio component can be enjoyed by everyone, not just those who have a USB audio adapter. Someone with a working UniAud setup could install UsbAudio, then make its WaveAudio component the default. Because of the deficiencies in 'STPM.EXE' (the "Multimedia Setup object"), UsbAudio's enhanced sound would still be routed through his soundcard by UniAud's AmpMix. For many users, it would be the best of both worlds.

BTW... to clear up some possible confusion: it appears that when two drivers are listed for a component, the first is always the default. You only need an entry under '[defaultnames]' if you want to use the second driver for that component. Alternately, you can just change the order of the driver names to change the default.

Comments, Suggestions & Questions / Re: SSL OS/2world
« on: January 26, 2018, 12:17:51 am »
I'm getting the "You have requested an encrypted page that contains insecure information..." warning on a lot of the miscellaneous pages (Software News pages, Bounty System, etc). It's caused by this:
Timestamp: 01/25/18 06:08:33 pm
Warning: Loading mixed (insecure) active content "" on a secure page
Source File:
Line: 0

Also, while you're tweaking things, you may want to update your profile and get rid of the link to your AOL Instant Messenger account. May it Rest In Peace...

Applications / Re: Warp 3 beeps on software execution
« on: January 25, 2018, 09:11:39 am »
The beeps are caused by the version of 'sesmgr.dll' that comes with Security/2 - a prerequisite for using some versions of SSH. They don't occur if Security/2 is properly configured.

If you no longer want to use S/2, look for a copy of that DLL in a directory that appears on your LIBPATH before x:\os2\dll (most likely in x:\security\dll). It's datestamp should be much newer that the original in x:\os2\dll. The file in question will be locked, so the easiest way to fix the problem is to remove the directory containing it from your LIBPATH, then reboot.

Pages: [1] 2 3 4