Tag Info

Hot answers tagged

4

I found this script from http://hints.macworld.com/article.php?story=20050215082247458, but I'll reproduce it below. Open up Script Editor and paste in: set sfiles to "afp://user:pass@host/volume" tell application "Finder" mount volume sfiles end tell Replace sfiles with the appropriate details of your AFP volume. Add ...


4

TL;DR Use AppleScript, but do not specify the user name or password. Background In my case, none of the suggestions that I found online worked perfectly. I had several AFP volumes that I wanted to mount automatically. Following the advice given here and elsewhere, the obvious solution seemed to be an AppleScript file with something along these lines: ...


4

A couple of things you need to be aware of. First - the AFP URL needs to contain the name of the share - not it's location on the server. Second, the mount point must be an empty directory that you have write permission to. So your commands might be :- sudo mkdir /Volumes/mount sudo mount -t afp afp://user:pass@ipaddress/SharedDrive /Volumes/mount


3

1. Edit the file /Applications/Tunnelblick.app/Contents/Resources/client.up.osx.sh and add these commands at the end of the file, just before exit 0 : su USERNAME -c ' mkdir /Volumes/TimeCapsule mount_afp afp://afp_username@server/volumename /Volumes/TimeCapsule ' open /Volumes/TimeCapsule Replace USERNAME with your username on the system. 2. Then add ...


3

Radio interference? How many other wifi spots are nearby? How many are using the same channel as you? Does this only happen with AFP or does it happen with other protocols as well (e.g., HTTP, CIFS, etc)? Are you using A/B/G/N? What's the memory usage look like on both systems? Is one (or both) maxed out? The traffic seems very bursty. This could indicate ...


3

You should try the transfer in FTP only because FTP sets it's own "MTU". If this sends files very quickly, you are looking at a TCP fragmentation issue, i.e., you are sending TCP packets too large for the router to handle on it's own. I imagine you can tweak the Mac network settings to force fragmentation to 1500 or less per packet.


3

I have seen this happen when there is already a volume with the given name and the OS needs to create a new name to mount the volume as you can't have a duplicate name -- thus the suffix. The first thing to do is, make sure that you don't have any other volumes with the same name. If you do, perhaps you can rename one or only use one at a time. I've also ...


3

Yes. Set up sharing on REM to share the root directory of the second drive. You can right click and do it from the Finder or go in and manage all shares from the sharing system preference.


3

Synology has a few solutions. Their products are reliable and affordable. There are multiple applications you can install in a few clicks but for S3 backups you will have to go the manual way.


3

You can put aliases to the remote volumes in your Login Items folder. A nice explanation of this feature is available from Apple on the web and the built-in help: http://support.apple.com/kb/ht2602


2

I have a shell script that I run via a launchd plist every few minutes to automount an NAS drive. I use it from home to mount my NAS as it contains our shared iTunes Media folder. You can look at the script Code on Pastebin. I you have questions about the code I'll be happy to discuss. It has a lots of error checking etc. Using a shell script and a launchd ...


2

It seems that obsolete iDisk settings in OSX 10.8 may prevent you to connect to a file server. You need to run those commands in Terminal defaults delete -g iToolsMember defaults delete -g iToolsMemberDomain to get rid of those settings. Source: http://derflounder.wordpress.com/2012/08/03/odd-afp-and-smb-connection-problem-caused-by-idisk-going-away/


2

I've got the same problem. I used a .dmg mounted on my imac to store time machine backups for my macbook pro over the network. Since upgrading to mountain lion I'm unable to access the network share from other macs. This seems to be the case for all .dmg files that I've tried to share over afp.


2

If you are running Windows file shares on Windows Server 2003 R2 and above, you can create file screens that prevent any user from creating any set of pre-specificied files. I have effectively used this approach to eliminate all mac created files on our file shares. Please see the MS Technet document, Screening Files, for more information.


2

It turned out that the issue was indeed different UIDs though the usernames were the same. From the Apple Support Communities link: borbye: The first user that is established on an OSX disc is given UID number 501. Normally next user is given UID 502. In my case I could not import my existing user during first run with my new MB Air. Had to ...


