Products > Test Equipment

HP1660 Logic Analyser and communicating through X Windows setup.

<< < (3/5) > >>

fenugrec:

--- Quote from: swingbyte1 on May 02, 2019, 01:29:05 pm ---Hi - I'm going to hijack the thread a bit :P I have one of these without the LAN port and would like to know if anyone knows whats involved in adding the port in?

--- End quote ---

I stumbled accross this thread looking for that very information, and found that this fellow https://www.jamiecraig.com/hp1661cs-ethernet-interface/ already figured all that out ! Haven't tested yet, but seems like a fairly straightforward mod.

tverbeure:
Adding to this thread because it always came up first during Google searches.

I tried many variant to make it work on Linux the usual way: xhost +, xauth, messing around with /usr/bin/Xorg and /etc/gdm3/custom.conf on my Ubuntu 20.04 system, but nothing worked. Eventually I got remote X server control running with the socat utility. Detailed write-up is here: https://tomverbeure.github.io/2023/12/26/Controlling-an-HP-1670G-with-Your-Linux-PC-X-Server.html.

fenugrec:
Nice writeup @tverbeure.
I posted one for the hardware details of adding the LAN option for a more permanent solution than just flying wires ( https://qcte.ca/testeq/hp1660/ ) , but I only tried FTP connections. It should provide a few NFS shares too, did you try those ?

Using the remote X connection has security implications, I think you touch on that a bit... I guess restricting the port access to the specific IP of the LA should be reasonably safe ?

tverbeure:

--- Quote ---I posted one for the hardware details of adding the LAN option for a more permanent solution than just flying wires ( https://qcte.ca/testeq/hp1660/ ) , but I only tried FTP connections.
--- End quote ---

Very nice! I'm happy mine came with all ports ready to go.


--- Quote ---It should provide a few NFS shares too, did you try those ?
--- End quote ---

I tried, but so far I didn't have any luck getting it to work. I also have issues with FTP. It works on my Windows machine and my Ubuntu 18.04 machine (which is a different boot partition on the same Windows machine), but it doesn't work on my main Linux machine (Ubuntu 20.4) or on my Debian 12 virtual machine that runs on a Macbook. I can log in successfully, but as soon as I do any transaction (e.g. just doing 'dir'), FTP hangs forever. Weird...


--- Quote ---Using the remote X connection has security implications, I think you touch on that a bit... I guess restricting the port access to the specific IP of the LA should be reasonably safe ?
--- End quote ---

I'm not too worried about it. There's a firewall between the outside world and my machines.  But I've updated the blog post to use a stricter filtering rule:

sudo ufw allow from 192.168.1.200 proto tcp to any port 6111

instead of:

sudo ufw allow 6111

I guess it will make an attacker's job a little bit harder, but if they manage to get on my network anyway, I assume they'll also know how to spoof their IP address.  ;)

I also think that the socat command limits security issues, in the sense that I only run it when I need to use the logic analyzer. When not running, the standard xhost restrictions apply, and they're set to blocking everything, including not allowing TCP/IP connections.

colorado.rob:

--- Quote ---I tried, but so far I didn't have any luck getting it to work. I also have issues with FTP. It works on my Windows machine and my Ubuntu 18.04 machine (which is a different boot partition on the same Windows machine), but it doesn't work on my main Linux machine (Ubuntu 20.4) or on my Debian 12 virtual machine that runs on a Macbook. I can log in successfully, but as soon as I do any transaction (e.g. just doing 'dir'), FTP hangs forever. Weird...
--- End quote ---
This is almost certainly a firewall issue on the client machine or on the router between the client machine and the instrument. FTP requires clients to allow access from the server unless explicitly using PASV (passive) mode. The hang you are seeing when the server needs to send data is a key hint that this is the problem. In your FTP application, send the "pasv" command before sending any other commands.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod