dhcp as non root: Failed adding ARP entry in DISCOVER
Hello All, while trying to setup dhcp on a local network I get: (38) } # dhcp DHCP-Discover = ok (38) DHCP: Reply will be unicast to your-ip-address (38) Failed adding ARP entry: Failed to add entry in ARP cache: Operation not permitted (1) NO ENCODE! The server (3.2.0) is running on debian testing as user "freeradius", and I did and verified the "setcap cap_net_admin=ei /usr/sbin/freeradius". Which setup is needed in the dhcp server config section? At the moment it is: ipaddr = 0.0.0.0 src_ipaddr = <ip of interface> port = 67 interface = <interface name> broadcast = yes Thanks and greetings Hermann
Hi It matters which user launches the freeradius executable. I wrote how to solve it here: https://lists.freeradius.org/pipermail/freeradius-users/2022-September/10235... Ben On Wed, 30 Nov 2022 at 10:13, <Hermann.Lauer@uni-heidelberg.de> wrote:
Hello All,
while trying to setup dhcp on a local network I get:
(38) } # dhcp DHCP-Discover = ok
(38) DHCP: Reply will be unicast to your-ip-address
(38) Failed adding ARP entry: Failed to add entry in ARP cache: Operation not permitted (1) NO ENCODE!
The server (3.2.0) is running on debian testing as user "freeradius", and I did and verified the "setcap cap_net_admin=ei /usr/sbin/freeradius".
Which setup is needed in the dhcp server config section? At the moment it is: ipaddr = 0.0.0.0 src_ipaddr = <ip of interface> port = 67 interface = <interface name> broadcast = yes
Thanks and greetings Hermann - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
On Nov 30, 2022, at 5:24 AM, Benjamin Thompson <b.thompson@hydra-billing.com> wrote:
Hi It matters which user launches the freeradius executable. I wrote how to solve it here: https://lists.freeradius.org/pipermail/freeradius-users/2022-September/10235...
Thanks. I've updated the docs to include this information. Alan DeKok.
participants (3)
-
Alan DeKok -
Benjamin Thompson -
Hermann.Lauer@uni-heidelberg.de