Lee Wiggers wrote:
 Seems like every time my gf plugs in her laptop, the lan
either disallows others from using the internet
connection or making samba connections.  Not all the time
and not all problems at all times.

My main question should have been How do I keep an xp box
from winning any elections or taking any responsibilities
for cups, samba, and any other place I've missed.  I
thought I knew what I was doing, but can't put my finger
on it.

Right now the laptop is on and my smb4k is saying,
"Searching network..." instead of hooking up with HOME
WORKGROUP and showing the shares.

"service smb restart" has no effect and smb.conf is not
corrupted.  Both smb and nmb services are "ok"

I want to know when my box is on, it rules.

TIA

Lee

AH, OK.

So, first I need some info. How is the LAN setup? For instance, are you running a router or using one of your PC's with 2 NIC's as the router? How many are Windows, how many are Linux? If you have a combination of a router and a main Linux box, which one is acting as the DHCP server? As the gateway? Are you running a proxy server?

Any info of that nature would be a big help in working this out with you. Try to be as clear and simple as possible, but don't leave out relevant details. Also, it would be good if you could describe the layout of your network from a connection perspective, working from the Internet connection backwards to the PC's and/or printers.

Second, You can increase the Samba priority way beyond whatever Windows can offer, so that Windows should lose that election. IIRC, Windows runs it's priority at around 32, so if you set the Samba server as 45, Windows won't get priority AND you can also adjust Samba to be the Master Browser.

Third, I assume that the printer(s) are running on cups and being fed to the Windows boxes via Samba, so my suggestion above should also solve that problem,.

Next, are the Windows boxes serving up any shared folders? Does it have 'File and Printer Sharing' enabled in the network properties stack? If so, disable them and create a new Samba share that all machines can access (with or without password authentication) so that file sharing happens when one box sends the files to be shared into that new Samba share, whereby other machines would also access that same share to grab those files.

If you have webmin installed, you could do this in seconds via your web browser, but if not, you should look at the default /etc/samba/smb.conf file. It includes a lot of info and sample configs that should help you make the right choices.

It's also critical that ALL machines are in the same workgroup and that the Samba server has been fed the usernames and passwords of those systems. For 'Guest PC's' you can create a public share that will not require a username or password.

Also, creating one 'hosts' file with the names and IP addresses of the systems on your network would be a good idea. Once it's complete, you can copy/paste it out to all the systems on your network, including the Windows boxes.

The more info you can provide, the more help I can offer, but these ones should get you started.

HTH's

DL
____________________________________________________
Want to buy your Pack or Services from Mandriva? Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________

Reply via email to