昨天闲来无事,sudo apt-get install xfce4后,速度是快了许多了,可是不能上网了,删了xfce4也没有用.郁闷!
这是我的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
iface eth0 inet static
address 192.168.1.100
netmask 255.255.255.0
gateway 192.168.1.1
auto eth0
ping 127.0.0.1 192.168.1.100都可以,就是ping 192.168.1.1不通.
幸亏是双系统,这个帖子就是在2003下发的.
谁来帮帮我呀?
[问题]搞了xfce4后网上不了,急!
-
- 帖子: 10
- 注册时间: 2005-10-30 22:23
- eexpress
- 帖子: 58428
- 注册时间: 2005-08-14 21:55
- 来自: 长沙
-
- 帖子: 10
- 注册时间: 2005-10-30 22:23
网还是不通呀!
gqc@ubuntu:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:E0:4C:44:CF:5A
inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::2e0:4cff:fe44:cf5a/64 Scope:Link
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:11 Base address:0xd400
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:1208 errors:0 dropped:0 overruns:0 frame:0
TX packets:1208 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:108806 (106.2 KiB) TX bytes:108806 (106.2 KiB)
gqc@ubuntu:~$ ping 192.168.1.100
PING 192.168.1.100 (192.168.1.100) 56(84) bytes of data.
64 bytes from 192.168.1.100: icmp_seq=1 ttl=64 time=0.128 ms
64 bytes from 192.168.1.100: icmp_seq=2 ttl=64 time=0.094 ms
64 bytes from 192.168.1.100: icmp_seq=3 ttl=64 time=0.101 ms
64 bytes from 192.168.1.100: icmp_seq=4 ttl=64 time=0.106 ms
64 bytes from 192.168.1.100: icmp_seq=5 ttl=64 time=0.097 ms
gqc@ubuntu:~$ ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
From 192.168.1.100 icmp_seq=3 Destination Host Unreachable
From 192.168.1.100 icmp_seq=4 Destination Host Unreachable
From 192.168.1.100 icmp_seq=6 Destination Host Unreachable
From 192.168.1.100 icmp_seq=7 Destination Host Unreachable
From 192.168.1.100 icmp_seq=8 Destination Host Unreachable
auto eth0 去掉还没有试.
eth0 Link encap:Ethernet HWaddr 00:E0:4C:44:CF:5A
inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::2e0:4cff:fe44:cf5a/64 Scope:Link
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:11 Base address:0xd400
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:1208 errors:0 dropped:0 overruns:0 frame:0
TX packets:1208 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:108806 (106.2 KiB) TX bytes:108806 (106.2 KiB)
gqc@ubuntu:~$ ping 192.168.1.100
PING 192.168.1.100 (192.168.1.100) 56(84) bytes of data.
64 bytes from 192.168.1.100: icmp_seq=1 ttl=64 time=0.128 ms
64 bytes from 192.168.1.100: icmp_seq=2 ttl=64 time=0.094 ms
64 bytes from 192.168.1.100: icmp_seq=3 ttl=64 time=0.101 ms
64 bytes from 192.168.1.100: icmp_seq=4 ttl=64 time=0.106 ms
64 bytes from 192.168.1.100: icmp_seq=5 ttl=64 time=0.097 ms
gqc@ubuntu:~$ ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
From 192.168.1.100 icmp_seq=3 Destination Host Unreachable
From 192.168.1.100 icmp_seq=4 Destination Host Unreachable
From 192.168.1.100 icmp_seq=6 Destination Host Unreachable
From 192.168.1.100 icmp_seq=7 Destination Host Unreachable
From 192.168.1.100 icmp_seq=8 Destination Host Unreachable
auto eth0 去掉还没有试.
- firehare
- 帖子: 2625
- 注册时间: 2005-04-10 16:54
- 来自: 温州大学
- 联系:
代码: 全选
# 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 static
address 192.168.1.100
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
auto eth0
我心无畏,源自于我心无知。