Welcome, Guest. Please login or register.

Author Topic: SAM440ep+os4.1 Networking Problem  (Read 2373 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline RuudTopic starter

  • Sr. Member
  • ****
  • Join Date: Jul 2002
  • Posts: 317
    • Show all replies
SAM440ep+os4.1 Networking Problem
« on: December 15, 2008, 06:26:48 PM »
Hello,
I recently set up Samba on my SAM and on my A1200 using Mikey C's very useful guide. I've just got a couple of problems:
On my network the SAM running os4.1 can ping the A1200, the two PC's and the wireless router on the network. It can also mount PC shares with smbfs but as far as the A1200 and the PC's are concerned it is invisible! The SAM can't be pinged or located by any of the other machines. I keep checking that all the IP and workgroup details are correct and they are. I just don't understand it.
There must be some setting or other I'm missing, does anyone have any idea what it is?

The other problem I'm experiencing is transfering files to the PC's from the SAM is painfully slow. Transfers in the opposite direction (PC to SAM) are much much faster. Is this related to my first problem or something different?

Thanks in advance for any help,
Rudi
"We live, we die, we laugh, we cry"
 

Offline RuudTopic starter

  • Sr. Member
  • ****
  • Join Date: Jul 2002
  • Posts: 317
    • Show all replies
Re: SAM440ep+os4.1 Networking Problem
« Reply #1 on: December 15, 2008, 11:27:18 PM »
Quote

Hans_ wrote:
That sounds a lot like a firewall blocking everything. However, I thought that the firewall (which has no GUI) was disabled by default.

I thought that but how do you check whether the firewall is active or not?

Quote

Just a few things worth checking:
- Is the SAM on the same subnet, i.e., do all IP addresses have the same first three numbers (e.g., 192.168.0.x)?


All computers are connected to the wireless router by cables (wireless only used for laptop internet access).  The router has an ip of 192.168.1.1 subnet mask of 255.255.255.0.  The current PC attached has ip of 192.168.1.70 and the SAM is curently set to 192.168.1.179 although I have tried others.  Subnet mask for both matches router.

Quote

- Have you actually installed the Samba services properly? It's not going to serve anything unless the smbd is running (nmbd should be running too). This doesn't explain why you can't ping the SAM machine from the other machines though.


I presume so as I can read and write to shares on the PC with the SAM.  I've set up both smbd and nmbd in servers.  And as you say I should still be able to ping the SAM from the PC even if samba wasn't installed at all.

Quote

- try accessing via IP address directly instead of name, e.g., \\192.168.0.2\share.


Tried both ways :-(
This is all very strange and frustrating.

Thanks,
Rudi.
"We live, we die, we laugh, we cry"
 

Offline RuudTopic starter

  • Sr. Member
  • ****
  • Join Date: Jul 2002
  • Posts: 317
    • Show all replies
Re: SAM440ep+os4.1 Networking Problem
« Reply #2 on: December 15, 2008, 11:29:12 PM »
@Crisisdog

Thanks for the duplex setting tip, I will try to look into this.

Thanks,
Rudi.
"We live, we die, we laugh, we cry"
 

Offline RuudTopic starter

  • Sr. Member
  • ****
  • Join Date: Jul 2002
  • Posts: 317
    • Show all replies
Re: SAM440ep+os4.1 Networking Problem
« Reply #3 on: December 16, 2008, 09:54:55 AM »
Quote

Hans_ wrote:
Another possibility is that your wireless router's own firewall settings are locking you out. Log on to the router and check if there are any firewall settings that restrict machines on the wireless connection, or any rules that block certain IP addresses. Also, try connecting via wire to the router.

I've been through all the settings on the router. Nothing seems to suggest it's stopping access to the SAM. It's not stopping the SAM from accessing the internet or connections to other machines. All connections are wired. I only use the wireless aspect of the router for laptops which I'm not sharing with.

Quote

You don't need to have the server running in order to connect to other machines. AFAIK, smbfs doesn't need the Samba package to be there at all.

Hans


Yes you are right about that, I just checked the docs. I will double check everything to do with my samba installation when I get home later.  Even if samba is not properly installed I should still be able to ping the SAM from the other machines on the network, shouldn't I? I could ping the A1200 before I installed samba on it. The only difference I can think of between that and the SAM is that the ip for it was set as part of the tcp/ip stack whereas as far as I can tell the SAM's ip is only set in the smb.conf file. I put a matching entry in the hosts list but that doesn't seem to help.

Thanks,
Rudi.
"We live, we die, we laugh, we cry"
 

Offline RuudTopic starter

  • Sr. Member
  • ****
  • Join Date: Jul 2002
  • Posts: 317
    • Show all replies
Re: SAM440ep+os4.1 Networking Problem
« Reply #4 on: December 16, 2008, 10:04:12 AM »
Quote

Fab12 wrote:
I think it's rather linked to SMBFS itself (or the underlying network driver).

On AmigaOS3.x, SMBFS upload was always way slower than download. On MorphOS, while I can get 10MB/s in reception, I barely reach 2MB/s in upload.

Setting the interface in fullduplex mode didn't help in this regard.


Ok that's good to know. This makes me want to get the SAM's shares visible to the PC even more though, so I can see whether performance is better using windows for transfering files.

Thanks,
Rudi.
"We live, we die, we laugh, we cry"
 

Offline RuudTopic starter

  • Sr. Member
  • ****
  • Join Date: Jul 2002
  • Posts: 317
    • Show all replies
Re: SAM440ep+os4.1 Networking Problem
« Reply #5 on: December 17, 2008, 12:01:10 AM »
Right, progress has been made. The PC can now ping the SAM and lists it as part of the work group. But if I try and access the share it fails to connect. An error message comes up saying it may not have permission to use the network resource and that the semaphore timeout period has expired.
I haven't got any passwords or security set.
The SAM and A1200 can read the contents of each others shares using the smbclient command. Is this evidence that samba is properly installed?  The PC has similar problems with the A1200 as it has with the SAM so maybe it is the PC that isn't set up right?

Cheers,
Rudi.
"We live, we die, we laugh, we cry"
 

Offline RuudTopic starter

  • Sr. Member
  • ****
  • Join Date: Jul 2002
  • Posts: 317
    • Show all replies
Re: SAM440ep+os4.1 Networking Problem
« Reply #6 on: December 19, 2008, 10:57:58 PM »
@Hans_

Thanks for the tips, when I have more time I'll see if I can get windows to behave  :lol:

Thanks,
Rudi.
"We live, we die, we laugh, we cry"