Created
January 4, 2012 22:35
-
-
Save gabrielstuff/1562569 to your computer and use it in GitHub Desktop.
Installing afp + avahi + osx = replace SAMBA
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
apt-get update | |
apt-get upgrade | |
apt-get install libcrack2-dev libssl-dev | |
apt-get install avahi-daemon | |
apt-get install netatalk | |
vim /etc/netatalk/AppleVolumes.default | |
<path_to_share> <sharename> allow:<username> cnidscheme:cdb options:usedots,upriv | |
/etc/init.d/netatalk restart | |
vim /etc/nsswitch.conf | |
#add mdns | |
hosts: files dns mdns4 mdns | |
vim /etc/avahi/services/afpd.service | |
<?xml version="1.0" standalone='no'?> | |
<!DOCTYPE service-group SYSTEM "avahi-service.dtd"> | |
<service-group> | |
<name replace-wildcards="yes">%h</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> | |
/etc/init.d/avahi-daemon restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment