Like every other website on the planet, SmallNetBuilder uses cookies. Our cookies track login status, but we only allow admins to log in anyway, so those don't apply to you. Any other cookies you pick up during your visit come from advertisers, which we don't control.
If you continue to use the site, you agree to tolerate our use of cookies. Thank you!

Router Charts

Click for Router Charts

Router Ranker

Click for Router Ranker

NAS Charts

Click for NAS Charts

NAS Ranker

Click for NAS Ranker

More Tools

Click for More Tools

NAS How To

Mount The Shares From Clients

I've found that mounting shares from client computers is the last 20% of the process, but can be 80% of the work. After creating a share on your DIY RAID 5 NAS with Ubuntu, go to a client PC on your network and try to log in. You'll find that the log-in won't work. This is because every NAS has a trick to allowing clients to mount shares. This sick torture, inflicted while we wannabe geeks are at the finish line, is the price we pay for using open source products.

The trick to making your RAID 5 NAS share mountable on other computers is the /etc/samba folder. One great resource for getting little things going on your Ubuntu installation is Ubuntu dapper. The SAMBA tricks are located in the Samba Server section.

First open a terminal window and check to see whether Samba is in fact, installed when you used the administrative menu click-to-install process I described previously. The acid test is to type:

sudo /etc/init.d/samba restart

If you get a "samba not found" message you'll need to install Samba manually. To do this, make sure you can reach the Internet from the Ubuntu machine (open a web browser), then type:

sudo apt-get install samba

Ubuntu will then prompt you for password. Just give it the password you set up when you installed Ubuntu.

Next type sudo apt-get install smbfs then sudo /etc/init.d/samba restart again and you should see the services stop and then start.

Now you can enter cd /etc/samba and then ls to verify you can see smb.conf. If you can, type sudo nano smb.conf and enter your password when prompted and hit return. Then type <Ctrl>+<w> to search for a text string and type in security = user.

The search will bring you to the part of smb.conf that looks like this:

####### Authentication #######

# "security = user" is always a good idea. This will require a Unix account
# in this server for every user accessing the server. See
# /usr/share/doc/samba-doc/htmldocs/Samba-HOWTO-Collection/ServerType.html
# in the samba-doc package for details.
; security = user


take out the ; at the beginning of the security = user line and then change user to share, i.e. security = share

Then, scroll down to the very bottom of your smb.conf file where you should find the following:

[test]
path = /home/bill
available = yes
browseable = yes
public = yes
writable = yes

Note that the last part of the path name, i.e. /bill, will probably be different, as noted earlier. Now add these lines:

create mask = 0777
directory mask = 0777
force user = nobody
force group = nogroup

The final product will look like this:

[test]
path = /home/bill
available = yes
browseable = yes
public = yes
writable = yes
create mask = 0777
directory mask = 0777
force user = nobody
force group = nogroup

Type <Ctrl>+<x> to exit the Nano editor, then hit Y to save the changes. Finally, restart SAMBA by typing:

sudo /etc/init.d/samba restart

To log on to my RAID 5 NAS I needed to authenticate with no username and no password. This is not a very secure Linux SAMBA configuration by any means, but it will get you started. If you still can't mount your NAS share after following all of this, you'll need to consult the Ubuntu dapper links above. Also be sure that you run chmod 0777 [sharename] on the directory you are trying to share.

More NAS

Wi-Fi System Tools
Check out our Wi-Fi System Charts, Ranker and Finder!

Support Us!

If you like what we do and want to thank us, just buy something on Amazon. We'll get a small commission on anything you buy. Thanks!

Over In The Forums

I have had this issue for the past several firmware updates IIRC possibly since Asuswrt-Merlin 384.10_2 when I first started using the firmware, after...
I am experiencing something strange with my new RT-AX88U router.On my work laptop certain applications need a VPN connection but others work both thro...
Hello,I'm a software developer but need now to set up an on-prem testing/staging/deployment network. I have Linux skills and have been managing a simp...
I Got My X4S-R7800 3 Weeks ago and it's been having 2 issues while on WiFi (PC that's wired does not seem to have these issue) 1. Slow WiFi-Right when...
It It worth Getting a Netgear X4S R7800 for $100 (Or Rather Keeping as I Already got it) to upgrade from my Asus 68U?

Don't Miss These

  • 1
  • 2
  • 3