Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am running Caldera OpenLinux Server 2.3 with all of the services installed and the default Samba version that comes with it. The clients are Windows 98 and Windows NT. A Linksys router with DHCP is hosting a Cable Modem for basic Internet stuff like web browsing. The Linux server is excluded from the DHCP range (on the router), and has 2 printers attached. Samba runs file and print sharing for the 2 clients, and normally the configuration works just fine. The server's IP address/DNS settings are configured correctly because it can get to the Internet via Netscape.
Here is the problem:
Whenever the Internet goes down (or the cable modem is unplugged) and one of the clients tries to print, the Samba printing fails and the file sharing stops - usually resulting in a lockup on the client. However, when the Internet comes back up, file sharing and printing resume normally. I'm not a wizard with Linux, but I do believe that DHCP is not running on the server. Why is the Internet connection locking up Samba?
Thanks for your reply. I put the clients on static IP addresses and put the proper entries in all of the host files (including on the clients). The "order hosts, bind" was set correctly. So, now when the Internet line goes down, they can get to their files just fine. However, and this is goofy, the printing still locks up. Is this a NetBIOS or Netbuei issue maybe?
I looked at the printcap and smb.conf files which seem ok. I even tried making the server the "master browser" with no luck. I read somewhere on the Internet that putting this line in the smb.conf may help (print command=lpr -r -P%p %s). What do you think?
I was able to reproduce this error on a friend's network, but when I put the entries into the host files (and lmhost when found) and reboot...all was ok. He has a Windows2000 Server there as well (I think that its running DNS).
However, at home when the Internet goes down, its like my Samba box disappears. I've tried rebooting, but that hasn't helped. When this happens, I can't print or browse locally.
TCP/IP is the only protocal enabled on the network, and I'm running Caldera Linux. All of the computers can now ping each other by name.
This all started after printing was correctly setup. When the Internet is down LPR hangs on bootup.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.