|
折腾了半天还是连不上网,
我用sudo gedit /etc/network/interfaces命令配置的静态ip
auto eth0
iface eth0 inet static
address 192.168.0.1
netmask 255.255.255.0
gateway 192.168.1.1。
配置好之后重起电脑
再配置dns
用命令sudo gedit /etc/resolv.conf
打开编辑器填上
nameserver 202.103.64.150
nameserver 202.103.24.68(本地的电信部dns)
重起网卡
再配置pppoe
用命令 sudo pppoeconf
配置好后还是连不上网
用命令plog后显示
Nov 5 16:33:53 ubuntu pppd[4130]: PPP session is 1399
Nov 5 16:33:53 ubuntu pppd[4130]: Using interface ppp0
Nov 5 16:33:53 ubuntu pppd[4130]: Connect: ppp0 <--> eth0
Nov 5 16:33:55 ubuntu pppd[4130]: Remote message: Login fail
Nov 5 16:33:55 ubuntu pppd[4130]: PAP authentication failed
Nov 5 16:33:55 ubuntu pppd[4130]: Connection terminated.
administrator@ubuntu:~$
现在不知道 该怎么搞啊? |
|