All of lore.kernel.org
 help / color / mirror / Atom feed
* local networking hostname
@ 2002-07-22 15:03 Jim Earl
  2002-07-22 15:16 ` Joseph Jackson
  2002-07-22 15:19 ` Ray Olszewski
  0 siblings, 2 replies; 6+ messages in thread
From: Jim Earl @ 2002-07-22 15:03 UTC (permalink / raw)
  To: linux-newbie

Hello!

I am setting up a small network of one Linux and one non-Linux box.  The
network is established via Ethernet; ifconfig and route report verify this.
I am able to telnet from the non-linux to the Linux box but only using the
IP address - NOT using the hostname.  However, when I try to telnet from the
Linux box to itself ( using the loopback interface ), it works fine.  My
/etc/hosts , /etc/resolv.conf and /etc/networks seem to be ok.

I don't have 'named' running, but it looks like I might need to ( though I
had wanted to avoid it ).

Any ideas are appreciated.
-- 
Jim Earl


jimurl@MontanaIce.com

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: local networking hostname
  2002-07-22 15:03 local networking hostname Jim Earl
@ 2002-07-22 15:16 ` Joseph Jackson
  2002-07-22 15:19 ` Ray Olszewski
  1 sibling, 0 replies; 6+ messages in thread
From: Joseph Jackson @ 2002-07-22 15:16 UTC (permalink / raw)
  To: Jim Earl; +Cc: linux-newbie

Jim Earl wrote:

> Hello!
> 
> I am setting up a small network of one Linux and one non-Linux box.  The
> network is established via Ethernet; ifconfig and route report verify this.
> I am able to telnet from the non-linux to the Linux box but only using the
> IP address - NOT using the hostname.  However, when I try to telnet from the
> Linux box to itself ( using the loopback interface ), it works fine.  My
> /etc/hosts , /etc/resolv.conf and /etc/networks seem to be ok.
> 
> I don't have 'named' running, but it looks like I might need to ( though I
> had wanted to avoid it ).
> 
> Any ideas are appreciated.
> 

What os is the other machine? that would help to know.  if it is a windows 
machine you will need to edit the file lmhosts in the folder c:\windows just 
open that file in note pad and enter in the info (it is alot like /etc/hosts 
file on linux) that will let you use the machines name instead of the ip address 
to connect to it.  unless you want to use a dns server on your network and since 
its only 2 machines I see no need to.  Just edit the lmhosts file.


Joseph Jackson


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: local networking hostname
  2002-07-22 15:03 local networking hostname Jim Earl
  2002-07-22 15:16 ` Joseph Jackson
@ 2002-07-22 15:19 ` Ray Olszewski
  2002-07-22 20:07   ` Jim Earl
  1 sibling, 1 reply; 6+ messages in thread
From: Ray Olszewski @ 2002-07-22 15:19 UTC (permalink / raw)
  To: Jim Earl, linux-newbie

At 09:03 AM 7/22/02 -0600, Jim Earl wrote:
>Hello!
>
>I am setting up a small network of one Linux and one non-Linux box.  The
>network is established via Ethernet; ifconfig and route report verify this.
>I am able to telnet from the non-linux to the Linux box but only using the
>IP address - NOT using the hostname.  However, when I try to telnet from the
>Linux box to itself ( using the loopback interface ), it works fine.  My
>/etc/hosts , /etc/resolv.conf and /etc/networks seem to be ok.
>
>I don't have 'named' running, but it looks like I might need to ( though I
>had wanted to avoid it ).
>
>Any ideas are appreciated.

The files that you say "seem to be ok" affect the ability of the Linux host 
itself to resolve names, but they have nothing to do with the ability of 
the "non-linux" host to resolve names. Your options are:

1. Run an on-LAN nameserver and tell the non-Linux host to use it to 
resolve names. Running BIND (named) on the Linux host is one way to do this.

2. Set up the non-Linux host to do local name resolution using its 
equivalent of /etc/hosts . Knowing nothing about this host, execpt that it 
is a computer and it does not run Linux, I can't tell you how to do this.



--
-----------------------------------------------"Never tell me the 
odds!"--------------
Ray Olszewski					     -- Han Solo
Palo Alto, California, USA				ray@comarre.com
-------------------------------------------------------------------------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: local networking hostname
  2002-07-22 15:19 ` Ray Olszewski
