Tag Info

Hot answers tagged

15

You can use rsync's --iconv option to convert between UTF-8 NFC & NFD, at least if you're on a Mac. There is a special utf-8-mac character set that stands for UTF-8 NFD. So to copy files from your Mac to your NAS, you'd need to run something like: rsync -a --iconv=utf-8-mac,utf-8 localdir/ mynas:remotedir/ This will convert all the local filenames ...


6

Here's an article I've stumbled upon that describes how to configure an Ubuntu box to be recognized as something to use with Time Machine by OSX. I've meant to hack this together on my Gentoo, but never got around to do, so I'm not making guarantees of whether it works or not. ...


4

Just a hunch but it's quick to test. Try doing this on both Macs: sysctl net.inet.tcp.delayed_ack ...note what it reports. It'll be an integer, probably the value 2 or 3...then set it to zero: sudo sysctl -w net.inet.tcp.delayed_ack=0 ...then on the AFP client, unmount all AFP-mounted volumes and re-mount them so that you're establishing new TCP ...


4

Replaced my original answer after doing some testing of my own using a OS X 10.5.6 Server and a 10.5.7 Client: What I found after a bit of experimentation is that OS X is a bit crazy when it comes to ACL inheritance for share points. ACLs that are inherited will always take precedence over ACLs that are set at the share point (or lower in the tree) but only ...


4

From the command line at the console: mount -uw / cd /conf/base/etc/local Edit /conf/base/etc/local/netatalk.conf Uncomment the line that says: **#AFPD_MAX_CLIENTS=20** Change the 20 to the number of users you want Save the file Reboot


3

The AFP stack for Linux, upon which FreeNAS is built, is not nearly as robust as Samba is. Because NetAtalk has a much smaller client base pounding on it than Samba does, the rate of code improvement is slower and the push to optimize the code is not nearly as intense. The problems you note are very likely due to code-maturity differences between Samba and ...


3

The :2e prefix appears to be a side effect of the netatalk service's default setting that disallows dotfiles; to avoid this (i.e. have the file names appear on the server as .DS_Store etc), add options:usedots to each share in /etc/netatalk/AppleVolumes.default (see this previous question and the netatalk documentation). This won't either get rid of the ...


3

If you have SMB working, why not just connect the Mac using that as well? Afaik, there's no advantage to use AFP in this case as OS X supports SMB equally well. AFP does have some minor benefits (such as SSO, Open Directory integration etc) when running in a Mac managed environment, but I don't think you need it here.


3

Escape the question mask with a backslash: $ cp tes\?t /mnt/share/


3

if your server is CentOS, the clients are Mac and performance is a significant concern then I'd tend to avoid AFP and - as you've discovered - WebDAV. The only significant win with AFP is that making Time Machine work is easier, but everything else ends up harder. Your two primary (mainstream) options are CIFS/SMB or NFS. The former has the advantage of ...


2

The transport doesn't matter (I do it over AFP to an airport extreme and SMB to a FreeBSD box (onto a raidz volume). The key is enabling backups to unsupported volumes: defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1 This will make a mounted share available and create a sparse disk image atop it and allow you to back up to ...


2

I've found the solution by trying to tune .config files ! /etc/avahi/services/ contains *.services like afpd.services Copy the afpd.servicies to match each machine you want to advertise : server1.service, server2.service, ... Add the <host-name></host-name> tag in each .service *.service : <?xml version="1.0" ...


2

Most appletalk authentication and connection initiation issues are related to the network interface duplex settings. The issue is usually found where one Ethernet side is set to 100 full and the other side is set to auto-negotiate. This can be remedied by either forcing both sides or setting both sides to auto-negotiate. These settings can be found on the ...


2

I've used 25 mac's on an ubuntu server using netatalk and NFS. It's a disaster : first of all, don't use home directories on the server with NFS. It is possible, but some applications (Adobe InDesign, Illustrator, Apple Mail etc.) don't like this. Apple Mail will in time complete mess up its mail database on the workstation, forcing to recreate all the ...


