FreeBSD daemonFreeBSD® is an advanced operating system for x86 compatible (including Pentium® and Athlon™), amd64 compatible (including Opteron™, Athlon™64, and EM64T), UltraSPARC®, IA-64, PC-98 and ARM architectures. It is derived from BSD, the version of UNIX® developed at the University of California, Berkeley. It is developed and maintained by a large team of individuals. Additional platforms are in various stages of development.

FreeBSD 5.x/6.x includes netif shell script located in /etc/rc.d/ directory that is meant to restart networking service without system restart. Besides, /etc/rc.d/ contains scripts to start/stop/restart other services such as ssh or squid.

To start FreeBSD networking:

/etc/rc.d/netif start

To stop networking:

/etc/rc.d/netif stop

To restart networking:

/etc/rc.d/netif restart

To restart, start or stop routing service you can do:

/etc/rc.d/routing restart

FreeBSD 4.x and prior versions

To start networking you have to copy shell script as follows:

1) Copy file /usr/share/examples/etc/netstat to /etc dirctory

cp /usr/share/examples/etc/netstart /etc/network

2) And execute the script:

. /etc/network


sh /etc/network

That script will do all necessary work for you (start network, routing, firewall and etc.).




  1. April 20, 2011  4:10 pm by debt management Reply

    Hello there. I found your web site by the use of Google even as searching for a comparable matter, your web site got here up. It appears to be good. I've bookmarked it in my google bookmarks to visit later.

Leave a reply


Your email address will not be published.