piHPSDR cannot find HL2 No local Devices found

688 views
Skip to first unread message

Chuck-KK4HP

unread,
Nov 18, 2023, 1:14:39 PM11/18/23
to Hermes-Lite
Loaded a new install of piHPSDR and it cannot find the HL2. I’ve tried a crossover cable to the HL2 and I don’t get a Link or Act illumination. With a straight cable I do. For the: Use New TCP address, I tried the default as well as 10.10.30.100 thru .120 as well as the HL2 IP address. When I look at the Advanced Network settings it shows the eth0 wired connection Last Used as never connected. Both IPv4 & IPv6 are set to Auto. WiFi is working fine. I’ve run out of ideas. Any thoughts?

de KK4HP 

John Williams

unread,
Nov 18, 2023, 1:22:03 PM11/18/23
to Chuck-KK4HP, Hermes-Lite
Can you ping it?

Sent from my iPhone

On Nov 18, 2023, at 12:14 PM, Chuck-KK4HP <nfl...@gmail.com> wrote:

Loaded a new install of piHPSDR and it cannot find the HL2. I’ve tried a crossover cable to the HL2 and I don’t get a Link or Act illumination. With a straight cable I do. For the: Use New TCP address, I tried the default as well as 10.10.30.100 thru .120 as well as the HL2 IP address. When I look at the Advanced Network settings it shows the eth0 wired connection Last Used as never connected. Both IPv4 & IPv6 are set to Auto. WiFi is working fine. I’ve run out of ideas. Any thoughts?

de KK4HP 

--
You received this message because you are subscribed to the Google Groups "Hermes-Lite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hermes-lite...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hermes-lite/a26e32f5-2204-48e4-9867-b454e84b255cn%40googlegroups.com.

DL1YCF

unread,
Nov 18, 2023, 1:25:34 PM11/18/23
to Chuck-KK4HP, herme...@googlegroups.com
For a first test, I recommend hooking up both the computer and the radio to a router which offers DHCP service,
and proceed from there.

> Am 18.11.2023 um 19:14 schrieb Chuck-KK4HP <nfl...@gmail.com>:
>
> Loaded a new install of piHPSDR and it cannot find the HL2. I’ve tried a crossover cable to the HL2 and I don’t get a Link or Act illumination. With a straight cable I do. For the: Use New TCP address, I tried the default as well as 10.10.30.100 thru .120 as well as the HL2 IP address. When I look at the Advanced Network settings it shows the eth0 wired connection Last Used as never connected. Both IPv4 & IPv6 are set to Auto. WiFi is working fine. I’ve run out of ideas. Any thoughts?
>
> de KK4HP
>

Chuck-KK4HP

unread,
Nov 18, 2023, 9:11:30 PM11/18/23
to Hermes-Lite

Unable to ping it, destination unreachable. I’m using the HL2 IP shown when I use Thetis. No issues using Thetis on a PC. I connected a smart switch between the two and same result. For wired connection in the network connections setup it still says: last used never. It’s something in the hardware setup but I don’t know enough about Linux to know where to look. I did run dmesg and it appears to show a problem. 

Chuck-KK4HP

unread,
Nov 18, 2023, 11:21:28 PM11/18/23
to Hermes-Lite
I have the HL2 & Pi connected to the router via a switch. I can ping the router and the pi itself using ping -I eth0 and the IP addrss. The pi & everything else on the network is 192.168.x.x The HL2 is 169.254.x.x No response from the HL2  pinging from the pi. 
I have been running the HL2 from the PC with a direct ETH cable, no router or switch in the loop. I was hoping to do the same with the pi. Regardless, can’t get a connection to the HL2 from the pi no matter the  cable configuration. 

Mike Lewis

unread,
Nov 19, 2023, 12:49:59 AM11/19/23
to Chuck-KK4HP, Hermes-Lite

The HL2 is not getting a DHCP address from the router so it gets on the same 192.168.2.X subnet.  So the question is then why is it not getting an address. Could be a number of reasons.  Be sure to check out the network troubleshooting page in the HL2 Github WIKI site.

