[NTLUG:Discuss] Newbie Question re: LPD Initialization andLocal Host Bad Message

joseph beasley joe_beasley at yahoo.com
Thu Mar 6 12:24:53 CST 2003


Correct!

you should be able to ping x1-6-00-90-c9-04-42-7e with that entry in
your hosts file.  This would also let your daemons resolve correctly
when the system starts up.  

--- "Vaidya, Harshal (Cognizant)" <HarshalV at pun.COGNIZANT.COM> wrote:
> 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.
>  
> In the example joseph gave, ip 127.0.0.1 would map to 
> x1-6-00-90-c9-04-42-7e as hostname.
> That is if you say  <http://x1-6-00-90-c9-04-42-7e>
> http://x1-6-00-90-c9-04-42-7e you will connect to your local
> computer.
> Correct me if i am wrong.
>  
> Harshal
> 
> -----Original Message-----
> From: Jack Snodgrass [mailto:jack+ntlug at mylinuxguy.net]
> Sent: Monday, March 03, 2003 8:29 PM
> To: NTLUG Discussion List
> Subject: Re: [NTLUG:Discuss] Newbie Question re: LPD Initialization
> andLocal Host Bad Message
> 
> 
> I thought that that was a MAC address too... but a MAC address is
> 6 parts... that one that he listed is 8 parts.  
> 
> When your ISP assigns you an Address, it should be resolvable. 
> 
> jack
> 
> 
> On Mon, 2003-03-03 at 08:36, joseph beasley wrote: 
> 
> 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 <fred.hensley at attbi.com> wrote:
> 
> > Greetings All,
> 
> > 
> 
> > After a few months of immersing myself into the
> 
> > Linux world and meeting
> 
> > several of you at the last few NTLUG meetings, I am
> 
> > finally at wits end
> 
> > on one problem whose solution escapes me.  Neither
> 
> > my brand new "Running
> 
> > Linux" book nor some net searches have helped thus
> 
> > far.  This latest
> 
> > issue has also caused strange 3-d images to appear
> 
> > on my forehead
> 
> > curiously resembling letters and outlines from my
> 
> > keyboard... <g>
> 
> > 
> 
> > Two weeks ago, on good advice from some of you, I
> 
> > punted on my Debian
> 
> > Woody installation, and installed RedHat 8.0 (with
> 
> > kernel
> 
> > 2.4.18-24.8.0).
> 
> > 
> 
> > My PC is locally connected, via LPT1, to an HP
> 
> > Laserjet 4.  Also, I
> 
> > utilize AT&T as my cable internet provider, and am
> 
> > dynamically assigned
> 
> > a new IP address on each system reboot.
> 
> > 
> 
> > The issue centers around two seemingly related
> 
> > symptoms as follows:
> 
> > 
> 
> > 1.  Upon startup, LPD does not initialize, but
> 
> > instead give me the error
> 
> > "Host Name x1-6-00-90-c9-04-42-7e bad".  Therefore
> 
> > the line printing
> 
> > daemon cannot start, and my printer is effectively
> 
> > offline.
> 
> > 
> 
> > 2.  When starting Gnome2 (a.k.a. Bluecurve), I
> 
> > receive the following
> 
> > error: 
> 
> >      "Could not look up internet address for
> 
> > x1-6-00-90-c9-04-42-7e. 
> 
> > This will prevent Gnome from operating correctly. 
> 
> > It may be possible to
> 
> > correct this problem by adding
> 
> > x1-6-00-90-c9-04-42-7e to the file
> 
> > /etc/hosts."
> 
> > 
> 
> > I have checked /etc/hosts and noted that the only IP
> 
> > address listed is
> 
> > "127.0.0.1".  Although the above address doesn't
> 
> > resemble an IP node, I
> 
> > have added it to the file without success.
> 
> > 
> 
> > I suspect that I'm missing something relatively
> 
> > obvious, and ask for
> 
> > some guidance from my new peers.
> 
> > 
> 
> > Question 1:  Am I simply missing something in one or
> 
> > more local
> 
> > configuration files to straighten out Gnome and LPD?
> 
> > 
> 
> > Question 2:  Once item one is fixed, is there a
> 
> > simple way, via the
> 
> > console, to independently confirm that the OS
> 
> > recognizes my LPT1 port?
> 
> > 
> 
> > Question 3:  What's your favorite linux
> 
> > reference/tutorial for
> 
> > ex-Windoze users?
> 
> > 
> 
> > Many Thanks in Advance,
> 
> > 
> 
> > Fred Hensley
> 
> > Ex-Windoze Guru, Brand New Linux Disciple
> 
> > 
> 
> 
=== message truncated ===> This e-mail and any files transmitted with
it are for the sole use of
> the intended recipient(s) and may contain confidential and privileged
> information. 
> If you are not the intended recipient, please contact the sender by
> reply e-mail and destroy all copies of the original message. Any
> unauthorised review, use, disclosure, dissemination, forwarding,
> printing or copying of this email or any action taken in reliance on
> this e-mail is strictly prohibited and may be unlawful.
> Visit us at http://www.cognizant.com
> > _______________________________________________
> https://ntlug.org/mailman/listinfo/discuss
> 


=====
Joe Beasley
CNE, CCNP, MCSE, CCNA, AEIOU....
PGP/GPG key --  http://home.attbi.com/~joe.beasley/joebeasley.txt
AOL Messenger            joebeasley3rd
Yahoo Messenger          joe_beasley
MSN Messenger            joebeasley3rd
ICQ                      13164242


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/



More information about the Discuss mailing list