Using Microsoft Networking via Samba with QNAP TS-112 and LevelOne GNS-1001

Most NAS, even the low-end models, provides Samba. Once connected, you may use file manager like Nautilus in GNOME for drag-and-drop operations as local files.

It is a file sharing protocol.

Samba service via mount command and Nautilus performance comparision.
Samba service via mount command and Nautilus on QNAP TS-112 performance comparison.

It provides user control. You may make shared folders public or assign different privilege to specific user account.

Enable Samba Service and Access Control on QNAP TS-112

On TS-112, you may enable it in [Control Panel]→[Network Services]→[Win/Mac/NFS]→[Microsoft Networking].

Account control is in [Control Panel]→[Privileges Settings]→[Users]. Use the [Private Network Share] icon next to the username to assign. Or switch to [Control Panel]→[Privileges Settings]→[Shared Folders],  use the [Access Permissions] icon to choose from [Users and groups permission] in Select [permission type].

Enable/Disable account to use [Microsoft Networking] in [Control Panel]→[Privileges Settings]→[Users], select the [Application Privilege] icon.

Enable Samba Service and Access Control on LevelOne GNS-1001

You need to use FireFox. Chrome will fail to read or apply any settings in [Share Folder] configuration page under [Service Menu].

If you want to control access to shared folder, click on [User] under [System Menu]. Select the desired folder before assign any user access rights. Also, the user must be allow to login, or won’t have write access for any folder.

Access Samba from Computer with Nautilus

On my desktop computer, I click on the [Connect to Server] in Nautilus. and provide [Server Address] as [smb://[NAS IP]]. If the syntax is correct, you may click [Connect] button to mount shared folders on the server.

If you enable the user control, you will be asked for user name and password before access.

Nautilus crash several times during mounting. Sometimes it need to connect to server many times to see shared folders. TS-112 also freeze twice for no reason.

If you use Nautilus to connect to shared folder from LevelOne NAS GNS-1001, you may copy files from local to remote but fail reverse. In other words, you won’t be able to copy files from Samba shared folders from LevelOne NAS GNS-1001. Single file may be copy with warning by Nautilus. It will force to stop with message “Error while copying… Software caused connection abort”.

Access Samba from Computer with mount in Terminal

But things may be done in different ways, using mount command in terminal almost double the performance.

With GNS-1001, you only need to use following command to mount and un-mount a shared folder from Samba service:

mount -t cifs //[NAS IP]/[Samba shared folder] /[local mount point] -o guest,noperm
umount /[local mount point]

With TS-112, you need to use following command to mount and un-mount a shared folder from Samba service. It would be visible only if without file_mode=0777,dir_mode=0777. No copy/delete/open operation.

mount -t cifs //[NAS IP]/[Samba shared folder] /[local mount point] -o guest,file_mode=0777,dir_mode=0777,noperm
umount /[local mount point]

Don’t add extra options file_mode=0777,dir_mode=0777 in GNS-1001 as you did with TS-112. It won’t bring you any benefit but resulting access right issue with FreeFileSync.

Remember to un-mount before shutdown your computer, my ThinkCentre Edge 72z stay with power on if I forget to un-mount.

It is also reported that TS-112 hasn’t upgrade to SMB v2 and might have problems with Windows 8 which need a security signature for SMB connections.


  1. Lenovo: ThinkCentre Edge 72z
  2. QNAP: TS-112
  3. Wiki: Oracle VDI
  4. Connect NAS to your Computer Directly
  5. LFTP for NAS with FTP Server
  6. FreeFileSync for Internal or External Device
  7. RedHat: Customer Portal: Support: 10.3. Using the Cache With NFS
  8. PCMagazine: Definition of:block level
  9. ExpertReview: Synology DiskStation DS213j review
  10. StorageReview: Synology DiskStation DS214se Review
  11. Ars OpenForum: file copy speed vs FTP
  12. Stephen Yeong’s Blog: Samba 50MB per second limit?
  13. reddit: NFS vs iSCSI, fight! (your thoughts on performance)
  14. superuser: AFP, SMB, NFS which is the best data transfer protocol?
  15. Apple Support Communities: iSCSI, AFP, SMB, and NFS performance with Mac OS X 10.5.5 clients
  16. AskUbuntu: Which to use NFS or Samba?
  17. QNAP Forum: VPN Centre + proxy Server
  18. QNAP Forum: TS-212 SMB速度疑問
  19. [H]ard|Forum: SSD to NAS file transfer over gigabit – why only 30MB/s?
  20. QNAP Turbo NAS User Manual: NAS Maintenance Settings: System Restart/Shutdown
  21. Wiki: File Transfer Protocol
  22. nixCraft: Linux / Unix: lftp Command Mirror Files and Directories
  23. MetaLinux: lftp: backup and mirroring
  24. Wiki: Samba (software)
  25. Wiki: Server Message Block
  26. Wiki: Nautilus (file manager)
  27. GNOME
  28. QNAP Forum: Windows 8
  29. FireFox
  30. Chrome
  31. LevelOne NAS GNS-1001
  32. ServerFault: SMB claimed to be “slow”
  33. Wiki: iSCSI
  34. TechRepublic: When is it okay to allow multiple hosts to connect to a single iSCSI array?
  35. Wiki: iSCSI: Target
  36. QNAP: How to Configure iSCSI Advanced ACL on QNAP Turbo NAS
  37. Mobile01: [教學]利用Synology的NAS在Windows7下建立iSCSI磁碟機
  38. Wiki: YaST
  39. Wiki: Network File System
  40. nfs-lan
  41. GitHub: NFS-LAN
  42. QNAP Forum: NSF4 Firmware 3.8.1
  43. Mobile01: 有關 NAS 所支援的 NFS 版本
  44. QNAP Community Wiki: Mounting NFS
  45. QNAP Turbo NAS User Manual: Network Services: NFS Service
  46. The Linux Information Project: The umount Command

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s