This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
playground:playground [2024-02-29 20:14:26] 85.195.225.162 |
playground:playground [2025-06-12 12:36:09] (current) mi [Winlogon] |
||
|---|---|---|---|
| Line 141: | Line 141: | ||
| ==grub EFI | ==grub EFI | ||
| https://www.techzim.co.zw/2021/01/how-to-restore-ubuntus-efi-partition-in-ubuntu-20-04/ | https://www.techzim.co.zw/2021/01/how-to-restore-ubuntus-efi-partition-in-ubuntu-20-04/ | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| ==Mac Time Machine | ==Mac Time Machine | ||
| + | https://superuser.com/questions/1445618/disable-time-machine-on-a-mac-tmutil-disable-doesnt-wor\\ | ||
| https://superuser.com/a/1462352 | https://superuser.com/a/1462352 | ||
| defaults write com.apple.TimeMachine DoNotOfferNewDisksForBackup -bool true | defaults write com.apple.TimeMachine DoNotOfferNewDisksForBackup -bool true | ||
| + | |||
| + | defaults read com.apple.TimeMachine DoNotOfferNewDisksForBackup | ||
| + | defaults write com.apple.TimeMachine DoNotOfferNewDisksForBackup -bool true | ||
| + | defaults read com.apple.TimeMachine DoNotOfferNewDisksForBackup | ||
| + | |||
| + | And? https://soundmacguy.wordpress.com/2021/03/03/really-disabling-time-machine-a-multi-pronged-approach/ | ||
| + | |||
| + | sudo defaults write /Library/Preferences/com.apple.TimeMachine.plist DoNotOfferNewDisksForBackup -bool true | ||
| + | gives | ||
| + | defaults read /Library/Preferences/com.apple.TimeMachine.plist | ||
| + | { | ||
| + | AutoBackup = 0; | ||
| + | DoNotOfferNewDisksForBackup = 1; | ||
| + | PreferencesVersion = 5; | ||
| + | } | ||
| + | |||
| + | |||
| + | And/or maybe | ||
| + | |||
| + | touch /Volumes/MY_DISK/.com.apple.timemachine.donotpresent | ||
| sudo tmutil disable | sudo tmutil disable | ||
| - | or maybe | + | ==Mac IP etc. |
| + | https://superuser.com/questions/724525/concise-ip-information-in-os-x-terminal | ||
| + | https://stackoverflow.com/questions/60743407/how-do-i-find-out-the-gateway-ip-in-shell | ||
| + | https://apple.stackexchange.com/questions/423127/how-can-i-get-the-local-ip-address-in-macos-to-use-in-a-script | ||
| + | https://apple.stackexchange.com/questions/20547/how-do-i-find-my-ip-address-from-the-command-line | ||
| - | touch /Volumes/MY_DISK/.com.apple.timemachine.donotpresent | + | ifconfig -l | xargs -n1 ipconfig getifaddr |
| + | |||
| + | route -n get default | ||
| + | |||
| + | ipconfig getifaddr $(route -n get default | awk '$1=="interface:" { print $2 }') | ||
| + | |||
| + | route -n get default | grep -E 'gateway|interface' | ||
| + | |||