我装的8.10ubuntu和xp双系统。。联网方式猫加路由器,自动拨号。。。xp下一切正常。。。可是在ubuntu下。。刚开始用户修改网络参数始终无法保存。。后照网友方法。卸载网络管理器,用root用户登录修改网络参数。。修改后。。能ping通自己的ip,但是不能ping通路由器的网关:192.168.1.1,说是主机不可达!!!! 。。。以下是我的具体情况。。请指教哈。。
root@ubuntu:~# ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
From 192.168.1.30 icmp_seq=2 Destination Host Unreachable
From 192.168.1.30 icmp_seq=3 Destination Host Unreachable
From 192.168.1.30 icmp_seq=4 Destination Host Unreachable
root@ubuntu:~# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:23:54:d4:71:d3
inet addr:192.168.1.30 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 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:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:19 Base address:0xdead
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:326 errors:0 dropped:0 overruns:0 frame:0
TX packets:326 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:33183 (33.1 KB) TX bytes:33183 (33.1 KB)
pan0 Link encap:Ethernet HWaddr 3a:b9:26:7e:92:cc
BROADCAST MULTICAST MTU:1500 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)
--------------------------------------------------------------------------
深夜发帖。。。不好意思哈。。。。
8.10网络设置和无法上网问题。。。急死人啊。。。
- 谁是谁的谁
- 帖子: 588
- 注册时间: 2008-11-14 22:27
- old_fish
- 帖子: 12
- 注册时间: 2009-03-07 22:13
Re: 8.10网络设置和无法上网问题。。。急死人啊。。。
坐个sf看直播
- 谁是谁的谁
- 帖子: 588
- 注册时间: 2008-11-14 22:27
Re: 8.10网络设置和无法上网问题。。。急死人啊。。。
这是router -n的情况:
root@ubuntu:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.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.1.1 0.0.0.0 UG 100 0 0 eth0
------------------------------------------------------------------------------------------------
我刚花了2周时间把显卡驱动才搞定(GF9500GT)。。。。。现在上网又成了老大难。。。真是让人崩溃。。。老天爷。。看在我对ubuntu这么痴情的份上。。就来帮帮我吧。。。。。。。。。。。。。。。。。。。。
root@ubuntu:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.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.1.1 0.0.0.0 UG 100 0 0 eth0
------------------------------------------------------------------------------------------------
我刚花了2周时间把显卡驱动才搞定(GF9500GT)。。。。。现在上网又成了老大难。。。真是让人崩溃。。。老天爷。。看在我对ubuntu这么痴情的份上。。就来帮帮我吧。。。。。。。。。。。。。。。。。。。。
- Ur@nus
- 帖子: 622
- 注册时间: 2006-12-01 23:02
Re: 8.10网络设置和无法上网问题。。。急死人啊。。。
如果有路由的话,你让路由自动分配ip可以么?你把network-admin卸载了?
我的/etc/network/interfaces非常简单
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
——————————————————————————
sudo /etc/init.d/networking restart
然后看看有什么错误提示?然后google一下
我的/etc/network/interfaces非常简单
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
——————————————————————————
sudo /etc/init.d/networking restart
然后看看有什么错误提示?然后google一下