Tag Info

Hot answers tagged

5

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


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

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 ...


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: ...


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

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


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


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

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 is not possible to access server shares from Apple's iOS. iOS does not have a Samba or AFP client, and thus, cannot handle these requests. Time Capsule uses modified AirPort Extreme firmware and supports AFP and SMB file-sharing protocols. Unfortunately, this is the extent of your capabilities of accessing files on Time Capsule from iOS. Sorry :(


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 ...


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

While this might not help everyone, if you are running samba on the file server, you can add the following in your smb.conf: Veto files = /.TemporaryItems/._.TemporaryItems/.DS_Store/ The "Veto files" is a / separated string of filenames (wildcards also allowed) that is forbidden to be created. This resolved the issue for me. I found this trick on the ...


2

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 ...


2

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" ...


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

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 ...


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

I, too, find this a pain with my QNAP box. FYI the firmware has now been updated to 3.6.0 released just a few days ago, and there is some noticeable improvement with the update. However, you may consider using the iSCSI feature among the QNAP settings to make the file shares appear as a hard drive showing up on your desktop for better speed. I've noticed ...


1

If this is the same issue as I've seen try this: Get rid of the user's GlobalPreferences.plist file (it's hidden). ~/Library/Preferences/.GlobalPreferences.plist


1

Please file a bug report to apple. I have the same problem and have reported it. I tried encrypting whole disks as well both with the built in tools and with truecrypt. I even tried to share a folder within my filevault to others but it doesnt work. The last thing I am not sure if it has worked, but I think so. Very strange behavior either from the bug or ...


1

Internet sharing on MacPro1 is acting as a router and doing NAT. The protocol used for discovery of other Macs on the 192.168.2.x network probably doesn't cross routers, which is normally what you want on a local network. The best way to fix this is to put an Ethernet switch or hub between MacPro1 and AirportExpress. Then plug both MacPro1 and MacPro2 into ...


1

This is a broadcast packet issue. Bonjour (and a number of similar broadcast protocols) operate by sending an informational packet to 'everybody.' When your router (Airport) - and the Mac - receive packets, they open them, observe the recipient, and forward it to the appropriate location. This is where things get tricky, because when a broadcast packet is ...


1

I would look into AutoFS. You can have AFP mounted on demand (see page 14 of the linked PDF).



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