I have a fairly simple network running in my flat - there is a linux box with two network cards in it, and two network machines. I have the linux box set up to route traffic between the windows 98 machines and they can ping each other. I'm now trying to set up samba so the windows boxes can swap files thru smb. I have managed to get all machines to see each other (thru smbclient and network neighbourhood), but the windows ones can't connect to each other (The "\\machinename is not accessible" error). I am hoping to be able to do this without resorting to setting up a domain, or some complex password scheme (the "hosts allow" setting is more than enough security for me - if there was some way of turning off all other security I would use it).....the network topology, software versions and relevant bits of my smb.conf file as are follows windows1: 192.168.0.2 (connected to linux box eth0) windows2: 192.168.1.2 (connected to linux box eth1) linux box: eth0: 192.168.0.1 linux box: eth1: 192.168.1.1 routing table specifies direct routes to windows1 and windows2 on the relevant interfaces samba vers 2.0.7, redhat vers 7.1 (fresh install) guest account = pcguest security = user encrypt passwords = yes interfaces = 192.168.0.1/24 192.168.1.1/24 local master = yes os level = 65 preferred master = yes domain master = yes (AFAIK this needs to be here) wins support = yes (for wins server) I have no idea why this doesn't work. If anyone can come up with some idea, I would be absolutely stoked. Please email it to me if you can - I don't check the archives very often... Thanks heaps in advance -d
dionysus wrote:>I have a fairly simple network running in my flat - there is a linux >box with two network cards in it, and two network machines. I have the >linux box set up to route traffic between the windows 98 machines and >they can ping each other. I'm now trying to set up samba so the >windows boxes can swap files thru smb. I have managed to get all >machines to see each other (thru smbclient and network neighbourhood), >but the windows ones can't connect to each other (The "\\machinename >is not accessible" error). I am hoping to be able to do this without >resorting to setting up a domain, or some complex password scheme (the >"hosts allow" setting is more than enough security for me - if there >was some way of turning off all other security I would use it).....the >network topology, software versions and relevant bits of my smb.conf >file as are follows > >windows1: 192.168.0.2 (connected to linux box eth0) >windows2: 192.168.1.2 (connected to linux box eth1) >linux box: eth0: 192.168.0.1 >linux box: eth1: 192.168.1.1 >too cheap for a hub eh ;)> >routing table specifies direct routes to windows1 and windows2 on the >relevant interfaces > >samba vers 2.0.7, redhat vers 7.1 (fresh install) >this is old - should work fine - but you might do well with a more recent version> >guest account = pcguest >security = user >encrypt passwords = yes >interfaces = 192.168.0.1/24 192.168.1.1/24 >local master = yes >os level = 65 >preferred master = yes >domain master = yes (AFAIK this needs to be here) >wins support = yes (for wins server) >you need this here> >I have no idea why this doesn't work. >i think maybe your clients are not using the wins server make sure you point those fields at the samba box. You need it because all your clients are not on the same subnet>If anyone can come up with some idea, I would be absolutely stoked. >Please email it to me if you can - I don't check the archives very >often... >Thanks heaps in advance > >-d > > >
Bradley W. Langhorst
2002-May-07 06:18 UTC
[Samba] samba w/ multiple network cards/machines
> >> >>I have no idea why this doesn't work. >> >i think maybe your clients are not using the wins server >make sure you point those fields at the samba box. You need it>because all your clients are not on the same subnetthe clients all are set to use the wins server in their TCP/IP properties for the ethernet card.... that is all I need to do to set them up isn't it? hmm well that changes things a bit. do you have anything in the log when you do a net use command? If not I'd start looking at your routing setup. You said you can ping right? i've not done this before so I won't be much help... brad