2.6.0-RELEASE - DHCP OMAPI still not working?
-
Hello,
Does anyone made it working?
I don't even see OMAPI settings added into /var/dhcpd/etc/dhcpd.conf :(Any help appreciated
Thank you! -
I've switched to pfSense Plus 22.01-RELEASE (amd64) and OMAP is still not working.
Can someone help me please? It really prevents using pfSense DHCP with TheForeman and Satellite for hosts provisioning and it's very pity. -
Anyone? Please help to solve this very old issue.
Thank you! -
Hi, i would like this functionality as well
We are using
Netgate 7100
22.05-RELEASE (amd64)
built on Wed Jun 22 18:56:13 UTC 2022
FreeBSD 12.3-STABLE -
I had to look up what OMAPI actually is - and I know for sure that I'm not suing it.
But I have thison the DHCP server page.
Btw : using 22.05.
-
@gertjan i know that but it's not saved in the actual configuration so the port is never listening for connections
basically those settings don't do anything beside showing up in the UI -
@aduzsardi said in 2.6.0-RELEASE - DHCP OMAPI still not working?:
i know that but it's not saved in the actual configuration
I've
and in my config.xml, under the dhcpd, I have :
<omapi_port>7911</omapi_port> <omapi_key>V77qGDoqnhOqRC5jCqgfzNf7yRm7SKPcE4vSU9Lq/C4=</omapi_key> <omapi_key_algorithm>hmac-sha256</omapi_key_algorithm>
and I see in the dhcpd.conf file ( here /var/dhcpd/etc/ )
key omapi_key { algorithm hmac-sha256; secret "axxwk2Pt5yfwKKXuFs3vTwBx/g3Kq89QsZpaRa07Hzg="; }; omapi-port 7911; omapi-key omapi_key;
And even better: when I ask who listens on (any interface) on port 7911 my pfSense tells me:
[22.05-RELEASE][root@pfSense.hi-there.net]/root: sockstat -4l | grep '7911' dhcpd dhcpd 51829 14 tcp4 *:7911 *:*
So, what is the issue ?
You don't know how to talk to this TCP port 7911 ? Bad news, me neither ^^But the dhcpd process now listens on port 7911, that can not be a coincidence ....
When I ditch the config in the GUI, it stops listening.I'm not using 2.6.0 - I use 22.05, also called pfSense Plus.
Dono what OMAPI is (well, I did read about it, and I start to understand what it is) and I don't use it.@aduzsardi said in 2.6.0-RELEASE - DHCP OMAPI still not working?:
actual configuration so the port is never listening for connections
basically those settings don't do anything beside showing up in the UIBut it could be so that 2.6.0 doesn't work. Check redmine for know issues.
Worse case scenario : use 22.05 ;) -
@gertjan i have the same settings applied in the webui and these are present in config.xml but are not saved in dhcpd.conf
Anybody from Netgate can help me out why is that ?
Do i need to apply a patch or something ?
Thank you! -
ok , this is weird
it only gets written to dhcpd.conf if i add the settings in the webconfigurator on the first LAN interface/network that has dhcp enabled -
These omapi settings are more like global, DHCP server wide settings.
The DHCP server has not a global settings page - not yet, I guess.
Anyway, things start to work now ?