Difference between revisions of "Mac"
From Alessandro's Wiki
Porcelinux (talk | contribs) |
Porcelinux (talk | contribs) (→DNS) |
||
| Line 33: | Line 33: | ||
'''Tiger''' | '''Tiger''' | ||
lookupd -flushcache | lookupd -flushcache | ||
== Routes == | |||
route add 192.168.100.0/24 192.168.0.1 | |||
Revision as of 12:17, 16 December 2010
Time machine
- enable network volumes:
defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1
Bonjour
- list AFP hosts in network
dns-sd -B _afpovertcp._tcp .
- list SSH available hosts
dns-sd -B _ssh._tcp .
example
- ssh to a bonjour host
mac1:~ user$ dns-sd -B _ssh._tcp . Browsing for _ssh._tcp Timestamp A/R Flags if Domain Service Type Instance Name 10:21:16.447 Add 2 4 local. _ssh._tcp. xsysadmin 10:21:16.452 Add 2 4 local. _ssh._tcp. v2_ video edit 10:21:16.458 Add 2 4 local. _ssh._tcp. x’s Mac Pro
- remove spaces with '-' and add .local at the end
mac1:~ user$ ssh v2-video-edit.local
DNS
- Purge dns cache
Leopard dscacheutil -flushcache
Tiger lookupd -flushcache
Routes
route add 192.168.100.0/24 192.168.0.1