thedark Second Lieutenant
Joined: 30 Jul 2005
Posts: 1074
|
Posted: Sun Jul 31, 2005 8:04 am Post subject: FreeBSD : How to start / restart / stop network service? |
|
|
(A) To start network
1) Copy file /usr/share/examples/etc/netstat to /etc dirctory
cp /usr/share/examples/etc/netstart /etc/network
2) Execute script:
. /etc/network
OR
sh /etc/network
Note: this script will do all necessary work for you.
(B)To stop network service on-fly:
ifconfig network-interface up
(C) To list down network interface:
ifconfig –d
(D) To list up network interface:
ifconfig –u |
|