ubuntu搞了两天,还是不能上网。郁闷!

用了几天ubuntu 5.10,现在还不能上网,发现里面没有装gcc(只能上网去装),其他的还蛮好用的。
在学校买电信的网卡上网(要输入卡号和密码)。在windows xp和fc3下都没有问题。但在ubuntu5.10下怎么都上不了网。一些信息如下:
wayne@ubuntu:~$ sudo pppoeconf //一路按下去,最后是这样:

┌────────────────────┤ NOT CONNECTED ├─────────────────────┐
│ │
│ Sorry, I scanned 1 interface, but the Access │
│ Concentrator of your provider did not respond. Please │
│ check your network and modem cables. Another reason │
│ for the scan failure may also be another running pppoe │
│ process which controls the modem.


wayne@ubuntu:~$ pon dsl-provider
~/uffff}#/uffff!}!}!} }4}"}&} } } } }%}&/uffffs/uffff})}'}"}(}"x/uffff~~/uffff}#/uffff!}!}!} }4}"}&} } } } }%}&/uffffs/uffff})}'}"}(}"x/uffff~~/uffff}#/uffff!}!}!} }4}"}&} } } } }%}&/uffffs/uffff})}'}"}(}"x/uffff~~/uffff}#/uffff!}!}!} }4}"}&} } } } }%}&/uffffs/uffff})}'}"}(}"x/uffff~~/uffff}#/uffff!}!}!} }4}"}&} } } } }%}&/uffffs/uffff})}'}"}(}"x/uffff~~/uffff}#/uffff!}!}!} }4}"}&} } } } }%}&/uffffs/uffff})}'}"}(}"x/uffff~~/uffff}#/uffff!}!}!} }4}"}&} } } } }%}&/uffffs/uffff})}'}"}(}"x/uffff~~/uffff}#/uffff!}!}!} }4}"}&} } } } }%}&/uffffs/uffff})}'}"}(}"x/uffff~~/uffff}#/uffff!}!}!} }4}"}&} } } } }%}&/uffffs/uffff})}'}"}(}"x/uffff~~/uffff}#/uffff!}!}!} }4}"}&} } } } }%}&/uffffs/uffff})}'}"}(}"x/uffff~~/uffff}#/uffff!}!}"} }4}"}&} } } } }%}&}*+/uffff/uffff}'}"}(}"/uffffs~~/uffff}#/uffff!}%}#} }$/uffffr~

wayne@ubuntu:~$ ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:E0:4C:40:44:4A
inet6 addr: fe80::2e0:4cff:fe40:444a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:3110 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:5 Base address:0xd800

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:10180 errors:0 dropped:0 overruns:0 frame:0
TX packets:10180 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:659779 (644.3 KiB) TX bytes:659779 (644.3 KiB)

sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)


wayne@ubuntu:~$ cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# This is a list of hotpluggable network interfaces.
# They will be activated automatically by the hotplug subsystem.
mapping hotplug
script grep
map eth0

# The primary network interface
iface eth0 inet dhcp
network 192.169.0.0
broadcast 192.169.0.255
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 192.169.0.1

iface dsl-provider inet ppp
provider dsl-provider

auto eth0

iface ppp0 inet ppp
provider ppp0

是不是我什么地方设置错了?不懂啊

评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值