This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo ifconfig lo0 alias 127.50.0.111 down | |
sudo ifconfig lo0 alias 127.0.0.222 down | |
sudo ifconfig lo0 alias 127.30.0.10 down | |
sudo ifconfig lo0 alias 127.100.0.100 down | |
sudo ifconfig lo0 alias 127.100.0.2 down | |
sudo ifconfig lo0 alias 127.100.0.1 down | |
sudo ifconfig lo0 alias 127.0.0.1 down | |
sudo ifconfig lo0 alias 127.0.0.123 down | |
sudo ifconfig lo0 alias 127.9.1.42 down | |
sudo ifconfig lo0 alias 127.0.0.111 down |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Black Magic Probe | |
# there are two connections, one for GDB and one for UART debugging | |
# copy this to /etc/udev/rules.d/99-blackmagic.rules | |
# and run sudo udevadm control -R | |
ACTION!="add|change", GOTO="blackmagic_rules_end" | |
SUBSYSTEM=="tty", ACTION=="add", ATTRS{interface}=="Black Magic GDB Server", SYMLINK+="ttyBmpGdb" | |
SUBSYSTEM=="tty", ACTION=="add", ATTRS{interface}=="Black Magic UART Port", SYMLINK+="ttyBmpTarg" | |
SUBSYSTEM=="tty", ACTION=="add", ATTRS{interface}=="Black Magic GDB Server", SYMLINK+="ttyBmpGdb%E{ID_SERIAL_SHORT}" | |
SUBSYSTEM=="tty", ACTION=="add", ATTRS{interface}=="Black Magic UART Port", SYMLINK+="ttyBmpTarg%E{ID_SERIAL_SHORT}" | |
SUBSYSTEM=="usb", ATTR{idVendor}=="1d50", ATTR{idProduct}=="6017", MODE="0666", GROUP="plugdev", TAG+="uaccess" |