Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

cybersheep

macrumors newbie
Original poster
Jun 30, 2008
16
7
Catalina 10.15.2 has an annoying bug. When my mac wakes up from standby the IPv6 addresses aren't assigned (using slaac) anymore. I have to restart the network interface to get new IPv6 addresses. If anyone else is also facing this bug, here's how to restart the network interface via command line:

Code:
sudo ifconfig en0 down && sudo ifconfig en0 up
 

bogdanw

macrumors 603
Mar 10, 2009
6,117
3,028
Have you tried with networksetup? It doesn't require sudo:
Code:
networksetup -setnetworkserviceenabled Ethernet off
networksetup -setnetworkserviceenabled Ethernet on
 

cybersheep

macrumors newbie
Original poster
Jun 30, 2008
16
7
This works also. Thanks for that. But the bug itself exists anyway.
 

bogdanw

macrumors 603
Mar 10, 2009
6,117
3,028
To makes things easier, you can save a run-only app with this AppleScript
Code:
do shell script "networksetup -setnetworkserviceenabled Ethernet off"
delay 2
do shell script "networksetup -setnetworkserviceenabled Ethernet on"
You can also try to turn off and on only IPv6
Code:
do shell script "networksetup -setv6off Ethernet"
delay 2
do shell script "networksetup -setv6automatic Ethernet"
 

tommiy

macrumors 6502
Dec 11, 2015
412
127
Thanks for this. Another reason for not moving to 10.15.2. I don't seem to have the same issue on 10.15.1. Seems like everything I do Apple is managing to break in minor releases.
 

cybersheep

macrumors newbie
Original poster
Jun 30, 2008
16
7
Short update on this. I recently filed a bug on Apple feedback assistent. A few days I was told to test if this bug has been resolved in the latest Big Sur beta. Not only that I don't want to use a beta on my productive system, since it's a 2012 MacMini I don't have any chance to verify this solution. Although i filed this bug as a Catalina related bug, Apple doesn't seem to have any interest in fixing their current 'stable' os :confused:
 
  • Like
Reactions: colourfastt
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.