今天看来,我的Thunderbolt以太网连接器已停止连接到路由器。在过去的几天里,我已经多次看到以太网连接“崩溃”。我的机器只会从网络上掉下来,而没有重新启动就无法恢复。我以为某个地方可能存在某些奇怪的错误,可能是由某些网络活动触发的,但是由于我可以通过重新启动来解决它,因此它并没有引起我的关注。
现在,当打开System Preferences
下面Network
的Status: Not Connected
窗口时,我只会看到Thunderbolt以太网适配器的消息。我正在使用MacBook Pro Retina(2013年初)和AirPort Time Capsule(在最新的802.11ac塔式版本中)。我尝试了可以在网上找到的各种解决方案,但这些解决方案均无效。
我确定Thunderbolt以太网适配器和网络电缆都可以正常工作-使用MacBook Air时,一切连接都很好。我也碰巧有第二个Thunderbolt以太网适配器,它显示完全相同的问题。
我或多或少相信MBP上的Thunderbolt端口也可以正常工作-签入时
System Report > Thunderbolt
至少可以看到Thunderbolt Bus
和Thunderbolt to Gigabit Ethernet Adapter
,并列为Device Connected
。虽然我不能百分百确定,但是似乎可以识别出我在安装该适配器。我使用两个Thunderbolt端口中的哪个端口都没有关系,它们都不起作用。
有什么好的方法可以尝试对Thunderbolt连接进行故障排除吗?我应该尝试重设任何特定设置吗?
我发现了一个建议,可以通过[A]删除此文件来重置网络设置:/Library/Preferences/SystemConfiguration/NetworkInterfaces.plist
,但是不幸的是,这没有用,而且似乎没有任何作用。[B]
我还添加了一个新位置,并从“系统设置”中的“网络偏好设置”窗格中删除了旧位置,但没有任何更改。
由于某些原因,在系统偏好设置中找不到或无法识别TB以太网适配器,因此未建立连接。任何想法如何解决?
我现在也在检查控制台输出中是否存在与网络相关的消息,但发现了一些消息,但不知道它们的含义或它们是否与远程相关:
28/02/2016 11:17:21.128 AM networkd[223]: -[NETPowerManager setupPowerPolicyTable] created power policy table from defaults with 5 timeslots
28/02/2016 11:17:21.131 AM networkd[223]: -[NETInterfaceManager updateInterfaces] nwi_state_copy() returned NULL
28/02/2016 11:17:21.134 AM networkd[223]: nw_nat64_post_new_ifstate successfully changed NAT64 ifstate from 0x0 to 0x8000000000000000
28/02/2016 11:17:21.140 AM networkd[223]: __settings_changed_block_invoke networkd_privileged_copy_settings_async with NULL settings
28/02/2016 11:17:21.141 AM networkd[223]: __settings_changed_block_invoke networkd_privileged_copy_settings_async with NULL settings
28/02/2016 11:17:21.941 AM com.apple.kextd[55]: Failed to load /System/Library/Extensions/IONetworkingFamily.kext/Contents/PlugIns/AppleBCM5701Ethernet.kext - (libkern/common) general/unspecified error.
28/02/2016 11:17:22.088 AM networkd[223]: -[NETInterfaceManager updateInterfaces] nwi_state_copy() returned NULL
28/02/2016 11:17:22.731 AM networkd[223]: -[NETInterfaceManager updateInterfaces] nwi_state_copy() returned NULL
28/02/2016 11:17:24.684 AM networkd[223]: -[NETInterfaceManager updateInterfaces] nwi_state_copy() returned NULL
28/02/2016 11:17:25.680 AM UserEventAgent[287]: user agent networkd: built Nov 16 2015 23:08:50
28/02/2016 11:17:26.286 AM symptomsd[263]: __73-[NetworkAnalyticsEngine observeValueForKeyPath:ofObject:change:context:]_block_invoke unexpected switch value 2
28/02/2016 11:17:26.286 AM symptomsd[263]: __73-[NetworkAnalyticsEngine observeValueForKeyPath:ofObject:change:context:]_block_invoke unexpected switch value 2
28/02/2016 3:08:58.796 PM com.apple.preference.network.remoteservice[548]: CGContextGetDefaultUserSpaceToDeviceSpaceTransform: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
28/02/2016 3:08:58.796 PM com.apple.preference.network.remoteservice[548]: CGContextSaveGState: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
28/02/2016 3:08:58.796 PM com.apple.preference.network.remoteservice[548]: CGContextConcatCTM: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
28/02/2016 3:08:58.796 PM com.apple.preference.network.remoteservice[548]: CGContextSaveGState: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
28/02/2016 3:08:58.796 PM com.apple.preference.network.remoteservice[548]: CGContextDrawImages: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
28/02/2016 3:08:58.796 PM com.apple.preference.network.remoteservice[548]: CGContextRestoreGState: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
28/02/2016 3:08:58.796 PM com.apple.preference.network.remoteservice[548]: CGContextRestoreGState: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
28/02/2016 3:08:58.796 PM com.apple.preference.network.remoteservice[548]: CGContextGetCTM: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
28/02/2016 3:09:00.556 PM com.apple.preference.network.remoteservice[548]: Error in CoreDragRemoveTrackingHandler: -1856
28/02/2016 3:09:00.556 PM com.apple.preference.network.remoteservice[548]: Error in CoreDragRemoveReceiveHandler: -1856
28/02/2016 3:09:10.212 PM com.apple.preference.network.remoteservice[548]: Error in CoreDragRemoveTrackingHandler: -1856
28/02/2016 3:09:10.212 PM com.apple.preference.network.remoteservice[548]: Error in CoreDragRemoveReceiveHandler: -1856
[更新1]
在检查控制台并拔下TB以太网适配器时,我注意到以下输出:
28/02/2016 6:36:53.956 PM symptomsd[259]: nw_interface_get_agents SIOCGIFAGENTIDS failed for interface "en3" (index 7, type other): [6] Device not configured
28/02/2016 6:36:53.962 PM symptomsd[259]: nw_interface_get_agents SIOCGIFAGENTIDS failed for interface "en3" (index 7, type other): [6] Device not configured
[更新2]
再重启几次并删除(重置)某些系统首选项文件后。插入适配器后,我现在收到以下控制台输出:
29/02/2016 12:36:27.000 PM kernel[0]: AppleThunderboltNHIType2::prePCIWake - power up complete - took 1 us
29/02/2016 12:36:27.000 PM kernel[0]: AppleThunderboltGenericHAL::earlyWake - complete - took 0 milliseconds
29/02/2016 12:36:27.000 PM kernel[0]: IOThunderboltSwitch<0>(0x0)::listenerCallback - Thunderbolt HPD packet for route = 0x0 port = 11 unplug = 0
29/02/2016 12:36:27.000 PM kernel[0]: IOThunderboltSwitch<0>(0x0)::listenerCallback - Thunderbolt HPD packet for route = 0x0 port = 3 unplug = 0
29/02/2016 12:36:27.000 PM kernel[0]: IOThunderboltSwitch<0>(0x0)::listenerCallback - Thunderbolt HPD packet for route = 0x0 port = 12 unplug = 0
29/02/2016 12:36:29.000 PM kernel[0]: [ PCI configuration begin ]
29/02/2016 12:36:29.000 PM kernel[0]: [ PCI configuration end, bridges 14, devices 17 ]