- 论坛徽章:
- 0
|
原帖由 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 编辑 ] |
|