Chuck-KK4HP

unread,
Nov 19, 2023, 12:50:46 AM11/19/23
to Hermes-Lite

I managed to get it communicating over the network. I have valid signals on the display. But no audio out from neither the HDMI or the audio jack on the pi. I can play a saved audio file using the VLC player and it plays thru the HDMI display speakers. So on to that problem. 

Chuck-KK4HP

unread,
Nov 19, 2023, 9:36:08 AM11/19/23
to Hermes-Lite
The reason it wouldn't connect is two fold. 

The first problem, getting it to connect with a direct cable between the pi and the HL2 has not been solved. It is a DHCP problem as pointed out. I still have to figure out if this can be solved. Perhaps going to a static IP in the or some other change in the pi Configuration menu or changing something with Network Manager, not sure. I'm still green when it comes to Linux.

The reason it didn't work when I connected the pi & HL2 to the home router & network was because I had the "Use new TCP address:" set to the HL2 default IP 169.254.xxx When I set it to 10.10.30.100 the pi found the HL2 & connected without an issue.

In addition to solving the direct cable connection, the challenge is now to get the audio working and since I have it running on a 10.1" touch screen, I need to figure out how to increase the screen size which from what I briefly gather involves changing some values in a program file. It will take a crash course to get me up to speed on that. 

Chuck-KK4HP

unread,
Nov 19, 2023, 9:42:26 AM11/19/23
to Hermes-Lite
Got the audio working. That was just Local Audio checkbox in the RX menu, thanks Chris!

Jim Ancona

unread,
Nov 19, 2023, 12:59:59 PM11/19/23
to Hermes-Lite
I run Linux Mint and I have to configure the Ethernet port to do Link-Local Addressing in order to run with a direct connection. I use the Advanced Network Configuration utility (program name nm-connection-editor). In there I select my Ethernet port (Wired connection 1). On the IPv4 Settings tab, I change Method from Automatic (DHCP) to Link-Local Only, then save. After that, the computer will connect to the HL2 without a router involved. You have to remember to switch it back if you want to connect the computer to a normal network. 

All of this is in contrast to Windows or MacOS, which will automatically use a link-local address after failing to get an address with DHCP. I haven't found a way to get Linux to do the same thing. If someone knows how, I'd love to hear about it.

Jim
N1ADJ

Steve Haynal

unread,
Nov 19, 2023, 3:44:18 PM11/19/23
to Hermes-Lite
Hi Chuck,

The custom image for factory testing of the HL2 with Raspberry Pi has a dhcp server setup if you need a reference:

It may be easier to connect your HL2 to a network with DHCP and then set a fixed IP with Quisk, SparkSDR or hermeslite.py. I still recommend setting the favor dhcp option so that dhcp is used when available.
https://github.com/softerhardware/Hermes-Lite2/wiki/Troubleshoot-Network

73,

Steve
kf7o

Ron Lewkowicz

unread,
Nov 19, 2023, 4:10:51 PM11/19/23
to Hermes-Lite
For the screen size issue DL1YCF git master version of PIHPSDR now has a screen configure option in the menu.  You can run it windowed and adjust the window size or choose full screen and it will auto adjust it's full screen resolution to match your display.  Clone his git repository then compile and install from the source code. This is the recommended way to install. Once setup you can pull in new patches and compile the very latest version easily. There are very detailed instructions in the manuals he has written.

For Linux Mint networking I've never considered setting up a fallback to link-local, just never crossed my mind.  I just configure different network connection profiles for various needs.  They show up in the Network Manager panel applet and I just select as needed to chose the network I need to get on to.  If one of these profiles is link-local then it may go ahead and try that if DHCP fails.  I'll have to experiment with this sometime.

"Christoph v. Wüllen"

unread,
Nov 20, 2023, 3:25:17 AM11/20/23
to Chuck-KK4HP, herme...@googlegroups.com
I use it almost exclusively with a direct cable. To this end, it is best to
"burn" a static IP into the HL2 (and possibly into the computer running
piHPSDR). Note after burning a static IP into the HL2 you have to
*power* cycle to make this effective.

