Tom-McDermott / gr-hpsdr

gnuradio interface module for HPSDR Hermes / Metis, and Red Pitaya (using OpenHPSDR protocol 1)
Other
16 stars 19 forks source link

Wrong MAC address #26

Open lcomd opened 1 year ago

lcomd commented 1 year ago

Hello Tom-McDermott,

My system components:

Ubuntu (Mate) 22.04.3 LTS Gnuradio 3.10.1.1 (Python 3.10.12) OOT gr-hpsdr 3.0-2build2 Radio Anan-100[D] - Software version: 5.4 (angelia)

The hermesNB module acknowledge the NIC's IP, but it shows a MAC address that is not the real one. The real one is showed by ifconfig command and HPSDRProgrammer_V2. By the way, there's only one NIC in my desktop.

1) When MAC Address is left in automatic ("*") in the properties of the module, the radio is not aknowledged:

Looking for Metis/Hermes card on interface enp2s0f0 Interface[0]:lo Interface[1]:enp2s0f0
enp2s0f0 IP Address: 169.254.15.238 enp2s0f0 MAC Address: 00:00:a9:fe:0f:ee <== unknown unexepected discovery response when not in discovery mode metis_start_receiver_stream unknown target. MAC: IP:

The flowchart interrupts itself, showing this message:

Done (return code 1)

2) The radio's IP is only recognized if the radio's MAC address were designed in module properties:

Looking for Metis/Hermes card on interface enp2s0f0 Interface[0]:lo Interface[1]:enp2s0f0
enp2s0f0 IP Address: 169.254.15.238 enp2s0f0 MAC Address: 00:00:a9:fe:0f:ee <== unknown Metis MAC address 00:1E:C0:A5:C3:00 <== radio MAC address Metis IP address 169.254.195.0

But the flowchart freezes and no output. When it is killed it shows this message:

Done (return code -15)

What would be the problem?

Thanks in advance for your attention.

Best regards.

lcomd

Tom-McDermott commented 1 year ago

I am travelling right now. The 169.254.15.238 address indicates that the host does not have a valid address advertised by a DHCP server. Thus the host will not have any valid routes and probably won't be able to find the target. This is called an APIPA address, I recommend you search on Google where it should explain what is happening.

You will need to put the host and the target into the same subnet, and one that provides a DHCP server.

-- Tom, N5EG

On Thu, Oct 19, 2023, 10:22 AM lcomd @.***> wrote:

Hello Tom-McDermott,

My system components:

Ubuntu (Mate) 22.04.3 LTS Gnuradio 3.10.1.1 (Python 3.10.12) OOT gr-hpsdr 3.0-2build2 Radio Anan-100[D] - Software version: 5.4 (angelia)

The hermesNB module acknowledge the NIC's IP, but it shows a MAC address that is not the real one. The real one is showed by ifconfig command and HPSDRProgrammer_V2. By the way, there's only one NIC in my desktop.

  1. When MAC Address is left in automatic ("*") in the properties of the module, the radio is not aknowledged:

Looking for Metis/Hermes card on interface enp2s0f0 Interface[0]:lo Interface[1]:enp2s0f0 enp2s0f0 IP Address: 169.254.15.238 enp2s0f0 MAC Address: 00:00:a9:fe:0f:ee <== unknown unexepected discovery response when not in discovery mode metis_start_receiver_stream unknown target. MAC: IP:

The flowchart interrupts itself, showing this message:

Done (return code 1)

  1. The radio's IP is only recognized if the radio's MAC address were designed in module properties:

Looking for Metis/Hermes card on interface enp2s0f0 Interface[0]:lo Interface[1]:enp2s0f0 enp2s0f0 IP Address: 169.254.15.238 enp2s0f0 MAC Address: 00:00:a9:fe:0f:ee <== unknown Metis MAC address 00:1E:C0:A5:C3:00 <== radio MAC address Metis IP address 169.254.195.0

But the flowchart freezes and no output. When it is killed it shows this message:

Done (return code -15)

What would be the problem?

Thanks in advance for your attention.

Best regards.

lcomd

— Reply to this email directly, view it on GitHub https://github.com/Tom-McDermott/gr-hpsdr/issues/26, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZR5HAB2V5XUKU7A52MZTLYAFOVFAVCNFSM6AAAAAA6HR5E7KVHI2DSMVQWIX3LMV43ASLTON2WKOZRHE2TENZTHE2TQOI . You are receiving this because you are subscribed to this thread.Message ID: @.***>