dhcp as non root: Failed adding ARP entry in DISCOVER

Benjamin Thompson b.thompson at hydra-billing.com
Wed Nov 30 10:24:49 UTC 2022


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/102355.html
Ben

On Wed, 30 Nov 2022 at 10:13, <Hermann.Lauer at 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
>


More information about the Freeradius-Users mailing list