@ 2002-07-22 20:07   ` Jim Earl
  2002-07-22 21:14     ` Ray Olszewski
  2002-07-23 14:45     ` chuck gelm
  0 siblings, 2 replies; 6+ messages in thread
From: Jim Earl @ 2002-07-22 20:07 UTC (permalink / raw)
  To: Ray Olszewski, linux-newbie, Joseph Jackson



> From: Ray Olszewski <ray@comarre.com>
> Date: Mon, 22 Jul 2002 08:19:00 -0700
> To: Jim Earl <jimurl@montanaice.com>, <linux-newbie@vger.kernel.org>
> Subject: Re: local networking hostname
> 
> At 09:03 AM 7/22/02 -0600, Jim Earl wrote:
>> Hello!
>> 
>> I am setting up a small network of one Linux and one non-Linux box.  The
>> network is established via Ethernet; ifconfig and route report verify this.
>> I am able to telnet from the non-linux to the Linux box but only using the
>> IP address - NOT using the hostname.  However, when I try to telnet from the
>> Linux box to itself ( using the loopback interface ), it works fine.  My
>> /etc/hosts , /etc/resolv.conf and /etc/networks seem to be ok.
>> 
>> I don't have 'named' running, but it looks like I might need to ( though I
>> had wanted to avoid it ).
>> 
>> Any ideas are appreciated.
> 
> The files that you say "seem to be ok" affect the ability of the Linux host
> itself to resolve names, but they have nothing to do with the ability of
> the "non-linux" host to resolve names. Your options are:
> 
> 1. Run an on-LAN nameserver and tell the non-Linux host to use it to
> resolve names. Running BIND (named) on the Linux host is one way to do this.
> 
> 2. Set up the non-Linux host to do local name resolution using its
> equivalent of /etc/hosts . Knowing nothing about this host, execpt that it
> is a computer and it does not run Linux, I can't tell you how to do this.
> 
Thanks Joeseph and Ray...

The Non-Linux is a Mac OS 9.  What you both are saying makes sense- not a
Linux issue, but rather a Mac equivalent of '/etc/hosts'.  I have been
screwing around with with the TCP/IP Control Panel, including "Selecting a
Host File", following apples instructiosn on that.  Still no luck;

I have, however, noticed that routed is not a running process.  Should it be
in this case?

Thanks!

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: local networking hostname
  2002-07-22 20:07   ` Jim Earl
@ 2002-07-22 21:14     ` Ray Olszewski
  2002-07-23 14:45     ` chuck gelm
  1 sibling, 0 replies; 6+ messages in thread
From: Ray Olszewski @ 2002-07-22 21:14 UTC (permalink / raw)
  To: Jim Earl, linux-newbie

At 02:07 PM 7/22/02 -0600, Jim Earl wrote:
[...]
>The Non-Linux is a Mac OS 9.  What you both are saying makes sense- not a
>Linux issue, but rather a Mac equivalent of '/etc/hosts'.  I have been
>screwing around with with the TCP/IP Control Panel, including "Selecting a
>Host File", following apples instructiosn on that.  Still no luck;
>
>I have, however, noticed that routed is not a running process.  Should it be
>in this case?

I don't think you've said if the Linux host is acting as a router for the 
Mac host, or if this is just a private LAN. But in either case,  the Linux 
host does not need to run routed ... the kernel's own routing table, 
managed with "route" or "ip" (depends on the distro and kernel version), 
can handle both LAN access and the simple sorts of routing that home and 
small-business routers do.

Routed can be useful in more complicated routing setups, but it's been so 
long since I used it that I can't offhand tell you much about its use.


--
-----------------------------------------------"Never tell me the 
odds!"--------------
Ray Olszewski					     -- Han Solo
Palo Alto, California, USA				ray@comarre.com
-------------------------------------------------------------------------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: local networking hostname
  2002-07-22 20:07   ` Jim Earl
  2002-07-22 21:14     ` Ray Olszewski
@ 2002-07-23 14:45     ` chuck gelm
  1 sibling, 0 replies; 6+ messages in thread
From: chuck gelm @ 2002-07-23 14:45 UTC (permalink / raw)
  To: Jim Earl; +Cc: Ray Olszewski, linux-newbie, Joseph Jackson

Jim Earl:

Please search your drives for a text file named 'hosts'.

HTH,  Chuck

Jim Earl wrote:
<snip>
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-07-23 14:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-22 15:03 local networking hostname Jim Earl
2002-07-22 15:16 ` Joseph Jackson
2002-07-22 15:19 ` Ray Olszewski
2002-07-22 20:07   ` Jim Earl
2002-07-22 21:14     ` Ray Olszewski
2002-07-23 14:45     ` chuck gelm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.