右键---open terminal

输入:sudo gedit /etc/network/interfaces

 

#/etc/network/interfaces
#This file describes the network interfaces available on your ystem
#andhowtoactivatethem.Formoreinformation,seeinterfaces(5).

#Theloopbacknetworkinterface
auto lo
iface lo inet loopback

#Thisisalistofhotpluggablenetworkinterfaces.
#Theywillbeactivatedautomaticallybythehotplugsubsystem.
mapping hotplug
script grep
map eth1

#Theprimarynetworkinterface
iface eth1 inet static
address 58.46.49.165 
netmask 255.255.255.255
network 10.0.0.0
broadcast 10.0.0.255
#dns-*optionsareimplementedbytheresolvconfpackage,ifinstalled
dns-nameservers 211.162.32.1211.162.32.20 
   

linux下很多选项都是默认的:解决频繁掉线的方法:
sudo gedit /etc/ppp/options
把默认的lcp-echo-failure 4
改为lcp-echo-failure 40 即可