From owner-freebsd-questions@FreeBSD.ORG Wed Dec 8 18:01:12 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F19A416A4CF for ; Wed, 8 Dec 2004 18:01:11 +0000 (GMT) Received: from pd4mo2so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 908EC43D58 for ; Wed, 8 Dec 2004 18:01:11 +0000 (GMT) (envelope-from polymorph@shaw.ca) Received: from pd2mr6so.prod.shaw.ca (pd2mr6so-qfe3.prod.shaw.ca [10.0.141.9]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0I8F0097V0PWK210@l-daemon> for freebsd-questions@freebsd.org; Wed, 08 Dec 2004 11:01:08 -0700 (MST) Received: from pn2ml2so.prod.shaw.ca ([10.0.121.146]) by pd2mr6so.prod.shaw.ca (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0I8F003LZ0PWF5J0@pd2mr6so.prod.shaw.ca> for freebsd-questions@freebsd.org; Wed, 08 Dec 2004 11:01:08 -0700 (MST) Received: from FreeGeddon (S010600036d1e8b09.gv.shawcable.net [24.69.10.28]) 2003))freebsd-questions@freebsd.org; Wed, 08 Dec 2004 11:01:08 -0700 (MST) Date: Wed, 08 Dec 2004 10:02:08 -0800 From: polymorph@shaw.ca In-reply-to: <20041208114130.B489416A4CF@hub.freebsd.org> To: gerard-seibert@rcn.com Message-id: <20041208100208.57296ec5.polymorph@shaw.ca> MIME-version: 1.0 X-Mailer: Sylpheed version 0.9.12-gtk2-20040622 (GTK+ 2.4.9; i386-portbld-freebsd5.3) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit References: <20041208114130.B489416A4CF@hub.freebsd.org> cc: freebsd-questions@freebsd.org Subject: Re: "Bad Host Name" Error Message X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Dec 2004 18:01:12 -0000 >I continually receive an error message about a bad host name. This is the >error message: > >Starting cron >Local package initialization: printerDec 7 21:20:44 BeerStud@rcn >lpd[438]: Get_local_host: hostname 'BeerStud@rcn.com' bad >2004-12-07-21:20:44.236 Get_local_host: hostname 'BeerStud@rcn.com' >"BeerStud@rcn.com" is an email address, not a host name. Replace it >something like "BeerStud.rcn.com" although you would be best using a >domain name you owned rather than someone else's domain. I had a problem similar to this. I know of one way to fix it and another potential way. First you can find out what your real host name is by using: traceroute your.ip.address that will output some information like this: traceroute to your.ip.address (your.ip.address), 64 hops max, 40 byte packets 1 here.will.be.your.host.name (your.ip.address) 0.508 ms 0.547 ms 0.650 ms As mentioned before, the host name will not have any "@". This will be your real host name assigned by your ISP and is what you should use unless you have some reason not to. Second you could probably use the /etc/hosts file to map any name to your current ip address. I have not done this so I am just guessing on this point. It is likely far easier to use your real host name as described above. Conan