Jump to content
  • Announcements

    • Allan

      Forum Rules   04/13/2018

      Hello folks! As some things are being fixed, we'll keep you updated. Per hour the Forum Rules don't have a dedicated "Tab", so here is the place that we have our Rules back. New Users Lounge > [READ] - InsanelyMac Forum Rules - The InsanelyMac Staff Team. 
Kosta88

Simple mount command refused + QNAP Mediabox Problem

3 posts in this topic

Recommended Posts

Hello, I have two questions.

 

1)

So I am making a script to mount my external shares.

One share is the NAS and one is an USB disk on the router with the Samba capability.

 

The script is a simple one:

do shell script "mount -t smbfs //login:pass@<path to NAS> /<path to mount folder>"

 

Executing the above on the NAS works great.

Executing it on the USB disk (which is actually a samba share) doesn't work. I checked like 20 times for mistakes, but I see none. It says "No such file or directory"

 

However, when I go to the Finder, "Connect to Server", and type in smb://router, it connects without a question. Pulls the info from the keychain also.

 

Why is one Samba share working (NAS) and the other doesn't (router).

 

2)

I turned on samba sharing on OSX, and I can access the shares from other windows computers correctly and also log into shares properly.

However, I own a QNAP NMP-1000P media player, and it won't access the shares properly, no matter what I do.

Shares from Windows normally work however, so it's an OSX fault apparently, or simple incompatibility.

Share this post


Link to post
Share on other sites

Try using AFP share (in Mac OS X, Windows DOESN'T support AFP) if both router and NAS supports this protocol. Also worth checking how ports are setup on both.

Share this post


Link to post
Share on other sites

The router is Asus RT-N66U, it doesn't support AFP by default, at least not with the original firmware. I'm not ready to flash it to Tomato or WRT yet, I reckon that with SMB it should work. Or not?

NAS is DNS-323, also doesn't seem to support AFP. I don't quite understand why when I connect via CMD+K it works, and through the route_smbfs not...??

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Recently Browsing   0 members

    No registered users viewing this page.

×