1 | #
|
---|
2 | # WLEIDEN -- Wireless Leiden kernel configuration file for FreeBSD/i386
|
---|
3 | #
|
---|
4 | # For more information on this file, please read the handbook section on
|
---|
5 | # Kernel Configuration Files:
|
---|
6 | #
|
---|
7 | # http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
|
---|
8 | #
|
---|
9 | # This config is tweaked for ALIX.APU1C & APU1C4, with
|
---|
10 | # Atheros Wireless Cards and meant to run an a remote location.
|
---|
11 | #
|
---|
12 |
|
---|
13 | cpu I486_CPU
|
---|
14 | cpu I586_CPU
|
---|
15 | cpu I686_CPU
|
---|
16 | ident WLEIDEN
|
---|
17 |
|
---|
18 | # Uncomment if you like to compile a debugging kernel
|
---|
19 | #makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
|
---|
20 | #options KDB # Kernel debugger related code
|
---|
21 | #options KDB_TRACE # Print a stack trace for a panic
|
---|
22 | #options STACK # stack(9) support
|
---|
23 |
|
---|
24 | options CPU_ELAN # Soekris support
|
---|
25 | options CPU_SOEKRIS # Some units are Soekris Machines.
|
---|
26 | options CPU_GEODE # net4801 requirement
|
---|
27 |
|
---|
28 |
|
---|
29 | options NO_SWAPPING # Embedded Machines.
|
---|
30 | options SW_WATCHDOG # Remote emergency reboots.
|
---|
31 |
|
---|
32 | options ROUTETABLES=6 # Multiple routing table support
|
---|
33 |
|
---|
34 | # To statically compile in device wiring instead of /boot/device.hints
|
---|
35 | #hints "GENERIC.hints" # Default places to look for devices.
|
---|
36 |
|
---|
37 | options SCHED_ULE # ULE scheduler
|
---|
38 | options PREEMPTION # Enable kernel thread preemption
|
---|
39 | options INET # InterNETworking
|
---|
40 | options INET6 # IPv6 communications protocols
|
---|
41 | options SCTP # Stream Control Transmission Protocol
|
---|
42 | options FFS # Berkeley Fast Filesystem
|
---|
43 | options SOFTUPDATES # Enable FFS soft updates support
|
---|
44 | options NFS_ROOT # Allow NFS to be / mount (testing purposes)
|
---|
45 | options NFSCLIENT # Network Filesystem Client
|
---|
46 | options PSEUDOFS # Pseudo-filesystem framework
|
---|
47 | options GEOM_LABEL # Provides labelization
|
---|
48 | options KTRACE # ktrace(1) support
|
---|
49 | options SYSVSHM # SYSV-style shared memory
|
---|
50 | options SYSVMSG # SYSV-style message queues
|
---|
51 | options SYSVSEM # SYSV-style semaphores
|
---|
52 | options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
|
---|
53 | options KBD_INSTALL_CDEV # install a CDEV entry in /dev
|
---|
54 | options INCLUDE_CONFIG_FILE # Include this file in kernel
|
---|
55 |
|
---|
56 | # To make an SMP kernel, the next two lines are needed
|
---|
57 | options SMP # Symmetric MultiProcessor Kernel
|
---|
58 | device apic # I/O APIC
|
---|
59 |
|
---|
60 | # Bus support.
|
---|
61 | device eisa
|
---|
62 | device pci
|
---|
63 | device acpi
|
---|
64 |
|
---|
65 | # ATA controllers
|
---|
66 | device ahci # AHCI-compatible SATA controllers
|
---|
67 | device ata # Legacy ATA/SATA controllers
|
---|
68 | #options ATA_CAM # Handle legacy controllers with CAM
|
---|
69 | options ATA_STATIC_ID # Static device numbering
|
---|
70 |
|
---|
71 | # ATA/SCSI peripherals
|
---|
72 | device scbus # SCSI bus (required for ATA/SCSI)
|
---|
73 | device da # Direct Access (disks)
|
---|
74 |
|
---|
75 | # Add suspend/resume support for the i8254.
|
---|
76 | device pmtimer
|
---|
77 |
|
---|
78 | # PCCARD (PCMCIA) support
|
---|
79 | # PCMCIA and cardbus bridge support
|
---|
80 | device cbb # cardbus (yenta) bridge
|
---|
81 | device pccard # PC Card (16-bit) bus
|
---|
82 | device cardbus # CardBus (32-bit) bus
|
---|
83 |
|
---|
84 | # Serial (COM) ports
|
---|
85 | device uart # Generic UART driver
|
---|
86 |
|
---|
87 | # PCI Ethernet NICs that use the common MII bus controller code.
|
---|
88 | # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
|
---|
89 | device miibus # MII bus support
|
---|
90 | device vr # VIA Rhine, Rhine II
|
---|
91 | device sis # SiS 900/SiS 7016
|
---|
92 | device re # Realtek RTL8169S/8110S/8211
|
---|
93 |
|
---|
94 | # Wireless NIC cards
|
---|
95 | device wlan # 802.11 support
|
---|
96 | options IEEE80211_DEBUG # enable debug msgs
|
---|
97 | options IEEE80211_AMPDU_AGE # age frames in AMPDU reorder q's
|
---|
98 | options IEEE80211_SUPPORT_MESH # enable 802.11s draft support
|
---|
99 | device ath # Atheros NIC's
|
---|
100 | device ath_pci # Atheros pci/cardbus glue
|
---|
101 | device ath_hal # pci/cardbus chip support
|
---|
102 | options AH_SUPPORT_AR5416 # enable AR5416 tx/rx descriptors
|
---|
103 | device ath_rate_sample # SampleRate tx rate control for ath
|
---|
104 | device ral # Ralink Technology RT2500 wireless NICs.
|
---|
105 | device wi # WaveLan/Intersil/Symbol 802.11 wireless NICs.
|
---|
106 |
|
---|
107 | # Pseudo devices.
|
---|
108 | device loop # Network loopback
|
---|
109 | device random # Entropy device
|
---|
110 | device ether # Ethernet support
|
---|
111 | device vlan # 802.1Q VLAN support
|
---|
112 | device tun # Packet tunnel.
|
---|
113 | device pty # BSD-style compatibility pseudo ttys
|
---|
114 | device md # Memory "disks"
|
---|
115 | device gif # IPv6 and IPv4 tunneling
|
---|
116 | device faith # IPv6-to-IPv4 relaying (translation)
|
---|
117 | device firmware # firmware assist module
|
---|
118 |
|
---|
119 | # The `bpf' device enables the Berkeley Packet Filter.
|
---|
120 | # Be aware of the administrative consequences of enabling this!
|
---|
121 | # Note that 'bpf' is required for DHCP.
|
---|
122 | device bpf # Berkeley packet filter
|
---|
123 |
|
---|
124 | # USB support
|
---|
125 | options USB_DEBUG # enable debug msgs
|
---|
126 | device uhci # UHCI PCI->USB interface
|
---|
127 | device ohci # OHCI PCI->USB interface
|
---|
128 | device ehci # EHCI PCI->USB interface (USB 2.0)
|
---|
129 | device xhci # XHCI PCI->USB interface (USB 3.0)
|
---|
130 | device usb # USB Bus (required)
|
---|
131 | device umass # Disks/Mass storage - Requires scbus and da
|
---|
132 |
|
---|
133 | # MMC/SD
|
---|
134 | device mmc # MMC/SD bus
|
---|
135 | device mmcsd # MMC/SD memory card
|
---|
136 | device sdhci # Generic PCI SD Host Controller
|
---|
137 |
|
---|
138 | # USB Serial devices
|
---|
139 | device u3g # USB-based 3G modems (Option, Huawei, Sierra)
|
---|
140 | device uark # Technologies ARK3116 based serial adapters
|
---|
141 | device ubsa # Belkin F5U103 and compatible serial adapters
|
---|
142 | device uftdi # For FTDI usb serial adapters
|
---|
143 | device uipaq # Some WinCE based devices
|
---|
144 | device uplcom # Prolific PL-2303 serial adapters
|
---|
145 | device uslcom # SI Labs CP2101/CP2102 serial adapters
|
---|
146 | device uvisor # Visor and Palm devices
|
---|
147 | device uvscom # USB serial support for DDI pocket's PHS
|
---|
148 |
|
---|
149 | # USB Ethernet, requires miibus
|
---|
150 | device aue # ADMtek USB Ethernet
|
---|
151 | device axe # ASIX Electronics USB Ethernet
|
---|
152 | device cdce # Generic USB over Ethernet
|
---|
153 | device cue # CATC USB Ethernet
|
---|
154 | device kue # Kawasaki LSI USB Ethernet
|
---|
155 | device mos # Mos USB Ethernet
|
---|
156 | device rue # RealTek RTL8150 USB Ethernet
|
---|
157 | device udav # Davicom DM9601E USB
|
---|
158 |
|
---|
159 | # USB Wireless
|
---|
160 | device rum # Ralink Technology RT2501USB wireless NICs
|
---|
161 | device run # Ralink Technology RT2700/RT2800/RT3000 NICs.
|
---|
162 | device uath # Atheros AR5523 wireless NICs
|
---|
163 | device upgt # Conexant/Intersil PrismGT wireless NICs.
|
---|
164 | device ural # Ralink Technology RT2500USB wireless NICs
|
---|
165 | device urtw # Realtek RTL8187B/L wireless NICs
|
---|
166 | device zyd # ZyDAS zd1211/zd1211b wireless NICs
|
---|
167 |
|
---|
168 | # Authentication, encryption and protection on network layer
|
---|
169 | device wlan_xauth #802.11 external authenticator support
|
---|
170 | device enc #IPsec interface
|
---|
171 | device crypto # core crypto support
|
---|
172 | device cryptodev # /dev/crypto for access to h/w
|
---|
173 | device pf #PF OpenBSD packet-filter firewall
|
---|
174 | device pflog #logging support interface for PF
|
---|
175 | options IPSEC #IP security (requires device crypto)
|
---|
176 | options IPSEC_FILTERTUNNEL #filter ipsec packets from a tunnel
|
---|
177 |
|
---|
178 | # glxsb is a driver for the Security Block in AMD Geode LX processors.
|
---|
179 | # Requires 'device crypto'.
|
---|
180 | device glxsb # AMD Geode LX Security Block
|
---|
181 |
|
---|
182 | # Allow combining interfaces
|
---|
183 | device if_bridge
|
---|
184 |
|
---|
185 | # Needed for VPN and other alternative tunnels
|
---|
186 | device tap
|
---|
187 |
|
---|
188 | # In case we like to limit and play more clever with inet traffic and running
|
---|
189 | # queues and such.
|
---|
190 | options ALTQ
|
---|
191 | options ALTQ_CBQ # Class Bases Queuing (CBQ)
|
---|
192 | options ALTQ_RED # Random Early Detection (RED)
|
---|
193 | options ALTQ_RIO # RED In/Out
|
---|
194 | options ALTQ_HFSC # Hierarchical Packet Scheduler (HFSC)
|
---|
195 | options ALTQ_PRIQ # Priority Queuing (PRIQ)
|
---|
196 |
|
---|
197 | # Make ipfw firewall with NAT available for use, also see:
|
---|
198 | # http://www.freebsd.org/doc/en/books/handbook/firewalls-ipfw.html
|
---|
199 | options IPFIREWALL
|
---|
200 | options IPFIREWALL_VERBOSE
|
---|
201 | options IPFIREWALL_VERBOSE_LIMIT=5
|
---|
202 | options IPFIREWALL_DEFAULT_TO_ACCEPT
|
---|
203 | options IPDIVERT
|
---|