Ubuntu 6.06 Desktop - more

By Bill Meade, published on August 8, 2006
Source: Tom's Guide US | Keywords: , ,

9. 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 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 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.

Comments | Print | Send to a friend

Sponsored links

Comments

Anonymous 11/25/2008 5:05 AM
Hide
-0+

This is one of the worst article written on how to install, configure... etc., This is not a source to relying! After following your steps, I was even more confuse. I created an account on clarkconnect as directed and got charged. This is not good.

Comments are closed on this page.

Sponsored links