share over the network between IcAROS desktop and Ubuntu

Introduction :

Sharing files over the network is something like an obligation nowadays.

I personnally don’t like Windows, so I won’t speak about this side. I prefer the dark side : linux, especially ubuntu (here 12.04LTS). Anyway, samba is samba, so it should work with every linux distrib.

As we speak about computering @home, we will stay in a VERY SIMPLE config.

So, we have for this example :

– One machine running IcAros 1.5.2-2

– One machine running Ubuntu 12.04LTS

– let’s assume the ubuntu samba server is called “HADES”,

– in a WORKGROUP  called “PHLEGETON”,

– with the IP adress, let’s assume it is “192.168.173“. Ofcourse, you must change this to fit your ones.

– let’s assume the path to share is “/media/data”

– let’s assume the share name will be “styx”

We also have a local user. Let’s assume it is “jess”.

Installation :

sudo apt-get install samba

Configure SAMBA :

Samba file config is /etc/samba/smb.conf

sudo nano /etc/samba/smb.conf

Here are the parameters that have to be configured, and how.

THE REST OF YOUR TUTORIAL IS BELOW, PLEASE CONSIDER LINKING MY PAGE :  IT’S A BIG AMOUNT OF WORK I’M DOING TO WRITE THOSE TUTORIALS FOR YOU

Some questions :

Why don’t you use a guest allowed share ?

I personnally had issues using simple guest ok SAMBA shares configurations, with “error 200 object is in use” each time I wanted to write to the share. The way described here is the most stable I know.

Can I do that with Windows :

Yes, until Windows XP, shares are OK under windows, since Vista/7, the new SMB protocols used by windows make buggy communication between AROS and Windows. Prefer FTP protocol.

Usefull ressources :

http://doc.ubuntu-fr.org/samba_smb.conf the official doc for samba on ubuntu

http://aros-exec.org/modules/newbb/viewtopic.php?topic_id=6867&forum=4&post_id=87973#forumpost87973 a thread on aros-exec regarding to file sharing between Windows and AROS