| 论坛注册| 加入收藏 | 设为首页| RSS
Google
您当前的位置:首页 > Linux频道 > Linux入门与提高 > 上网与多媒体

fedora 6设置网卡网关及DNS

时间:2007-02-08 10:09:38  来源:Linux联盟收集整理  作者:
1.设置IP地址9nNLinux联盟
9nNLinux联盟
查看你使用的IP网卡9nNLinux联盟
ifconfig -a9nNLinux联盟
找到你要使用的网卡9nNLinux联盟
vi /etc/sysconfig/network-scripts/ifcfg-eth09nNLinux联盟
9nNLinux联盟
9nNLinux联盟
# Intel Corporation 82801BA/BAM/CA/CAM Ethernet Controller9nNLinux联盟
DEVICE=eth09nNLinux联盟
BOOTPROTO=static9nNLinux联盟
#BROADCAST=59.188.15.2559nNLinux联盟
HWADDR=00:02:A5:F5:80:239nNLinux联盟
IPADDR=59.188.15.1179nNLinux联盟
NETMASK=255.255.255.2409nNLinux联盟
#NETWORK=59.188.15.09nNLinux联盟
ONBOOT=yes9nNLinux联盟
9nNLinux联盟
9nNLinux联盟
2.设置网关地址9nNLinux联盟
vi /etc/sysconfig/network9nNLinux联盟
9nNLinux联盟
NETWORKING=yes9nNLinux联盟
HOSTNAME=localhost.localdomain9nNLinux联盟
GATEWAY=192.168.32.19nNLinux联盟
9nNLinux联盟
3.设置DNS 地址9nNLinux联盟
vi /etc/resolv.conf9nNLinux联盟
9nNLinux联盟
nameserver&<60; 172.19.30.639nNLinux联盟
nameserver&<60; 172.19.30.649nNLinux联盟
search localdomain9nNLinux联盟
9nNLinux联盟
OK设置完了9nNLinux联盟
/etc/init.d/network restart9nNLinux联盟
9nNLinux联盟
但是不成功;9nNLinux联盟
Problem 1:pcnet unknown parameter 'dma'9nNLinux联盟
1。lspci发现网卡已经检测到;9nNLinux联盟
2。lsmod没有发现pcnet32;9nNLinux联盟
3。modprobe pcnet32发现无法加载pcnet32驱动,报错:FATAL: Error inserting pcnet32(..):unknown symbols in module;9nNLinux联盟
4。只有insmod pcnet32;发现成功;9nNLinux联盟
5。lsmod也可以看到pcnet32成功加载;9nNLinux联盟
结论:pcnet32.ko驱动可能有未定义符号表存在。
来顶一下
近回首页
返回首页
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表
相关文章
    无相关信息
栏目更新
栏目热门