2

Open Terminal. Execute this command: defaults write com.apple.desktopservices DSDontWriteNetworkStores true Either restart the computer or log out and back in to the user account. Reference: http://support.apple.com/kb/HT1629


2

It turns out that, as I suspected, a paranoid security configuration was preventing AFP from working. In particular, the machine had been "hardened" per Apple's security configuration guide in which chapter 9 describes how to disable AFP by unloading the com.apple.afpfs_afpLoad dæmon (I had thought it was only required to serve files, not also to connect to ...


2

User access to sharepoints will depend on permissions that are set on that sharepoint. You can use the 'ls' command to get that information using Terminal...Newer Mac products (10.4+) will use ACLs to control access to those folders. You can obtain infomation on both the POSIX as well as ACLs applied to folders by using this command: ls -ale /Path/To/Folder ...


1

BlueHarvest is probably the best and easiest way to maintain the network shares clean, at least that's what I went for after taking up most of your options myself. After that is a cron job for deleting all of those files, using something like: find "$@" \( -name ".DS_Store" -or -name ".TemporaryItems" -or -name ".Trashes" -or -name "._*" \) -exec rm -rf ...


1

Installing Bonjour (aka Zeroconf) doesn't help. Bonjour only announces existing services. If the server only serves AFP the client needs to understand AFP. The only Windows AFP client I knew was PC MacLan (http://store.ca.com/miramar/miramar.aspx) which seems not to be sold any more. (I still have it installed on an XP box.) The often cited Microsoft ...


1

You can enable individual access to services for users and groups inside of Server.app 3.0. Select the Users or Groups section from the sidebar, and then click on the user or group that you'd like to configure access for. Click on the action (gear) icon below the list of users or groups, and choose "Edit Access to Services...": You'll be presented with a ...


1

You are basically being punished by having put your project on a slow, slow harddisk. There is much more network traffic than you think when working with files remotely and on such a slow connection you will really feel it. Most modern IDE's expect files to be locally available, not on a slow, remote drive. I would suggest looking into mirroring your work ...


1

You can find your Back To My Mac hostname by doing this: % dns-sd -E Looking for recommended registration domains: DATE: ---Fri 15 Nov 2013--- 12:00:39.211 ...STARTING... Timestamp Recommended Registration domain 12:00:39.212 Added (More) local 12:00:39.212 Added icloud.com ...


1

I would set up a user to automatically log in and lock the screen immediately with a password (or as close to immediately as you care.) That will mount the external drive and start up sharin for all users. Alternatively, you could drop the $20 on OS X server and have it mount shares at boot like you rightly expect a server to behave.


1

I found (what seems to be) a good solution after messing around and observing another AFP share that is working correctly. Turns out that the working folder has ACLs to allow spotlight indexing: $ ls -led /Shared\ Items/Public/ drwxrwxr-x+ 19 root admin 646 May 6 12:47 /Shared Items/Public/ 0: user:_spotlight inherited allow ...


1

In my case (iMac trying to access files on a Win7 machine) the solution was to add permissions for "Guest" to the Win7 directory. This was previously not necessary. The directory was shareable to everybody and it worked. But apparently now the iMac is trying to connect as "Guest" and adding permissions specifically for "Guest" ...


1

OK, I figured it out. The keys in the auto_afp file are paths that are relative to the path specified in the top-level auto_master file. So if your /etc/auto_master has: my/global/mount auto_afp Then your /etc/auto_afp should have: point -fstype=.... Finally to get visibility into what automountd is doing, add AUTOMOUNTD_TRACE=2 to /etc/autofs.conf, ...


1

AFP is more so meant for a LAN configuration and not a WAN network. Instead you could try CIFS or another protocol and see if you see the same speed or an increase. I would also try to use AirDrop and see how that works.


1

Setup your NAS to export a NFS-share. Refer to the Synology knowledgebase how to do this or use the following how-to to set it up, fine tune and secure your set-up. You may do it manually in the command line also: Let's assume your media folder is /Shares/Media. Create or edit a file named exports in /etc. The example below restricts the access to ...



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