[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

lprng 3.2.6-1: hostname problem



I have a laptop that is not always connected to the network.
If I am connected to the network, lpd starts fine. However,
If I am not, lpd fails with "Get_local_host: hostname 'artasp1' bad".

Apparently, this is a get_host_byname() problem. However,
"hostname" returns "artasp1" and "hostname --fqdn" returns "artasp1.nlr.nl".
So it seems that hostname lookup is working.

/etc/resolv.config:
# eth0 begin
domain nlr.nl
nameserver 137.17.96.52
nameserver 137.17.96.51
# eth0 end
# eth1 begin
# eth1 end

/etc/hosts:
127.0.0.1	localhost
137.17.20.85	artas2 artas2.nlr.nl
137.17.20.117	artasp1.nlr.nl artasp1 
137.17.20.193	bluedagger bluedagger.nlr.nl
137.17.248.1	time-nop time-nop.nlr.nl
192.168.6.8	artas1 artas1.nlr.nl
192.168.6.10	artas3 artas3.nlr.nl
192.168.7.7	Midkemia.fantasy.nl Midkemia 
#192.168.7.6	artasp1.fantasy.nl

Any pointers?


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: