Post

Replies

Boosts

Views

Activity

Reply to How to disable/disconnect ethernet adapter USB type using Network Framework API for Mac
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.
May ’24
Reply to How to disable/disconnect ethernet adapter USB type using Network Framework API for Mac
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
May ’24