日期:2014-05-16  浏览次数:20621 次

linux简单设置上网输入法
上网:sudo pppoeconfig
使用静态IP上网,
#sudo gedit /etc/network/interfaces
在interfaces文件中输入以下内容:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.1.95
network 192.168.1.1
netmask 255.255.255.0
gateway 192.168.1.1
#gedit /etc/resolv.conf
输入nameserver 192.168.1.1
保存退出
重启网络设置
#/etc/init.d/networking restart
此时可以查看网络是否连接成功,如果不成功,可以重启Ubuntu
#reboot
五笔:sudo apt-get install fcitx
不掉线:打开配置文件/etc/ppp/options 将lcp-echo-failure 4设成80
安装g++:sudo apt-get install build-essential