Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
fm_smb_pc [2013/01/04 10:15] 127.0.0.1 external edit |
fm_smb_pc [2018/07/19 02:57] (current) |
||
---|---|---|---|
Line 5: | Line 5: | ||
<note important>You can only use Samba when both your network drive and the computer are connected to the same local network. If you are not at home and would like to access your files remotely, this method does not work. As an alternative, you could mount the drive using [[fm_webdav_pc|WebDAV]], although the transfer rates will be slower and there are some other limitations as well. Instead, you might want to consider using [[fm_ftp_pc|FTP]] or if you don't have to upload a large amount of files, simply use the [[fm_web|web interface]].</note> | <note important>You can only use Samba when both your network drive and the computer are connected to the same local network. If you are not at home and would like to access your files remotely, this method does not work. As an alternative, you could mount the drive using [[fm_webdav_pc|WebDAV]], although the transfer rates will be slower and there are some other limitations as well. Instead, you might want to consider using [[fm_ftp_pc|FTP]] or if you don't have to upload a large amount of files, simply use the [[fm_web|web interface]].</note> | ||
+ | |||
+ | <note warning>Since 2017, SMBv1 has been disabled in Windows. Unless you manually enable this service on your computer, it will not be possible to use SMB on Windows. For more information, please see https://support.microsoft.com/en-us/help/2696547/how-to-detect-enable-and-disable-smbv1-smbv2-and-smbv3-in-windows-and</note> | ||
===== Setup Samba Service ===== | ===== Setup Samba Service ===== | ||
Line 27: | Line 29: | ||
- When prompted for the login credentials, enter the username and password of your user account on the network drive and click **OK**. As an example, the administrator would enter **admin** for both username and password.\\ {{:fm-smb-pc03a.jpg?nolink|}} | - When prompted for the login credentials, enter the username and password of your user account on the network drive and click **OK**. As an example, the administrator would enter **admin** for both username and password.\\ {{:fm-smb-pc03a.jpg?nolink|}} | ||
- You can now access your files on the network drive.\\ {{:fm-smb-pc04.jpg?nolink|}} | - You can now access your files on the network drive.\\ {{:fm-smb-pc04.jpg?nolink|}} | ||
+ | |||
+ | <note tip>If you would like to connect to the same network drive with two different accounts simultaneously, use different paths to access the drive. For one account, use the device name (e.g. **\\MYCLOUDPRO**) ) and for the other account use the IP address (e.g. **\\192.168.1.30**)</note> | ||
===== Map Network Drive ===== | ===== Map Network Drive ===== | ||
Line 42: | Line 46: | ||
- You now have a permanent link on your computer and can access the files just like you would do with any other drive.\\ {{:fm-smb-pc11a.jpg?nolink|}} | - You now have a permanent link on your computer and can access the files just like you would do with any other drive.\\ {{:fm-smb-pc11a.jpg?nolink|}} | ||
- | <note tip>If you are logged in already and would like to map the network drive as a different user, go to the menu bar, select **Tools > Disconnect network drive...** and disconnect any of the currently logged in users fist. If that did not help, select the option **Connect using different credentials** when you map the network drive. If you still have problems to login, restart both your computer and the network drive before you try it again.</note> | + | <note tip>If you would like to connect to the same network drive with two different accounts simultaneously, use different paths to map the drive. For one account, use the device name (e.g. **%%\\MYCLOUDPRO\admin%%**) ) and for the other account use the IP address (e.g. **%%\\192.168.1.30\akitio%%**)</note> |
+ | |||
+ | ===== Disconnect Network Drive ===== | ||
+ | When mapping a network drive on Windows, you cannot login with different accounts simultaneously, unless you use a different path (e.g. host name for one and IP address for the other). This behavior is by design as one server (uniquely identified by the given name) can only have one user authenticated to it at any given time. If you are already logged in as one user (e.g. admin) and would like to map the network drive as a different user (e.g. a regular user account), please disconnect the network drive first, before you attempt to login as the new user. | ||
+ | |||
+ | Unless you have mapped the network drive using the "reconnect at logon" option, you can either **log off from Windows or restart Windows** and it will automatically remove the mapped network drive. After login, you can then connect with your new user credentials. If you prefer not to log off or restart the system, please refer to the following instructions. | ||
+ | |||
+ | ==== Disconnecting mapped network drives ==== | ||
+ | - Go to the menu bar and select **Tools > Disconnect network drive...**.\\ {{:fm-smb-pc12a.jpg?nolink|}} | ||
+ | - Disconnect any of the currently connected folders on this network drive.\\ {{:fm-smb-pc14a.jpg?nolink|}} | ||
+ | |||
+ | ==== Reconnecting a mapped network drive ==== | ||
+ | - Go to **Start > Run...** and type **cmd** to open the command prompt.\\ {{:fm-smb-pc24a.jpg?nolink|}} | ||
+ | - Type **net use** to display the currently connected drives.\\ {{:fm-smb-pc17a.jpg?nolink|}} | ||
+ | - If you find that your network drive still appears in that list, type **net use /delete %%\\server\sharename%%** to disconnect the drive. In this example the correct command is **net use /delete %%\\MYCLOUDPRO\IPC$%%**.\\ {{:fm-smb-pc19a.jpg?nolink|}} | ||
+ | - Select **Map network drive**.\\ {{:fm-smb-pc05a.jpg?nolink|}} | ||
+ | - Enter the new path to the folder that you would like to map and click **Finish**.\\ {{:fm-smb-pc15b.jpg?nolink|}} | ||
+ | - When prompted for the login credentials, enter the username and password of your new user account and click **OK**.\\ {{:fm-smb-pc16a.jpg?nolink|}} | ||
+ | |||
+ | ==== Disconnecting non-mapped network drives ==== | ||
+ | - Go to **Start > Run** and type **cmd** to open the command prompt.\\ {{:fm-smb-pc24a.jpg?nolink|}} | ||
+ | - Type **net use** to display the currently connected drives.\\ {{:fm-smb-pc17a.jpg?nolink|}} | ||
+ | - Check if your drive is on the list.\\ {{:fm-smb-pc18a.jpg?nolink|}} | ||
+ | - Type **net use /delete %%\\server\sharename%%** to disconnect the drive. In this example the correct command is **net use /delete %%\\MYCLOUDPRO\IPC$%%**.\\ {{:fm-smb-pc19a.jpg?nolink|}} | ||
+ | - You will get a message saying that the drive was deleted successfully.\\ {{:fm-smb-pc20a.jpg?nolink|}} | ||
+ | - If you use **net use** again at this point, your drive should not be on the list anymore.\\ {{:fm-smb-pc21a.jpg?nolink|}} | ||
+ | |||
+ | ==== Reconnecting non-mapped network drives ==== | ||
+ | - Still using the command prompt, type **net use /user:username %%\\server\sharename password%%** to create a new connection. In this example, the correct command is **net use /user:akitio %%\\MYCLOUDPRO%% 123456**. You could also connect to a share like this **net use /user:akitio %%\\MYCLOUDPRO\akitio%% 123456**\\ {{:fm-smb-pc22a.jpg?nolink|}} | ||
+ | - You will get a message saying that the command completed successfully.\\ {{:fm-smb-pc23a.jpg?nolink|}} | ||
+ | - Open the file explorer and access the network drive in your network neighborhood.\\ {{:fm-smb-pc25a.jpg?nolink|}} | ||
+ | - You can now access the drive as the new user, which you have defined in the previous step, without having to enter anymore login credentials.\\ {{:fm-smb-pc26.jpg?nolink|}} | ||
+ | |||
+ | <note tip>If you are unable to disconnect and login as a new user, please restart both your computer and the network drive before you try it again.</note> | ||