Slackware This Forum is for the discussion of Slackware Linux.
|
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
09-10-2013, 11:00 AM
|
#1
|
Member
Registered: Oct 2004
Posts: 209
Rep:
|
hostname confusion
I am confused over how linux stored and uses its hostname. I run the command
~ $ hostname
misty
But, when I use cups on a remote system to access a printer, it fails with
a can't establish connection with loki.dogpound.net. At one tine the system might have been named loki, but was changed.
Why does cups still report loki as the hostname instead of misty to the remote system?
tj
|
|
|
09-10-2013, 11:12 AM
|
#2
|
Member
Registered: Mar 2013
Location: Reno, Nevada, United States
Distribution: Slackware, OpenBSD, openSUSE, Android
Posts: 95
Rep:
|
What's the content of /etc/hosts?
|
|
|
09-10-2013, 11:17 AM
|
#3
|
Member
Registered: Oct 2004
Posts: 209
Original Poster
Rep:
|
Discovered the problem in the server's /etc/hosts and discovered your suggestion to look there when I came back to post the problem solved. Still, thanks for the reply.
tj
|
|
|
09-10-2013, 12:27 PM
|
#4
|
Member
Registered: Mar 2013
Location: Reno, Nevada, United States
Distribution: Slackware, OpenBSD, openSUSE, Android
Posts: 95
Rep:
|
No problem, and good to see you got it figured out. I had just stumbled through some issues with Apache and an OpenVZ-ified Slackware server's /etc/hosts, which is why it came to mind (damn OpenVZ-based VPS providers...).
|
|
|
All times are GMT -5. The time now is 07:57 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|