How do I change hostname in freebsd?

2006-04-17 Thread Matt Rajca
? -- Matt K. Rajca Software Engineer ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: How do I change hostname in freebsd?

2006-04-17 Thread Dev Tugnait
Type hostname to set it, modify rc.conf and hosts file. On Mon, 2006-04-17 at 17:41 -0500, Matt Rajca wrote: ? -- Matt K. Rajca Software Engineer ___ freebsd-questions@freebsd.org mailing list

Re: How do I change hostname in freebsd?

2006-04-17 Thread Mihai Tanasescu
Matt Rajca wrote: ? -- Matt K. Rajca Software Engineer ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] In rc.conf :

Re: How do I change hostname in freebsd?

2006-04-17 Thread David J Brooks
On Monday 17 April 2006 17:41, Matt Rajca wrote: ? In /rtc/rc.conf add a line like this: hostname=host.network.net If you are running network services such as DNS, etc. you may need to change it in those configuration files as well. HTH, David -- Sure God created the world in only

Re: How do I change hostname in freebsd?

2006-04-17 Thread Andy Reitz
Hi Matt, As root, type hostname new hostname, and the hostname will be changed immediately. To make this change permanent across reboots, edit the file '/etc/rc.conf', and add the following line: hostname=new.host.name The '/etc/rc.conf' file is described here:

Re: How do I change hostname in freebsd?

2006-04-17 Thread Kevin Kinsey
Matt Rajca wrote: ? -- Matt K. Rajca Software Engineer See hostname(1). Also, see init(8) and rc(8). Generally, to persist across reboots, you set something like hostname=hostname.domain.tld in /etc/rc.conf. Kevin Kinsey -- A stitch in time saves nine.