Thunderbolt Prompt - A new Interface has been detected

globaldominatio
New Contributor II

Hi,
Just wondering how did you guys manage to fix it. I am upgrading from 10.8.5 to 10.9.4 and after upgrade, I get prompt inside Network Preferences. As soon as I click on it, it says - external image link
This happens when I upgrade from older versions. When I deploy new image it works fine. Seems I am leaving something from the old configuration that is causing this to happen, but I can't manage to find what is the root of this problem.
And yes, I don't want interface to be enabled, so I am using:

security authorizationdb write system.preferences allow
security authorizationdb write system.preferences.network allow
security authorizationdb write system.services.systemconfiguration.network allow

and then

networksetup -setnetworkserviceenabled "Thunderbolt Bridge" "off"

Still nothing works...
Has someone encountered this before?

1 ACCEPTED SOLUTION

bentoms
Release Candidate Programs Tester

There was a post in this before. https://jamfnation.jamfsoftware.com/discussion.html?id=11259

Give the networksetup command I posted a go.

View solution in original post

3 REPLIES 3

bentoms
Release Candidate Programs Tester

There was a post in this before. https://jamfnation.jamfsoftware.com/discussion.html?id=11259

Give the networksetup command I posted a go.

globaldominatio
New Contributor II

so just for the ease of someone who is searching solution of this, the following one worked for me -

networksetup -detectnewhardware

joshuasee
Contributor III

I ran into a related problem with network services getting the wrong names if the image was created on a computer with a different number of hardware ports/devices than the one it was applied to. I added the following to a first time setup script to detect and refresh the list of devices. Note that it will wipe out proxy and DNS settings, and would need additional logic if it was to be run repeatedly.

#!/bin/bash
echo "Refreshing network services."
/usr/sbin/networksetup -detectnewhardware
/usr/sbin/networksetup -createlocation Default populate
/usr/sbin/networksetup -switchtolocation Default
/usr/sbin/networksetup -deletelocation Automatic

echo -n "Waiting for network to reconnect...5"; 
/bin/sleep 1; 
/bin/echo -n "...4";
/bin/sleep 1; 
/bin/echo -n "...3";
/bin/sleep 1; 
/bin/echo -n "...2";
/bin/sleep 1; 
/bin/echo "...1";
/bin/sleep 1;
/bin/echo "
Available network services in order of priority:";
/usr/sbin/networksetup -listnetworkserviceorder