Our requirement is to disable and enable the ethernet interface using API or commands so that RADIUS request is triggered.
When a client is connected to wired network using USB Ethernet Adaptor, and we disable/enable the USB Ethernet Adaptor using ifconfig command and other commands as mentioned in the ticket then interface status changes but RADIUS request is not triggered.
I have tried with System Configuration methods
Fetched the service and then disable and enabled using SCNetworkServiceSetEnabled API. Here also interface connects back but RADIUS request is not triggered.
If we manually do it for USB Ethernet adaptor from SystemSettings->Network then interface bounces and RADIUS request is also generated.
we are trying to achieve similarly using commands or other methods available in macOS.
Post
Replies
Boosts
Views
Activity
Our requirement is to disable and enable the ethernet interface using API or commands so that RADIUS request is triggered. When a client is connected to wired network using USB Ethernet Adaptor, and we disable/enable the USB Ethernet Adaptor using ifconfig command and other commands as mentioned in the ticket then interface status changes but RADIUS request is not triggered.
I have tried with System Configuration methods Fetched the service and then disable and enabled using SCNetworkServiceSetEnabled API. Here also interface connects back but RADIUS request is not triggered.
If we manually do it for USB Ethernet adaptor from SystemSettings->Network then interface bounces and RADIUS request is also generated.
we are trying to achieve similarly using commands or other methods available in macOS
I want monitor to identify if any new routes introduced by DHCP option 121
please share your thoughts how to deal with it