Re: Changing Hostname = Reboot machine?

2006-10-13 Thread Jonathan Chen
On Fri, Oct 13, 2006 at 11:06:54AM +0800, David Schulz wrote: Hello all, i would like to change the Host-name one two of my Servers. Do i have to restart the Machines afterwards, or is the another way i can make the new Host-name take effect? hostname(1) is your friend. -- Jonathan

Re: Changing Hostname = Reboot machine?

2006-10-13 Thread David Schulz
Hi, i wasnt asking how to change the hostname, but if there are any things i should be aware of or have to do if changing the hostname. Thanks, David On Oct 13, 2006, at 2:12 PM, Jonathan Chen wrote: On Fri, Oct 13, 2006 at 11:06:54AM +0800, David Schulz wrote: Hello all, i would like

Re: Changing Hostname = Reboot machine?

2006-10-13 Thread Svein Halvor Halvorsen
David Schulz wrote: i wasnt asking how to change the hostname, but if there are any things i should be aware of or have to do if changing the hostname. You can just change it, and it will take effect immedeately. However, there may be some server software you have running that needs to be

Re: Changing Hostname = Reboot machine?

2006-10-13 Thread Jonathan Chen
On Fri, Oct 13, 2006 at 04:40:45PM +0800, David Schulz wrote: Hi, i wasnt asking how to change the hostname, but if there are any things i should be aware of or have to do if changing the hostname. You don't normally have to reboot. Have a look at /etc/rc.d/hostname. Cheers. -- Jonathan

Changing Hostname = Reboot machine?

2006-10-12 Thread David Schulz
Hello all, i would like to change the Host-name one two of my Servers. Do i have to restart the Machines afterwards, or is the another way i can make the new Host-name take effect? Thanks a lot, David ___ freebsd-questions@freebsd.org mailing

changing from dhcp to static ip, changing hostname, etc.

2005-05-16 Thread Bagus
Hi, I'm using FreeBsd 5.3 and I'm switching to a static ip, but am not sure of all the syntax. If not, here's what I had in my rc.conf. hostname=john ifconfig_fxp0=DHCP now I'm hoping to have a hostname of bagus.org gateway of 204.251.1.185 ip address of 204.251.1.186 netmask of

Re: changing from dhcp to static ip, changing hostname, etc.

2005-05-16 Thread Olivier Nicole
now I'm hoping to have a hostname of bagus.org gateway of 204.251.1.185 ip address of 204.251.1.186 netmask of 255.255.255.248 in /etc/rc.conf ifconfig_fxp0=inet 204.251.1.186 netmask 255.255.255.248 defaultrouter=204.251.1.185 hostname=bagus.org in /etc/resolv.conf dunno, what do

Re: changing from dhcp to static ip, changing hostname, etc.

2005-05-16 Thread Jos de Paula Rodrigues
On 5/17/05, Bagus [EMAIL PROTECTED] wrote: Hi, I'm using FreeBsd 5.3 and I'm switching to a static ip, but am not sure of all the syntax. If not, here's what I had in my rc.conf. hostname=john ifconfig_fxp0=DHCP now I'm hoping to have a hostname of bagus.org gateway of

Re: changing from dhcp to static ip, changing hostname, etc.

2005-05-16 Thread Jos de Paula Rodrigues
I forgot to say, my router is configured as a DNS proxy (probably the default in your setup, too), so I put its address on /etc/resolv.conf: nameserver 192.168.200.254 man resolv.conf should enlighten you about what the search option does; I don't need it, so my whole resolv.conf file consists

Re: changing from dhcp to static ip, changing hostname, etc.

2005-05-16 Thread Foo Ji-Haw
This brings to mind a question, I've been wanting to ask: How does one get the system to read the rc.conf changes without rebooting the system? José de Paula Rodrigues wrote: On 5/17/05, Bagus [EMAIL PROTECTED] wrote: Hi, I'm using FreeBsd 5.3 and I'm switching to a static ip, but am not sure

Re: changing from dhcp to static ip, changing hostname, etc.

2005-05-16 Thread Jos de Paula Rodrigues
On 5/17/05, Foo Ji-Haw [EMAIL PROTECTED] wrote: This brings to mind a question, I've been wanting to ask: How does one get the system to read the rc.conf changes without rebooting the system? Just restart the appropriate service (usually found in /etc/rc.d or /usr/local/etc/rc.d).

changing hostname

2004-01-14 Thread Marco Beishuizen
Hi, I would like to change the hostname of one of my machines without a reboot. Is it enough to change my rc.conf and run the /etc/netstart script or do I have to do something else? Thanks, Marco -- Please ignore previous fortune. ___ [EMAIL

Re: changing hostname

2004-01-14 Thread Jonathan T. Sage
Marco Beishuizen wrote: Hi, I would like to change the hostname of one of my machines without a reboot. Is it enough to change my rc.conf and run the /etc/netstart script or do I have to do something else? man hostname(1): NAME hostname -- set or print name of current host system SYNOPSIS

Re: changing hostname

2004-01-14 Thread Marco Beishuizen
On stardate Wed, 14 Jan 2004, the wise Jonathan T. Sage entered: a simple # hostname new.host.name should do what you're asking. also add it to rc.conf so the changes stay on next reboot Well, I did this and it looks fine now. Thanks! Marco -- Man is the only animal that can remain on