Problem with two lan networks and access to ap
-
Yes that would be the correct way to do it. It does mean you need an always on machine in addition to pfSense.
JimP posted, a long while back now, about trying to make a cut down samba package that only ran as a WINS server. I don't think he could make it work which is a shame since it would fulfill these duties perfectly.https://forum.pfsense.org/index.php/topic,22561.msg116962.html#msg116962
Steve
-
I use SAMBA and I have a WINs server set up. To save trouble, I have it running in a VM thats doing a whole lot of other things also.
UBUNTU is really simple to do this with. So is Mint and Centos. Or it would also be simple enough to do it with the LINUX computer he is using as a work station currently. It would be invisible to him once he set up the samba.conf Only thing is, its not going to handle more than just 1 subnet unless he is magician. Thats the part I'm not clear on. How many subnets are there?(I maintain this, but I don't ACTUALLY need it)
-
It should work fine as long as you specify the IP of the WINS/samba machine in the DHCP settings from the other subnet. In his case wireless clients can contact a samba server on the wired side by IP no problem so as long as they are set to use that for netbios queries it should work. Of course it relies on having the samba machine up before anything else tried to connect.
Reading some docs it seems the only part of samba neccesarry to get this working is nmbd. Someone must have made a FreeBSD package for that already I'm thinking.
Steve
-
I already have Samba on Linux computers
But it does not helpThey only see computers on their network
You really do not want to rely on broadcasts to keep track of 2000 computers and their shares.
You need to get it mapped by IP and just access shares with IPs.
It was an example of computer network at work
I have a computer with a virtual machine on it
Not the most powerful computer
Because there is only one machine
And the computer does not carryI will try to add another one and see if the Avahi package works
-
If you're already running a samba server, I imagine any Linux machine could do that, the configure it to be a WINS server. Then add the IP address of that machine to the DHCP server config on both the wired and wireless networks. There's a field for that marked 'WINS servers'. You will have to make sure that machine is always on (or almost always). You won't need a powerful machine to do this it should require almost nothing by way of resources.
Avahi will not help if you are using SMB shares.
Steve
-
I'm on Samba version 3.6.3
I think you'd need to get to version 4 to attempt this the way you want.
-
What makes you think that? Samba has had WINS support for like forever. ;)
Steve
-
Yeah - WINs works for me, per subnet. But I can't see whats on 10.10.10.0 from 10.10.11.0 thats all I'm saying.
For me anyway… (I gave up trying a while ago)My last use for it was getting netbios over TCP with Openvpn - Works fine for that for me. (but plugging in IP is more reliable/faster)
-
I'll defer to your experience since I've never actually tried it but I can't see why it wouldn't work in theory. ::)
Steve
-
May be we are not on the same wavelength
When I said that I have Samba
I did not mean another computer
I meant Linux software installed on ubuntu that allows me to shareAvahi will not help if you are using SMB shares.
what is "SMB shares"
-
SAMBA "installed on ubuntu that allows me to share" = SMB share
But with samba shares you have to take some steps in the samba.conf file to make the workgroup correct, handle your printers, identify and name your file shares, AND you have to make it allow access without passwords unless you want passwords required.
That same samba.conf is also where you would set up WINs parameters if you want.
-
Do you already have file and printers shared? If so, what are you using to do that?
-
I have file sharing and printers
I have a few computers with Ubuntu
And several computers with windowsI have access to all folders
When I wanted to share Ubuntu
I read should add the Samba
So I added
So I went to the folder and click Share Like in Windows -
You want to configure one of those Ubuntu boxes as a WINS server. Something like:
http://whereofwecannotspeak.wordpress.com/2007/10/24/samba-as-a-wins-server-in-a-windows-peer-network/
Though that's obviously very old now.
Then point all the other machines at it.Steve
-
But it will have to remain turned on 24 \ 7
Does is not ?If this is the case
Right now I prefer to stay in the current situationIn the coming month or two
I'm going to install a home nas
To be used to keep files of music and movies, etc. etc. etc.And it will turned on 24 \ 7
I have not decided what system to put it
I tend towards freenasThis computer will be turned on 24 \ 7
Which I can put put the Samba -
Sounds like you have a handle on it now. Sounds reasonable. :)
-
I have two months to figure out how to do it
{Meanwhile I will try to solve another problem I have with pfsense not related to this forum}
Anyway
Thanks everyone for the help