<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">


<META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=717185105-05032003><FONT face=Arial color=#0000ff size=2>AFAIK 
the /etc/hosts file only contains mappings for hostname to ip. It would not 
accept ip tp mac address mappings. For doing that you will have to use the arp 
program.</FONT></SPAN></DIV>
<DIV><SPAN class=717185105-05032003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=717185105-05032003><FONT face=Arial color=#0000ff size=2>In the 
example joseph gave, ip 127.0.0.1 would map to&nbsp;</FONT>&nbsp;<FONT 
color=#0000ff><FONT face=Arial><FONT size=2>x1-6-00-90-c9-04-42-7e as 
hostname</FONT>.</FONT></FONT></SPAN></DIV>
<DIV><SPAN class=717185105-05032003><FONT face=Arial color=#0000ff><FONT 
size=2>That is if you say </FONT><A href="http://x1-6-00-90-c9-04-42-7e"><FONT 
size=2>http://x1-6-00-90-c9-04-42-7e</FONT></A><FONT size=2>&nbsp;you will 
connect to your local computer.</FONT></FONT></SPAN></DIV>
<DIV><SPAN class=717185105-05032003><FONT face=Arial color=#0000ff 
size=2>Correct me if i am wrong.</FONT></SPAN></DIV>
<DIV><SPAN class=717185105-05032003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=717185105-05032003><FONT face=Arial color=#0000ff 
size=2>Harshal</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Jack Snodgrass 
  [mailto:jack+ntlug@mylinuxguy.net]<BR><B>Sent:</B> Monday, March 03, 2003 8:29 
  PM<BR><B>To:</B> NTLUG Discussion List<BR><B>Subject:</B> Re: [NTLUG:Discuss] 
  Newbie Question re: LPD Initialization andLocal Host Bad 
  Message<BR><BR></FONT></DIV>I thought that that was a MAC address too... but a 
  MAC address is<BR>6 parts... that one that he listed is 8 parts.&nbsp; 
  <BR><BR>When your ISP assigns you an Address, it should be resolvable. 
  <BR><BR>jack<BR><BR><BR>On Mon, 2003-03-03 at 08:36, joseph beasley wrote: 
  <BLOCKQUOTE TYPE="CITE"><PRE><FONT color=#737373 size=3><I>Assuming that your isp requires your hostname to be
set to the mac address of your nic, you can add an
entry to /etc/hosts for your mac address.  


127.0.0.1               x1-6-00-90-c9-04-42-7e


--- Fred Hensley &lt;fred.hensley@attbi.com&gt; wrote:
&gt; Greetings All,
&gt; 
&gt; After a few months of immersing myself into the
&gt; Linux world and meeting
&gt; several of you at the last few NTLUG meetings, I am
&gt; finally at wits end
&gt; on one problem whose solution escapes me.  Neither
&gt; my brand new "Running
&gt; Linux" book nor some net searches have helped thus
&gt; far.  This latest
&gt; issue has also caused strange 3-d images to appear
&gt; on my forehead
&gt; curiously resembling letters and outlines from my
&gt; keyboard... &lt;g&gt;
&gt; 
&gt; Two weeks ago, on good advice from some of you, I
&gt; punted on my Debian
&gt; Woody installation, and installed RedHat 8.0 (with
&gt; kernel
&gt; 2.4.18-24.8.0).
&gt; 
&gt; My PC is locally connected, via LPT1, to an HP
&gt; Laserjet 4.  Also, I
&gt; utilize AT&amp;T as my cable internet provider, and am
&gt; dynamically assigned
&gt; a new IP address on each system reboot.
&gt; 
&gt; The issue centers around two seemingly related
&gt; symptoms as follows:
&gt; 
&gt; 1.  Upon startup, LPD does not initialize, but
&gt; instead give me the error
&gt; "Host Name x1-6-00-90-c9-04-42-7e bad".  Therefore
&gt; the line printing
&gt; daemon cannot start, and my printer is effectively
&gt; offline.
&gt; 
&gt; 2.  When starting Gnome2 (a.k.a. Bluecurve), I
&gt; receive the following
&gt; error: 
&gt;      "Could not look up internet address for
&gt; x1-6-00-90-c9-04-42-7e. 
&gt; This will prevent Gnome from operating correctly. 
&gt; It may be possible to
&gt; correct this problem by adding
&gt; x1-6-00-90-c9-04-42-7e to the file
&gt; /etc/hosts."
&gt; 
&gt; I have checked /etc/hosts and noted that the only IP
&gt; address listed is
&gt; "127.0.0.1".  Although the above address doesn't
&gt; resemble an IP node, I
&gt; have added it to the file without success.
&gt; 
&gt; I suspect that I'm missing something relatively
&gt; obvious, and ask for
&gt; some guidance from my new peers.
&gt; 
&gt; Question 1:  Am I simply missing something in one or
&gt; more local
&gt; configuration files to straighten out Gnome and LPD?
&gt; 
&gt; Question 2:  Once item one is fixed, is there a
&gt; simple way, via the
&gt; console, to independently confirm that the OS
&gt; recognizes my LPT1 port?
&gt; 
&gt; Question 3:  What's your favorite linux
&gt; reference/tutorial for
&gt; ex-Windoze users?
&gt; 
&gt; Many Thanks in Advance,
&gt; 
&gt; Fred Hensley
&gt; Ex-Windoze Guru, Brand New Linux Disciple
&gt; 
&gt; ------ "When you come to a fork in the road, take
&gt; it..." Yogi Berra ----
&gt; 
&gt; 
&gt; 
&gt; 
&gt; _______________________________________________
&gt; </FONT><A href="https://ntlug.org/mailman/listinfo/discuss"><FONT size=3>https://ntlug.org/mailman/listinfo/discuss</FONT></A>
<FONT color=#737373 size=3>

=====
Joe Beasley
CNE, CCNP, MCSE, CCNA, AEIOU....
PGP/GPG key --  </FONT><A href="http://home.attbi.com/~joe.beasley/joebeasley.txt"><FONT size=3>http://home.attbi.com/~joe.beasley/joebeasley.txt</FONT></A>
<FONT color=#737373 size=3>AOL Messenger            joebeasley3rd
Yahoo Messenger          joe_beasley
MSN Messenger            joebeasley3rd
ICQ                      13164242


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more</FONT>
<A href="http://taxes.yahoo.com/"><FONT size=3>http://taxes.yahoo.com/</FONT></A>
<FONT color=#737373 size=3>
_______________________________________________</FONT>
<A href="https://ntlug.org/mailman/listinfo/discuss"><FONT size=3>https://ntlug.org/mailman/listinfo/discuss</I></FONT></A></PRE></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>