Skip to main content
Question

Disable Network interfaces and Bluetooth

  • January 9, 2020
  • 1 reply
  • 0 views

Forum|alt.badge.img+3
  • New Contributor
  • 8 replies

Hi, I have a requirement to Disable external interfaces on a MacBook Pro. In the past we physically removed the card, any ideas how I can achieve this now? unload the drivers?

1 reply

Forum|alt.badge.img+3
  • Author
  • New Contributor
  • 8 replies
  • January 9, 2020

I'm thinking crudely if I have the laptop pin a standard account they would not be able to modify network settings so I could scrip something like,

networksetup -setnetworkserviceenabled "Bluetooth Pan" off
networksetup -setairportpower "Wi-Fi" off
networksetup -setnetworkserviceenabled "USB 10/100/1000 LAN" off
networksetup -setnetworkserviceenabled "Thunderbolt Bridge" off

however I can still plug in an iPhone and use personal hotspot via a cable.

so I guess adding networksetup -setnetworkserviceenabled "iPhone USB" off

would fix that.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings