Welcome, Guest. Please login or register.

Author Topic: Samba - Cant get my miggy to show on the pc side...  (Read 1912 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline PertinaxTopic starter

  • Jr. Member
  • **
  • Join Date: Apr 2002
  • Posts: 81
    • Show only replies by Pertinax
    • http://www.heaven-knows.net/
Samba - Cant get my miggy to show on the pc side...
« on: December 02, 2005, 07:56:26 PM »
Hello all,

Have managed to get Samba up and "running" on my A1200 (OS3.9, 040) with my pc (Win98SE, Pentium233).

After following the guide at samba.amigaworld.net and amigasamba.org I have got things "running". I say "running" because I can get the PC to show itself in Network Neighborhood, with the correct workgroup and all, but I can't get my Amiga to show...

I can use "smbclient \\myminipc\c" to get into my pc, and get and put files to and fro, so why doesnt my Amiga show in Network Neighborhood?

Any ideas?  I'd really like some help with this, if anyone has spare time? I would eventually like to get the pc to act as a printserver for the Amiga (via Tp if possible) so I can print from the Amiga through the PC, thus taking the load off my Amiga.

Thanks for any help...... Please??? :)



Jason
 

Offline Thomas

Re: Samba - Cant get my miggy to show on the pc side...
« Reply #1 on: December 02, 2005, 09:35:31 PM »

How long did you wait for the Amiga to show up ? Did you reboot the PC in the meanwhile ? What happens if you open Windows Explorer and enter \\amiga ? What hapens if you use the Search for Computers option to search for the Amiga ? What happens if you run smbclient -L localhost on the Amiga ? What happens if you run smbclient -L amiga ? What happens if you run smbclient -L pc ? Did you add the Amiga's name an IP address to the PC's hosts file ? Did you add the PC's name and IP address to the Amiga's hosts list ? What does swat say about smbd and nmbd ? What does the shell command Status say about smbd and nmbd ? What do Samba's logs say ?

Bye,
Thomas

Offline boris_f

  • Newbie
  • *
  • Join Date: May 2005
  • Posts: 8
    • Show only replies by boris_f
Re: Samba - Cant get my miggy to show on the pc side...
« Reply #2 on: December 02, 2005, 09:57:30 PM »
Hi,

Be sure to use Samba 2.0.7. The other versions are broken. That should fix yer prob.

cheers
They oughtta make registrations easier.
 

Offline Thomas

Re: Samba - Cant get my miggy to show on the pc side...
« Reply #3 on: December 02, 2005, 10:36:09 PM »
Quote

boris_f wrote:
Be sure to use Samba 2.0.7. The other versions are broken. That should fix yer prob.


That's no longer true. Version 2.2.5 as created by Olaf Barthel is totally ok.

Bye,
Thomas

Offline boris_f

  • Newbie
  • *
  • Join Date: May 2005
  • Posts: 8
    • Show only replies by boris_f
Re: Samba - Cant get my miggy to show on the pc side...
« Reply #4 on: December 03, 2005, 01:06:03 AM »
Hi,

No its not okay. 2.2.5 nmbd doesnt work. That means samba works but you cant see shares on a pc. 2.0.7 is the only fully working version by Olaf. Try and see.

cheers
They oughtta make registrations easier.
 

Offline Thomas

Re: Samba - Cant get my miggy to show on the pc side...
« Reply #5 on: December 03, 2005, 09:18:43 AM »
Quote

That means samba works but you cant see shares on a pc.


Could you explain this in more detail ? I use Samba 2.2.5 on all my Amigas (OS4, MorphOS, A4000) without problems. I can see all Amigas and their shares in the PC's Network Neighbourhood and I can list and mount the PC's shares on all Amigas. So what exactly does not work ?

Bye,
Thomas

Offline Gerbinist

Re: Samba - Cant get my miggy to show on the pc side...
« Reply #6 on: December 03, 2005, 10:37:07 AM »
Confirmed working 2.2.5 68k version here aswell
Current: OS 3.1.4, Blizzard 1260/50, 64 MB, AGA, CF, Ryś MKII, PCMCIA/CNET
Storage: Elbox E/BOX 1200, SCSI Kit IV, Mediator SX, Voodoo3/4/5, RTL8139 Ethernet, Spider USB 2.0, PixelView PlayTV MPEG2, Terratec 512i, MAS MP3 Player
 

Offline dunx2005

  • Newbie
  • *
  • Join Date: Jul 2005
  • Posts: 8
    • Show only replies by dunx2005
Re: Samba - Cant get my miggy to show on the pc side...
« Reply #7 on: December 03, 2005, 10:39:04 AM »
Try this site I used it to get my network up and running
http://samba.amigaworld.net/

Sometimes it takes a while before samba shares show up on the
PC upto 15 minutes
 

Offline AltRN8

  • Full Member
  • ***
  • Join Date: Mar 2004
  • Posts: 181
    • Show only replies by AltRN8
Re: Samba - Cant get my miggy to show on the pc side...
« Reply #8 on: December 03, 2005, 03:29:48 PM »
Most likely the problem you are having is caused by the SMB protocol itself. Its a broadcast protocol that does self announcements. As mentioned previously it can take upwards of 15 minutes for one machine to register with another on the network. If I remember correctly its an announcement, verification request, confirmation kind of thing.

You should be able to do start->run \\amiga_name\share from the pc and see files on your amiga.

Now I don't know about the various problems with ports, but if there was a problem and some point with nmbd than it could definitely be the root cause of the name not showing up.

The two parts of samba are smbd which handles the server message block protocol for the file and print sharing and nmbd which is the NETBIOS name server. Basically, nmdb handles name resolution and discovery ie. Network Neighborhood. You can still use Samba without nmbd running it just doesn't know how to discovery other machines via broadcast.

This is not a problem for modern windows boxes because they can all use ip addresses to conenct other machines. So one other thing you can try is           \\amiga_ip\share and the same should work from the amiga.

Now the fact that the pc name works from the samba side would elad you to believe that nmbd is working but its possible its receiving find and not sending the udp packets correctly.

Using ip addresses is annoying so you can compensate by using the DNS name of the machine (but you probably aren't running DNS in house) or by editing the local windows hosts file to match your amigas ip and name. The hosts file can be located in c:\windows\system32\drivers\etc\hosts. Just add  . There is a sample in the file so, its pretty self explanatory. You must have a static ip for your amiga (no random dhcp address). for this to work. This way you can use \\amiga_name\share all the time.  Also you can use map drive to make the connection occur all the time so you won't need to use netowrk neighboorhood or manually make the connection constantly.

So in summary you can try the following:

1) Wait over 15 minutes.
2) Upgrade your samba to the latest stable port (this should probably be step one :)
3) Not use network neighborhood and just use the ip address or hard code the ip/name in your windows hosts file so you can use your amiga's name

Let me know if you have any other questions or any of the above doesn't make sense.