1、网络设置:
1> 有线: ifconfig eth0 192.168.16.100 netmask 255.255.255.0 up
或者在/etc/sysconfig/network-scripts/ifcfg-eth0中加入 IPADDR=192.168.16.100 NETMASK=255.255.255.0
设置网关: route add default gw "192.168.16.1" dev eth0
或者设置 : netconfig --device=eth0 --ip=192.168.1.100 --netmask=255.255.255.0 --gateway=192.168.16.1
2> 无线: 看具体采用什么方式,如果用pppd wcdma拨号上网的话
pppd call wcdma
2、时间设置:
date -s "2011-11-11 11:11:11" && hwclock --systohc