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).