linkstationVine# chkconfig --del named linkstationVine# chkconfig --del sendmail linkstationVine# chkconfig --del dhcpd linkstationVine# chkconfig --del lpd linkstationVine# chkconfig --del httpd linkstationVine# chkconfig --del ntpd linkstationVine# /etc/rc.d/init.d/named stop linkstationVine# /etc/rc.d/init.d/sendmail stop linkstationVine# /etc/rc.d/init.d/dhcpd stop linkstationVine# /etc/rc.d/init.d/lpd stop linkstationVine# /etc/rc.d/init.d/httpd stop linkstationVine# /etc/rc.d/init.d/ntpd stop
DEVICE=eth0:0 BOOTPROTO=static IPADDR=192.168.1.2 NETMASK=255.255.255.0 ONBOOT=no
ifconfig eth0:0 ifup eth0:0 route delete default route add -net default gw 192.168.1.1 /etc/rc.d/init.d/named start /etc/rc.d/init.d/sendmail start /etc/rc.d/init.d/dhcpd start /etc/rc.d/init.d/lpd start /etc/rc.d/init.d/httpd start
/etc/rc.d/init.d/named stop /etc/rc.d/init.d/sendmail stop /etc/rc.d/init.d/dhcpd stop /etc/rc.d/init.d/lpd stop /etc/rc.d/init.d/httpd stop route delete default route add -net default gw 192.168.1.2 ifdown eth0:0
携帯電話から