• Humax FTP won't let me do anything useful

    From Vir Campestris@21:1/5 to All on Mon Oct 31 16:33:03 2022
    I've got a Fox T2. In the dim and distant past I wrote an app that would
    allow me to do things to the drive - but that was on Windows, and I run
    Linux now.

    I want to resurrect the app - but I'm having trouble with FTP.

    I can log in, give my password, and then almost nothing.

    pwd tells me that it's in the remote /media directory. cd will let me
    change to root - except that after I've done that pwd still says I'm in
    /media. None of the directory listing commands work, and when I try them
    it says something like

    dir
    200 Port command successful
    421 Service not available, remote server has closed connection.

    then disconnects.

    Any idea?

    I'd though of using DLNA to get recordings off it, but although my Roku
    TV is happy to talk to the DLNA server my Linux box isn't. With several different apps.

    Any ideas?

    Andy

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Bob Latham@21:1/5 to Vir Campestris on Mon Oct 31 19:33:34 2022
    In article <tjotbv$hf9j$1@dont-email.me>,
    Vir Campestris <vir.campestris@invalid.invalid> wrote:

    I've got a Fox T2. In the dim and distant past I wrote an app that
    would allow me to do things to the drive - but that was on
    Windows, and I run Linux now.

    I want to resurrect the app - but I'm having trouble with FTP.

    I can log in, give my password, and then almost nothing.

    I used to use ftp my Fox T2 but with the Custom software there is a
    Samba/SMB client which works well and much simpler to use. You only
    need to be careful which share you use, if I recall correctly the
    video share works great.

    Bob.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From David@21:1/5 to Vir Campestris on Tue Nov 8 18:11:21 2022
    On Mon, 31 Oct 2022 16:33:03 +0000, Vir Campestris wrote:

    I've got a Fox T2. In the dim and distant past I wrote an app that would allow me to do things to the drive - but that was on Windows, and I run
    Linux now.

    I want to resurrect the app - but I'm having trouble with FTP.

    I can log in, give my password, and then almost nothing.

    pwd tells me that it's in the remote /media directory. cd will let me
    change to root - except that after I've done that pwd still says I'm in /media. None of the directory listing commands work, and when I try them
    it says something like

    dir 200 Port command successful 421 Service not available, remote
    server has closed connection.

    then disconnects.

    Any idea?

    I'd though of using DLNA to get recordings off it, but although my Roku
    TV is happy to talk to the DLNA server my Linux box isn't. With several different apps.

    Any ideas?

    Andy

    Well, FTP is the same under Windows and Linux.
    Assuming you are using the same mode?
    IIRC you can do everything under a single port, or have a command port and
    open another port for data transfer.
    From the result you report I would suspect credentials on the Humax being
    the issue.
    Do the commands fail before you first try to change to root?
    A long time since I tinkered with FTP, mind.

    <https://www.cerberusftp.com/ftp-and-ftps-ports/>

    Looks like a reasonable reference.

    Have you updated the Humax software since it last worked?
    Or could there be something in your network acting as a firewall?
    FTP is deprecated now AFAIK and your Linux build might be self censoring.

    Cheers


    Dave R


    --
    AMD FX-6300 in GA-990X-Gaming SLI-CF running Windows 7 Pro x64

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From David@21:1/5 to David on Tue Nov 8 18:16:36 2022
    On Tue, 08 Nov 2022 18:11:21 +0000, David wrote:

    On Mon, 31 Oct 2022 16:33:03 +0000, Vir Campestris wrote:

    I've got a Fox T2. In the dim and distant past I wrote an app that
    would allow me to do things to the drive - but that was on Windows, and
    I run Linux now.

    I want to resurrect the app - but I'm having trouble with FTP.

    I can log in, give my password, and then almost nothing.

    pwd tells me that it's in the remote /media directory. cd will let me
    change to root - except that after I've done that pwd still says I'm in
    /media. None of the directory listing commands work, and when I try
    them it says something like

    dir 200 Port command successful 421 Service not available, remote
    server has closed connection.

    then disconnects.

    Any idea?

    I'd though of using DLNA to get recordings off it, but although my Roku
    TV is happy to talk to the DLNA server my Linux box isn't. With several
    different apps.

    Any ideas?

    Andy

    Well, FTP is the same under Windows and Linux.
    Assuming you are using the same mode?
    IIRC you can do everything under a single port, or have a command port
    and open another port for data transfer.
    From the result you report I would suspect credentials on the Humax
    being the issue.
    Do the commands fail before you first try to change to root?
    A long time since I tinkered with FTP, mind.

    <https://www.cerberusftp.com/ftp-and-ftps-ports/>

    Looks like a reasonable reference.

    Have you updated the Humax software since it last worked?
    Or could there be something in your network acting as a firewall?
    FTP is deprecated now AFAIK and your Linux build might be self
    censoring.

    P.S. This is how I think it works.
    You Linux system opens a connection to the Humax on the command port (21
    if you are using insecure FTP).
    A listing is requested over the command channel and the Humax tries to
    open a connection to the Linux system over Port 20 to send the reply.
    I wouldn't be surprised if your Linux system wasn't happy about accepting
    an incoming connection on Port 20 (without, perhaps, some tinkering).
    Have a look in the error logs to see if an incoming connection is being refused.

    Cheers


    Dave R





    --
    AMD FX-6300 in GA-990X-Gaming SLI-CF running Windows 7 Pro x64

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From David@21:1/5 to David on Tue Nov 8 18:25:09 2022
    On Tue, 08 Nov 2022 18:16:36 +0000, David wrote:

    On Tue, 08 Nov 2022 18:11:21 +0000, David wrote:

    On Mon, 31 Oct 2022 16:33:03 +0000, Vir Campestris wrote:

    I've got a Fox T2. In the dim and distant past I wrote an app that
    would allow me to do things to the drive - but that was on Windows,
    and I run Linux now.

    I want to resurrect the app - but I'm having trouble with FTP.

    I can log in, give my password, and then almost nothing.

    pwd tells me that it's in the remote /media directory. cd will let me
    change to root - except that after I've done that pwd still says I'm
    in /media. None of the directory listing commands work, and when I try
    them it says something like

    dir 200 Port command successful 421 Service not available, remote
    server has closed connection.

    then disconnects.

    Any idea?

    I'd though of using DLNA to get recordings off it, but although my
    Roku TV is happy to talk to the DLNA server my Linux box isn't. With
    several different apps.

    Any ideas?

    Andy

    Well, FTP is the same under Windows and Linux.
    Assuming you are using the same mode?
    IIRC you can do everything under a single port, or have a command port
    and open another port for data transfer.
    From the result you report I would suspect credentials on the Humax
    being the issue.
    Do the commands fail before you first try to change to root?
    A long time since I tinkered with FTP, mind.

    <https://www.cerberusftp.com/ftp-and-ftps-ports/>

    Looks like a reasonable reference.

    Have you updated the Humax software since it last worked?
    Or could there be something in your network acting as a firewall?
    FTP is deprecated now AFAIK and your Linux build might be self
    censoring.

    P.S. This is how I think it works.
    You Linux system opens a connection to the Humax on the command port (21
    if you are using insecure FTP).
    A listing is requested over the command channel and the Humax tries to
    open a connection to the Linux system over Port 20 to send the reply.
    I wouldn't be surprised if your Linux system wasn't happy about
    accepting an incoming connection on Port 20 (without, perhaps, some tinkering). Have a look in the error logs to see if an incoming
    connection is being refused.

    P.P.S.
    Passive mode is the term I was seeking.
    If you start up FTP in Passive Mode then everything is initiated from the calling end.
    This is useful for when other things stop the target system (Humax) from calling back.

    Best of luck.

    Dave R



    --
    AMD FX-6300 in GA-990X-Gaming SLI-CF running Windows 7 Pro x64

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Vir Campestris@21:1/5 to David on Fri Nov 11 21:23:57 2022
    On 08/11/2022 18:25, David wrote:
    P.P.S.
    Passive mode is the term I was seeking.
    If you start up FTP in Passive Mode then everything is initiated from the calling end.
    This is useful for when other things stop the target system (Humax) from calling back.

    Best of luck.

    Dave R

    That rang a bell... so I turned on passive - and it doesn't help :(

    I can do a pwd, and I'm told I'm in /media. That's about all I'm getting.

    Now you've given me a clue I'll play with it a bit more. Thanks.

    Andy

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)