DHCP and hostname trouble with Red Pitaya OS 0.96-84

Applications, development tools, FPGA, C, WEB
Post Reply
aschuetz
Posts: 34
Joined: Tue Nov 24, 2015 11:26 am

DHCP and hostname trouble with Red Pitaya OS 0.96-84

Post by aschuetz » Thu Sep 01, 2016 2:01 pm

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

Nils Roos
Posts: 1441
Joined: Sat Jun 07, 2014 12:49 pm
Location: Königswinter

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

Post by Nils Roos » Thu Sep 01, 2016 10:36 pm

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.

aschuetz
Posts: 34
Joined: Tue Nov 24, 2015 11:26 am

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

Post by aschuetz » Fri Sep 02, 2016 8:26 am

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

aschuetz
Posts: 34
Joined: Tue Nov 24, 2015 11:26 am

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

Post by aschuetz » Tue Sep 06, 2016 10:42 am

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

xyefa
Posts: 54
Joined: Tue Feb 02, 2016 8:42 pm

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

Post by xyefa » Thu Aug 10, 2017 2:09 am

I am also seeking a solution to this.

<

Post Reply
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie

Who is online

Users browsing this forum: No registered users and 23 guests