7.10beta用路由上宽带问题

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
头像
coolzee
帖子: 19
注册时间: 2007-06-26 10:58

7.10beta用路由上宽带问题

#1

帖子 coolzee » 2007-10-01 10:39

通过pppoe方式,试过多种方法,结果仍是无效。状态如下:
:~$ sudo /etc/init.d/networking restart
* Reconfiguring network interfaces...
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.5
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/eth0/00:e0:4d:07:0f:47
Sending on LPF/eth0/00:e0:4d:07:0f:47
Sending on Socket/fallback
There is already a pid file /var/run/dhclient.eth0.pid with pid 134519120
Internet Systems Consortium DHCP Client V3.0.5
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/eth0/00:e0:4d:07:0f:47
Sending on LPF/eth0/00:e0:4d:07:0f:47
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
:~$ sudo ethtool eth0
Settings for eth0:
Supported ports: [ MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Full
Port: MII
PHYAD: 1
Transceiver: external
Auto-negotiation: on
Supports Wake-on: g
Wake-on: d
Link detected: yes
:~$ netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 eth0
:~$ ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:E0:4D:07:0F:47
inet6 addr: fe80::2e0:4dff:fe07:f47/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:255 errors:0 dropped:189 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:58195 (56.8 KB)
Interrupt:10 Base address:0x2000
:~$ ifconfig
eth0
Link encap:Ethernet HWaddr 00:E0:4D:07:0F:47
inet6 addr: fe80::2e0:4dff:fe07:f47/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:255 errors:0 dropped:189 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:58319 (56.9 KB)
Interrupt:10 Base address:0x2000
eth0:avah
Link encap:Ethernet HWaddr 00:E0:4D:07:0F:47
inet addr:169.254.3.47 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:10 Base address:0x2000
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:235 errors:0 dropped:0 overruns:0 frame:0
TX packets:235 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:19329 (18.8 KB) TX bytes:19329 (18.8 KB)
希望各位帮忙看看,谢谢
xiaoboys
帖子: 5
注册时间: 2007-09-13 13:44

#2

帖子 xiaoboys » 2007-10-01 18:13

用路由上网好像不要设置的啊,插上就行了。偶是新人,不知道对不?
头像
felixqu
帖子: 78
注册时间: 2007-09-03 9:49

#3

帖子 felixqu » 2007-10-02 0:30

偶就是用路由上网,一点设置都不用,直接就上了,前提是路由设置好dhcp,并分配 dns和网关,这样,除非ubuntu认不出你的网卡,否则一定可以上网。
头像
coolzee
帖子: 19
注册时间: 2007-06-26 10:58

#4

帖子 coolzee » 2007-10-02 0:38

No DHCPOFFERS received.
No working leases in persistent database - sleeping. 主要是这个不太理解.
还有用sudo pppoeconf命令时,会出现Sorry, I scanned 2 interfaces, but the Access Concentrator of your provider did not respond. Please check your network and moderm cables. Another reason for the scan failure may also be another running pppoe process which controls the moderm.
难道这是表示ubuntu没有识别出网卡?
头像
leeaman
帖子: 30702
注册时间: 2007-02-02 18:14
系统: debian sid

#5

帖子 leeaman » 2007-10-02 11:01

拨号是在路由器里面搞的,打开浏览器,输入路由器的ip地址,我的tp-link默认是192.168.1.1,找你的路由器的说明书啊,设好了,插网线就可以上网了,dhcp 固定ip都没有问题
醉了星星,醉月亮●●●●●The Long Way To Go(*^_^*)
头像
coolzee
帖子: 19
注册时间: 2007-06-26 10:58

#6

帖子 coolzee » 2007-10-02 12:51

谢谢ls,关键是我用ff输入路由器地址192.168.0.1(d-link)也进不去设置页面,(难道d-link不支持ff?)路由应该已经设置好了,因为我在xp下可以正常上网。今天逼我又重新安装了ubuntu这次是安装时一直插着网线,结果安装完成不用任何设置就可以正常上网(事实上在live cd下就可以),虽然现在问题解决了,但是还是搞不懂那个问题是出在哪里
头像
leeaman
帖子: 30702
注册时间: 2007-02-02 18:14
系统: debian sid

#7

帖子 leeaman » 2007-10-02 12:57

早说啊,你装的是7.04吧,这个我也试过一次,拔网线安装的毛病,那个网络没有配置,要改那个什么interfaces的文件来手动设置网络的,如果你可以进x的话,网络设置那里估计可以改,我那时是最小化安装,又不会改那个文件,也是重装的
醉了星星,醉月亮●●●●●The Long Way To Go(*^_^*)
头像
forrid
帖子: 659
注册时间: 2007-04-23 17:40

#8

帖子 forrid » 2007-10-02 13:37

???
路过了。。。

吾生也有涯,而知也无涯,以有涯随无涯,SB啊~~~~~~~~~~
回复