Date: Sun, 24 Mar 2002 11:28:56 -0700 From: Aaron Siegel <bsd-daemon@attbi.com> To: freebsd-questions <freebsd-questions@FreeBSD.ORG> Subject: Re: Promt Message-ID: <3C9E1AE8.1000203@attbi.com> References: <02032415452000.00260@ppp-212-.ettnet.se> <3C9E02BC.5040403@cream.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello Add the line hostname="<enter what ever name you want for your computer>" 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 <your-ip-address>' 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C9E1AE8.1000203>