2

I've used netatalk for some time (1+ year)m, but only two clients at home. Never had problems. I use SMB along with this for my third client, so that everyone can access the same share of files. So yes, and no, are the answers :)


2

When /Network/Applications is mounted on the clients, it will be mounted before a user has logged in, so it will be mounted as a guest. It will stay mounted as a guest even when a user logs in. No matter what permissions you have on the client, the AFP server is mapping it to nobody. Please have a look at my answer to this question: AFP uses a ...


2

Try to connect to server from command line, it will produce more likely an error code. sudo mount -t afp afp://user:pass@_server_ip_address/share /Volumes/share /Volumws/share must exists before Alternative method: sudo mount_afp afp://user:pass.@_server_ip_address/share /Volumes/share


2

I'd check each servers settings as to what forms of authentication are permitted. Use Server Admin to look at the settings in the AFP section each server.


2

Have you got a TXT record named servername._afpovertcp._tcp.example.com? As a service is made up of both an SRV record and a TXT record I think you'll find you need both for a service to be resolved successfully.


2

Get a better access point. You're taking huge bandwidth penalties because the link from the source machine to the access point is sharing bandwidth with the link from the destination machine to the access point. Better access points can handle multiple simultaneous streams. This not only immediately doubles the available bandwidth but it also reduces the ...


1

It's probably simplest to create a StartupItem. Take a look at the ones in /System/Library/StartupItems for examples, as well as some useful scripting idioms (NFS is probably a particularly relevant example). Be sure to put your item in /Library/StartupItems (/System/Library is core OS components, /Library is for local customization). You could also ...


1

You need to make sure that the directory was created with a non-root user. I also recommend uncommenting the user_allow_other line in /etc/fuse.conf, and then adding an entry in /etc/fstab that mounts it as the user that will need to access it (though the group must be fuse), like so: afpfs#afp://USER:PASS@afp.host.com/directory/ /media/dir fuse ...


1

Ahh I had a totally different response worked out and then figured out the reason why this is a problem. The reason this is a problem is because, once an AFP share is mounted, it is essentially a local "Volume". Thus, listing it as a mounted Volume locally on said machine. So, using another "AFP://" link of any sort would open a NEW AFP connection to the ...


1

AFAIK Microsoft is never going to bring their Services for Mac implementation up to date, so you'll have to replace it with something better. I haven't used it myself, but ExtremeZ-IP is the one I've seen recommended.


1

I've done this with smb shares and will double check tonight when i get home but iirc you need to write some simple applescript to mount the volume IIRC the following will work tell application "Finder" mount volume "afp://machine_name/path" end tell Compile it into an application and add that to the login items


1

I know this is a very old question - but after upgrading to Lion I got this problem back. I just installed BlueHarvest and that seems to fix my problem. It removes the unwanted files on my Linux server.


1

There's some talk that the problem is that the DHX2 authentication module (required for Leopard+) regenerates the Mersenne primes every time you try to log in (which can take quite a while, especially on slower machines!). 2.2 theoretically fixes that (by generating them just once at startup), but it's only just been officially released and I haven't tried ...


1

Here are directions for setting up a Linux AFP Server But why not use Samba for both? Linux, Windows, and Mac all support CIFS (aka SMB, what Samba serves).


1

Try using -v to get the verbose output, post it here if you need more help with the output of that. Did you mean to put a space between the IP and the Volume path? I don't think that's supposed to be there :)


1

The cause is likely specific to one of your applications. For us, it was related to Vectorworks 2008. It's a cross-platform app, and seemed to be keeping its own copy of the current directory in the Save/Open dialog, and not using OS X system facilities for this. We've found other bugs related to unescaped paths before (eg. users put slashes in the ...



Only top voted, non community-wiki answers of a minimum length are eligible