Welcome, Guest. Please login or register.

Author Topic: Samba filesystem error message...  (Read 3734 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline KennyR

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 8081
    • Show all replies
    • http://wrongpla.net
Re: Samba filesystem error message...
« on: October 08, 2003, 04:49:47 PM »
It means the hostname you're trying to connect to doesn't exist on the network.

Try using SMBClient -L or SMBClient -L if that doesn't work. This will tell you if Samba is working properly.

If you can't connect, something is wrong. Make sure you're running nmbd, and have hostname database entries for all your lan IPs in Miami/Genesis.
 

Offline KennyR

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 8081
    • Show all replies
    • http://wrongpla.net
Re: Samba filesystem error message...
« Reply #1 on: October 08, 2003, 07:06:15 PM »
Your Samba works fine.

I think you're confusing LAN and WAN IPs. A WAN IP is your internet IP, and this is the address all other machines in the world see you as. It's given to your machine when you connect/dial up/get a lease. Only your gateway machine or router should be referred to by this address.

LAN IP is a local IP address that usually is in the form 192.x.x.x. Any machine can have a LAN and WAN IP - but when you're on a local network, you usually must use the LAN IP to connect to other machines.

You must define a LAN IP for each of your computers in Miami database. If your router assigns dynamic IPs, you must set it to assign static ones instead.
 

Offline KennyR

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 8081
    • Show all replies
    • http://wrongpla.net
Re: Samba filesystem error message...
« Reply #2 on: October 08, 2003, 07:43:09 PM »
Your router probably assigns LAN IPs dynamically. You can usually change this behaviour by assigning IPs to MAC addresses in the router config. Each network card has a (pseudo-unique) address called a MAC. You can use this to give your machines static IPs.

Your router should list the MAC addresses for each of the computers connected. If it doesn't, you can get it from Miami's hardware "SANA-II Perameters" window by pressing the Query Device button. On the PC you can get the MAC address by using ipconfig /all or in an MS-DOS window or running winipconfig (not win2000 or XP). This explains it a bit better.

Then, you can set up the LAN IPs as the following (for example):

192.168.2.1   Amiga
192.168.2.2   PC

Then you go into Miami/Genesis, go to the Database, and add these under Hosts. You'll know it works when you can do

MiamiPing PC
or
MiamiPing 192.168.2.2

from the Amiga and it works. It should work from the PC too.

If your router can't assign IPs by MAC, then you'll probably have to turn off DHCP and connect to it using static IPs. This isn't hard at all, but you should check your router first.
 

Offline KennyR

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 8081
    • Show all replies
    • http://wrongpla.net
Re: Samba filesystem error message...
« Reply #3 on: October 08, 2003, 07:59:10 PM »
No, a modem isn't a router. In your case, the router is the hub.

Can you configure it? If not, you might have to go with the static IPs after all.

And that's not hard - you don't need add another interface. Just change the Miami IP Type gadget in the interface from DHCP to whatever IP you want and hope the hub takes it.
 

Offline KennyR

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 8081
    • Show all replies
    • http://wrongpla.net
Re: Samba filesystem error message...
« Reply #4 on: October 08, 2003, 08:24:19 PM »
It's the hub you're connecting to by DHCP. The hub connects to the modem using PPPoE, the computers behind it don't see this. Forget ADSL - that's on the internet side and has nothing to do with talking between the PC and the Amiga. And they can't talk to each other across the internet either, because they have the same IP.

When you connect to the hub using DHCP, it gives your computer a LAN IP. It's just that you don't know what it is. Connecting to the hub using a static IP and switching off DHCP will allow you to know the computer's LAN IP for Samba and for pinging.

The only question is, does your hub allow you do connect using a static IP? Have you tried?

Quote
But the problem is that I only got one place in miami to set an IP and that is In the interface/edit section?


Exactly. This is where you set your LAN IP. The hub should set your internet IP without Miami knowing it.

It's really the hub that's accessing the internet. It's like a computer attached straight to your modem. The two computers attached to it share its connection.
 

Offline KennyR

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 8081
    • Show all replies
    • http://wrongpla.net
Re: Samba filesystem error message...
« Reply #5 on: October 08, 2003, 08:47:49 PM »
If you don't use DHCP but use static IP instead, you have to set the DNS server manually in Miami and Windows.

There's nothing wrong with your hub.
 

Offline KennyR

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 8081
    • Show all replies
    • http://wrongpla.net
Re: Samba filesystem error message...
« Reply #6 on: October 08, 2003, 08:56:53 PM »
DNS servers don't usually change but are different for each ISP.

And you're welcome. ;-)
 

Offline KennyR

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 8081
    • Show all replies
    • http://wrongpla.net
Re: Samba filesystem error message...
« Reply #7 on: October 08, 2003, 09:21:42 PM »
You set gateway to the LAN IP address of your hub, in that case. You'll have to find out what it uses as its IP, somehow. Do you have docs for it?
 

Offline KennyR

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 8081
    • Show all replies
    • http://wrongpla.net
Re: Samba filesystem error message...
« Reply #8 on: October 08, 2003, 09:49:27 PM »
Well, does it have a manufacturer website with docs?
 

Offline KennyR

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 8081
    • Show all replies
    • http://wrongpla.net
Re: Samba filesystem error message...
« Reply #9 on: October 08, 2003, 10:21:48 PM »
Well...maybe then you can use DHCP and use some tool on the PC to find out the assigned gateway and computer IPs. Don't give up! Good luck! :-)