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

Re: lpr: unable to get official name for local machine

Brian K Servis <servis@ecn.purdue.edu> writes:


> /etc/hosts:
>                       localhost loopback widget-servis.ecn.purdue.edu
> widget-servis
> #(plus a bunch of other frequenctly used hosts at ecn.purdue.edu)


> /etc/init.d/network:
> ifconfig lo
> route add -net dev lo

I have found that having anything other that "localhost" after caused me problems in the past.  I use the dummy driver to
create a fake network:

--- /etc/hosts ---       localhost   psyche.evansnet psyche www.evansnet news.evansnet

[ 192.168.*.* are available for provate use; see RFC 1918. ]

--- /etc/hostname ---

--- /etc/init.d/network
#!      /bin/sh
ifconfig lo localhost
route add -net

ifconfig dummy0 psyche
route add -net

[ dummy if it's in the kernel, dummy0 if it's a module. ]

There still seem to be things that expect _one_, _permanently_
connected interface and hostname.  :-(

                Carey Evans  <*>  c.evans@clear.net.nz

	    "Lies, damn lies, and computer documentation."

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: