LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: milano

debian海威发行版网卡有问题

[复制链接]
 楼主| 发表于 2005-12-13 20:39:18 | 显示全部楼层
现在网卡好像能用了,只要修改一下这个文件就可以了
vim File: /etc/network/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表示开机时候自动加载一块叫lo的interface
auto lo

# iface lo inet loopback 表示定义lo这个interface的类型为loopback类型(本地环回# 接口)
iface lo inet loopback

# 自动加载叫eth0的interface
auto eth0

# The primary network interface
# iface eth0 inet static 表示eth0是一个具有静态地址的interface
iface eth0 inet static
#address表示ip地址
address 192.168.1.254
#netmask表示子网掩码
netmask 255.255.255.0
#综合network和netmask的值来表示一个网络192.168.1.254/24
network 192.168.1.0
#broadcast表示广播地址
broadcast 192.168.1.255
#gateway表示网关地址
gateway 192.168.1.1

# dns-* options are implemented by the resolvconf package, if installed
#DNS服务器地址
dns-nameservers 202.103.0.117 202.103.24.68
# DNS服务器地址一般在另外的一个文件里面配置,文件地址是 /etc/resolv.conf
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-12-13 20:41:09 | 显示全部楼层
但是,我快疯掉了,可以ping通网关、DNS,但用firefox上不了网,apt-get update也不行,是不是还有什么命令没有执行
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-12-13 22:39:27 | 显示全部楼层
Done!
Creat reslov.conf and edit it.
Everything is perfect but the chinese language input tool.
回复 支持 反对

使用道具 举报

发表于 2005-12-13 22:45:20 | 显示全部楼层
pingß名ïå么?
telnet www.chinaunix.net 80
然后“入一个get看看输出
回复 支持 反对

使用道具 举报

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

本版积分规则

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