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

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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 4
    评论
如果你的Ubuntu系统无法上网,有几种可能的原因和解决方法。首先,你可以尝试通过命令行方式重启网络来解决问题。此外,如果你是在VMware虚拟机中使用Ubuntu,可能会出现连接不上网络的问题。你可以尝试将虚拟机的网络设置为NAT模式,这样只要主机可以上网,虚拟机也可以上网。另外,你还可以将虚拟机的网络设置为自动桥接模式,这样虚拟机就能够获取到IP地址了。如果以上方法仍然无法解决问题,你可以检查一下主机的服务和应用程序设置中是否开启了与VMware相关的服务。通过调整这些设置,你可能能够解决Ubuntu无法上网的问题。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* *3* [Ubuntu连接不了网络的解决方法亲测可行经验](https://blog.csdn.net/github_35856054/article/details/129685877)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"] - *2* [vmware中ubuntu不能上网问题](https://download.csdn.net/download/songdingchuan/3797808)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"] [ .reference_list ]

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值