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

Ubuntu 6.06 Desktop - more

Step 10: Now we need to tweak the Samba configuration file that is in /etc/samba. While you are still in the terminal window, type:

cd /etc/samba
sudo nano smb.conf

The first line will move you into the Samba folder and the second line will allow you to edit the Samba configuration file (smb.conf) and allow you to save your changes. The computer will ask you for your password. Type it in and hit return. Once you are in the Nano editor, type <Ctrl><w> to search for a text string and type in security = and then hit enter to start Nano searching for security =.

The search will stop at lines in smb.conf that look 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 2nd security = user line and then change user to share. When you're done, this section of smb.conf should look 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 = share

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

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

and add these lines:

createmask = 0777
directorymask = 0777
forceuser = nobody
forcegroup = nogroup

so the final product looks like this:

[test]
path =/home/bill
available= yes
browseable= yes
public =yes
writable= yes
createmask = 0777
directorymask = 0777
forceuser = nobody
forcegroup = nogroup

Type <Ctrl><x> to exit the Nano editor. Type Y to save the changes. Finally, restart Samba by typing sudo/etc/init.d/samba restart.

The reason we restart Samba is that we want the changes we just made in the smb.conf file to be loaded into Samba. Until Samba restarts, it will be using the old settings. These last settings changes tell Samba that it is OK to allow us to write to the test share.

The very last thing we need to do is to see what the IP address is on our UNAS. To do this type ifconfig in the Ubuntu terminal window. At the left side of the screen you'll see eth0. On the line below eth0 and at the left end you'll see inet addr:192.168.x.xxx. That is your UNAS's IP address. In my case that is 192.168.2.36.

Connecting to the UNAS is the same as connecting to the ClarkConnect NAS. So you can just follow the instructions that I gave earlier.

This completes the installation step-by-step for Ubuntu. Any problems, let us hear about them in the Forumz.

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

My ASUS router's OpenVPN configuration page says "Due to security concerns, we suggest using a port from 1025 to 65535". I've been setting my port as ...
How can I view the routing table on an Asus Router running the latest version of Asus-Merlin? I am trying to debug a routing problem, so I want to see...
I have a openvpn client configured and I enable devices using policy based routing. Is it possible too isolate those machines from the rest of my lan,...
So I'm on a RT-AC66U_B1, but when I go to traffic analyzer I can see that I upload more then I download which should not be the case. https://i.imgur....
AC86U running latest Merlin, and I followed the instructions to install Skynet on it. I have a 32Gig USB key, but I used the UI to format so it's form...

Don't Miss These

  • 1
  • 2
  • 3