Welcome, Guest. Please login or register.

Author Topic: Still having SAMBA problems  (Read 1659 times)

Description:

0 Members and 2 Guests are viewing this topic.

Offline mgericsTopic starter

  • Sr. Member
  • ****
  • Join Date: Jun 2002
  • Posts: 294
    • Show all replies
Still having SAMBA problems
« on: December 16, 2005, 09:17:40 PM »
Ok boys and girls.
Still having SAMBA issues - can't share my Amiga drives to the PC, but can share the PC drives to the Amiga.

A0S 3.9, Genesis, Ariadne II card, Dlink 704P hub, twisted pair.
WinXP, etc. tried with XP firewall on and off, no other firewall installed.

WinXP using ICS so I can get to the Internet - works fine; when Ami needs Internet, XP obeys like a puppy dog and dials out (I can use VVA AND RDesktop to control the XP box, even!).

Can attach from Ami to any windows shares (haven't got the knack yet to create and share Linux stuff, but I digress)

I can ping either way, PC->Ami, Ami->PC. I can ping Ami by name or IP, I can ping PC by name or IP.

Network neighborhood on PC shows me Ami, but trying to open it gives unavailable.

Net use x: \\amiga4000\ram (or any Ami share) gives
  error 53 network path not found

I've checked lmhosts file, even removed it.

I have fiddled with a few settings in Genesis;escapes me now (I'm at work :( ), but I think Inetd and some other option screen that has (service?) numbers and Asterisks and DENY and ALLOW and LOG options for each line.

Also fiddled with users - what settings should there be for users?

Any help is appreciated, and anyone who helps gets a beer on me! (I mean, in them, that is, I'll buy them a beer!)

Thanks Amigans!
 

Offline mgericsTopic starter

  • Sr. Member
  • ****
  • Join Date: Jun 2002
  • Posts: 294
    • Show all replies
Re: Still having SAMBA problems
« Reply #1 on: December 17, 2005, 02:56:37 PM »
Here the smb.conf. Oddly, the logfile is never created...
Yes, samba: is assigned...

# Samba config file created using SWAT
# from ANGELS (192.168.0.201)
# Date: 2005/12/17 09:54:45

# Global parameters
[global]
   netbios name = AMIGA4000
   server string = AMIGA
   interfaces = 192.168.0.151/255.255.255.0
   security = SHARE
   password level = 20
   username level = 20
   log file = samba:log/logit
   max log size = 50
   load printers = No
   wins server = 192.168.0.201
   guest account = pcguest
   hosts allow = 192.168.0. 192.168.1. 127.

[qdh2]
   path = /qdh2
   writeable = Yes
   guest only = Yes
   guest ok = Yes
   map archive = No

[ram]
   comment = a4k ram
   path = /ram
   writeable = Yes
   guest ok = Yes
   map archive = No

[work]
   path = /T

[printer1]
   path = /T
   guest ok = Yes
   printable = Yes
 

Offline mgericsTopic starter

  • Sr. Member
  • ****
  • Join Date: Jun 2002
  • Posts: 294
    • Show all replies
Re: Still having SAMBA problems
« Reply #2 on: December 30, 2005, 11:10:35 PM »
Fixed! Thanks all for the suggestions. I resolved the issue with the aid of a long time Amiga pal, Lamar McLouth and an 8 hour session at his home with my Amiga connected to his LAN (most of the time spent playing! and having pizza, and watching some old Sanford and Son episodes)

He set me up with (besides a great T.H.E config and other neat stuff [all on the up and up, nothing illegal] this guy's more of an Amiga fanatic than I am! Thanks to him, I've kept my Amiga instead of ditching it.) share.wb that somehow corrected my conf file - the lines it created were EXACTLY what was in the file, but sharing the devices through share.wb rewrote the file and it worked awesome!

Also, I had some settings in Genesis - Access way out of whack! So, now I see my Amiga shares from Windows machines (always could see Windows shares from the Amiga)

Now, how do I create a shared directory in Linux ?
Thanks again guys. Hope this helps anyone else having troubles.

These are the (corrected) settings: supposed to be in this order
Service         Host/Mask            AccessLog
19              *.*.*.*              deny  LOG
7               *.*.*.*              deny
auth            *.*.*.*              allow LOG
*               192.168.0.*          allow
amiganetfs      *.*.*.*              deny  LOG
@               *.*.*.*              allow LOG
*               *.*.*.*              allow LOG

Here is the updated smb.conf

# global parameters
[global]
   workgroup = workgroup
   netbios name = amiga4000
   server string = x-surf samba server
   interfaces = 192.168.0.9/255.255.255.0
   security = share
   log file = /samba/log/log.%m
   max log size = 50
   load printers = no
   guest account = pcguest

[qdh2]
   comment = qdh2
   path = /qdh2
   guest only = yes
   guest ok = yes
   map archive = no



[ram]
   comment = a4k ram
   path = /ram
   writeable = yes
   guest only = yes
   guest ok = yes
   map archive = no
 

Offline mgericsTopic starter

  • Sr. Member
  • ****
  • Join Date: Jun 2002
  • Posts: 294
    • Show all replies
Re: Still having SAMBA problems
« Reply #3 on: December 31, 2005, 04:53:13 PM »
Sorry, none. I intend to try that as soon as I get a printer - all mine are broken :(