QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1082|回复: 7

安装debian的netinst后,无法apt-get ?

[复制链接]
发表于 2005-8-6 23:52:44 | 显示全部楼层 |阅读模式
安装debian的netinst后,ping IP 可以ping通,但是ping像www.163.com,http://debian.cn99.com网址无法ping通,所以无法apt-get update,也就不可以安装软件了,怎么办啊,急,求救???
发表于 2005-8-6 23:55:36 | 显示全部楼层
pppoeconf设置好没有?
网络/网卡呢?
回复

使用道具 举报

 楼主| 发表于 2005-8-6 23:59:26 | 显示全部楼层
fox_eagle2003:我是通过路由上网的,ip:192.168.1.*;网关:192.168.1.1;但怎么可以ping IP可以,但网址不行,极度郁闷中,重装了几次都是这样,应该怎么设置?
回复

使用道具 举报

发表于 2005-8-7 00:07:43 | 显示全部楼层
DNS设置了没有?
回复

使用道具 举报

 楼主| 发表于 2005-8-7 00:30:48 | 显示全部楼层
网络设置是etc/network/interfaces:
auto eth0
iface eth0 inet static
    address 192.168.1.1
    netmask 255.255.255.0
    network 192.168.1.0
    broadcast 192.168.1.255
    geteway 192.168.1.1
   #dns-* options are implemented by the resolovconf package,if installed dns-search xw.com
   
可能是你说得dns设置问题,但要怎么修改呢?
回复

使用道具 举报

 楼主| 发表于 2005-8-7 01:20:16 | 显示全部楼层
/etc/resolv.conf内容是:
serch xw.com
网址还是ping不通,ip可以ping通
回复

使用道具 举报

 楼主| 发表于 2005-8-7 01:59:37 | 显示全部楼层
[quote:a64a1399e2="xw898"]/etc/resolv.conf内容是:
serch xw.com
网址还是ping不通,ip可以ping通[/quote]现在好了,果然是dns没有设置的问题,在resolv.conf加上就好了,谢谢版主fox_eagle2003
回复

使用道具 举报

发表于 2005-8-7 20:31:51 | 显示全部楼层
xw898,
是不是测试版本啊?
和你一样不解过,根本不是什么网路的问题.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-9-24 17:19 , Processed in 0.107132 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表