FTP not working


Topic author
fim
Active Contributor
Posts: 31
Joined: Wed Jan 04, 2023 5:14 am
Reputation: 0
Status: Offline

FTP not working

Post by fim » Thu Jan 12, 2023 10:41 am

I'm running the OpenVMS Student Package with Windows 10, 64-bit as the host computer.
But I can't get FTP to work from the host computer.

5=C:\>PING 192.168.0.1

Pinging 192.168.0.1 with 32 bytes of data:
Reply from 192.168.0.1: bytes=32 time<1ms TTL=64
Reply from 192.168.0.1: bytes=32 time<1ms TTL=64
Reply from 192.168.0.1: bytes=32 time<1ms TTL=64
Reply from 192.168.0.1: bytes=32 time<1ms TTL=64

Ping statistics for 192.168.0.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms

5=C:\>PING 192.168.0.245 <<<<<<<<<<<<<<<< My Open VMS

Pinging 192.168.0.245 with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 192.168.0.245:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

5=C:\>FTP 192.168.0.245
> ftp: connect :Connection timed out
ftp> BYE

5=C:\>
---------------------------------
On Open VMS

$ sho net/ful

The following network service is available at this time:

Product: TCP/IP Manufacturer: Hewlett-Packard Company
Node: fimsvms.FIMSVMS Address(es): 192.168.0.245
Network Type: TCP/IP Interface(s):

HP TCP/IP Services for OpenVMS Alpha Version V5.7 - ECO 5
on an AlphaServer 400 4/166 running OpenVMS V8.4-2L2


Port Remote
Device_socket Type Local Remote Service Host

bg38 STREAM 21 0 FTP *
bg54 STREAM 81 0 *
bg56 RAW_IP 0 0 *
bg59 DGRAM 500 0 *
bg60 DGRAM 4500 0 *
bg61 DGRAM 1701 0 *
bg62 DGRAM 500 0 *
bg63 DGRAM 4500 0 *
bg64 DGRAM 1701 0 *
bg70 STREAM 513 0 RLOGIN *
bg72 STREAM 514 0 RSH *
bg75 STREAM 23 0 TELNET *
bg77 STREAM 2323 0 KTELNET *

Communication Parameters

Local host: fimsvms Domain: FIMSVMS

Maximum Current Peak
Proxies 20


Remote Terminal
Large buffers: 0
UCBs: 0
Virtual term: disabled
$
-------------------------
$ FTP 192.168.0.245
220 fimsvms.FIMSVMS FTP Server (Version 5.7) Ready.
Connected to fimsvms.
Name (fimsvms:system):
230 User logged in.
FTP>
------------------------------------

Anyone understand what I'm doing wrong?

/Fim W
Fim.wastberg@fimator.se

User avatar

volkerhalle
Master
Posts: 196
Joined: Fri Aug 14, 2020 11:31 am
Reputation: 0
Status: Offline

Re: FTP not working

Post by volkerhalle » Thu Jan 12, 2023 11:32 am

Fim,

do you have a working IP interface on your OpenVMS system ?

$ TCPIP SHOW INT

Any interface visible ?
Send/Recv counters > 0 ?

If not, use @TCPIP$CONFIG -> core environment -> Interfaces

Volker.


tim.stegner
VSI Expert
Valued Contributor
Posts: 55
Joined: Wed Jul 21, 2021 9:14 am
Reputation: 0
Status: Offline

Re: FTP not working

Post by tim.stegner » Thu Jan 12, 2023 11:34 am

Have you defined an IP address for your [student] system? the x.x.0.1 looks like a gateway address to me.

try $ SHOW DEVICE E* to see what network adapters you have available.

then $ MCR LANCP SHOW CONFIG to see the state of that/those adapters.

I'd pay attention to the link-up/link-down column.


marty.stu
Site Admin
Valued Contributor
Posts: 96
Joined: Tue May 21, 2019 6:56 am
Reputation: 0
Status: Offline

Re: FTP not working

Post by marty.stu » Thu Jan 12, 2023 11:36 am

Hi Fim,

In addition to Volker's question, is your virtual adapter mapped to a cable or Wi-Fi network? This video may also be of some help for you: https://www.youtube.com/watch?v=Rf53T7i8RGs.
Run to the bedroom, In the suitcase on the left You'll find my favorite axe.


Topic author
fim
Active Contributor
Posts: 31
Joined: Wed Jan 04, 2023 5:14 am
Reputation: 0
Status: Offline

Re: FTP not working

Post by fim » Fri Jan 13, 2023 11:52 am

Hi volkerhalle

