DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD Installation and Upgrading

NetBSD Installation and Upgrading Have trouble getting NetBSD on your toaster?

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 3rd December 2011
Franciscus Franciscus is offline
New User
 
Join Date: Dec 2011
Posts: 4
Thanked 0 Times in 0 Posts
Default Setting hostname

How can I set hostname permanently in NetBSD?

I have used:

Code:
#hostname myhostname.domain.com
logout & login > seems to work fine

but when I set one in /etc/rc.conf after first login and then boot
it gives me something weird:
dhcppc0 as hostname. That same comes as default when I setup debian system but I can change it when installing.

No matter if it's in /etc/myname or /etc/rc.conf. Seems fine in bootscripts that hostname is set ok but when it comes to login it's there again. Should I do some editing somewhere else like /etc/hosts or is it broken in my system?

Last edited by phoenix; 4th December 2011 at 02:50 AM.
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
My domain name as my IRC hostname? guitarscn General software and network 6 15th September 2010 02:43 PM
Hostname problem, and others gaeilgeboy FreeBSD General 3 7th July 2008 11:30 PM
Setting Up MPD benjgvps FreeBSD General 0 21st May 2008 12:20 PM
Hostname / web hosting issues vitiate FreeBSD General 4 20th May 2008 02:23 PM
thanks for setting this up DraconianTimes Off-Topic 8 5th May 2008 08:14 AM


All times are GMT. The time now is 12:11 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick