Changes

From Amahi Wiki
Jump to: navigation, search
2,536 bytes removed ,  16:57, 19 December 2009
m
Moved afp to afp page
For full time machine support in fedora, avahi(bonjour) and netatalk(afp) need to be installed
<code>yum install -y netatalk avahi<[[http:/code>/wiki.amahi.org/index.php/AFP]]
then go to /etc/atalk/
at the end of the afpd.conf add
<code>- -noddp -tcp -uamlist uams_randnum.so,uams_dhx.so,uams_clrtxt.so -nosavepassword -advertise_ssh</code>  change netatalk.conf<code># Set which daemons to run (papd is dependent upon atalkd):ATALKD_RUN=noPAPD_RUN=noCNID_METAD_RUN=yesAFPD_RUN=yesTIMELORD_RUN=noA2BOOT_RUN=no</code>   *in Applevolume.default add
<code>~/ "$u" allow:UserName rwlist:UserName,@users cnidscheme:cdb
/var/hda/files/timemachine allow:UserName rwlist:UserName,@users cnidscheme:cdb options:usedots,upriv</code>
*Change UserName to your username and /var/hda/files/timemachine to your timemachine folder, the first line will also publish your homefolder to your mac but was necessary in my setup to work then go to /etc/avahi/services/ add the afpd.service <code><?xml version="1.0" standalone='no'?><!--*-nxml-*--><!DOCTYPE service-group SYSTEM "avahi-service.dtd"><service-group><name replace-wildcards="yes">%h Xserve</name><service><type>_afpovertcp._tcp</type><port>548</port></service><service><type>_device-info._tcp</type><port>0</port><txt-record>model=Xserve</txt-record></service></service-group></code> %h Xserve can be changed to your server name (not the same as your samba server!)model=Xserve can be changed to get a different icon for your server to PowerBook, PowerMac, Macmini, iMac, MacBook, MacBookPro, MacBookAir, MacPro, AppleTV1,1, AirPort Additionally you can make avahi advertise other services on your mac rfb.service for screensharing without chickenvnc<code><?xml version="1.0" standalone='no'?><!--*-nxml-*--><!DOCTYPE service-group SYSTEM "avahi-service.dtd"><service-group><name replace-wildcards="yes">%h</name><service><type>_rfb._tcp</type><port>5900</port></service></service-group></code> samba.service so the bsod icon is replaced with a nice screen icon and is on the same server as vnc/screensharing<code><?xml version="1.0" standalone='no'?><!--*-nxml-*--><!DOCTYPE service-group SYSTEM "avahi-service.dtd"><service-group><name replace-wildcards="yes">%h</name><service><type>_smb._tcp</type><port>139</port></service></service-group></code> there is also a nfs.service but havent been able to get this to work on snow leopard<code><?xml version="1.0" standalone='no'?><!DOCTYPE service-group SYSTEM "avahi-service.dtd"><service-group><name replace-wildcards="yes">NFS Shares on %h</name> ## Display Name<service> <type>_nfs._tcp</type> <port>2049</port> <txt-record>path=/var/hda/files/music</txt-record> ## path to NFS mountpoint</service><service> <type>_nfs._tcp</type> <port>2049</port> <txt-record>path=/var/hda/files/movies</txt-record> ## path to NFS mountpoint</service></service-group></code>
Thanks to this great [http://www.kremalicious.com/2008/06/ubuntu-as-mac-file-server-and-time-machine-volume/#netatalk2 tutorial] for ubuntu !!
==== Smb ====
11

edits