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


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

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

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

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

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


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

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.


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

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


1

I would say, rsync away once you are sure the sparsebundles are not being actively mounted or written to by other Mac OS clients. The beauty of an Apple disk image is that all the Mac unique things are stored internally since they are a filesystem unto themselves and don't rely on your actual storage filesystem in any way. As long as you get the file names ...


1

I just found that if you use IP address instead of name of server 10.8 does prompt you for username / password! Why? I have no idea.


1

My advice would be to use NFS. You should also try to manually mount the partition from the terminal, so you can add some options too, like -nolock,locallocks,rdirplus This made my browsing much faster, even over wifi. Cheers


1

Configure the ethernet interface in Ubuntu to use Gigabit in full duplex Reset the network card by powering down the laptop and unplugging it from mains for a few seconds To effectively use Gigabit ethernet, use a Cat 5e or Cat 6 cable Start the copy after a reboot of the devices (with WiFi and other connections disabled)


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

Well... You will need to run Open Directory, and set up network home folders within there. Then, when yous OD clients log into yous Macs, they will be given access to their home folder from the server. For mobile users, you will want to set up a Mobile Home Folder, perhaps with HomeSync. Check out these documents from Apple: ...


1

Well, I ask for the information (CMD-I) of the secondary drive, and set the "shared" box. Then afp is able to mount the secondary disk. Some difficulty may arise from "symbolic links" between drive (the links you create with unix command ln -s ), and I had to use "hard link" ("create alias" from Finder menu, and probably Unix command "ln ", without option ...



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