full circle magazine #65
30
network disk or folder is:
//192.168.1.1/Back-Up
/home/jan/shares/Back-U p
cifs
rw,username=guest,passw o r d = , u
id=1000,iocharset=utf8, c o d e p a
ge=unicode,unicode 0 0
Red part: address of network
folder in your network
Blue part: address of local mount
point
Grey part: cifs is synonym for the
samba protocol
Orange part: options you want to
add. These options work for guest-
access with read-write
permissions.
Be careful when editing this
file. It is a system file and can be
edited only by root. This should tell
you enough. Once damaged you
will have a really bad time fixing it
again. So, make a copy first before
you start editing.
It goes without saying that the
folder you want to mount should
be shared on the network. This can
be done like this:
As root, open the file
/etc/samba/smb.conf in gedit. This
is the file on the other computer,
the one with the folder you want
to look into. When this is a
Windows computer then it is only
necessary to add the computer to
the same network as your Linux
computer.
Make sure the following items
are in the smb.conf file.
[global]
workgroup = “Networkname you
use”
netbios name = “Computername”
[Home-Jan] # Name of
shared folder
path = /home/jan/ # full
path
guest ok = yes # guest
login without credentials is
allowed
writable = yes #
guests are allowed to write
The [global] section is written
once at the beginning of the file,
the shared folder part needs to be
written here for every fold e r you
want to share of course with
different share name and path.
Reboot both systems, where it
is mandatory to boot the one with
the shared folder first. This way,
when the other computer boots
and the file fstab is being read, the
shared folder is present and can be
booted. Should you boot the other
computer first, no worries. Open a
terminal and type:
sudo mount -a
Now fstab will be read again
and all folders will be booted.
Xubuntu
In Xubuntu, you can access
networked drives via the Thunar
file manager by going to
“Network” in the left hand panel
and navigating to the share.
You can then click on and drag
the share or specific directory you
wish to map over to the left hand
panel. This will map the location to
the panel for the duration of your
session.
Lubuntu
To map” a network drive in
Lubuntu, you use the file manager,
PCManFM. For the purposes of this
exercise, it is assumed that you
already have access to the network
drive you want to map. With the
CLOSING WINDOWS