Add some info about OS X Time Machine
[ikiwiki.git] / docs / developer / luxh / index.mdwn
1 ###Some stuff I always forget.
2 ####Console
3 echo -h >> /boot.config
4
5 echo console=comconsole >> /boot/loader.conf
6
7 ttyd0   "/usr/libexec/getty std.9600"   dialup  on secure
8
9 ####panics
10 debug.debugger_on_panic=0 or put DDB_UNATTENDED in the config to panic instead of going to debugger.
11
12 ####pkgsrc
13 cd /usr/pkgsrc/bootstrap
14
15 mkdir /tmp/moh && ./bootstrap --prefix /tmp/moh/pkg --varbase /tmp/moh/pkgvar --workdir /tmp/moh/work --unprivileged
16
17
18 DISTDIR=                /distfiles
19
20 WORKOBJDIR=             /usr/pkgobj
21
22 PACKAGES=               /packages
23
24 UPDATE_TARGET=          package
25
26 ####hammer
27 root PFS can't be mirrored.
28
29 ####time machine
30 * net/netatalk
31 * net/avahi
32
33 rc.conf:
34
35         dbus=yes
36         avahidaemon=yes
37         cnid_metad=yes
38         afpd=yes
39
40 netatalk/afpd.conf:
41
42         - -tcp -noddp -uamlist uams_dhx.so,uams_dhx2.so -ipaddr 192.168.2.2
43
44 netatalk/AppleVolumes.default:
45
46         /time_machine/ "Time Machine" options:tm allow:luxh
47
48 avahi/services/afpd.service:
49
50         <?xml version="1.0" standalone='no'?><!--*-nxml-*-->
51         <!DOCTYPE service-group SYSTEM "avahi-service.dtd">
52         <service-group>
53         <name replace-wildcards="yes">%h</name>
54         <service>
55         <type>_afpovertcp._tcp</type>
56         <port>548</port>
57         </service>
58         <service>
59         <type>_device-info._tcp</type>
60         <port>0</port>
61         <txt-record>model=Xserve</txt-record>
62         </service>
63         </service-group>
64
65 You then click the server in Finder, type in your username and password (remember password). You *CAN NOT* log in on the same server with more than one user.