• Win 7 drive map problem

    From Marc Lewis@1:396/45 to All on Fri Dec 7 13:27:20 2018
    * Copied (from: WINDOWS) by Marc Lewis using timEd/2 1.10.y2k+.

    Hello All.

    I have 2 Win 7 pro machines. I have 2 OS/2 machines. One of the Win 7 machines
    can map and read/write to the OS/2 machines' drives with no problem. The other one can map and see the OS/2 machines' drives and can identify the type of drive format, be-it HPFS or JFS with no problem. However it cannot read or write from any of those drives on either OS/2 machine, saying that the "server cannot perform the requested command" or something real close to that.

    NetBIOS over TCP/IP is enabled on both the Win7 machines. The file sharing settings are the same, yet that one machine simply can't access the mapped drives to read or write the contents.

    Any suggestions would be greatly appreciated.

    Best regards,
    Marc

    ... If you're not confused, you're not paying attention.
    --- timEd/2 1.10.y2k+
    * Origin: Sursum Corda! BBS-Huntsville,AL-bbs.sursum-corda.com (1:396/45)
  • From Torsten Bamberg@2:240/5832 to Marc Lewis on Sat Dec 8 01:05:48 2018
    * Copied (from: WINDOWS) by Marc Lewis using timEd/2 1.10.y2k+.

    Hallo Marc!

    07.12.2018 13:27, Marc Lewis schrieb an All:

    I have 2 Win 7 pro machines.
    Which version?
    take a look at start/system/systeminformation -> version

    I have 2 OS/2 machines.
    What Patchlevel? Open a cmd window an type 'version'

    One of the Win 7 machines can map and read/write to the OS/2 machines' drives with no problem. The other one can map and see the OS/2
    machines' drives and can identify the type of drive format, be-it HPFS
    or JFS with no problem. However it cannot read or write from any of
    those drives on either OS/2 machine, saying that the "server cannot perform the requested command" or something real close to that.

    NetBIOS over TCP/IP is enabled on both the Win7 machines. The file
    sharing settings are the same, yet that one machine simply can't
    access the mapped drives to read or write the contents.

    Any suggestions would be greatly appreciated.
    Do you use on the OS/2 machines the peer requester or smbfs?

    If you use the peer requester, there is no chance to get win7 and OS/2 networking together. If you use smbfs, at one point, somewhere about 5 jears ago, a patch disabled the old ntlmv1 features with win7. you have to enable them manually, but you also have to disable the password encryption of win7 netbios stack. But, if you update your win7 computers, all settings will deleted again.

    Ahm, I'm described the problem already in os2.ger. Maybe I find the patch and the reg-cmds for win7.

    But, it is more comftable and safe to get rid of peer requester and the old smbfs system of OS/2. Just deinstall the stuff, get the samba4 fileserver from netlabs. Be sure to fetch and install samba4. samba3 isn't longer supportet with newer updates of win7.

    To give a proper answer, I need some more information about your setting. ;-)

    Anyway, it is a OS/2 problem, not a windows problem. ;-)
    You get this problem as well, if you use linux above kernel 2.4.x and bsd above
    version 7.x.x

    Best regards,
    Marc
    Bye/2 Torsten

    ... MAILBOX01 on OS2: up 0d 23h 03m load: 37 proc, 151 threads (tbupv1.1)
    --- GoldED+ 1.1.5-18
    * Origin: DatenBahn BBS Hamburg (2:240/5832)
  • From Marc Lewis@1:396/45 to Torsten Bamberg on Fri Dec 7 19:30:30 2018
    * Copied (from: WINDOWS) by Marc Lewis using timEd/2 1.10.y2k+.

    Hello Torsten.

    <On 08Dec2018 01:05 Torsten Bamberg (2:240/5832) wrote a message to Marc Lewis regarding Win 7 drive map problem >

    @REPLY: 1:396/45.0 c0acbdf0
    @MSGID: 2:240/5832 5c0b110f
    @CHRS: CP850 2
    @TZUTC: 0100
    Hallo Marc!

    07.12.2018 13:27, Marc Lewis schrieb an All:

    I have 2 Win 7 pro machines.
    Which version?
    take a look at start/system/systeminformation -> version

    6.1.7601 (Service pack 1)

    I have 2 OS/2 machines.
    What Patchlevel? Open a cmd window an type 'version'

    Serenity Systems eComStation 2.0 XR0C004
    . Base Operating System 4.52 XR0C004
    . Base Device Drivers 4.52 XR0D003
    . Base Networking (MPTS) 6.01 WR08708
    . Internet Applications (TCP/IP) 4.32 UN02334
    . File and Printer Sharing (Peer) 5.2 IP08608
    . LAN Requester 5.2 IP08608
    . User Profile Management 5.2 WR08608

    I will follow up with more information shortly.

    Best regards,
    Marc

    --- timEd/2 1.10.y2k+
    * Origin: Sursum Corda! BBS-Huntsville,AL-bbs.sursum-corda.com (1:396/45)
  • From Marc Lewis@1:396/45 to Torsten Bamberg on Sat Dec 8 10:39:54 2018
    * Copied (from: WINDOWS) by Marc Lewis using timEd/2 1.10.y2k+.

    Hello Torsten.

    <<Following up a message from Marc Lewis to Torsten Bamberg about Win 7 drive map problem >>

    07.12.2018 13:27, Marc Lewis schrieb an All:

    I have 2 Win 7 pro machines.
    Which version?
    take a look at start/system/systeminformation -> version

    6.1.7601 (Service pack 1)

    I have 2 OS/2 machines.
    What Patchlevel? Open a cmd window an type 'version'

    Serenity Systems eComStation 2.0 XR0C004
    . Base Operating System 4.52 XR0C004
    . Base Device Drivers 4.52 XR0D003
    . Base Networking (MPTS) 6.01 WR08708
    . Internet Applications (TCP/IP) 4.32 UN02334
    . File and Printer Sharing (Peer) 5.2 IP08608
    . LAN Requester 5.2 IP08608
    . User Profile Management 5.2 WR08608

    I will follow up with more information shortly.

    You're absolutely correct. The Win 7 machine that could formerly read/write to the OS/2 machines can no longer do so after a bunch of updates that were installed yesterday.

    I have twice-over installed the Samba suite on one machine but cannot run the configuration program due to an installer error. It reports back when trying to open it "Cannot load window: Could not find class 'VRTabbedDialog'." I'm afraid that I don't know enough to correct this issue. Can you help?

    I have not attempted to install it on the second OS/2 machine until I can get it to work on this one. Hopefully either you or someone else will have some input on a solution.

    I believe it would be better to continue this thread in the OS/2 Echo; I'm going to cross post it there.

    Best regards,
    Marc

    --- timEd/2 1.10.y2k+
    * Origin: Sursum Corda! BBS-Huntsville,AL-bbs.sursum-corda.com (1:396/45)
  • From Sean Dennis@1:18/200 to Torsten Bamberg on Sat Dec 8 22:32:09 2018
    Hello Torsten,

    08 Dec 18 01:05 at you wrote to Marc Lewis:

    Anyway, it is a OS/2 problem, not a windows problem. ;-)

    Netdrive with the SMB plugin works great with Win 7 through 10 in my experience.

    Later,
    Sean

    ... Some rise by sin and some by virtue fall.
    --- GoldED+/LNX 1.1.5-b20170303
    * Origin: Outpost BBS * Limestone, TN, USA (1:18/200)
  • From Marc Lewis@1:396/45 to Sean Dennis on Tue Dec 11 20:07:41 2018
    Hello Sean.

    <On 08Dec2018 22:32 Sean Dennis (1:18/200) wrote a message to Torsten Bamberg regarding Win 7 drive map problem >

    Hello Torsten,

    08 Dec 18 01:05 at you wrote to Marc Lewis:
    Anyway, it is a OS/2 problem, not a windows problem. ;-)
    Netdrive with the SMB plugin works great with Win 7 through 10 in
    my experience.

    In fact, I dug up my copy of Netdrive and updated it Saturday past. This has provided me with a workaround, and a darn good one at that. The system is slightly complicated with NewsGate running on a 32bit Windows 7 machine. What I did is move my outbound Fido mail and all the associated semaphore directories, etc. to my NFS. Now OS/2 can readily talk to it w/no problems. NewsGate on the W7 machine can also talk to the NFS by default AND it can, for some reason, write (but not read) to the toss directory on the OS/2 machine. This massive rearrangement of directory locations took a few hours to work out,
    with LOTS of batch and .cmd file alterations to compensate for the new drive letter added. (Good old DOS GSAR (general search and replace) was a tremendous time saver, going into each and every .bat, .cmd and ,cfg file on the BBS and IRex machines.

    Previously, NewsGate was running on a 32bit XP machine, but I was really concerned about its age and vulnerability to various and sundry attacks. The NewsGate batch file ran flawlessly on it... The very same batch file had to be fully altered to make every executable in the file have a fully qualified path,
    as the .bat file running under a .PIF simply would not inherit the system path properly. Once each and every call to an executable was written out with its full path the system functioned properly.

    All well and good now! Yay!

    Best regards,
    Marc

    ... COLLEGE LAW #2: All exams contain questions not discussed during class.
    --- timEd/2 1.10.y2k+
    * Origin: Sursum Corda! BBS-Huntsville,AL-bbs.sursum-corda.com (1:396/45)
  • From Torsten Bamberg@2:240/5832 to Marc Lewis on Wed Dec 12 18:06:30 2018
    Hallo Marc!

    11.12.2018 20:07, Marc Lewis schrieb an Sean Dennis:

    In fact, I dug up my copy of Netdrive and updated it Saturday past.
    This has provided me with a workaround, and a darn good one at that.
    [...]
    All well and good now! Yay!
    Wow, much work have you done. Using NFS is a good choice. :-)

    btw, I'm copying a hugh crowd of files to/from my os2-computers with rsync and even use rsync for backups.

    Best regards,
    Marc
    Bye/2 Torsten

    ... MAILBOX01 on OS2: up 4d 0h 42m load: 38 proc, 175 threads (tbupv1.1)
    --- GoldED+ 1.1.5-18
    * Origin: DatenBahn BBS Hamburg (2:240/5832)
  • From Sean Dennis@1:18/200 to Marc Lewis on Sat Dec 22 19:36:13 2018
    Hello Marc,

    11 Dec 18 20:07 at you wrote to me:

    All well and good now! Yay!

    Glad to hear it. I have been wanting to install ArcaOS on my ancient but reliable IBM NetVista which currently hosts my Max/2 setup. I've been busy in my new job as a mobile HP printer tech and just have been busy at home. I'm hoping to get it done tomorrow to see how ArcaOS behaves in 512M RAM. :D

    Later,
    Sean

    ... Life is what happens to you while you are making other plans.
    --- GoldED+/LNX 1.1.5-b20170303
    * Origin: Outpost BBS * Limestone, TN, USA (1:18/200)
  • From Marc Lewis@1:396/45 to Sean Dennis on Sun Dec 23 16:11:47 2018
    Hello Sean.

    <On 22Dec2018 19:36 Sean Dennis (1:18/200) wrote a message to Marc Lewis regarding Win 7 drive map problem >

    All well and good now! Yay!

    Glad to hear it. I have been wanting to install ArcaOS on my
    ancient but reliable IBM NetVista which currently hosts my Max/2
    setup. I've been busy in my new job as a mobile HP printer tech
    and just have been busy at home. I'm hoping to get it done
    tomorrow to see how ArcaOS behaves in 512M RAM. :D

    Sean, I too would like to do an upgrade, but I question what will happen to my present set-up when I start the upgrade. Will the new ArcaOS preserve my old directory structure etc.? Never have gotten a clear answer as to what happens during the new OS install process.

    Best regards,
    Marc

    ... Dew knot trussed yore spell chequer two fined awl errors
    --- timEd/2 1.10.y2k+
    * Origin: Sursum Corda! BBS-Huntsville,AL-bbs.sursum-corda.com (1:396/45)
  • From Torsten Bamberg@2:240/5832 to Marc Lewis on Mon Dec 24 02:49:39 2018
    Hallo Marc!

    23.12.2018 16:11, Marc Lewis schrieb an Sean Dennis:

    Sean, I too would like to do an upgrade, but I question what will
    happen to my present set-up when I start the upgrade. Will the new
    ArcaOS preserve my old directory structure etc.? Never have gotten a clear answer as to what happens during the new OS install process.
    ArcaOS does have the current OS/2 smp kernel 4.52. A update is not possible, because most of the programms are using the unixroot environment. Ecomstation had an option to use the unixenvironment, but arcaos does need this.

    Well, there is no need to update, because arcaos does use the same smp-kernal than ecomstation 2 does. If you adopt your unixenvironment, and install all the
    stuff from rpm.netlabs.org you've got the same programs running.

    Just to explain, a UnixEnvironment is defined by some rexx scripts. To find you
    what you need, just take a look inside the rpm from netlabs.org. Hint: 7zip does extract these rpm's like a charm.

    On my Ecomstation 2.1 I've got several unixroot-environments. Some for mozilla,
    some for gcc3, gcc4, gcc6 and also gcc8.1.0. Because of this, I can compile most of the unix-programms for os/2. Like I did with grep/sed/wget and so on.

    I would only update to ArcaOS immediately if they adopt/port a tcp/ipv6 stack. All other stuff from then is available on netlabs or github. (If you are able to compile these programms of your own, like I do.)

    Best regards,
    Marc
    Bye/2 Torsten

    ... MAILBOX01 on OS2: up 3d 2h 45m load: 35 proc, 130 threads (tbupv1.1)
    --- GoldED+ 1.1.5-18
    * Origin: DatenBahn BBS Hamburg (2:240/5832)
  • From Sean Dennis@1:18/200 to Marc Lewis on Tue Dec 25 16:18:22 2018
    Hello Marc,

    23 Dec 18 16:11 at you wrote to me:

    Sean, I too would like to do an upgrade, but I question what will
    happen to my present set-up when I start the upgrade. Will the new
    ArcaOS preserve my old directory structure etc.? Never have gotten a clear answer as to what happens during the new OS install process.

    ArcaOS will completely wipe the partition it installs in. There is no upgrade process.

    Later,
    Sean

    ... We do not stop playing because we are old-we grow old because we stop playing.
    --- GoldED+/LNX 1.1.5-b20170303
    * Origin: Outpost BBS * Limestone, TN, USA (1:18/200)
  • From Tommi Koivula@2:221/1.1 to Torsten Bamberg on Fri Dec 28 20:01:16 2018
    Hi Torsten.

    08 Dec 18 01:05:48, you wrote to Marc Lewis:

    Just deinstall the stuff, get the samba4 fileserver
    from netlabs. Be sure to fetch and install samba4. samba3 isn't longer supportet with newer updates of win7.

    Wait a second, is there a samba4 server for os/2?

    I'm using "Samba version 3.6.25-OS/2 and OS/2-based systems v1.3.0-1054" which I thought was the latest.

    And yes I can connect it from this Win7. (Not the very latest updates, tho).

    Bye/2 Torsten

    'Tommi

    ---
    * Origin: IPv6 Point at [2001:470:1f15:cb0:2:221:1:1] (2:221/1.1)
  • From Torsten Bamberg@2:240/5832 to Tommi Koivula on Sat Dec 29 04:01:49 2018
    Hallo Tommi!

    28.12.2018 20:01, Tommi Koivula schrieb an Torsten Bamberg:

    Wait a second, is there a samba4 server for os/2?
    jep. There is.

    I'm using "Samba version 3.6.25-OS/2 and OS/2-based systems
    v1.3.0-1054" which I thought was the latest.
    I know. There is also an unpublic version. current is samba 4.8
    No, I'm not able to annonce this versions, because I'm compiling theese versions just for my specific Os/2 Version, also I got a huge crowd of errors running this. but it works. :-)

    And yes I can connect it from this Win7. (Not the very latest updates, tho).
    Samba3 has error issues with win10 adc.

    'Tommi
    Bye/2 Torsten

    ... MAILBOX01 on OS2: up 7d 18h 58m load: 36 proc, 131 threads (tbupv1.1)
    --- GoldED+ 1.1.5-18
    * Origin: DatenBahn BBS Hamburg (2:240/5832)
  • From Tommi Koivula@2:221/360 to Torsten Bamberg on Sat Dec 29 11:50:40 2018

    Saturday December 29 2018 04:01, Torsten Bamberg wrote to Tommi Koivula:

    Wait a second, is there a samba4 server for os/2?

    jep. There is.

    I'm using "Samba version 3.6.25-OS/2 and OS/2-based systems
    v1.3.0-1054" which I thought was the latest.

    I know. There is also an unpublic version. current is samba 4.8
    No, I'm not able to annonce this versions, because I'm compiling theese versions just for my specific Os/2 Version, also I got a huge crowd of errors running this. but it works. :-)

    Ok. The reason I got interested is that my version of samba sometimes traps. It
    is no big deal since it is restarted immediately.

    And yes I can connect it from this Win7. (Not the very latest updates,
    tho).

    Samba3 has error issues with win10 adc.

    That's no problem, since there won't be win10 spyware in my network. :D

    'Tommi

    --- GoldED+/EMX 1.1.5-b20180707
    * Origin: ---------------------------------->> (2:221/360)
  • From Mike Powell@1:2320/105 to TORSTEN BAMBERG on Sat Dec 29 14:38:00 2018
    28.12.2018 20:01, Tommi Koivula schrieb an Torsten Bamberg:

    Wait a second, is there a samba4 server for os/2?
    jep. There is.
    [...snip...]
    Samba3 has error issues with win10 adc.

    Do either of these samba versions also connect/allow connections with linux boxes?

    Mike
    ---
    * SLMR 2.1a * Float on a river, forever and ever, Emily...Emily...
    * Origin: capitolcityonline.net * Telnet/SSH:2022/HTTP (1:2320/105)
  • From Tommi Koivula@2:221/360 to Mike Powell on Sat Dec 29 23:28:42 2018
    On Sat, 29 Dec 2018 12:38:00 -0500 Mike Powell <1:2320/105> wrote:

    Wait a second, is there a samba4 server for os/2?
    jep. There is.
    [...snip...]
    Samba3 has error issues with win10 adc.

    Do either of these samba versions also connect/allow connections with
    linux
    boxes?

    Yep.

    Well, at least my 3.6 does... :)

    'Tommi

    --- Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
    * Origin: *** smapinntpd/linux @ nntp://news.fidonet.fi *** (2:221/360)
  • From Mike Powell@1:2320/105 to TOMMI KOIVULA on Sat Dec 29 20:27:00 2018
    Do either of these samba versions also connect/allow connections with
    linux
    boxes?

    Yep.
    Well, at least my 3.6 does... :)

    Thanks, I will have to try that out when I get my Warp 4 box running again.

    Also, it works when the OS2 box is the server... does it also work when OS2
    is the client and *nix is the server?

    Mike

    ---
    * SLMR 2.1a * Here is a loud announcement... Silence in the studio!!
    * Origin: capitolcityonline.net * Telnet/SSH:2022/HTTP (1:2320/105)
  • From Tommi Koivula@2:221/1 to Mike Powell on Sun Dec 30 14:11:04 2018
    On 30.12.2018 1:27, Mike Powell wrote:

    Do either of these samba versions also connect/allow connections
    with linux boxes?

    Yep. Well, at least my 3.6 does... :)

    Thanks, I will have to try that out when I get my Warp 4 box running again.

    Also, it works when the OS2 box is the server... does it also work when OS2 is the client and *nix is the server?

    Nope, it's a server. :) You need a samba client, like evfs. That's what
    I'm using.

    'Tommi

    ---
    * Origin: RBB SmapiNNTPd/2 (2:221/1.0)
  • From Torsten Bamberg@2:240/5832 to Tommi Koivula on Mon Dec 31 00:34:11 2018
    Hallo Tommi!

    29.12.2018 11:50, Tommi Koivula schrieb an Torsten Bamberg:

    Ok. The reason I got interested is that my version of samba sometimes traps. It is no big deal since it is restarted immediately.
    I know. The Filelocks-processes aren't fully ported to emx. It is quite hard to
    find all source passages and/or redefine all commands.
    Currently I try to adopt some commands posix-like of the os2-toolkit-45.
    But it's getting very slowly, because nearly everything has to be redefined. There is a posix-toolkit for emx, but it's very old and has got an very old posix-standart. Also I'm not sponsored by someone, so I have to code during my free time after work. ;-) Same with smapinntpd, I got there the same trouble.

    Samba3 has error issues with win10 adc.
    That's no problem, since there won't be win10 spyware in my network.
    :D
    :-)
    I haven't updated my local win7 computers to W10 because of this issues. If MS doesn't change their SOHO-strategy, I get rid of Windows at all and use BSD.

    'Tommi
    Bye/2 Torsten

    ... MAILBOX01 on OS2: up 9d 21h 56m load: 36 proc, 131 threads (tbupv1.1)
    --- GoldED+ 1.1.5-18
    * Origin: DatenBahn BBS Hamburg (2:240/5832)
  • From Torsten Bamberg@2:240/5832 to Mike Powell on Mon Dec 31 00:49:20 2018
    Hallo Mike!

    29.12.2018 14:38, Mike Powell schrieb an TORSTEN BAMBERG:

    Samba3 has error issues with win10 adc.
    Do either of these samba versions also connect/allow connections with linux boxes?
    Shure. smbfs is a standart. If you only want to have a mount point (share) as client on your OS/2 machine, it is very common to use ndfs whith smbfs plugin. Ndfs works like a charm as a smb-client. Both is freely available. Take look at
    hobbes or netlabs.

    Ads on: Maybe you want to frequest, all of the os2 stuff is frequestable here :Ads off

    ;-)

    If you want a proper smb-server an your OS/2 machine, get one ov the samba packs, and install them. But, as Tommi already said, some of smbd/nmbd are bugy
    and tend to produce traps.

    Mike
    Bye/2 Torsten

    ... MAILBOX01 on OS2: up 9d 21h 56m load: 36 proc, 131 threads (tbupv1.1)
    --- GoldED+ 1.1.5-18
    * Origin: DatenBahn BBS Hamburg (2:240/5832)
  • From Tommi Koivula@2:221/360 to Torsten Bamberg on Mon Dec 31 10:21:52 2018

    From Torsten Bamberg To Tommi Koivula

    Samba3 has error issues with win10 adc.
    That's no problem, since there won't be win10 spyware in my network.
    :D
    :-)
    I haven't updated my local win7 computers to W10 because of this issues. If MS doesn't change their SOHO-strategy, I get rid of Windows at all
    and use BSD.

    I'll stay with win7 at home and then go to linux, which I'm slowly
    learning. It is enough that I have to use win10 at work.

    'Tommi

    --- Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.
    * Origin: *** smapinntpd/linux @ nntp://news.fidonet.fi *** (2:221/360)
  • From Mike Powell@1:2320/105 to TORSTEN BAMBERG on Mon Dec 31 10:59:00 2018
    @MSGID: <5C29948F.35.os2@capitolcityonline.net>
    Hallo Mike!

    29.12.2018 14:38, Mike Powell schrieb an TORSTEN BAMBERG:

    Samba3 has error issues with win10 adc.
    Do either of these samba versions also connect/allow connections with linux boxes?
    Shure. smbfs is a standart. If you only want to have a mount point (share) as >client on your OS/2 machine, it is very common to use ndfs whith smbfs plugin. >Ndfs works like a charm as a smb-client. Both is freely available. Take look at
    hobbes or netlabs.

    Thanks. What I am mainly interested in would be a way to allow my linux
    server to access the OS/2 Warp 4 box so that it can do a full backup of the OS/2 system on a specified interval without having to reboot the OS/2 system into a linux partition.

    ---
    * SLMR 2.1a * Tongue-tied & twisted, just an Earth-bound misfit, I!
    * Origin: capitolcityonline.net * Telnet/SSH:2022/HTTP (1:2320/105)
  • From Torsten Bamberg@2:240/5832 to Mike Powell on Tue Jan 1 03:55:23 2019
    Hallo Mike!

    31.12.2018 10:59, Mike Powell schrieb an TORSTEN BAMBERG:

    Thanks. What I am mainly interested in would be a way to allow my
    linux server to access the OS/2 Warp 4 box so that it can do a full
    backup of the OS/2 system on a specified interval without having to
    reboot the OS/2 system into a linux partition.
    You know rsync?

    =##= Anfang "rsyndeam.cmd" =##=
    REM Dieses Script starten, und auf dem BSD-Rechner
    REM 192.168.0.19 (Unix) unter ~root/rsync
    REM das Script ./backup_mbox01 starten
    CD e:\dbahn\tool\rsync
    rsync.exe --daemon --config=rsync.conf --no-detach -v
    =##= Ende "rsyndeam.cmd" =##=

    This is the 'server' script on one of my OS/2 computers.
    Remotly rsync from one of the BSD Computers getting the files.

    You don't need smbfs or ndfs for this.

    Bye/2 Torsten

    ... MAILBOX01 on OS2: up 11d 3h 50m load: 35 proc, 130 threads (tbupv1.1)
    --- GoldED+ 1.1.5-18
    * Origin: DatenBahn BBS Hamburg (2:240/5832)
  • From Mike Powell@1:2320/105 to TORSTEN BAMBERG on Tue Jan 1 09:46:00 2019
    You know rsync?

    No but after reading this I think I do need to know it. :)

    =##= Anfang "rsyndeam.cmd" =##=
    REM Dieses Script starten, und auf dem BSD-Rechner
    REM 192.168.0.19 (Unix) unter ~root/rsync
    REM das Script ./backup_mbox01 starten
    CD e:\dbahn\tool\rsync
    rsync.exe --daemon --config=rsync.conf --no-detach -v
    =##= Ende "rsyndeam.cmd" =##=
    This is the 'server' script on one of my OS/2 computers.
    Remotly rsync from one of the BSD Computers getting the files.
    You don't need smbfs or ndfs for this.

    So, if I am reading this right, the rsyndeam.cmd runs on the OS/2 box,
    allowing the BSD script ./backup_mbox01 to run on the BSD box. The BSD
    script connects remotely to the OS/2 box.

    My German translation of the comments is probably not great, so this
    question may be answered, but I am thinking that the scripts run
    independently and the OS/2 cmd script opens the channel for the connection
    but does not cause the BSD script to run?

    I assume the BSD script runs an rsync client?

    This is great! :)

    Mike

    ---
    * SLMR 2.1a * A restless eye across a weary room...
    * Origin: capitolcityonline.net * Telnet/SSH:2022/HTTP (1:2320/105)
  • From Torsten Bamberg@2:240/5832 to Mike Powell on Wed Jan 2 00:10:43 2019
    Hallo Mike!

    01.01.2019 09:46, Mike Powell schrieb an TORSTEN BAMBERG:

    You know rsync?
    No but after reading this I think I do need to know it. :)
    Ah, okay. Well, rsync uses it's own connections between two boxes.
    And rsync is very fast transfering small and big files.

    =##= Anfang "rsyndeam.cmd" =##=
    REM Dieses Script starten, und auf dem BSD-Rechner
    REM 192.168.0.19 (Unix) unter ~root/rsync
    REM das Script ./backup_mbox01 starten
    CD e:\dbahn\tool\rsync
    rsync.exe --daemon --config=rsync.conf --no-detach -v
    =##= Ende "rsyndeam.cmd" =##=
    This is the 'server' script on one of my OS/2 computers.
    Remotly rsync from one of the BSD Computers getting the files.
    You don't need smbfs or ndfs for this.

    So, if I am reading this right, the rsyndeam.cmd runs on the OS/2 box,
    Yes.
    allowing the BSD script ./backup_mbox01 to run on the BSD box. The
    BSD script connects remotely to the OS/2 box.
    Yes.
    My German translation of the comments is probably not great, so this question may be answered, but I am thinking that the scripts run independently and the OS/2 cmd script opens the channel for the
    connection but does not cause the BSD script to run?
    Thats right.

    I assume the BSD script runs an rsync client?
    Sure.

    this ist ./backup_mbox01 of the freebsd box:

    =##= Anfang "backup_mbox01" =##=
    rem -t = preserve file time and date - erhalte dateidatum
    rem -h = human readable - lesbar fuer menschen
    rem -v = verbose - alles anzeigen
    rem -r = recursive sync - alle unterverzeichnisse auch synchronisieren
    rem -- update = neu neuere Dateien transferieren

    REM erst rsyndaem.cmd auf Mailbox01 192.168.0.15 starten, und dann diese
    REM Datei.
    REM Damit werden alle Dateien von 192.168.0.15 auf diesem Rechner gesichert.

    rsync -rvht --update rsync://192.168.0.15/pub_c/ /mnt/backup/mbox01/lw/lw_c rsync -rvht --update rsync://192.168.0.15/pub_e/ /mnt/backup/mbox01/lw/lw_e rsync -rvht --update rsync://192.168.0.15/pub_f/ /mnt/backup/mbox01/lw/lw_f
    REM rsync -rvht rsync://192.168.0.15/pub_c/ /mnt/backup/mbox01/lw/lw_c
    REM rsync -rvht rsync://192.168.0.15/pub_e/ /mnt/backup/mbox01/lw/lw_e
    REM rsync -rvht rsync://192.168.0.15/pub_f/ /mnt/backup/mbox01/lw/lw_f
    =##= Ende "backup_mbox01" =##=

    This is great! :)
    Common practice to backup in the BSD-World.

    Mike
    Bye/2 Torsten

    ... MAILBOX01 on OS2: up 12d 0h 04m load: 36 proc, 150 threads (tbupv1.1)
    --- GoldED+ 1.1.5-18
    * Origin: DatenBahn BBS Hamburg (2:240/5832)
  • From Tommi Koivula@2:221/6 to Mike Powell on Wed Jan 2 17:09:26 2019
    Hi Mike.

    02 Jan 19 00:10:42, Torsten Bamberg wrote to you:

    =##= Ende "backup_mbox01" =##=
    This is great! :)
    Common practice to backup in the BSD-World.

    I have no rsync daemon installed in OS/2, I'm just running the rsync client from OS/2 batch file:

    for %a in ( c d e f g ) (
    rsync.exe -a --delete %a%:\ wat.localnet::backup\rbb\%a%
    )

    'Tommi


    ---
    * Origin: *** nntp://fidonews.mine.nu *** Finland *** (2:221/6)
  • From mark lewis@1:3634/12.73 to Tommi Koivula on Wed Jan 2 12:36:34 2019

    On 2019 Jan 02 17:09:26, you wrote to Mike Powell:

    =##= Ende "backup_mbox01" =##=
    This is great! :)
    Common practice to backup in the BSD-World.

    I have no rsync daemon installed in OS/2, I'm just running the rsync
    client
    from OS/2 batch file:

    that what i did, too... threw everything over onto my linux box that has a much
    larger drive in it...

    i used a script file like this which i fired off as

    shadowsync c d e f g h

    yes, it is very much based on 4DOS/4OS2 scripting features... full logging of the script and rsync's actions with the logs split between each drive specified
    on the command line... logs are rotated backing up the last 9 to the logs/ directory... the latest log is in the same directory where the script is located... yes, all output is TEE'd so you can see it while it runs and is logged...

    yes, i also broke a cardinal rule by having the password and exclusion files in
    my rsync bin/ directory... it was just easier that way...the .pass file contains just the password used by the script for that one remote machine... each of the exclusion files are one directory, filename, or wildcard filename per line... if you need different passwords for different remote rsync servers,
    just copy the script to a new name and create the needed matching .pass and .exclude_* files... matching being to the script's name, of course...

    example exclude file: shadowsync.exclude_c
    /DMISL/
    /SWAP/*.4SW
    /SWAPPER.DAT
    LOG0001.DAT


    ==== Begin "shadowsync.cmd" ====
    @echo off
    setlocal
    set BASE_DIR=d:\os2progs\rsync
    set SCR_NAME=%@UPPER[%@NAME[%0]]
    set FNAMEBASE=%@LOWER[%SCR_NAME%]
    set DD= JanFebMarAprMayJunJulAugSepOctNovDec
    if '%1' EQ '' goto help

    set RSYNC_PARMS=-hia --no-g --no-o --protocol=30 --progress --stats --delete --password-file=%BASE_DIR%\bin\%FNAMEBASE%.pass

    goto execute

    :do_mydate
    set DY=%_DOW %_DAY %@SUBSTR[%DD,%@EVAL[%_MONTH * 3],3] %_YEAR
    iff '%MYFLAG' eq '' then
    set MYDATE= %@FORMAT[02.2,%_DAY]-%@SUBSTR[%DD,%@EVAL[%_MONTH*3],3]-%_YEAR %_TIME %SCR_NAME.CMD:
    else
    set MYDATE=%MYFLAG %@FORMAT[02.2,%_DAY]-%@SUBSTR[%DD,%@EVAL[%_MONTH*3],3]-%_YEAR %_TIME %SCR_NAME.CMD:
    endiff
    return

    :execute

    rem check our parameter is within the allowed range
    if %@LOWER['%1'] NE 'c' .and. %@LOWER['%1'] NE 'd' .and. %@LOWER['%1'] NE 'e' .and. %@LOWER['%1'] NE 'f' .and. %@LOWER['%1'] NE 'g' .and. %@LOWER['%1'] NE 'h' goto help1
    rem get our parameter and set the log file name
    set PARM1=%@LOWER[%1]
    set ARCLOG=%BASE_DIR\LOGS\%FNAMEBASE%_%PARM1
    set SLOG=%BASE_DIR\%FNAMEBASE%_%PARM1
    set SLOGS=TEE /A %SLOG%.log

    pushd %BASE_DIR

    iff exist %ARCLOG%9.log then
    echo Delete existing %ARCLOG%9.log
    del /y /q %ARCLOG%9.log
    endiff
    for %Z in (8 7 6 5 4 3 2 1) do (
    iff exist %ARCLOG%%%Z.log then
    echo Renaming %ARCLOG%%%Z.log to %ARCLOG%%@EVAL[%Z+1].log
    ren /q %ARCLOG%%%Z.log %ARCLOG%%@EVAL[%Z+1].log
    endiff
    )
    iff exist %SLOG%.log then
    echo Renaming %SLOG%.log to %ARCLOG%1.log
    ren /q %SLOG%.log %ARCLOG%1.log
    endiff

    echo. 2>&1 | %SLOGS
    gosub do_mydate
    echo %MYDATE [051] process executing 2>&1 | %SLOGS
    gosub do_mydate
    echo %MYDATE [053] PARM1 is '%PARM1' 2>&1 | %SLOGS
    gosub do_mydate
    echo %MYDATE [055] SLOG is '%SLOG' 2>&1 | %SLOGS
    gosub do_mydate
    echo %MYDATE [060] rsync version 2>&1 | %SLOGS
    echo ------------------------------------------------------------------------------
    bin\rsync --version 2>&1 | %SLOGS
    echo ------------------------------------------------------------------------------
    echo. 2>&1 | %SLOGS
    timer 2>&1 | %SLOGS
    echo. 2>&1 | %SLOGS
    set RSYNCCMD=bin\rsync %RSYNC_PARMS --exclude-from=%BASE_DIR\bin\%FNAMEBASE.exclude_%PARM1 %PARM1:/ USER@MACHINE::REMOTE_DIR/%PARM1
    gosub do_mydate
    echo %MYDATE [069] ********** working on %PARM1 ********** 2>&1 | %SLOGS
    gosub do_mydate
    echo %MYDATE [071] %RSYNCCMD 2>&1 | %SLOGS
    echo. 2>&1 | %SLOGS
    rem goto jump
    %RSYNCCMD 2>&1 | %SLOGS

    :jump
    echo. 2>&1 | %SLOGS
    gosub do_mydate
    echo %MYDATE [079] ********** work on %PARM1 is done ********** 2>&1 | %SLOGS echo. 2>&1 | %SLOGS
    timer 2>&1 | %SLOGS
    echo. 2>&1 | %SLOGS
    echo %MYDATE [083] ********** process complete ********** 2>&1 | %SLOGS

    popd
    shift
    if '%1' NE '' goto execute
    goto end

    :help1
    echo.
    echo parameter '%1' is invalid...

    :help
    echo.
    echo you must specify the drive or drives to work on...
    echo.
    echo eg: %SCR_NAME c d e
    echo.
    goto end

    :end
    endlocal

    ==== End "shadowsync.cmd" ====


    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... Why do they call it a TV set when you only get one?
    ---
    * Origin: (1:3634/12.73)
  • From Torsten Bamberg@2:240/5832 to mark lewis on Thu Jan 3 01:00:46 2019
    Hallo mark!

    02.01.2019 12:36, mark lewis schrieb an Tommi Koivula:

    yes, it is very much based on ----/4OS2 scripting features...
    You know the scripting language rexx, buildin any OS/2 ?

    Bye/2 Torsten

    ... MAILBOX01 on OS2: up 13d 0h 48m load: 36 proc, 150 threads (tbupv1.1)
    --- GoldED+ 1.1.5-18
    * Origin: DatenBahn BBS Hamburg (2:240/5832)
  • From Torsten Bamberg@2:240/5832 to Tommi Koivula on Thu Jan 3 01:03:29 2019
    Hallo Tommi!

    02.01.2019 17:09, Tommi Koivula schrieb an Mike Powell:

    I have no rsync daemon installed in OS/2, I'm just running the rsync client from OS/2 batch file:
    for %a in ( c d e f g ) (
    rsync.exe -a --delete %a%:\ wat.localnet::backup\rbb\%a%
    )
    But rsync -D is running on your linux box. ;-)

    Anyway, one of the Boxes need to have a daemonized rsync.

    'Tommi
    Bye/2 Torsten

    ... MAILBOX01 on OS2: up 13d 0h 48m load: 36 proc, 150 threads (tbupv1.1)
    --- GoldED+ 1.1.5-18
    * Origin: DatenBahn BBS Hamburg (2:240/5832)
  • From Tommi Koivula@2:221/10 to Torsten Bamberg on Thu Jan 3 17:59:10 2019
    Hi Torsten.

    03 Jan 19 01:03, you wrote to me:

    I have no rsync daemon installed in OS/2, I'm just running the rsync
    client from OS/2 batch file:
    for %a in ( c d e f g ) (
    rsync.exe -a --delete %a%:\ wat.localnet::backup\rbb\%a%
    )
    But rsync -D is running on your linux box. ;-)

    Anyway, one of the Boxes need to have a daemonized rsync.

    Of course. :) Somehow I like to do it that way.

    'Tommi

    --- GoldED+/LNX 1.1.5-b20180707
    * Origin: telnet://v6.fidonet.fi (2:221/10)
  • From mark lewis@1:3634/12.73 to Torsten Bamberg on Thu Jan 3 11:07:54 2019

    On 2019 Jan 03 01:00:46, you wrote to me:

    yes, it is very much based on ----/4OS2 scripting features...

    You know the scripting language rexx, buildin any OS/2 ?

    of course i do... so what? it is not easily transferrable to other OSes but any
    OS that uses 4DOS and its derivitives can easily use the posted script... besides that, 4DOS scripting is much easier to understand and read... REXX always strikes me as like RPN :shrug:

    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... The watermelons were so big it wouldn't take many to make a dozen.
    ---
    * Origin: (1:3634/12.73)
  • From Tommi Koivula@2:221/1.1 to mark lewis on Thu Jan 3 19:30:02 2019

    03 Jan 19 11:07:54, you wrote to Torsten Bamberg:

    yes, it is very much based on ----/4OS2 scripting features...

    You know the scripting language rexx, buildin any OS/2 ?

    of course i do... so what? it is not easily transferrable to other OSes
    but
    any OS that uses 4DOS and its derivitives can easily use the posted script... besides that, 4DOS scripting is much easier to understand and

    Yep. I never learned REXX, because I wrote all my .BATs with 4DOS, and then with 4OS2 and 4NT/TCC.

    'Tommi

    ---
    * Origin: IPv6 Point at [2001:470:1f15:cb0:2:221:1:1] (2:221/1.1)
  • From mark lewis@1:3634/12.73 to Tommi Koivula on Thu Jan 3 17:02:58 2019

    On 2019 Jan 03 19:30:02, you wrote to me:

    yes, it is very much based on ----/4OS2 scripting features...

    You know the scripting language rexx, buildin any OS/2 ?

    of course i do... so what? it is not easily transferrable to other
    OSes but any OS that uses 4DOS and its derivitives can easily use the
    posted script... besides that, 4DOS scripting is much easier to
    understand and

    Yep. I never learned REXX, because I wrote all my .BATs with 4DOS, and then with 4OS2 and 4NT/TCC.

    yep! i learned enough of REXX to have some scripts that created launch icons for my bbs nodes... by creating them procedurally, i knew their name and so could trigger them procedurally as well... or just click on them... i had something for the mail tossing routine such that when it was running, a mailbox
    with mail in it was displayed... when it was not running, the mail box icon was
    invisible... it was pretty neat when i first did it... later, i removed it and just let the process run without trying to trigger the icon to show...

    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... Brain - the apparatus with which we think that we think.
    ---
    * Origin: (1:3634/12.73)