Author |
TCPIP/FTP: Unable to connect with OpenVMS/FreeAXP |
Paolo_R
Member
Posts: 64
Joined: 16.08.13 |
Posted on October 30 2021 18:18 |
|
|
It's quite some time since I tried to connect to OpenVMS using Filezilla. I didn't have any problems previously but I cannot connect now.
I've checked my OpenVMS settings:
$ show logical *inet_hostaddr
(LNM$PROCESS_TABLE)
(LNM$JOB_81C94D80)
(LNM$GROUP_000001)
(LNM$SYSTEM_TABLE)
"TCPIP$INET_HOSTADDR" = "10.1.1.20"
"UCX$INET_HOSTADDR" = "10.1.1.20"
(LNM$SYSCLUSTER_TABLE)
(DECW$LOGICAL_NAMES)
$ ucx
TCPIP> show interfaces/full
Interface: LO0
IP_Addr: 127.0.0.1 NETWRK: 255.0.0.0 BRDCST:
MTU: 4096
Flags: UP LOOP NOARP MCAST SMPX
RECEIVE SEND
Packets 0 0
Errors 0 0
Collisions: 0
TCPIP>
TCPIP> show host
LOCAL database
Host address Host name
127.0.0.1 LOCALHOST, localhost
192.168.44.130 a12345.localdomain
10.1.1.20 freeaxp.com, freeaxp
TCPIP>
I've checked the Firewall (actually using ESET) and Avanti is allowed.
Using the Filezilla tester I get:
Connecting to probe.filezilla-project.org
Connection established, waiting for welcome message.
Response: 220 FZ router and firewall tester ready
USER FileZilla
Response: 331 Give any password.
PASS 3.56.2
Response: 230 logged on.
Checking for correct external IP address
IP 124.170.107.221 bce-bha-bah-ccb
Response: 200 OK
PREP 57463
Response: 200 Using port 57463, data token 622421126
PORT 124,170,107,221,224,119
Response: 200 PORT command successful
LIST
Response: 150 opening data connection
I'm not sure if anything else should show but it basically hangs at this point.
When I then try to connect using with Filezilla with Host 10.1.1.20 and SYSTEM as the Username I get:
Status: Connecting to 10.1.1.20:21...
Error: Connection timed out after 20 seconds of inactivity
Error: Could not connect to server
So I'm basically stymied - I think all my OpenVMS/TCPIP settings are correct. As far as I'm aware so are my Filezilla settings.
Any assistance welcome. |
|
Author |
RE: TCPIP/FTP: Unable to connect with OpenVMS/FreeAXP |
Bruce Claremont
Member
Posts: 623
Joined: 07.01.10 |
Posted on October 31 2021 08:47 |
|
|
Run ucx$config.com or tcpip$config.com. Using the Client and Server menu options, ensure FTP is enabled.
If you make changes, reboot VMS or run TCPIP$FTP_CLIENT_STARTUP.COM and TCPIP$FTP_STARTUP.COM (or UCX equivalent).
I always log into FTP from Filezilla using a known good VMS account. |
|
Author |
RE: TCPIP/FTP: Unable to connect with OpenVMS/FreeAXP |
Paolo_R
Member
Posts: 64
Joined: 16.08.13 |
Posted on October 31 2021 11:34 |
|
|
Bruce
Client side was OK, Server FTP was disabled, stopped so Enabled and Started it and rebooted.
Still no joy with Filezilla - firewall turned off, using my real (my laptop's) IP address but same result as before - 'Could not connect to server'
|
|
Author |
RE: TCPIP/FTP: Unable to connect with OpenVMS/FreeAXP |
Bruce Claremont
Member
Posts: 623
Joined: 07.01.10 |
Posted on November 01 2021 05:46 |
|
|
Try connecting to the system manually using Windows FTP from the command line to confirm inbound connectivity. Do the same from VMS to confirm outbound connectivity. |
|
Author |
RE: TCPIP/FTP: Unable to connect with OpenVMS/FreeAXP |
Paolo_R
Member
Posts: 64
Joined: 16.08.13 |
Posted on November 01 2021 11:37 |
|
|
Bruce
Not sure what ftp command to issue. Pinging does not reach target.
[quote][
C:\WINDOWS\system32>ping 10.1.1.20
Pinging 10.1.1.20 with 32 bytes of data:
Reply from 10.1.1.221: Destination host unreachable.
Reply from 10.1.1.221: Destination host unreachable.
Reply from 10.1.1.221: Destination host unreachable.
Reply from 10.1.1.221: Destination host unreachable.
Ping statistics for 10.1.1.20:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
C:\WINDOWS\system32>
C:\WINDOWS\system32>ftp
ftp> open freeaxp.com
> ftp: connect :Connection timed out
ftp>
ftp> ftp ftp.freeaxp.com
Invalid command.
ftp> quit
C:\WINDOWS\system32>
/quote]
This is all done with FreeAXP/OpenVMS running and firewall off.
|
|
Author |
RE: TCPIP/FTP: Unable to connect with OpenVMS/FreeAXP |
Bruce Claremont
Member
Posts: 623
Joined: 07.01.10 |
Posted on November 02 2021 05:34 |
|
|
If you can't ping you've got a network issue. Fix that first. Are you running FreeAXP and Windows thru the same NIC? |
|
Author |
RE: TCPIP/FTP: Unable to connect with OpenVMS/FreeAXP |
Paolo_R
Member
Posts: 64
Joined: 16.08.13 |
Posted on November 02 2021 10:49 |
|
|
Bruce
I'm not very good at network issue as you might have guessed
As far as I can make out, in Windows my wi-fi network connection uses a Killer Wireless-n/a/ac 1535 Wireless Network Adapter.
In the Alpha Configuration Utility the pc1i1 Network card is Type DE500 (21140) and
the Interface is VMWare Network Adapter VMNet1 (VMWare Virtual Ethernet Adapter).
so I guess I'm using 2 NICs, if I understand things.
My Windows network connection is via wi-fi - so is a virual ethernet adapter correct?
The other possible connections for DE500 shown are: Wi-Fi (Microsoft), VirtualBox Host Only Network (Oracle), Local Area Connection* 2 (Microsoft), Bluetooth Network Connection (Microsoft) and VMWare Network Adapter VMNet8 (VMWare Virtual Ethernet Adapter). |
|
Author |
RE: TCPIP/FTP: Unable to connect with OpenVMS/FreeAXP |
Paolo_R
Member
Posts: 64
Joined: 16.08.13 |
Posted on November 02 2021 13:45 |
|
|
Follow on to my last email - I recall from my notes that way back when I first installed OpenVMS on FreeAXP I had an interface we0 enabled. I don't seem to have that now:
$ ucx
TCPIP> ifconfig -l
LO0 TN0 TN1
TCPIP> ifconfig -v we0
ifconfig: no such interface: WE0
TCPIP> ifconfig we0
ifconfig: no such interface: WE0
TCPIP>
Would this be the problem and , if so, how do I enable it? |
|
Author |
RE: TCPIP/FTP: Unable to connect with OpenVMS/FreeAXP |
Bruce Claremont
Member
Posts: 623
Joined: 07.01.10 |
Posted on November 03 2021 03:52 |
|
|
On the VMS side: Run ucx$config.com and select the 'A' option. Run through all your VMS network settings and confirm they are correct. Reboot VMS and use UCX SHOW INTERFACE /FULL to confirm your network settings are correct. If things look good, you should be able to ping the FreeAXP system from the outside.
On the Windows side:
- Are you running under VMware? Review Chapter 10 in the User Guide. Ideally, your Windows host system should have two NICs defined. One assigned to Windows and one assigned to FreeAXP.
- What version of Windows are you using?
Post a copy of your FreeAXP configuration file. |
|
Author |
RE: TCPIP/FTP: Unable to connect with OpenVMS/FreeAXP |
Paolo_R
Member
Posts: 64
Joined: 16.08.13 |
Posted on November 03 2021 16:53 |
|
|
Info requested re OpenVMS settings
Service list:
HP TCP/IP Services for OpenVMS Client Components Configuration Menu
Configuration options:
1 - DHCP Client Enabled Started
2 - FTP Client Enabled Started
3 - NFS Client Disabled Stopped
4 - REXEC and RSH Disabled Stopped
5 - RLOGIN Disabled Stopped
6 - SMTP Enabled Started
7 - SSH Client Disabled Stopped
8 - TELNET Enabled Started
9 - TELNETSYM Disabled Stopped
A - Configure options 1 - 9
[E] - Exit menu
Enter configuration option:
HP TCP/IP Services for OpenVMS Interface & Address Configuration Menu
Hostname Details: Configured=freeaxp.com, Active=freeaxp
Configuration options:
0 - Set The Target Node (Current Node: A12345)
1 - WE0 Menu (EWA0: %SEARCH-I-NOMATCHES, %SEARCH-I-NOMATCHES,()
2 - 10.1.1.20/24 freeaxp.com Configured
[E] - Exit menu
Enter configuration option: 1
HP TCP/IP Services for OpenVMS Interface WE0 Configuration Menu (Node: A12345)
Configuration options:
1 - Add a primary address on WE0
2 - Add an alias address on WE0
3 - Enable DHCP client to manage address on WE0
[E] - Exit menu
Enter configuration option: 1
* Is this address used by Clusters over IP (IPCI) [NO]:
IPv4 Address may be entered with CIDR bits suffix.
E.g. For a 16-bit netmask enter 10.0.1.1/16
Enter IPv4 Address [10.1.1.20/24]: 10.1.1.20
IPv4 Netmask may be entered in dotted decimal notation,
(e.g. 255.255.0.0), or as number of CIDR bits (e.g. 16)
Enter Netmask or CIDR bits [255.255.255.0]:
Enter hostname [freeaxp.com]:
Requested configuration:
Node : A12345
Interface: WE0
IPCI : No
Address : 10.1.1.20/24
Netmask : 255.255.255.0 (CIDR bits: 24)
Hostname : freeaxp.com
* Is this correct [YES]:
Added hostname freeaxp.com (10.1.1.20) to host database
Added address WE0:10.1.1.20 to configuration database
* Make WE0:freeaxp.com (10.1.1.20/24) active on the live system [NO]:
I focused on WE0 since this seemed to be missing - TCPIP Configuration reports that it has been added to the configuration database but then...
$ ucx show interface /full
Interface: LO0
IP_Addr: 127.0.0.1 NETWRK: 255.0.0.0 BRDCST:
MTU: 4096
Flags: UP LOOP NOARP MCAST SMPX
RECEIVE SEND
Packets 0 0
Errors 0 0
Collisions: 0
$ ucx
TCPIP> ifconfig -l
LO0 TN0 TN1
TCPIP>
$ ifconfig -v we0
ifconfig: no such interface: WE0
$
So I don't understand why WE0 is not recognised after all that
Herewith my FreeAXP Alpha Configuration file
// Migration Specialties Avanti configuration file created at 2021-11-02 15:25:33
cp = control
{
alpha = alpha
{
image = "c:\vms\FreeAXP\ALPHA01.nvr";
jit_level = 0;
auto_exit = true;
auto_idle = true;
pcibus = dc21071da
{
data = "c:\vms\FreeAXP\ALPHA01.toy";
serial0 = i16550
{
s0_tn = telnet
{
port = 9000;
action = """C:\Program Files\Common Files\MigrationSpecialties Shared\putty.exe"" telnet://127.0.0.1:9000";
}
log = logfile
{
filename = "C:\VMs\FreeAXP\ALPHA01_serial0.log";
}
}
pci6 = symbios
{
disk0.1 = file
{
vendor = "DEC";
model_num = "HSZ22";
rev_num = "d11x";
image = "c:\vms\FreeAXP\DISK01.img";
autocreate_size = 5G;
}
disk0.2 = file
{
vendor = "DEC";
model_num = "HSZ22";
rev_num = "d11x";
image = "c:\vms\FreeAXP\DISK02.img";
autocreate_size = 5g;
}
disk0.3 = file
{
vendor = "DEC";
model_num = "HSZ22";
rev_num = "d11x";
image = "c:\vms\FreeAXP\DISK03.img";
autocreate_size = 5g;
}
}
pci7 = i82378
{
}
pci11 = de500
{
adapter = "VMware Network Adapter VMnet1";
type = "21140";
}
}
}
}
Regarding your other questions. I'm running OpenVMS within FreeAXP under Windows 10 (not VMWare) |
|
Author |
RE: TCPIP/FTP: Unable to connect with OpenVMS/FreeAXP |
Bruce Claremont
Member
Posts: 623
Joined: 07.01.10 |
Posted on November 04 2021 04:29 |
|
|
Regarding your NIC selection, why are you using VMWare Network Adapter VMNet8 instead of Local Area Connection* 2.
That question aside, if SHOW INTERFACE doesn't show a valid IP, there will be no network communications.
Review section 15.3 RECONFIGURING THE NETWORK, in the User Guide. Make sure you are stopping TCP/IP services before making your changes and restarting it afterwards. Also, make sure you have the gateway address properly configured. Use this command to check the gateway address:
$ UCX SHOW ROUTE/FULL
The first step to success is to be able to ping 10.1.1.20 locally from within VMS:
$ UCX PING 10.1.1.20 |
|
Author |
RE: TCPIP/FTP: Unable to connect with OpenVMS/FreeAXP |
Paolo_R
Member
Posts: 64
Joined: 16.08.13 |
Posted on November 04 2021 14:12 |
|
|
I amended the NIC tp Local Area Connection* 2.
Before I start reconfiguring the network what IP should I see? In other words what is a valid IP?
These are the current results from SHOW INTERFACE /FULL and SHOW route /FULL
$ ucx show interface /full
Interface: LO0
IP_Addr: 127.0.0.1 NETWRK: 255.0.0.0 BRDCST:
MTU: 4096
Flags: UP LOOP NOARP MCAST SMPX
RECEIVE SEND
Packets 0 0
Errors 0 0
Collisions: 0
$ ucx show route /full
DYNAMIC
Type Destination Gateway
AH * 127.0.0.1 LOCALHOST * 127.0.0.1 LOCALHOST
$
|
|
Author |
RE: TCPIP/FTP: Unable to connect with OpenVMS/FreeAXP |
Bruce Claremont
Member
Posts: 623
Joined: 07.01.10 |
Posted on November 05 2021 02:01 |
|
|
You currently do not have an IP configured under VMS. You need to assign the IP. You need to run through the complete tcpip$config.com process. |
|
Author |
RE: TCPIP/FTP: Unable to connect with OpenVMS/FreeAXP |
Paolo_R
Member
Posts: 64
Joined: 16.08.13 |
Posted on November 05 2021 10:33 |
|
|
OK, back to square one. Thanks for your help. |
|
Author |
RE: TCPIP/FTP: Unable to connect with OpenVMS/FreeAXP |
Paolo_R
Member
Posts: 64
Joined: 16.08.13 |
Posted on November 06 2021 15:00 |
|
|
Could you just clarify the following please?
(a) I was under the impression that 10.1.1.20 was the IP address for OpenVMS under FreeAXP. OpenVMS boots with this IP address. So is there another step(s) that is needed to somehow register this address within OpenVMS? Can you give me a clue as to where in the TCP/IP Configuration I will find this registration process?
( If there is a different IP address required can I just 'invent' one?
(c) Does DHCP need to invoked?
Now for several hours reading - but you can help with those clues |
|
Author |
RE: TCPIP/FTP: Unable to connect with OpenVMS/FreeAXP |
Paolo_R
Member
Posts: 64
Joined: 16.08.13 |
Posted on November 06 2021 15:38 |
|
|
I don't know if this is relevant but OpenVMS has no ARP table entry i.e. arp -a returns nothing. |
|