Page 1 of 1

DHCP and hostname trouble with Red Pitaya OS 0.96-84

Posted: Thu Sep 01, 2016 2:01 pm
by aschuetz
Dear all,

I'm using a copy of Red Pitaya OS 0.96-84 on my RP. I got some trouble with DHCP and the hostname. I don't know if this belongs together. The RP should get an IP via DHCP which is reserved for its MAC address. But it seems like that the DHCP is not working well. I checked

Code: Select all

/etc/systemd/network/wired.network
and DHCP was active.

Furthermore, I can't change the hostname. I tried to edit

Code: Select all

 /etc/hosts
and hostname manually. Also I tried to use hostnamectl

Code: Select all

set-hostname new-hostname
. After a reboot the hostname was reset to something like "rp-f010d0" which seems to be the first characters of its MAC address.

Maybe someone knows what's going on :roll:

Thanks,
Alex

Re: DHCP and hostname trouble with Red Pitaya OS 0.96-84

Posted: Thu Sep 01, 2016 10:36 pm
by Nils Roos
Hi Alex,

I tried your configuration (ecosystem-0.96-84) and had no problem with DHCP.

The hostname thing is probably related to the new way of ip discovery via bonjour service. I don't know any details about how it works or how to disable it, though.

Re: DHCP and hostname trouble with Red Pitaya OS 0.96-84

Posted: Fri Sep 02, 2016 8:26 am
by aschuetz
Hi Nils,

thank you for testing! I'm not sure if the problem is related to the infrastructure of our network at my company or to settings of the RedPitaya itself. We have other RedPitayas running with OS 0.95.x without any trouble. I'll try to contact the developers as well.


Regards,
Alex

Re: DHCP and hostname trouble with Red Pitaya OS 0.96-84

Posted: Tue Sep 06, 2016 10:42 am
by aschuetz
Hi all,

the problem is the Bonjour services which suppress the usually way to get an IP via DHCP. The IT department tried to make a reservation for a specific MAC address but in the end Bonjour has chosen its own address. We are now using a Bonjour ID to get the IP address. To be honest, I prefer the traditional way which was used before!

Alex

Re: DHCP and hostname trouble with Red Pitaya OS 0.96-84

Posted: Thu Aug 10, 2017 2:09 am
by xyefa
I am also seeking a solution to this.

<