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

Jack Snodgrass jack+ntlug at mylinuxguy.net
Sun Mar 2 21:13:47 CST 2003


On Sun, 2003-03-02 at 21:03, Fred Hensley wrote:
> On Sun, 2003-03-02 at 20:53, Jack Snodgrass wrote:
> -snip-
> > if you use enter
> > hostname
> > what does it tell you? 
> 
> I get "x1-6-00-a0-c9-04-42-7e" (no quotes)
> 
> > Can you ping the name that hostname returns? 
> 
> ping returns: unknown host x1-6-00-a0-c9-04-42-7e
> 
> > 
> > I am guessing that you get a dhcp address assigned. 
> > 
> > LPD is trying to use that as your hostname and it's 
> > not resolving correctly. 
> 
> Yep...  So where might I go from here?

if the GUI works at all, do a 
redhat ( start ) 
system settings, 
network,
DNS tab
and enter a hostname like linux.private.net
Then select the Hosts tab and add a host entry
It should be 127.0.0.1 and the name you added 
for your hostname ( linux.private.net ) 

If that doesn't work ( or the GUI doesn't ) 
>From a terminal/bash prompt, the 
ifconfig 
command will show you your IP Addresses. 

Your probably using eth0 ( cable modem or DLS via GTE ) 
or maybe ppp0 ( 56k dial-up ACK! ).  Which ever your 
using, write down the ip address ( something like
123.123.123.123 ) and then make up a /etc/hosts entry 
that has 
your-ip-address	your-weird-host-name

hope one of those works/helps. 

jack 





> 
> > 
> > jack 
> > 
> 
> Thanks,
> 
> -Fred-
> 
> ------ "When you come to a fork in the road, take it..." Yogi Berra ----
> 
> 
> _______________________________________________
> https://ntlug.org/mailman/listinfo/discuss




More information about the Discuss mailing list