Keyboard Shortcuts
Likes
- H390-MVS
- Messages
Search
Re: Using a TAP device in Linux
Patrik Schindler wrote:
I¡¯m a bit confused by this text snippet, taken from As far as I know, Ethernet is protocol-agnostic.Correct. But the way LCS devices are designed (or more specifically, the way LCS devices are implemented in Hercules), Hercules needs to be able to recognize SNA packets so it can deliver them to the proper LCS port: HTH! -- "Fish" (David B. Trout) Software Development Laboratories mail: fish@... |
Re: Using a TAP device in Linux
Dear fellow readers,
I¡¯m a bit confused by this text snippet, taken from [LCS]Is there some more precise information about this claim and its origin? As far as I know, Ethernet is protocol-agnostic. Thanks! :wq! PoC |
Re: Using a TAP device in Linux
Hello Rahim,
thanks for your hints. Am 21.01.2021 um 20:32 schrieb Rahim Azizarab via groups.io <rahimazizarab@...>: It is not running, but it is almost there.Are you talking about yourself? You may want to search TUN/TAP; and ARP.This is a very broad topic. Tun is a point-to-point interface and does not utilize ARP at all. May I ask for more details what exactly you¡¯re referring to? I think you need to start ARP which assigns the MAC address.ARP does not assign any MAC. Maybe you want to read There is write up for it on the internet.As Grant already said, this is for tun only, not for tap. And you don¡¯t need to install openvpn for that. The same goal can be achieved with already system provided tools. /sbin/ip tuntap add group hercules I¡¯ve this one already running. :-) sudo tunctl -u rahim -pI¡¯m not primarily interested in running IP over TAP, but raw ethernet frames (802.2 DLC). Besides that, I¡¯ve never really understood how proxy arp configuration works within Linux. It¡¯s easier with Cisco IOS. :-) :wq! PoC |
Re: Using a TAP device in Linux
No, It is not.? The first one was for tun and the second for tap. MAKESITE is an important TSO command. regards; Rahim ?? ??
On Thursday, January 21, 2021, 3:44:56 PM CST, Grant Taylor via groups.io <gtaylor@...> wrote:
Drive by comment. On 1/21/21 12:32 PM, Rahim Azizarab via groups.io wrote: > openvpn --mktun --dev tun0 --group hercules >? ??? ifconfig tun0 192.168.2.65 pointopoint 10.0.0.33 >? ??? echo 1 >/proc/sys/net/ipv4/ip_forward The tun0 device above is not the same as the tap0 device below. > sudo tunctl -u rahim -p > sudo ifconfig tap0 192.168.122.2 up > sudo route add -host 192.168.122.2 dev tap0 > sudo bash -c 'echo 1 > /proc/sys/net/ipv4/conf/tap0/proxy_arp' > sudo arp -Ds 192.168.122.2 tap0 pub > sudo echo "1"? > /proc/sys/net/ipv4/conf/tap0/forwarding -- Grant. . . . unix || die |
Re: Using a TAP device in Linux
Drive by comment.
On 1/21/21 12:32 PM, Rahim Azizarab via groups.io wrote: openvpn --mktun --dev tun0 --group herculesThe tun0 device above is not the same as the tap0 device below. sudo tunctl -u rahim -p -- Grant. . . . unix || die |
Re: Using a TAP device in Linux
It is not running, but it is almost there.? You may want to search TUN/TAP; and ARP.? I think you need to start ARP which assigns the MAC address.? There is write up for it on the internet. openvpn --mktun --dev tun0 --group hercules ??? ifconfig tun0 192.168.2.65 pointopoint 10.0.0.33 ??? echo 1 >/proc/sys/net/ipv4/ip_forward sudo tunctl -u rahim -p sudo ifconfig tap0 192.168.122.2 up sudo route add -host 192.168.122.2 dev tap0 sudo bash -c 'echo 1 > /proc/sys/net/ipv4/conf/tap0/proxy_arp' sudo arp -Ds 192.168.122.2 tap0 pub sudo echo "1"? > /proc/sys/net/ipv4/conf/tap0/forwarding regards; Rahim ??
On Thursday, January 21, 2021, 12:39:46 PM CST, Patrik Schindler <poc@...> wrote:
Hello Rahim, Am 21.01.2021 um 15:28 schrieb Rahim Azizarab via groups.io <rahimazizarab=[email protected]>: > A TAP connection would be an LCS adaptor. Yap. Do you have an actual running example? I added an LCS device to hercules.cnf per configuration settings gleaned from the installation, (?VTAM 3172 emulation¡°) without further parameters. After firing up Hercules, but before OS IPL, I created a bridging device to connect the hercules-made tap0 to eth0 (an unused NIC in the machine, so I fire it up with ifconfig to have it in running state). brctl addbr br0 ifconfig eth0 up brctl addif br0 eth0 tap0 May I ask you for confirmation about that the Linux side seems right? > In VTAM one would need some thing like the following in VTAMLST. Thanks! I¡¯m not yet this far. I see there is already an example (?) configuration for a type XCA. :wq! PoC |
Re: Using a TAP device in Linux
Hello Rahim,
Am 21.01.2021 um 15:28 schrieb Rahim Azizarab via groups.io <rahimazizarab@...>: A TAP connection would be an LCS adaptor.Yap. Do you have an actual running example? I added an LCS device to hercules.cnf per configuration settings gleaned from the installation, (?VTAM 3172 emulation¡°) without further parameters. After firing up Hercules, but before OS IPL, I created a bridging device to connect the hercules-made tap0 to eth0 (an unused NIC in the machine, so I fire it up with ifconfig to have it in running state). brctl addbr br0 ifconfig eth0 up brctl addif br0 eth0 tap0 May I ask you for confirmation about that the Linux side seems right? In VTAM one would need some thing like the following in VTAMLST.Thanks! I¡¯m not yet this far. I see there is already an example (?) configuration for a type XCA. :wq! PoC |
Re: Using a TAP device in Linux
A TAP connection would be an LCS adaptor.? In VTAM one would need some thing like the following in VTAMLST. ?000010 * D NET,ID=LCS1,E ?000100 LCS1???? VBUILD TYPE=XCA?????????? CHANNEL-TO-CHANNEL (CTC) CONNECTION ?000110 PORTE2?? PORT? ADAPNO=1,?????????? ETHERNET ADAPTER NO 3172??????????? + ?000120??????????????? CUADDR=0E24,??????? DEVICE ADDRESS????????????????????? + ?000130??????????????? MEDIUM=CSMACD,????? ETHERNET??????????????????????????? + ?000140??????????????? SAPADDR=4,????????? SERVICE ACCESS POINT??????????????? + ?000150??????????????? TIMER=255 ?000160 * ?000200 LCSGRPX? GROUP DIAL=YES,?????????? CTC CONNECTION????????????????????? + ?000201??????????????? ANSWER=ON,????????????????????????????????????????????? + ?000202??????????????? CALL=INOUT,???????????????????????????????????????????? + ?000203??????????????? MIH=0,????????????????????????????????????????????????? + ?000204??????????????? AUTOGEN=(3,E,F),??????????????????????????????????????? + ?000210??????????????? DYNPU=YES,????????????????????????????????????????????? + ?000240??????????????? DYNPUPFX=RA2,?????????????????????????????????????????? + ?000300??????????????? ISTATUS=ACTIVE??????? VTAM INITIAL STATUS ?000600 * LINE NEEDED ?000700 CTCLINE3 LINE? CUADDR=0E24,?????? ** CHANNEL UNIT ADDRESS?????????? ** + ?000701??????????????? MAXBFRU=10,???????????????????????????????????????????? + ?000710??????????????? ISTATUS=ACTIVE??????? VTAM INITIAL STATUS ?000800 CTCPU??? PU??? MACADDR==4000374500004,???????????????????????????????? + ?000900??????????????? PUTYPE=2,TGN=10?????? WAS 4 regards; Rahim ? ??
On Thursday, January 21, 2021, 4:11:56 AM CST, Patrik Schindler <poc@...> wrote:
Dear readers, did somebody successfully configure VTAM on MVS or successors to actually make a connection via 802.2 DLC over a TAP device in Linux, bridged to a physical NIC? Maybe to an MS SNA server for a start. If yes, I¡¯d appreciate a pointer to a how-to or other documentation. I¡¯m specifically *not* talking about EE. (Aside from ?learn VTAM¡°, which is a very broad topic and a bit too generic for my question. :-) ) Thanks! :wq! PoC |
Using a TAP device in Linux
Dear readers,
did somebody successfully configure VTAM on MVS or successors to actually make a connection via 802.2 DLC over a TAP device in Linux, bridged to a physical NIC? Maybe to an MS SNA server for a start. If yes, I¡¯d appreciate a pointer to a how-to or other documentation. I¡¯m specifically *not* talking about EE. (Aside from ?learn VTAM¡°, which is a very broad topic and a bit too generic for my question. :-) ) Thanks! :wq! PoC |
Re: Adding a new tso logon proc
¿ªÔÆÌåÓýLook for gc28-0629-1 on bitsavers. I think it¡¯s the ibm/370/os_vs2/release 3.7 directory. Read the section on pre-prompt exitLaddie Hanus Sent from whatever device I am using. On Jan 18, 2021, at 10:30 AM, Charles Bailey <charlesbailey23@...> wrote:
|
Re: Adding a new tso logon proc
¿ªÔÆÌåÓýThanks to all who responded to my query about logon procs.? I was able to use the ACCOUNT command to add the ISPLOGON proc to my userid in SYS1.UADS.? (That ACCOUNT command ought to be a prime candidate for the computer command with the most obtuse syntax ever devised!)While we are on the subject of logon procs, I once again have access to a real IBM MVS system running z/OS.? When I logon to that system, I enter my userid and then I am presented with the following panel: The values displayed in those fields are remembered from one logon session to the next. Is there any way our MVS 3.8j system can be configured to operate like that?? Can it be done with some VTAM programming or some such? (Since the title at the top of that screen says "TSO/E LOGON" I'm guessing that the answer is "no".) Charles Bailey |
Re: Adding a new tso logon proc
¿ªÔÆÌåÓýOn 2021-01-17 10:50 AM, Jim Ruddy
wrote:
You will need to use the ACCOUNT command from either HERC01 or HERC02 as they have OPER privileges. Just a small nitpick - the ACCT privilege is required by a user ID to issue the ACCOUNT command. For those who aren't long term TSOers, the 4 general privilege settings associated with a TSO user ID are:
Having the MOUNT attribute means that it is fairly easy to browse tape data sets, especially if they are cataloged because you don't even have to supply the UNIT and VOLUME, nor contrive to supply the file sequence number. The REVTAPE CLIST uses the ALLOCATE command to supply the file sequence number. Yes, REVIEW does provide the same up and down scrolling control for tape data sets as it does for DASD data sets.? Have fun trying to scroll up to a previous volume - this used to not work when it would apply TTRs from earlier volumes to the current volume, but these days it may request the operator to re-mount the first volume - can't say for sure because I haven't tried it.? (The last time I regularly used tapes was 2002.) Of course, having the MOUNT attribute means that if you mistype the volume serial you'll often end up with a hanging mount request, so on real systems where I am not the operator I like to run with NOMOUNT most of the time.? If I ever need MOUNT I just zap the bit on for that session.? IM VB has the MNT and NMNT commands to facilitate this. Cheers, Greg |
Re: Adding a new tso logon proc
¿ªÔÆÌåÓýCharles, This is my fault for not documenting how to authorize a user to use a new logon proc, and I will update the documentation in the next release . As a good practice, the key SYS1 datasets such as 'SYS1.PROCLIB' are generally reserved for IBM provided materials, I recommend you place the proc in 'SYS2.PROCLIB' which exists for this purpose. Wally This is how to authorize a TSO user to use a new logon proc. Logon as user HERC01 which is authorized to use the ACCOUNT command. Allocate the UADS file using - ALLOC F(SYSUADS) DA('SYS1.UADS') SHR Enter the ACCOUNT command - ACCOUNT List the userid to display its current logon proc - L (HERC03) This will produce a display something like - ??? HERC03?? USER ATTRIBUTES:? NOOPER? NOACCT??? JCL? NOMOUNT?? ???????????? INSTALLATION ATTRIBUTES, IN HEX: 0000????????????? ???????????? MAXSIZE: NOLIM???????????????????????????????????? ???????????? USER PROFILE TABLE:??????????????????????????????? ???????????? 00000000000000000000000000000000 HERC03??????????? ???????????? DESTINATION? =? CENTRAL SITE DEFAULT?????????????? ???????????? NO PERFORMANCE GROUPS????????????????????????????? ????? (*)?????????????????????????????????????????????????????? ??????? (*)???????????????????????????????????????????????????? ????????? TSOLOGON? PROCSIZE=? 8192K, UNIT NAME= TSO??????????? ?IKJ56590I LISTED?????????????????????????????????????????????? ??????????????????????????????????????????????????????????????? ??????????????????????????????????????????????? Then using the TSO ACCOUNT command, you need to change the PROC name for the user as follows: C?? (HERC03 * * TSOLOGON)? DATA(ISPLOGON) /* note the highlighted old procname must match the highlighted procname for the user. END -----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Charles Bailey Sent: Saturday, January 16, 2021 04:17 PM To: [email protected] Subject: [H390-MVS] Adding a new tso logon proc I am running tk4-.? It appears that the default TSO logon proc is TSOLOGON and when a user logs on the JCL in SYS1.PROCLIB(TSOLOGON) is executed. I recently installed Wally's ISPF.? I copied ISP.V2R1M0.INSTALL(ISPLOGON)? to SYS1.PROCLIB and customized a few dataset names.? Now, when I try to logon with this new logon proc I get the following messages: Logon ===> HERC03 PROC(ISPLOGON) ? ENTER CURRENT PASSWORD FOR HERC03- ? PROCEDURE NAME ISPLOGON NOT AUTHORIZED ? REENTER - and the only way I can proceed is to enter TSOLOGON as the procedure name. How can I tell TSO that the procedure ISPLOGON is also authorized? Thanks, Charles Bailey
|
Re: Adding a new tso logon proc
Charles, I am glad you asked - I have been meaning to look this up - finally found the info in OS/390 TSO/E Administration. You will need to use the ACCOUNT command from either HERC01 or HERC02 as they have OPER privileges. Issue: ACCOUNT Then when you issue: LIST (HERC03 * * *) you will get a display of all of the attributes of HERC03. To ADD ISPLOGON issue: ADD (HERC03 * *) DATA(ISPLOGON) SIZE(8192) UNIT(3350) To see that it was added, issue the LIST command again: LIST (HERC03 * * *) Issue: END to exit the ACCOUNT command. Jim On Sat, Jan 16, 2021 at 1:17 PM Charles Bailey <charlesbailey23@...> wrote: I am running tk4-.? It appears that the default TSO logon proc is |
Re: Adding a new tso logon proc TSOLOG2
I added a new logon proc for user HERC04 and I have a note that I did this in the ACCOUNT command from TSO prompt:- ACCOUNT CHANGE (HERC04 * * TSOLOGON) DATA(TSOLOG2) END So that user uses the new logon proc (runs PGM=myprog instead of IKJEFT01) during logon Roops On Sat., Jan. 16, 2021, 21:54 Vince Coen, <vbcoen@...> wrote: On 16/01/2021 21:16, Charles Bailey wrote: |
Re: Adding a new tso logon proc
On 16/01/2021 21:16, Charles Bailey wrote:
I am running tk4-.? It appears that the default TSO logon proc is TSOLOGON and when a user logs on the JCL in SYS1.PROCLIB(TSOLOGON) is executed. Assuming you followed the installation instructions to the letter did you make changes to all for TK4 ? IF not and you don't know ask the TK4 author. |
Adding a new tso logon proc
I am running tk4-. It appears that the default TSO logon proc is TSOLOGON and when a user logs on the JCL in SYS1.PROCLIB(TSOLOGON) is executed.
I recently installed Wally's ISPF. I copied ISP.V2R1M0.INSTALL(ISPLOGON) to SYS1.PROCLIB and customized a few dataset names. Now, when I try to logon with this new logon proc I get the following messages: Logon ===> HERC03 PROC(ISPLOGON) ENTER CURRENT PASSWORD FOR HERC03- PROCEDURE NAME ISPLOGON NOT AUTHORIZED REENTER - and the only way I can proceed is to enter TSOLOGON as the procedure name. How can I tell TSO that the procedure ISPLOGON is also authorized? Thanks, Charles Bailey |
Re: maximum file sizes in MVS 3.8
The track number in MVS 3.8 is 16 bit signed. Patched for TK4- for
toggle quoted message
Show quoted text
unsigned. IBM had to fix it for when 3390-2s came out later. On Tue, Jan 12, 2021 at 5:07 PM Drew Derbyshire <swhobbit@...> wrote:
--
Mike A Schwab, Springfield IL USA Where do Forest Rangers go to get away from it all? |
Re: maximum file sizes in MVS 3.8
On 1/12/21 2:54 PM, Mike Schwab wrote:
POs are 16 extents, 1 volume. 1 volume limited to 32K tracks TK3That's 16 extents per volume.? Default (for example, on tape) is six volumes; you can raise the limit. Most older types (3380 and older?) are smaller than 4 GB.? Where does that limit come, and is per volume or per dataset? VSAM 4GB over 12x extents 59 volumes.-- Drew Derbyshire WNTC radio - Why Not Try Clyde? |
Re: maximum file sizes in MVS 3.8
POs are 16 extents, 1 volume. 1 volume limited to 32K tracks TK3
(3390-1.9) or 64K tracks TK4- (3390-3.8) PS are 16 extents 4GB. VSAM 4GB over 12x extents 59 volumes. On Tue, Jan 12, 2021 at 4:20 PM Mark Waterbury <mark.s.waterbury@...> wrote:
-- Mike A Schwab, Springfield IL USA Where do Forest Rangers go to get away from it all? |