Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Can't mount my Buffalo Tech Terastation NAS drive.

Just upgraded to Lion and now I can't mount one of my three Buffalo Technology NAS drives, a Terastation 1TB drive that's pretty old. Neither Apple nor Buffalo Tech can help me.


I can connect to the drive via my browser and the IP address of the drive, but can't mount the drive on the desk top to access the files.


Any know how to solve this problem?


Thanks.

Posted on Jul 20, 2011 10:29 AM

Reply
35 replies

Nov 17, 2011 4:10 PM in response to Stephen Bayle

My experience is that Lion has upgraded the smb protocol stack and is using a more secure authentication procedure. I asked Apple's fine engineers for instructions on how to deprecate Lion's smb security protocol back down to Snow Leopard's level. They suggested using the following command that needs to be run in a terminal window everytime Lion boots:


sudo sysctl -w net.smb.fs.kern_deprecatePreXPServers=0

To restore the smb protocol stack back to Lion's original state either reboot or run in a terminal window:


sudo sysctl -w net.smb.fs.kern_deprecatePreXPServers=1

Peter

Nov 18, 2011 4:19 PM in response to Stephen Bayle

Help, please. When I go to terminal and enter the "sudo..." command I get a password prompt.


I don't use a password on my iMac! But if I hit return I get "Sorry, try again."


What password is it looking for?


This is really frustrating as my Terastation has been landlocked ever since I installed Lion and I've been looking forward to accessing it again.


TIA.

Nov 18, 2011 4:35 PM in response to Stephen Bayle

Stephen,


I encountered the same password problem with an earlier use of it. It seems sudo (superuser do) needs the account your are running the terminal window to have a password. I just put a password on the account and then used that password for sudo.


Also, I think the account you run the sudo command from must be an administrator account in addition to being a password protected account.


Peter

Nov 20, 2011 6:10 PM in response to peter^

Turns out the SMB layer is not loaded when the Mac starts up. So if you type

sudo sysctl -w net.smb.fs.kern_deprecatePreXPServers=0


right after startup, you will see

net: class is not implemented


First you have to try and load an SMB share. Then the command above will work.


Normally you are supposed to use the /etc/sysctl.conf file to set system parameters, but it will not work because the SMB layer is not loaded at startup. Major bummer.


Does anyone know how to get the SMB layer to load before /etc/sysctl.conf is called?


In the meantime, I have put together an Automator file that (1) tries to load an SMB share (2) sets the net.smb.fs.kern_deprecatePreXPServers system param (3) tries to load the SMB share again. It works, but I want to see if I can improve the scripts before I share it with everyone.

Jan 18, 2012 2:15 PM in response to dmay00

Using Automator, I do three different steps:


1. Run a shell script:


mount_smbfs //MYSERVER ~ || true


This loads the SMB subsystem. It will fail, so the server name does not matter.


2. Run AppleScript:


do shell script "sysctl -w net.smb.fs.kern_deprecatePreXPServers=0" with administrator privileges


This is the magic step. (It will fail unless the SMB subsystem is loaded per above.)


3. Run AppleScript:


on run {input, parameters}

tell application "Finder"

try

mount volume "smb://MYSERVER"

end try

end tell


return input

end run


This actually mounts the server. Replace with your server name.

Can't mount my Buffalo Tech Terastation NAS drive.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.