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.
About a week ago, I installed FC5, subsequently defined a printer queue, and the printer (hp deskjet 5550) worked fine. I use a router to network two computers. FC5 is only on the "main" computer. So I set about to share the filesystem with the second computer, still running FC4. On the FC5 computer, I went to System->Administration->Network to get "Network Configuration" and set up the proper host names recognized by the router. I discovered that the FC5 computer was listed as localhost.localdomain at 127.0.0.1. I could have sworn that during the installation of FC5, I entered its correct name and IP address and don't know where 127.0.0.1 came from. Anyway, I made the necessary changes and additions in Network Configuration:
localhost1.localdomain at 192.168.1.100 (running FC5)
localhost2.localdomain at 192.168.1.200 (running FC4)
That part was successful. When I boot localhost2, I now can mount the filesystem from the hard drive on localhost1 onto localhost2.
But now the printer, locally connected to localhost1, stopped working! I looked at cupsd.conf and saw that mysterious address 127.0.0.1. Assuming that this was why the printer stopped working, I changed those values to 192.168.1.100. I also deleted the print queue and created a new one. But I just can't get the printer working. When attempting to print the test page at the end to the queue-creation process, I get "server-error-service-unavailable."
127.0.0.1 is the loopback address and is used for all sorts of thing on the local machine and it is absolutely essential that it is defined. This is true for Linux, Windows, whatever.
Check your hosts file (should be in /etc), and make sure it has a line like
127.0.0.1 localhost host localhost.localdomain
otherwise your networking will be stuffed
Please don't double post
Last edited by billymayday; 05-01-2006 at 02:45 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.