The "Radio IP address" is not used normally with the HL2 if it is on the
same network. It is only used for "routed UDP access". But if you know the
HL2 ip address, you can type it into this field.

You should normally *not* use the 169.254.xx.yy addresses. If your computer
has more than one ethernet adapter (say, connector and WLAN) than it cannot
be determined from the address which adapter to use.

I really do not understand what audio has to do with screen size, but
you can use the "Screen" menu to change the size of the piHPSDR window
(within the limits of your monitor). It comes up with 800*480, but
for a 10-inch monitor you can probably go to 1024*768 (there also is
a "full screen" option).

By default audio is *only* sent to the radio, and since HL2 has no audio
codec, you *must* choose a local audio in the RX menu.
> To view this discussion on the web visit https://groups.google.com/d/msgid/hermes-lite/7989584b-7abf-45aa-964f-7bfef0740ae9n%40googlegroups.com.

Chuck-KK4HP

unread,
Nov 20, 2023, 11:59:39 AM11/20/23
to Hermes-Lite
Ron, I'm not familiar with this process. I found the URL in DL1YCF's GIT and I understand that i would use GIT CLONE and that URL. Would I do this from terminal on the RPi? It seems that the docs are part of that package. I have a GITHUB account that I use just to bookmark various projects, would I clone to my account?

Initially I have installed the Unbuntu 20.10 no GPIO version

I don't want to get too deep into the network issue, I wanted to use one of my HL2's for mobile use which ultimately may just involve my notebook computer. I have a 10.1" touch screen with a Rpi that mounts on the back for experimentation and It could possibly be integrated into a single enclosure or carry case with the HL2. 

--Chuck

"Christoph v. Wüllen"

unread,
Nov 20, 2023, 12:18:57 PM11/20/23
to Chuck-KK4HP, herme...@googlegroups.com
If you look into that repo

github.com/dl1ycf/pihpsdr.git

you will find and extensive (200 page) manual there in the "release" directory
and in the appendices it is described step-by-step how to download, compile
and install.

Since everything is done by a "magic" script I wrote,

it amounts do do (on a fresh system to be sure not to spoil things)
the following commands in a terminal window

cd $HOME
git clone https://github.com/dl1ycf/pihpsdr.git
cd pihpsdr
LINUX/install.sh
make

That's not overly complicated and you get a fairly up-to-date version.
If you have no GPIO, just edit the Makefile to replace "GPIO=ON" to "GPIO=OFF"
or better, compile the Makefile to GNUmakefile and edit that file.

My most recent version facilitates compilation since it no longer requires
to fetch+install WDSP separately.
> To view this discussion on the web visit https://groups.google.com/d/msgid/hermes-lite/c268026c-7bff-4564-9e1b-b71ec0ae2f40n%40googlegroups.com.

Lou Scalpati

unread,
Nov 20, 2023, 2:57:27 PM11/20/23
to herme...@googlegroups.com
I burn the ip into the hl2 but I also set "use dhcp first"  so that when my enterprise switches fail to let it connect with dhcp, the stored ip is loaded


Chuck-KK4HP

unread,
Nov 20, 2023, 3:20:31 PM11/20/23
to Hermes-Lite
Found the manual :-) thank you for the painstaking effort, its just what I needed. I'll work on this evening hopefully.

Chuck-KK4HP

unread,
Nov 21, 2023, 8:24:15 PM11/21/23
to Hermes-Lite
IMG_9188.jpegIt lives! Thanks again Christoph, the script made it easy as pie tho there was minor correction, it was LINUX/libinstall.sh. As Jim N1ADJ suggested changing the network setting to link-local made a quick & dirty direct connection. I have it running on a $35 Inovato Quadra with a 10.1” touch screen, full screen. Still more to do to do. Have to get mic audio to it, and get audio out from other than the HDMI, the little display has external speakers which suffice for testing purposes and proof of concept. 
Reply all
Reply to author
Forward
0 new messages