|
|
我是下载了netinst.iso从硬盘安装的,之后可以正常启动,但不能上网.同样的网络设置在gentoo下就可以上网.
内网,静态ip,
interface:auto eth0
iface eth0 inet static
address 168.55.1.23
netmask 255.255.255.0
network 168.55.1.0
broadcast 168.55.1.255
gateway 168.55.1.155
resolv.conf:nameserver 202.98.0.68
nameserver 202.98.5.68
hosts:
127.0.0.1 localhost.localdomain localhost fake
168.55.1.23 fake.desktop fake
ifconfig显示:eth0 Link encap:Ethernet HWaddr 00:0D:61:60:50:25
inet addr:168.55.1.23 Bcast:168.55.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:15 errors:0 dropped:0 overruns:0 frame:0
TX packets:65 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1884 (1.8 KiB) TX bytes:5581 (5.4 KiB)
Interrupt:201
启动时有提示/etc/network/opertion is deprecated,让我读README .Debian 网络部分..
opertion文件内容:ip_forward=no
spoofprotect=yes
syncookies=no
在gentoo下dmesg能看见eth0: Yukon Gigabit Ethernet 10/100/1000Base-T Adapter(网卡)
在debian下dmesg能看见skge 1.6 addr 0xfb000000 irq 201 chip Yukon-Lite rev 7
skge eth0: addr 00:0d:61:60:50:25
skge eth0: enabling interface
skge eth0: Link is up at 100 Mbps, full duplex, flow control none
然后ping外网ping不通,ping网关没问题,但dns ping不通.
PING 202.98.0.68 (202.98.0.68) 56(84) bytes of data.
--- 202.98.0.68 ping statistics ---
6 packets transmitted, 0 received, 100% packet loss, time 5001ms
同样的设置,我在gentoo下就可以上网.
这是怎么回事阿? |
|