Set Stargate IP

We can set Stargate IP like this:
Open the file --- /etc/init.d/networking, and then edit it following:

start)
echo -n "Configuring network interfaces: "
ifup –a
# pump -i eth0                                 #
ifconfig eth0 192.168.1.25 up           # the fixed IP
route add default gw 192.168.1.1     # gate way
ifconfig lo 127.0.0.1 up
echo "done."
;;


----------------------------------------------------
otherwise if we want to set DNS entries, we can:
set the file /etc/resolv.conf to the correct value.

posted @ 2007-05-25 20:18  vsignsoft  阅读(279)  评论(0编辑  收藏  举报