Yet Another Samba Share Mounter
Posted: Thu 16 Dec 2010, 23:10
-----------------------------
Important Updates:
For Puppies with very new (k4.13.x) kernels, read here about a new YASSM option. It appears that you must now explicitly state the SMB version of the target server.
For example, "vers=1.0" or "vers=2.1". Read here for more info about Windows servers.
Accessing some ancient Samba servers, Android tablets, etc. may require the YASSM option sec=ntlm. However, this old security setting has been finally dropped from recent Samba client versions.
----------------------------
YASSM is a tool for accessing shares located on remote servers. These could be shared folders on a Windows machine, an NAS box or a Linux Samba server.
Look for it in the Network/Internet menu as "YASSM Samba share mounter".
Note: If you have any existing setup files in /root/.yassm belonging to very old YASSM versions, you must delete them first.
---------------------------
Before starting YASSM, you need to know the IP addresses of the Samba server machines on your network. You can find them by running PeasyPort and scanning for ports 139 or 445. You should also know the names of the shares on those servers, but you can look them up if necessary.
Run YASSM. Click the New button.
On the next screen fill in the details for a target Samba share.
If you are logging into a basic Windows XP share, leave the Username, Password and Options fields empty. A Win7 or newer share may require authentication with a password. A share on a Linux Samba server may require authentication, depending on its configuration.
The server MUST be identified by its IP address.
If you need to identify the shares on the server, click Shares.
Click Test to verify the connection. Your file manager will open with a window/tab for the share. The mount points are in your home directory in the folder YASSM.
Click Save. Give the share a one-word nickname that uniquely identifies it on the network, like "Freds-Music". This creates a setup file for the share in the hidden folder /root/.yassm.
Click Quit and Restart. Select your new share. Click Mount.
Repeat the procedure for other shares on your network.
-------------------------
Use the Options field for arguments like sec=ntlm or iocharset=utf8. Multiple options must be separated by commas. To make the geany text editor work with files in a Windows share, you will need the option noserverino.
----------------------
For your convenience, you can drag a shortcut to /root/YASSM folder onto your desktop. If necessary, press the ROX Rescan button (the blue Recycle symbol) to update the mounted shares. To disconnect a share, use the ROX Unmount command. Or you can use YASSM's Unmount button to disconnect all the mounted shares at once.
-------------------
YASSM works primarily with IP addresses under the assumption that your network's Samba servers have static addresses. But V4.6 offers an alternative. The .set config files can now have the extra field "NETBIOS=xxx". If you insert a server's NETBIOS name in this field, YASSM will search the network for the server's current IP address and use it to mount the share instead of the address in the SERVER field. Be aware that this lookup procedure may be unreliable.
------------------
Note to firewall users: YASSM may have trouble mounting shares if the client machine is running the Puppy firewall. Read here.
--------------------------------
Important Updates:
For Puppies with very new (k4.13.x) kernels, read here about a new YASSM option. It appears that you must now explicitly state the SMB version of the target server.
For example, "vers=1.0" or "vers=2.1". Read here for more info about Windows servers.
Accessing some ancient Samba servers, Android tablets, etc. may require the YASSM option sec=ntlm. However, this old security setting has been finally dropped from recent Samba client versions.
----------------------------
YASSM is a tool for accessing shares located on remote servers. These could be shared folders on a Windows machine, an NAS box or a Linux Samba server.
Look for it in the Network/Internet menu as "YASSM Samba share mounter".
Note: If you have any existing setup files in /root/.yassm belonging to very old YASSM versions, you must delete them first.
---------------------------
Before starting YASSM, you need to know the IP addresses of the Samba server machines on your network. You can find them by running PeasyPort and scanning for ports 139 or 445. You should also know the names of the shares on those servers, but you can look them up if necessary.
Run YASSM. Click the New button.
On the next screen fill in the details for a target Samba share.
If you are logging into a basic Windows XP share, leave the Username, Password and Options fields empty. A Win7 or newer share may require authentication with a password. A share on a Linux Samba server may require authentication, depending on its configuration.
The server MUST be identified by its IP address.
If you need to identify the shares on the server, click Shares.
Click Test to verify the connection. Your file manager will open with a window/tab for the share. The mount points are in your home directory in the folder YASSM.
Click Save. Give the share a one-word nickname that uniquely identifies it on the network, like "Freds-Music". This creates a setup file for the share in the hidden folder /root/.yassm.
Click Quit and Restart. Select your new share. Click Mount.
Repeat the procedure for other shares on your network.
-------------------------
Use the Options field for arguments like sec=ntlm or iocharset=utf8. Multiple options must be separated by commas. To make the geany text editor work with files in a Windows share, you will need the option noserverino.
----------------------
For your convenience, you can drag a shortcut to /root/YASSM folder onto your desktop. If necessary, press the ROX Rescan button (the blue Recycle symbol) to update the mounted shares. To disconnect a share, use the ROX Unmount command. Or you can use YASSM's Unmount button to disconnect all the mounted shares at once.
-------------------
YASSM works primarily with IP addresses under the assumption that your network's Samba servers have static addresses. But V4.6 offers an alternative. The .set config files can now have the extra field "NETBIOS=xxx". If you insert a server's NETBIOS name in this field, YASSM will search the network for the server's current IP address and use it to mount the share instead of the address in the SERVER field. Be aware that this lookup procedure may be unreliable.
------------------
Note to firewall users: YASSM may have trouble mounting shares if the client machine is running the Puppy firewall. Read here.
--------------------------------