ExamNotes.net  -  IT certification portal

ForumsCertResearchTop sitesNewslettersFree email
HomeRegister


Exams Notes
Practice exams
Exam games
Questions by email
Online training
Training videos
College degrees
Boot camps
Book store
Links directory
Tell a friend
For webmasters




General discussions > Public newsgroups > alt.os.linux > Network configuration problems

Show a Printable Version
Email This Page to Someone!
Receive updates to this thread



Author Network configuration problems
Brian K. Quade
Guest




Registered: Not Yet
Location:
Country:
State:
Certifications:
Working on:

Total Posts: N/A
Network configuration problems

I am very new to Linux and am trying to set up a network in my home (I
am somewhat familiar with setting up networks, but not very familiar
with Linux). I think I am having trouble setting up the host and domain
names for my Linux computers.

My network has 2 Linux machines (that I recently set up) and one Windows
XP machine. Eventually, I would like to use one of the Linux machines as
a print server for the local network (including the Windows XP machine)
and a web server for testing web applications.

I am trying to set up ssh so that I can administer the Linux server from
the other Linux machine where I will do my development, etc. However, I
can not get ssh to work and I think it may be because I do not have my
host and domain names set up correctly, which I have not learned how to
do under Linux yet.

The server machine starts sshd just fine when the machine starts up.
And I can start an ssh session from that machine (so it knows its own
host name). But I can not start a session from the other Linux machine
(so the network does not know the server's host name).

When I log into my router configuration utility, I see the IP addresses
of the Linux machines that are connected, but they do not show a host
name. The Windows XP machine does show a host name in the router
configuration utility. Maybe that is why ssh will not work?

Can anyone point me in the right direction??

Report this post to a moderator

Old Post 10-07-02 06:24 PM
Reply w/Quote Edit/Delete Message IP: Logged
Sybren
Guest




Registered: Not Yet
Location:
Country:
State:
Certifications:
Working on:

Total Posts: N/A
Re: Network configuration problems

Brian K. Quade wrote:

> I am trying to set up ssh so that I can administer the Linux server from
> the other Linux machine where I will do my development, etc. However, I
> can not get ssh to work and I think it may be because I do not have my
> host and domain names set up correctly, which I have not learned how to
> do under Linux yet.


Hostnames and domain names aren't that important. It's IP addresses that
count. Can you ping the different machines? Is 'sshd' actually running on
the Linux box? (hint: ps -awx | grep sshd) What kind of errors do you get?
The document linked in my signature might be a good read for you.

Furthermore: DO NOT CROSSPOST! Post to a single group, and if they don't
answer, then post to the next.

Sybren
--
Do you think I'm rude, or don't you understand my answers? Read this page
[http://www.tuxedo.org/~esr/faqs/sma...ions.html#intro] and you'll
understand. You'll also see that I'm not rude in this
(http://www.tuxedo.org/~esr/faqs/sma...tions.html#rtfm) section.

Report this post to a moderator

Old Post 10-07-02 06:24 PM
Reply w/Quote Edit/Delete Message IP: Logged
Duncan Thomson
Guest




Registered: Not Yet
Location:
Country:
State:
Certifications:
Working on:

Total Posts: N/A
Re: Network configuration problems



"Brian K. Quade" wrote:
>
> I am very new to Linux and am trying to set up a network in my home

<snip>

>...I do not have my
> host and domain names set up correctly, which I have not learned how to
> do under Linux yet.


You need to explain your home network a little better. If
you're running a DNS server, or if someone is running one
for you, then you need to add entries for your hosts in that
server. More likely, you're not running a DNS server, and you
probably don't even have a registered domain name. The simplest
thing to do is just to manually create some entries in /etc/hosts
on each of your machines. For example, add lines like:

192.168.1.1 machine1.myhouse.org machine1
192.168.1.2 machine2.myhouse.org machine2

I think if you do "man hosts" you'll get info on this. Or see
http://sman.informatik.htw-dresden....1/man?=hosts&=5

The only problem with the above approach is that you have to manually
maintain this file, which might be no problem, or might be a pain,
depending on your particular setup.

>
> The server machine starts sshd just fine when the machine starts up.
> And I can start an ssh session from that machine (so it knows its own
> host name). But I can not start a session from the other Linux machine
> (so the network does not know the server's host name).


If you use an IP address does ssh work? For example, if you do
something
like "ssh 1.2.3.4" do you get a connection?

>
> When I log into my router configuration utility, I see the IP addresses
> of the Linux machines that are connected, but they do not show a host
> name. The Windows XP machine does show a host name in the router
> configuration utility. Maybe that is why ssh will not work?


You need to be more specific here. What is your "router"? Does
it run a DNS server? (Is it also running your DHCP server?) If
that's the case, then you need to configure it. Some DHCP servers
will also set the hostname on the client. If this is what you
are doing, then use the "-H" option when you start your dhcp client
on the linux box. (How you do this depends on which Linux
distribution you are running, if you are running red-hat I can
help, otherwise...)

>
> Can anyone point me in the right direction??


You might want to just do some reading on the web and get an
understanding of how DNS works. You might also want to bone
up on DHCP.

Report this post to a moderator

Old Post 10-07-02 09:24 PM
Reply w/Quote Edit/Delete Message IP: Logged
mjt
Guest




Registered: Not Yet
Location:
Country:
State:
Certifications:
Working on:

Total Posts: N/A
Re: Network configuration problems

Brian K. Quade wrote:

> My network has 2 Linux machines (that I recently set up) and one Windows
> XP machine. Eventually, I would like to use one of the Linux machines as
> a print server for the local network (including the Windows XP machine)
> and a web server for testing web applications.


.... can you ping the various machines from each machine? are you
using static or dynamic IPs for each of the machines?

BTW .... you've crossposted to too many groups


--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~
Michael J. Tobler: motorcyclist, surfer, # Black holes result
skydiver, and author: "Inside Linux", # when God divides the
"C++ HowTo", "C++ Unleashed" # universe by zero

Report this post to a moderator

Old Post 10-07-02 09:24 PM
Reply w/Quote Edit/Delete Message IP: Logged
RS
Guest




Registered: Not Yet
Location:
Country:
State:
Certifications:
Working on:

Total Posts: N/A
Re: Network configuration problems

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Brian K. Quade wrote:
|
| Can anyone point me in the right direction??
|

Which Distro?


- --
Richard - richard[at]gotworms.co.uk
# telnet://www.tr3.org:3000
# The bugs will go away when you turn off the computer!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6-2 (MingW32)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAj2h+2MACgkQvgpMAb
M8iLQm5wCg/ATUgD6bieU4R2J9kHgSZMtE
yBcAnirAcHyh2/9BP6DtS8AURQxuS/60
=WhVK
-----END PGP SIGNATURE-----

Report this post to a moderator

Old Post 10-07-02 11:24 PM
Reply w/Quote Edit/Delete Message IP: Logged
All times are GMT.
Post new thread   Post reply


Forum Jump:
Rate This Thread:
Forum Rules:
Who Can Read The Forum? Any registered user or guest.
Who Can Post New Topics? Any registered user.
Who Can Post Replies? Any registered user.
Changes: Messages can be edited by their author.
Posts: HTML code is OFF. Smilies are ON. vB code is ON. [IMG] code is OFF.
 

ExamNotes forum archive


Powered by: vBulletin 2.2.8
Copyright ©2000, Jelsoft Enterprises Limited.

  Free Braindumps | mcse braindumps