On Wed, 2009-05-06 at 10:18 +0200, Pieter Donche wrote:
> Just want to check:
>
> If a freebsd7 system is to move to a different subnet
> (from ip XXX.YYY.AAA.BBB to XXX.YYY.CCC.DDD)
> same netmask 255.255.255.0
> same hostname myhost.mydomain.mycountry
> same DNS servers
>
> then /etc/rc.c
Hi,
then /etc/rc.conf is the only file that needs changes?
defaultrouter="XXX.YYY.CCC.254" <---
hostname="myhost.mydomain.mycountry"
ifconfig_em0="inet XXX.YYY.CCC.DDD netmask 255.255.255.0" <---
and reboot ?
or is there any other file(s) to change?
In theory, yes, that changes the IP addr
I've this simple makefile:
VAR=one
all : main
main:
@echo ${.CURDIR}
.if ${.CURDIR}
@echo ${VAR}
VAR=two
@echo ${VAR}
.endif
When I output VAR second time, the value is still "one", and not the
new value "two". Why?
% make
/usr/home/mexas
one
VAR=t
Just want to check:
If a freebsd7 system is to move to a different subnet
(from ip XXX.YYY.AAA.BBB to XXX.YYY.CCC.DDD)
same netmask 255.255.255.0
same hostname myhost.mydomain.mycountry
same DNS servers
then /etc/rc.conf is the only file that needs changes?
defaultrouter="XXX.YYY.CCC.254"
101 - 104 of 104 matches
Mail list logo