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.
This is probably (and hopefully) a stupid question with a trivial answer, so sorry in advance!
I've just installed CentOS 4.4, and all seems to be OK. What I'm attempting to do is to set the remote hostname of the computer (terminology probably wrong, but I'll attempt to explain).
The 'local' hostname of the computer is fine; when I log in, I see:
Which I was expecting. Typing 'hostname' returns 'webserver'.
What I do want to be able to do is to refer to the computer as //webserver from other computers on the network. The other Linux box (running FC5) can be accessed by //linuxserver... Could someone explain where I've gone wrong?
(As an aside, when I login via SSH, the 'password:' prompt takes a while - about 10-20 seconds - to appear; is this a function of me having cocked the DNS settings up a bit?)
//webserver would pull it up if
a) webserver was first resolved as the IP of this host from the host on which you're trying to pull it up in the browser (has to do with the DNS/resolv.conf on that machine rather than anything on webserver itself.
b) You are running something that is listening on the standard httpd port (80) on webserver. ("lsof -i :80" would verify that).
c) You are not blocking outside connections to port 80 in the firewall on webserver, firewall between the boxes or firewall on the server where you ran the browser.
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 220.127.116.11, KDE 3.5.8 and KDE 4.0 beta, Plu
You want other machines to see the machine as //winserver instead of just a plain IP. For that to work on say the fc5 box you will need to edit /etc/hosts file and add a reference for the IP to hostname.
For ssh log delay can depend on a few things. I assume both machines are on the same network segment? If so then my guess the ssh conection is trying to do passphrases first. Usually a little delay but not much over 5 seconds. I am guessing you are on the right track with the DNS and not resolving correctly which if you are employ this then it can be the issue you have in question one. If you use the IP instead of a hostname does it work faster?
Ahh, linuxserver is running samba, so presumably WINS has something to do with its being resolved? On further investigation, I can't access it by hostname from webserver, whereas I can from my Windows machine with a samba network drive mounted. I'll have to sort samba out on webserver in that case, and then maybe come back to this one.
With that (hopefully) out of the way, does anyone have any ideas about the ssh login problem?