[未解决问题]2种方式都上不了网(应当不是设备连接问题)
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
-
- 帖子: 32
- 注册时间: 2007-08-26 7:23
[未解决问题]2种方式都上不了网(应当不是设备连接问题)
硬件连接:家庭局域网,电信的HUAWEI SmartAX MT800(拨号需在计算机上)加TP-link TL-SF1998D 的Ethernet Switch,MT800的RJ-45插在Switch的Uplink插口上,两台电脑都一个网卡,笔记本的是VIA Rhine II Fast Ethernet Adapter,台式是 Realtek RTL8139 Family PCI Fast Ethernet Adapter NIC,各插一个其他的。
以前两电脑都是xp时状况:MT800只设置VCI的时候用一下,以后就不管了,台式做主机,静态ip:192.168.0.1 一个ADSL连接。笔记本静态ip:192.168.0.2,网关192.168.0.1 DNS 192.168.0.1 也有一个相同的ADSL连接(都建立在各自网卡之上)。双方都可分别拨号,主机上网,分机不必拨号。
______________________________________________________________________________________________________________________________
问题:
在笔记本上装ubuntu7.04:同样设置ip192.168.0.2,网关设为192.168.0.1(也试过192.168.1段的),右上角有两个电脑叠起来的图标,互相ping不通,上不了网。
$route -n结果如下
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
DHCP的话
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use 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 1000 0 0 eth0
若单独拨号,$sudo pppoeconf后发生错误提示
Sorry,I scannad 2(网卡设置为DHCP的时候就2,静态时就1) interfaces,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.
搜网上,报此错的人很多,没见具体解决方法,见有人安装rp-pppoe后能用了,就去下载,结果安不上
root@ubuntu:/boot/rp-pppoe-3.8# ./go
Running ./configure
checking for gcc... gcc
checking for C compiler default output file name... configure:error:C compiler connot create executables
See........
_______________________________________________________________________________________________________________________
总之,终极目标是要达到原2个xp系统的效果,即既能通过局域网共享上网,又能自己单独拨号,但现在一条路都不通,暂时只求能上网,谢谢
以前两电脑都是xp时状况:MT800只设置VCI的时候用一下,以后就不管了,台式做主机,静态ip:192.168.0.1 一个ADSL连接。笔记本静态ip:192.168.0.2,网关192.168.0.1 DNS 192.168.0.1 也有一个相同的ADSL连接(都建立在各自网卡之上)。双方都可分别拨号,主机上网,分机不必拨号。
______________________________________________________________________________________________________________________________
问题:
在笔记本上装ubuntu7.04:同样设置ip192.168.0.2,网关设为192.168.0.1(也试过192.168.1段的),右上角有两个电脑叠起来的图标,互相ping不通,上不了网。
$route -n结果如下
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
DHCP的话
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use 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 1000 0 0 eth0
若单独拨号,$sudo pppoeconf后发生错误提示
Sorry,I scannad 2(网卡设置为DHCP的时候就2,静态时就1) interfaces,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.
搜网上,报此错的人很多,没见具体解决方法,见有人安装rp-pppoe后能用了,就去下载,结果安不上
root@ubuntu:/boot/rp-pppoe-3.8# ./go
Running ./configure
checking for gcc... gcc
checking for C compiler default output file name... configure:error:C compiler connot create executables
See........
_______________________________________________________________________________________________________________________
总之,终极目标是要达到原2个xp系统的效果,即既能通过局域网共享上网,又能自己单独拨号,但现在一条路都不通,暂时只求能上网,谢谢
上次由 bleastrind 在 2007-08-31 9:20,总共编辑 3 次。
- relaaxx
- 帖子: 121
- 注册时间: 2007-05-20 14:07
-
- 帖子: 32
- 注册时间: 2007-08-26 7:23
第一种状况
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
-
- 帖子: 32
- 注册时间: 2007-08-26 7:23
- jude511
- 帖子: 22
- 注册时间: 2007-08-25 23:56
[问题]
jude@jude-desktop:~$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
11.2.0.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
10.62.131.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0
//////////////////////////////////////////
也帮我看看,我现在只能连adsl或连内网,不能连vpn.可不可以同时上内外网?
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
11.2.0.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
10.62.131.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0
//////////////////////////////////////////
也帮我看看,我现在只能连adsl或连内网,不能连vpn.可不可以同时上内外网?
-
- 帖子: 32
- 注册时间: 2007-08-26 7:23
最新发现,不知我的是不是也这样
回復: 請問我的PPPOECONF 哪裡出了問題? 都沒辦法設定 #10
會員三級
註冊日期:
1/15 14:06:58
所屬群組:
已註冊使用者
lym520 寫到:
我也有這個問題
不管是在 LiveCD,或是裝到硬碟都一樣
有時正常有時不正常,通常關機一段時間再試就會成功
所以懷疑是內建網路晶片和 ubuntu 相容問題
技嘉主機板,網路晶片是 Realtek RTL8111B
這張卡確定是有問題的, 到了7.10也是一樣
Solution : 下載官方kernel 2.6+ 用的 driver
ftp://152.104.238.19/cn/nic/r8168-8.002.00.tar.bz2
自行重編kernel.....
聽了就覺得害怕吧.... 可惜沒別的辦法囉...
會員三級
註冊日期:
1/15 14:06:58
所屬群組:
已註冊使用者
lym520 寫到:
我也有這個問題
不管是在 LiveCD,或是裝到硬碟都一樣
有時正常有時不正常,通常關機一段時間再試就會成功
所以懷疑是內建網路晶片和 ubuntu 相容問題
技嘉主機板,網路晶片是 Realtek RTL8111B
這張卡確定是有問題的, 到了7.10也是一樣
Solution : 下載官方kernel 2.6+ 用的 driver
ftp://152.104.238.19/cn/nic/r8168-8.002.00.tar.bz2
自行重編kernel.....
聽了就覺得害怕吧.... 可惜沒別的辦法囉...
-
- 帖子: 32
- 注册时间: 2007-08-26 7:23
-
- 帖子: 723
- 注册时间: 2006-04-11 9:01
没有接触过交换机,只简单地说说我的看法
1,不要连ubuntu的机子,只把台式机和交换机相连,用以前的方法将这台XP拨号连到网上.看看这步可行不?
2,第1步成功后,查看XP机子的TCP/IP信息,包括IP地址,掩码等等;
3,把ubuntu连上,用ifconfig命令设置IP地址,掩码,要求和XP的在同一网段.网关和DNS暂且不设.执行ping命令,看看能否ping通XP;
4,第三步执行成功后将ubuntu的网关和DNS都设置为XP机的IP地址;
5,第4步不成功的话,再试下将ubuntu的网关设成XP机的IP地址,但DNS留空或者和XP机DNS一样.
顺序进行上面几步,看中间会出现哪些问题.
1,不要连ubuntu的机子,只把台式机和交换机相连,用以前的方法将这台XP拨号连到网上.看看这步可行不?
2,第1步成功后,查看XP机子的TCP/IP信息,包括IP地址,掩码等等;
3,把ubuntu连上,用ifconfig命令设置IP地址,掩码,要求和XP的在同一网段.网关和DNS暂且不设.执行ping命令,看看能否ping通XP;
4,第三步执行成功后将ubuntu的网关和DNS都设置为XP机的IP地址;
5,第4步不成功的话,再试下将ubuntu的网关设成XP机的IP地址,但DNS留空或者和XP机DNS一样.
顺序进行上面几步,看中间会出现哪些问题.
I would love to change the world, but they won't give me the source code.
http://hi.baidu.com/wienerlee
http://hi.baidu.com/wienerlee
-
- 帖子: 32
- 注册时间: 2007-08-26 7:23
1.上网过程中拔掉都可以
2.Microsoft Windows XP [版本 5.1.2600]
(C) 版权所有 1985-2001 Microsoft Corp.
C:\Documents and Settings\Administrator>ipconfig
Windows IP Configuration
Ethernet adapter 本地连接:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.0.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
PPP adapter ADSL:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 222.58.197.153
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . : 222.58.197.153
3.用改文件和图形界面设都可以吧
ping不通了
4.5下面就统统不行了
2.Microsoft Windows XP [版本 5.1.2600]
(C) 版权所有 1985-2001 Microsoft Corp.
C:\Documents and Settings\Administrator>ipconfig
Windows IP Configuration
Ethernet adapter 本地连接:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.0.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
PPP adapter ADSL:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 222.58.197.153
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . : 222.58.197.153
3.用改文件和图形界面设都可以吧
ping不通了
4.5下面就统统不行了
- abyssblue
- 帖子: 49
- 注册时间: 2006-10-02 21:05
-
- 帖子: 32
- 注册时间: 2007-08-26 7:23
-
- 帖子: 723
- 注册时间: 2006-04-11 9:01
I would love to change the world, but they won't give me the source code.
http://hi.baidu.com/wienerlee
http://hi.baidu.com/wienerlee
-
- 帖子: 32
- 注册时间: 2007-08-26 7:23
回10楼,没用软件,那是我自己配的,网关只有一个,但2台都可以自己ADSL拨号
12楼:
$ ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:40:45:27:16:B4
inet addr:192.168.0.3 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:123 overruns:0 frame:0
TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:1983 (1.9 KiB)
Interrupt:11 Base address:0xdc00
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:1500 Metric:1
RX packets:934 errors:0 dropped:0 overruns:0 frame:0
TX packets:934 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:73740 (72.0 KiB) TX bytes:73740 (72.0 KiB)
普通拨号连接一楼说了,出现的那个错MS很经典,网上问的不少,就是没见解决了的。
我现在只要两机能ping通
12楼:
$ ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:40:45:27:16:B4
inet addr:192.168.0.3 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:123 overruns:0 frame:0
TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:1983 (1.9 KiB)
Interrupt:11 Base address:0xdc00
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:1500 Metric:1
RX packets:934 errors:0 dropped:0 overruns:0 frame:0
TX packets:934 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:73740 (72.0 KiB) TX bytes:73740 (72.0 KiB)
普通拨号连接一楼说了,出现的那个错MS很经典,网上问的不少,就是没见解决了的。
我现在只要两机能ping通
-
- 帖子: 31
- 注册时间: 2007-08-26 12:18
-
- 帖子: 32
- 注册时间: 2007-08-26 7:23