急!!!学校网络是DHCP分配 ubuntu不能上网!望指教
发表于 : 2008-08-14 0:12
xp下能够正常上网。xp下相关消息为:
IP地址:172.16.19.169
默认网关:172.16.19.1
DHCP服务器:172.16.0.5
DNS服务器:172.16.0.5
172.16.0.6
ubuntu下ifconfig结果:
eth0 Link encap:Ethernet HWaddr 00:c0:26:28:1b:22
inet6 addr: fe80::2c0:26ff:fe28:1b22/64 Scope:Link
UP BROADCAST RUNNING 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:0xc000
eth0:avahi Link encap:Ethernet HWaddr 00:c0:26:28:1b:22
inet addr:169.254.2.155 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:11 Base address:0xc000
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:1332 errors:0 dropped:0 overruns:0 frame:0
TX packets:1332 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:66792 (65.2 KB) TX bytes:66792 (65.2 KB)
$sudo /etc/init.d/networking restart
open: Permission denied
* Reconfiguring network interfaces... ifdown: failed to open statefile /var/run/network/ifstate: Permission denied
ifup: failed to open statefile /var/run/network/ifstate: Permission denied
open: Permission denied
[fail]
感谢高手指教!急等!
IP地址:172.16.19.169
默认网关:172.16.19.1
DHCP服务器:172.16.0.5
DNS服务器:172.16.0.5
172.16.0.6
ubuntu下ifconfig结果:
eth0 Link encap:Ethernet HWaddr 00:c0:26:28:1b:22
inet6 addr: fe80::2c0:26ff:fe28:1b22/64 Scope:Link
UP BROADCAST RUNNING 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:0xc000
eth0:avahi Link encap:Ethernet HWaddr 00:c0:26:28:1b:22
inet addr:169.254.2.155 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:11 Base address:0xc000
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:1332 errors:0 dropped:0 overruns:0 frame:0
TX packets:1332 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:66792 (65.2 KB) TX bytes:66792 (65.2 KB)
$sudo /etc/init.d/networking restart
open: Permission denied
* Reconfiguring network interfaces... ifdown: failed to open statefile /var/run/network/ifstate: Permission denied
ifup: failed to open statefile /var/run/network/ifstate: Permission denied
open: Permission denied
[fail]
感谢高手指教!急等!