![]() |
|
|||||||
| NetBSD Installation and Upgrading Have trouble getting NetBSD on your toaster? |
|
|
Thread Tools | Display Modes |
|
|||
|
How can I set hostname permanently in NetBSD?
I have used: Code:
#hostname myhostname.domain.com 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 01:50 AM. |
| Thread Tools | |
| Display Modes | |
|
|
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 |