I’ve made an article about this for IcAROS http://thewetmachine.net/?p=755, so, now, one is needed for Amiga 1200 classic. The best way to surf the network, download programs, … today with an amiga 1200 classic is its original case, is buying an easynet pcmcia card : http://amiga.amedia-computer.com/index.php/catalogue/infos/1/1/LC_EASYNETRJ45 For me network is better than sharing usb keys, or connecting the internal CF card to a slot on your PC (that you still can do ofcourse).

The problem

with normal smb conf configuration (look at this article http://thewetmachine.net/?p=1098) : guest not allowed, a user and a password, I get this behavior : twice ask for password, then an error : socket access from hades denied! access denied! it seems that linux password encryption is coming into play there. I tried to use “encrypt password = no” in smb.conf, but i got the same error, AND the smb connection did not work anymore on both AROS and linux side.

The solution

Server Side

read this : http://serverfault.com/questions/470650/samba-configuration-for-public-shares edit your samba conf file
sudo nano /etc/samba/smbd.conf
delete the content, and put that :
  [global]
  workgroup = phlegeton
  server string = %h server (Samba, Ubuntu)
  dns proxy = no
  log file = /var/log/samba/log.%m
  max log size = 1000
  syslog = 0
  panic action = /usr/share/samba/panic-action %d
  server role = standalone server
  security = user
  map to guest = Bad Password
  passdb backend = tdbsam
  obey pam restrictions = yes
  unix password sync = yes

 passwd program = /usr/bin/passwd %u
 passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:*        %n\n *password\supdated\ssuccessfully* .
 pam password change = yes
 usershare allow guests = yes

  # amiga
    [amiga]
    comment = a1200
    path = [path to your share]
    public = yes
    writable = yes
    available = yes
    browsable = yes
    guest ok = yes
    create mask = 0777
    directory mask = 0777
Be sure that your share has the 777 permissions. I know it’s not very secure, but we are speaking about amiga comunicating with samba 🙂 sudo chmod 777 [path to your share]

Amiga side

I assume that your amiga is up and working on the network. To be sure, try on the workbench 0S3.9 : right click somewhere, then Workbench then Execute then type “newshell”. In the window try “ping google.fr”, you should receive an answer “64 bytes from …..”. If not, try again connecting, and cofigure your network stack as it is needed inside your own local network. When your network parameters are ok, you must add an host, so, in easynet window, right click, then project, then “host manager”. In the window click on “add host”, then fill the fields name, IP of your samba server. Then save. Click now on “connect to”. Share should be “amiga” (be carefull, the field has a space character by default, you must delete it, strange bug), workgroup : for me it is phlegeton). Username is “guest”, password is “none”. Click save, then connect. You should now have your samba filesystem on the workbench. Enjoy !