From owner-freebsd-questions Sun Mar 24 10:29:30 2002 Delivered-To: freebsd-questions@freebsd.org Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by hub.freebsd.org (Postfix) with ESMTP id DDA8837B419 for ; Sun, 24 Mar 2002 10:29:26 -0800 (PST) Received: from attbi.com ([12.252.56.235]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020324182926.KRJU2626.rwcrmhc51.attbi.com@attbi.com> for ; Sun, 24 Mar 2002 18:29:26 +0000 Message-ID: <3C9E1AE8.1000203@attbi.com> Date: Sun, 24 Mar 2002 11:28:56 -0700 From: Aaron Siegel User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:0.9.4) Gecko/20011126 Netscape6/6.2.1 X-Accept-Language: en-us MIME-Version: 1.0 To: freebsd-questions Subject: Re: Promt References: <02032415452000.00260@ppp-212-.ettnet.se> <3C9E02BC.5040403@cream.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello Add the line hostname="" in the rc.conf file. You can use the hostname as root to change it at the prompt. Andrew Boothman wrote: > Thomas Widlumdh wrote: > >> Hi, >> I use to login as root on "Alt+F1" and as user on "Alt+F2". >> I connect the internet from the user. >> Whole of a sudden, sometimes, the root prompt is changed >> from an ordinary # to "ppp-212-#" >> Why is that? >> >>> From where does the prompt get it's name? >> >> > Its sounds like your ISP might be resetting your hostname when you > connect to the net. > > I'm not sure, but try a 'host ' and see if it returns > ppp-212-..... > > If that's the case, you can tell dhclient to override the hostname > setting, see man dhclient or ask again on the list. > > Andrew. > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message