FreeBSD网站平台建设全过程 第一步
- 如何重装xp系统图解
- 下载Flash播放插件
- 巧妙清除Windows 2000/XP登录密码
- 如何利用路由器设置局域网
- QQ空间打不开
- 开机后鼠标不动怎么办
- Excel密码保护的解除方法与解除原理
- Windows XP注册表详解
- 3dmax不锈钢金属材质的制作方法
- 硬盘变成raw格式怎么办
machine i386 options INET #InterNETworking device tun 1 options IPFIREWALL #防火墙 device isa # ATA and ATAPI devices # SCSI Controllers #没有SCSI设备不需要这段 device adv0 at isa? device ncv # NCR 53C500 # SCSI peripherals #没有SCSI设备不需要这段 device vga0 at isa? # syscons is the default console driver, resembling an SCO console # Serial (COM) ports # 我用的是8139和Dlink DFE-530TX网卡,大家可根据自己的网卡型号保留或删除 # Pseudo devices - the number indicates howmany units to allocate. # The `bpf' pseudo-device enables the Berkeley Packet Filter. 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为你的内核文件名 重新启动。
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Webserver (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ./LINT configuration file. If you are
# in doubt as to the purpose or necessity of a line, check first in LINT.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.246.2.48 2002/08/31 20:28:26 obrien Exp $
cpu I586_CPU
cpu I686_CPU
ident kernel_wwwx #内核文件名,这个要和你的内核文件名一致
maxusers 0
options FFS #Berkeley Fast Filesystem
options FFS_ROOT #FFS usable as root device [keep this!]
options SOFTUPDATES #Enable FFS soft updates support
options UFS_DIRHASH #Improve performance on big directories
options PROCFS #Process filesystem
options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!]
options SCSI_DELAY=15000 #Delay (in ms) before probing SCSI
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores
options P1003_1B #Posix P1003_1B real-time extensions
options _KPOSIX_PRIORITY_SCHEDULING
options ICMP_BANDLIM #Rate limit bad replies
options AHC_REG_PRETTY_PRINT # Print register bitfields in debug
# output. Adds ~128k to driver.
options AHD_REG_PRETTY_PRINT # Print register bitfields in debug
# output. Adds ~215k to driver.
options IPFIREWALL_FORWARD #允许透明代理
options IPFIREWALL_VERBOSE #允许防火墙日志
options IPFIREWALL_VERBOSE_LIMIT=100 #限制日志
options IPFIREWALL_DEFAULT_TO_ACCEPT #默认允许所有IP包
options IPDIVERT #启用由ipfw divert使用的转向IP套接字
# options SMP # Symmetric MultiProcessor Kernel
# options APIC_IO # Symmetric (APIC) I/O
device eisa
device pci
device ata
device atadisk # ATA disk drives
device ahb # EISA AHA1742 family
device ahc # AHA2940 and onboard AIC7xxx devices
device ahd # AHA39320/29320 and onboard AIC79xx devices
device amd# AMD 53C974 (Tekram DC-390(T))
device isp # Qlogic family
device mpt # LSI-Logic MPT/Fusion
device ncr # NCR/Symbios Logic
device sym # NCR/Symbios Logic (newer chipsets)
options SYM_SETUP_LP_PROBE_MAP=0x40
# Allow ncr to attach legacy NCR devices when
# both sym and ncr are configured
device adw
device bt0 at isa?
device aha0 at isa?
device aic0 at isa?
device nsp # Workbit Ninja SCSI-3
device stg # TMC 18C30/18C50
device scbus # SCSI bus (required)
device da # Direct Access(disks)
device sa # Sequential Access (tape etc)
device cd # CD
device pass # Passthrough device (direct SCSI access)
device atkbdc0 at isa? port IO_KBD
device atkbd0 at atkbdc? irq 1 flags 0x1
device sc0 at isa? flags 0x100
device npx0 at nexus? port IO_NPX irq 13
device sio0 at isa? port IO_COM1 flags 0x10 irq 4
# 使用公共的MII总线控制器代码的PCI以太网适配器
# 注意:一定要保留'device miibus'以确保可用
# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device miibus # MII bus support
device fxp # Intel EtherExpress PRO/100B (82557, 82558)
device rl # RealTek 8129/8139
device vr # VIA Rhine, Rhine II
device xl # 3Com3c90x (``Boomerang'', ``Cyclone'')
pseudo-device loop # Network loopback
pseudo-device ether # Ethernet support
pseudo-device sl 1 # Kernel SLIP
pseudo-device ppp1 # Kernel PPP
pseudo-device tun # Packet tunnel.
pseudo-device pty # Pseudo-ttys (telnet etc)
pseudo-device md # Memory "disks"
pseudo-device gif # IPv6 and IPv4tunneling
pseudo-device faith 1 # IPv6-to-IPv4 relaying (translation)
# Be aware of the administrative consequences of enabling this!
- 最新文章
- FreeBSD FTP 的架设[01-03]
- 理解FreeBSD中的图形界面X系统[01-03]
- FreeBSD下编译升级内核的不同操作手法[01-03]
- 在FreeBSD4.x中制作启动菜单[01-03]
- 在FREEBSD 5中使用MRTG画图[01-03]
- 浅谈FreeBSD 5.2常用操作的改变[01-03]
- 相关文章
- FreeBSD FTP 的架设[01-03]
- 理解FreeBSD中的图形界面X系统[01-03]
- FreeBSD下编译升级内核的不同操作手法[01-03]
- 在FreeBSD4.x中制作启动菜单[01-03]
- 在FREEBSD 5中使用MRTG画图[01-03]
- 浅谈FreeBSD 5.2常用操作的改变[01-03]
