免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 13593 | 回复: 5
打印 上一主题 下一主题

[OpenBSD] 如何重新安装网卡驱动和网络设置 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-04-18 22:37 |只看该作者 |倒序浏览
OpenBSD4.2,把原来的网卡拆了,安装了一个新网卡,我该怎么处理?不会要我重新安装一次OpenBSD吧?

论坛徽章:
0
2 [报告]
发表于 2008-04-18 22:46 |只看该作者
我也想问这个问题呢,关注,还有想问问装驱动和装软件过程有什么区别

论坛徽章:
0
3 [报告]
发表于 2008-04-18 23:53 |只看该作者
it's very easy!

in my OpenBSD, /etc have a "hostname.rl0" file,it's for old netcard.

now, run "ifconfig", get the new netcard 's name,is "fxp0".

rename the file "hostname.rl0" to "hostname.fxp0".

run "sh /etc/netstart".

ok. thank Google.

[ 本帖最后由 outdoor 于 2008-4-18 23:55 编辑 ]

论坛徽章:
0
4 [报告]
发表于 2008-04-19 07:35 |只看该作者
原帖由 outdoor 于 2008-4-18 23:53 发表
it's very easy!

in my OpenBSD, /etc have a "hostname.rl0" file,it's for old netcard.

now, run "ifconfig", get the new netcard 's name,is "fxp0".

rename the file "hostname.rl0" to "hostna ...



翻译一下,大意是:

原来/etc/ 目录中有个hostname.rl0文件,它是机器上原网卡的配置文件。
现在把原网卡换成新网卡。首先通过ifconfig命令查看一下新网卡在系统中的名字,如新网卡是intel芯片的,那么新网卡的名字一般为fxp0。

这时就可以改hostname.rl0为hostname.fxp0,最后reboot网络或系统即可。

以上方法适用于系统内置驱动的网卡,如系统不包含新网卡的启动则需要手动安装驱动后再使用ifconfig命令查看新网卡在系统中的名字

[ 本帖最后由 llzqq 于 2008-4-19 07:38 编辑 ]

论坛徽章:
0
5 [报告]
发表于 2008-04-19 11:49 |只看该作者
原帖由 outdoor 于 2008-4-18 23:53 发表
it's very easy!

in my OpenBSD, /etc have a "hostname.rl0" file,it's for old netcard.

now, run "ifconfig", get the new netcard 's name,is "fxp0".

rename the file "hostname.rl0" to "hostna ...

不错!学习了!

论坛徽章:
0
6 [报告]
发表于 2008-04-19 15:10 |只看该作者
www.openbsdonly.org打不开了
上面有好多常用知识,需要的时候可以查查


MichaelBibby
他的blog 好多东西可以看的
http://blog.chinaunix.net/u/10604/
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP