Disable Network interfaces and Bluetooth

tstott
New Contributor II

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 1

tstott
New Contributor II

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.