Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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.