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

Foo Ji-Haw jhfoo at nexlabs.com
Mon May 16 21:23:00 PDT 2005


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 <bagus at cox.net> 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 204.251.1.185
>>ip address of 204.251.1.186
>>netmask of 255.255.255.248
>>
>>I'm guessing I need to change my resolve.conf, too. what does the 'search'
>>line in there do?
>>
>>Any other considerations?
>>
>>Thanks,
>>
>>Bagus
>>
>>p.s. I can't for the life of me find a simple
>>how-to-get-your-freebsd-box-online guide. The handbook seems to only have
>>"11.3 Core Configuration" which has a little bit about cluster
>>configurations. What's up with that? I just want to get one box online!
>>
>>    
>>
>
>I use the following on my rc.conf:
>
>ifconfig_xl0="inet 192.168.200.8  netmask 255.255.255.0"
>defaultrouter="192.168.200.254"
>hostname="uirapuru.pinguim"
>
>HTH.
>_______________________________________________
>freebsd-questions at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
>  
>


More information about the freebsd-questions mailing list