FreeBSD网站平台建设全过程 第一步(5)
2008-02-23 08:03:48来源:互联网 阅读 ()
device fxp # Intel EtherExpress PRO/100B (82557, 82558)device rl # RealTek 8129/8139
device vr # VIA Rhine, Rhine II
device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'')
# Pseudo devices - the number indicates how many units to allocate.
pseudo-device loop # Network loopback
pseudo-device ether # Ethernet support
pseudo-device sl 1 # Kernel SLIP
pseudo-device ppp 1 # Kernel PPP
pseudo-device tun # Packet tunnel.
pseudo-device pty # Pseudo-ttys (telnet etc)
pseudo-device md # Memory "disks"
pseudo-device gif # IPv6 and IPv4 tunneling
pseudo-device faith 1 # IPv6-to-IPv4 relaying (translation)
# The `bpf' pseudo-device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
pseudo-device bpf #Berkeley packet filter
我用的是8139网卡和Dlink DFE-530TX网卡,如果你用其他型号的网卡,需要察看当前目录的GENERIC 内核文件,找到描述自己的网卡型号的段并将其添加到新的内核文件里。其他的不改直接拷贝过来就可以用了。
接下来编译安装新内核:
|
# /usr/sbin/config kernel_wwwx #kernel_wwwx为你的内核文件名 # cd ../../compile/kernel_wwwx # make depend # make # make install |
重新启动(reboot)
如果系统升级过源代码树,按下面方法编译内核:
|
# cd /usr/src # make kernel KERNCONF=kernel_wwwx #kernel_wwwx为你的内核文件名 |
重新启动。
标签:
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有
下一篇:Zhcon的安装和使用(2)
- FreeBSD网站平台建设全过程 第二步 2008-02-23
- FreeBSD网站平台建设全过程 第六步 2008-02-23
- FreeBSD网站平台建设全过程 第五步 2008-02-23
- FreeBSD网站平台建设全过程 第四步 2008-02-23
IDC资讯: 主机资讯 注册资讯 托管资讯 vps资讯 网站建设
网站运营: 建站经验 策划盈利 搜索优化 网站推广 免费资源
网络编程: Asp.Net编程 Asp编程 Php编程 Xml编程 Access Mssql Mysql 其它
服务器技术: Web服务器 Ftp服务器 Mail服务器 Dns服务器 安全防护
软件技巧: 其它软件 Word Excel Powerpoint Ghost Vista QQ空间 QQ FlashGet 迅雷
网页制作: FrontPages Dreamweaver Javascript css photoshop fireworks Flash
