Chuckles67
Regular Contributor
Asus router RT-AC66U_B1 (Merlin 380.69)
Hard disk connected by USB to the router, with settings below
Using a Mac Mini with Mac OS X, I can connect successfully using Finder to "Connect to Server" and "smb://<ip address of my router>", and entering username and password. However the connected share disconnects after some time (perhaps when Mac Mini goes to sleep?) which means opening Finder and manually connecting.. instead I'd like to automate this connection using a script.
I'm a bit confused trying to figure out the syntax of the mount command, found here
mount -t smbfs //username:userpass@myserver/PUBLIC /smb/public
I've tried replacing the "myserver/PUBLIC" with "<ip address of my router>/HDD/Media" but this returns an error
mount_smbfs: mount error: /Volumes/Media (at HDD): No such file or directory
Has anyone figured the mount command terminology?
Hard disk connected by USB to the router, with settings below
Using a Mac Mini with Mac OS X, I can connect successfully using Finder to "Connect to Server" and "smb://<ip address of my router>", and entering username and password. However the connected share disconnects after some time (perhaps when Mac Mini goes to sleep?) which means opening Finder and manually connecting.. instead I'd like to automate this connection using a script.
I'm a bit confused trying to figure out the syntax of the mount command, found here
mount -t smbfs //username:userpass@myserver/PUBLIC /smb/public
I've tried replacing the "myserver/PUBLIC" with "<ip address of my router>/HDD/Media" but this returns an error
mount_smbfs: mount error: /Volumes/Media (at HDD): No such file or directory
Has anyone figured the mount command terminology?