$ TCPIP SHO INT
Packets
Interface IP_Addr Network mask Receive Send MTU

LO0 127.0.0.1 255.0.0.0 4 4 4096
WE0 192.168.0.245 255.255.255.0 1806 16 1500
$

Other SHO options look reasonable, as far as I can understand.

-------------------------------
Hi tim.stegner

$ SHOW DEVICE E

Device Device Error
Name Status Count
EWA0: Online 0
EWA3: Online 0
EWA4: Online 0
EWA5: Online 0
$


$ MCR LANCP SHOW CONFIG

STUDNT LAN Configuration (13-JAN-2023 17:36:31.12):
Parent or
Device PrefCPU Medium/User Version Link Speed Duplex Auto BufSize MAC Address Type Description
------ ------- ----------- ------- ---- ----- ------ ---- ------- ---------------- ------------ -----------
EWA0 Ethernet X-127 - - - No 1500 C6-34-6B-4E-72-42 UTP DE435
$

---------------------------------
Hi marty.stu

My adapter (USB-based) mapped to a cable.
I have done the installation according to the YouTube video as best I could.

/Fim W.

User avatar

volkerhalle
Master
Posts: 196
Joined: Fri Aug 14, 2020 11:31 am
Reputation: 0
Status: Offline

Re: FTP not working

Post by volkerhalle » Fri Jan 13, 2023 1:34 pm

Fim,

the EWA0 link is not UP !

$ mc lancp sho dev/int/message

should show a

30-DEC-2022 17:27:01.95 Link state: UP

message, if your LAN interface is supposed to work.

Note that your problem is not with OpenVMS, but most likely in the networking between FreeAXP and Windows.

Volker.
Last edited by volkerhalle on Sat Jan 14, 2023 3:48 am, edited 1 time in total.


Topic author
fim
Active Contributor
Posts: 31
Joined: Wed Jan 04, 2023 5:14 am
Reputation: 0
Status: Offline

Re: FTP not working

Post by fim » Sat Jan 14, 2023 8:48 am

hI volkerhalle
$ mc lancp sho dev/int/message

STUDNT Device Internal Counters EWA0 (14-JAN-2023 14:43:19.37):
Value Counter
----- -------
14-JAN-2023 13:35:24.75 Twisted-Pair mode set by console
Note that your problem is not with OpenVMS, but most likely in the networking between FreeAXP and Windows.
I don't know how to fix it, any ideas?
/Fim W.

User avatar

volkerhalle
Master
Posts: 196
Joined: Fri Aug 14, 2020 11:31 am
Reputation: 0
Status: Offline

Re: FTP not working

Post by volkerhalle » Sat Jan 14, 2023 12:09 pm

Fim,

there might be a FreeAXP.log file - anything interesting in there regarding networking ?

There is also a forum for FreeAXP:

http://www.openvmshobbyist.com/forum/vi ... rum_id=163

Volker.


Topic author
fim
Active Contributor
Posts: 31
Joined: Wed Jan 04, 2023 5:14 am
Reputation: 0
Status: Offline

Re: FTP not working

Post by fim » Sun Jan 15, 2023 12:43 pm

Now I have decided not to run FreeAXP + OpenVms on my ordinary PC.
Instead, I have freshly installed Windows on a smaller PC and done the installation exactly as shown in https://www.youtube.com/watch?v=Rf53T7i8RGs.
Everything (almost) works as it should.
But I still have a problem in OpenVms, the FTP server won't start.
And as I understand, the problem lies in OpenVms:
$ @TCPIP$FTP_STARTUP
%TCPIP-I-INFO, image SYS$SYSTEM:TCPIP$FTP_CHILD.EXE installed
%TCPIP-I-INFO, image SYS$SYSTEM:TCPIP$FTP_SERVER.EXE installed
%TCPIP-I-INFO, logical names created
%TCPIP-E-STARTERROR, error starting FTP service
-TCPIP-W-NORECORD, information not found
-RMS-E-RNF, record not found
%TCPIP-E-STARTFAIL, failed to start TCPIP$FTP
-TCPIP-E-ENABLERR, error enabling service
/Fim W.

User avatar

volkerhalle
Master
Posts: 196
Joined: Fri Aug 14, 2020 11:31 am
Reputation: 0
Status: Offline

Re: FTP not working

Post by volkerhalle » Sun Jan 15, 2023 1:21 pm

Fim,

did you configure (and start) the FTP server ?

@TCPIP$CONFIG -> 3 - Server components -> 5 - FTP

and the FTP client ?

@TCPIP$CONFIG -> 2 - Client components -> 2 - FTP Client

Volker.

Post Reply