summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2006-09-21 22:17:04 +0000
committerjulian <julian@FreeBSD.org>2006-09-21 22:17:04 +0000
commited1ef715b2d69129c918c8189df6ca6dfacdcd1d (patch)
tree026909fc09434ffe492a7ce19f02aecdeb804f3d /tools
parent90dd743d5c6c95ddecc22fab81136d8e2b4a9ed6 (diff)
downloadFreeBSD-src-ed1ef715b2d69129c918c8189df6ca6dfacdcd1d.zip
FreeBSD-src-ed1ef715b2d69129c918c8189df6ca6dfacdcd1d.tar.gz
Slight tunups to the config files.
Diffstat (limited to 'tools')
-rw-r--r--tools/tools/tinybsd/conf/bridge/TINYBSD11
-rw-r--r--tools/tools/tinybsd/conf/bridge/etc/rc.conf5
-rw-r--r--tools/tools/tinybsd/conf/bridge/etc/sysctl.conf7
-rw-r--r--tools/tools/tinybsd/conf/default/TINYBSD11
-rw-r--r--tools/tools/tinybsd/conf/default/etc/rc.conf2
-rw-r--r--tools/tools/tinybsd/conf/firewall/TINYBSD10
-rw-r--r--tools/tools/tinybsd/conf/firewall/etc/rc.conf1
-rw-r--r--tools/tools/tinybsd/conf/minimal/TINYBSD8
-rw-r--r--tools/tools/tinybsd/conf/minimal/etc/rc.conf2
-rw-r--r--tools/tools/tinybsd/conf/vpn/TINYBSD8
-rw-r--r--tools/tools/tinybsd/conf/vpn/etc/rc.conf5
-rw-r--r--tools/tools/tinybsd/conf/vpn/tinybsd.basefiles2
-rw-r--r--tools/tools/tinybsd/conf/wireless/TINYBSD10
-rw-r--r--tools/tools/tinybsd/conf/wireless/etc/rc.conf1
-rw-r--r--tools/tools/tinybsd/conf/wrap/TINYBSD10
-rw-r--r--tools/tools/tinybsd/conf/wrap/etc/rc.conf2
16 files changed, 25 insertions, 70 deletions
diff --git a/tools/tools/tinybsd/conf/bridge/TINYBSD b/tools/tools/tinybsd/conf/bridge/TINYBSD
index d1d22bb..63f7ca2 100644
--- a/tools/tools/tinybsd/conf/bridge/TINYBSD
+++ b/tools/tools/tinybsd/conf/bridge/TINYBSD
@@ -33,8 +33,6 @@ options ADAPTIVE_GIANT # Giant mutex is adaptive.
device apic # I/O APIC
-# Bus support. Do not remove isa, even if you have no isa slots
-device isa
device eisa
device pci
@@ -65,9 +63,6 @@ device sc
device agp # support several AGP chipsets
-# Floating point support - do not disable.
-device npx
-
# Power management support (see NOTES for more options)
#device apm
# Add suspend/resume support for the i8254.
@@ -121,7 +116,6 @@ device ex # Intel EtherExpress Pro/10 and Pro/10+
device ep # Etherlink III based cards
device fe # Fujitsu MB8696x based cards
device ie # EtherExpress 8/16, 3C507, StarLAN 10 etc.
-device lnc # NE2100, NE32-VL Lance Ethernet cards
device sn # SMC's 9000 series of Ethernet chips
device xe # Xircom pccard Ethernet
@@ -137,8 +131,6 @@ device wi # WaveLAN/Intersil/Symbol 802.11 wireless NICs.
# Pseudo devices.
device loop # Network loopback
-device mem # Memory and kernel memory devices
-device io # I/O device
device random # Entropy device
device ether # Ethernet support
device pty # Pseudo-ttys (telnet etc)
@@ -151,12 +143,13 @@ device bpf # Berkeley packet filter
options IPFIREWALL
options IPFIREWALL_DEFAULT_TO_ACCEPT
-options BRIDGE
device ath
device ath_hal
device ath_rate_sample
+device if_bridge #Bridge interface
+
# CLK_USE_I8254_CALIBRATION causes the calibrated frequency of the i8254
# clock to actually be used.
options CLK_USE_I8254_CALIBRATION
diff --git a/tools/tools/tinybsd/conf/bridge/etc/rc.conf b/tools/tools/tinybsd/conf/bridge/etc/rc.conf
index 2a585c1..a3e638e 100644
--- a/tools/tools/tinybsd/conf/bridge/etc/rc.conf
+++ b/tools/tools/tinybsd/conf/bridge/etc/rc.conf
@@ -9,4 +9,9 @@ update_motd="NO"
varmfs="YES"
populate_var="YES"
varsize="8192"
+tmpmfs="YES"
+# Bridge configuration
+# Replace both ath0 and xl1 by your bridge interfaces
+cloned_interfaces="bridge0"
+ifconfig_bridge0="addm ath0 addm xl1 up"
diff --git a/tools/tools/tinybsd/conf/bridge/etc/sysctl.conf b/tools/tools/tinybsd/conf/bridge/etc/sysctl.conf
index 82cc61f..cb70846 100644
--- a/tools/tools/tinybsd/conf/bridge/etc/sysctl.conf
+++ b/tools/tools/tinybsd/conf/bridge/etc/sysctl.conf
@@ -1,8 +1,5 @@
# $FreeBSD$
# BRIDGE Options
-net.link.ether.bridge.enable=1
-net.link.ether.bridge.ipfw=1
-net.link.ether.bridge.config==xl0:0,xl1:0,fxp0:1,fxp1:1
-
-
+net.link.bridge.ipfw=1
+net.link.bridge.pfil_onlyip=1
diff --git a/tools/tools/tinybsd/conf/default/TINYBSD b/tools/tools/tinybsd/conf/default/TINYBSD
index 3d2599a..9d1b6a9 100644
--- a/tools/tools/tinybsd/conf/default/TINYBSD
+++ b/tools/tools/tinybsd/conf/default/TINYBSD
@@ -39,8 +39,6 @@ options ADAPTIVE_GIANT # Giant mutex is adaptive.
device apic # I/O APIC
-# Bus support. Do not remove isa, even if you have no isa slots
-device isa
device eisa
device pci
@@ -75,9 +73,6 @@ device sc
device agp # support several AGP chipsets
-# Floating point support - do not disable.
-device npx
-
# Power management support (see NOTES for more options)
#device apm
# Add suspend/resume support for the i8254.
@@ -131,7 +126,6 @@ device ex # Intel EtherExpress Pro/10 and Pro/10+
device ep # Etherlink III based cards
device fe # Fujitsu MB8696x based cards
device ie # EtherExpress 8/16, 3C507, StarLAN 10 etc.
-device lnc # NE2100, NE32-VL Lance Ethernet cards
device sn # SMC's 9000 series of Ethernet chips
device xe # Xircom pccard Ethernet
@@ -147,8 +141,6 @@ device wi # WaveLAN/Intersil/Symbol 802.11 wireless NICs.
# Pseudo devices.
device loop # Network loopback
-device mem # Memory and kernel memory devices
-device io # I/O device
device random # Entropy device
device ether # Ethernet support
#device sl # Kernel SLIP
@@ -168,12 +160,13 @@ options IPFIREWALL
options IPFIREWALL_DEFAULT_TO_ACCEPT
options IPDIVERT
options DUMMYNET
-options BRIDGE
device ath
device ath_hal
device ath_rate_sample
+device if_bridge #Bridge interface
+
# CLK_USE_I8254_CALIBRATION causes the calibrated frequency of the i8254
# clock to actually be used.
options CLK_USE_I8254_CALIBRATION
diff --git a/tools/tools/tinybsd/conf/default/etc/rc.conf b/tools/tools/tinybsd/conf/default/etc/rc.conf
index 2a585c1..a214762 100644
--- a/tools/tools/tinybsd/conf/default/etc/rc.conf
+++ b/tools/tools/tinybsd/conf/default/etc/rc.conf
@@ -9,4 +9,4 @@ update_motd="NO"
varmfs="YES"
populate_var="YES"
varsize="8192"
-
+tmpmfs="YES"
diff --git a/tools/tools/tinybsd/conf/firewall/TINYBSD b/tools/tools/tinybsd/conf/firewall/TINYBSD
index 8d4cb9b..4c15a6c 100644
--- a/tools/tools/tinybsd/conf/firewall/TINYBSD
+++ b/tools/tools/tinybsd/conf/firewall/TINYBSD
@@ -32,8 +32,6 @@ options ADAPTIVE_GIANT # Giant mutex is adaptive.
device apic # I/O APIC
-# Bus support. Do not remove isa, even if you have no isa slots
-device isa
device eisa
device pci
@@ -64,9 +62,6 @@ device sc
device agp # support several AGP chipsets
-# Floating point support - do not disable.
-device npx
-
# Power management support (see NOTES for more options)
#device apm
# Add suspend/resume support for the i8254.
@@ -120,7 +115,6 @@ device ex # Intel EtherExpress Pro/10 and Pro/10+
device ep # Etherlink III based cards
device fe # Fujitsu MB8696x based cards
device ie # EtherExpress 8/16, 3C507, StarLAN 10 etc.
-device lnc # NE2100, NE32-VL Lance Ethernet cards
device sn # SMC's 9000 series of Ethernet chips
device xe # Xircom pccard Ethernet
@@ -128,7 +122,7 @@ device xe # Xircom pccard Ethernet
#device le
# Wireless NIC cards
-#device wlan # 802.11 support
+device wlan # 802.11 support
#device an # Aironet 4500/4800 802.11 wireless NICs.
#device awi # BayStack 660 and others
#device wi # WaveLAN/Intersil/Symbol 802.11 wireless NICs.
@@ -136,8 +130,6 @@ device xe # Xircom pccard Ethernet
# Pseudo devices.
device loop # Network loopback
-device mem # Memory and kernel memory devices
-device io # I/O device
device random # Entropy device
device ether # Ethernet support
device pty # Pseudo-ttys (telnet etc)
diff --git a/tools/tools/tinybsd/conf/firewall/etc/rc.conf b/tools/tools/tinybsd/conf/firewall/etc/rc.conf
index 1631ede..d00fe83 100644
--- a/tools/tools/tinybsd/conf/firewall/etc/rc.conf
+++ b/tools/tools/tinybsd/conf/firewall/etc/rc.conf
@@ -9,6 +9,7 @@ update_motd="NO"
varmfs="YES"
populate_var="YES"
varsize="8192"
+tmpmfs="YES"
# IPFW
firewall_enable="YES"
diff --git a/tools/tools/tinybsd/conf/minimal/TINYBSD b/tools/tools/tinybsd/conf/minimal/TINYBSD
index ff425b8..0ef5706 100644
--- a/tools/tools/tinybsd/conf/minimal/TINYBSD
+++ b/tools/tools/tinybsd/conf/minimal/TINYBSD
@@ -32,8 +32,6 @@ options ADAPTIVE_GIANT # Giant mutex is adaptive.
device apic # I/O APIC
-# Bus support. Do not remove isa, even if you have no isa slots
-device isa
device pci
# ATA and ATAPI devices
@@ -60,9 +58,6 @@ device sc
device agp # support several AGP chipsets
-# Floating point support - do not disable.
-device npx
-
# Power management support (see NOTES for more options)
#device apm
# Add suspend/resume support for the i8254.
@@ -70,8 +65,6 @@ device pmtimer
# Pseudo devices.
device loop # Network loopback
-device mem # Memory and kernel memory devices
-device io # I/O device
device random # Entropy device
device ether # Ethernet support
device pty # Pseudo-ttys (telnet etc)
@@ -87,3 +80,4 @@ options CPU_SOEKRIS
options CPU_ELAN_XTAL=32768000
options CPU_ELAN_PPS
+device bpf
diff --git a/tools/tools/tinybsd/conf/minimal/etc/rc.conf b/tools/tools/tinybsd/conf/minimal/etc/rc.conf
index 2a585c1..a214762 100644
--- a/tools/tools/tinybsd/conf/minimal/etc/rc.conf
+++ b/tools/tools/tinybsd/conf/minimal/etc/rc.conf
@@ -9,4 +9,4 @@ update_motd="NO"
varmfs="YES"
populate_var="YES"
varsize="8192"
-
+tmpmfs="YES"
diff --git a/tools/tools/tinybsd/conf/vpn/TINYBSD b/tools/tools/tinybsd/conf/vpn/TINYBSD
index 00e5830..57bc198 100644
--- a/tools/tools/tinybsd/conf/vpn/TINYBSD
+++ b/tools/tools/tinybsd/conf/vpn/TINYBSD
@@ -32,8 +32,6 @@ options ADAPTIVE_GIANT # Giant mutex is adaptive.
device apic # I/O APIC
-# Bus support. Do not remove isa, even if you have no isa slots
-device isa
device eisa
device pci
@@ -65,9 +63,6 @@ device sc
device agp # support several AGP chipsets
-# Floating point support - do not disable.
-device npx
-
# Power management support (see NOTES for more options)
#device apm
# Add suspend/resume support for the i8254.
@@ -121,7 +116,6 @@ device ex # Intel EtherExpress Pro/10 and Pro/10+
device ep # Etherlink III based cards
device fe # Fujitsu MB8696x based cards
device ie # EtherExpress 8/16, 3C507, StarLAN 10 etc.
-device lnc # NE2100, NE32-VL Lance Ethernet cards
device sn # SMC's 9000 series of Ethernet chips
device xe # Xircom pccard Ethernet
@@ -137,8 +131,6 @@ device xe # Xircom pccard Ethernet
# Pseudo devices.
device loop # Network loopback
-device mem # Memory and kernel memory devices
-device io # I/O device
device random # Entropy device
device ether # Ethernet support
#device sl # Kernel SLIP
diff --git a/tools/tools/tinybsd/conf/vpn/etc/rc.conf b/tools/tools/tinybsd/conf/vpn/etc/rc.conf
index 7a3a7e2..cb0af9f 100644
--- a/tools/tools/tinybsd/conf/vpn/etc/rc.conf
+++ b/tools/tools/tinybsd/conf/vpn/etc/rc.conf
@@ -9,13 +9,14 @@ update_motd="NO"
varmfs="YES"
populate_var="YES"
varsize="8192"
+tmpmfs="YES"
# VPN
ipsec_enable="YES"
ipsec_file="/etc/ipsec.conf"
-# CONF
+# Set here your VPN configuration
+gif_interfaces="gif0"
ifconfig_gif0="inet 192.168.1.1 192.168.2.1 netmask 0xffffffff"
static_routes="vpn"
route_vpn="192.168.2.0 192.168.2.1 netmask 0xffffff00"
-
diff --git a/tools/tools/tinybsd/conf/vpn/tinybsd.basefiles b/tools/tools/tinybsd/conf/vpn/tinybsd.basefiles
index 129256b..8a307b1 100644
--- a/tools/tools/tinybsd/conf/vpn/tinybsd.basefiles
+++ b/tools/tools/tinybsd/conf/vpn/tinybsd.basefiles
@@ -84,6 +84,7 @@ sbin/nos-tun
sbin/ping
sbin/rcorder
sbin/route
+sbin/setkey
sbin/shutdown
sbin/slattach
sbin/swapon
@@ -204,7 +205,6 @@ usr/sbin/ntpdate
usr/sbin/pciconf
usr/sbin/pw
usr/sbin/pwd_mkdb
-usr/sbin/setkey
usr/sbin/slstat
usr/sbin/sshd
usr/sbin/syslogd
diff --git a/tools/tools/tinybsd/conf/wireless/TINYBSD b/tools/tools/tinybsd/conf/wireless/TINYBSD
index e819aa1..4966b82 100644
--- a/tools/tools/tinybsd/conf/wireless/TINYBSD
+++ b/tools/tools/tinybsd/conf/wireless/TINYBSD
@@ -32,8 +32,6 @@ options ADAPTIVE_GIANT # Giant mutex is adaptive.
device apic # I/O APIC
-# Bus support. Do not remove isa, even if you have no isa slots
-device isa
device eisa
device pci
@@ -65,9 +63,6 @@ device sc
device agp # support several AGP chipsets
-# Floating point support - do not disable.
-device npx
-
# Power management support (see NOTES for more options)
#device apm
# Add suspend/resume support for the i8254.
@@ -142,8 +137,6 @@ device wi # WaveLAN/Intersil/Symbol 802.11 wireless NICs.
# Pseudo devices.
device loop # Network loopback
-device mem # Memory and kernel memory devices
-device io # I/O device
device random # Entropy device
device ether # Ethernet support
device pty # Pseudo-ttys (telnet etc)
@@ -158,7 +151,6 @@ options IPFIREWALL
options IPFIREWALL_DEFAULT_TO_ACCEPT
options IPDIVERT
options DUMMYNET
-options BRIDGE
device pf #PF OpenBSD packet-filter firewall
device pflog #logging support interface for PF
@@ -168,6 +160,8 @@ device ath
device ath_hal
device ath_rate_sample
+device if_bridge
+
# CLK_USE_I8254_CALIBRATION causes the calibrated frequency of the i8254
# clock to actually be used.
options CLK_USE_I8254_CALIBRATION
diff --git a/tools/tools/tinybsd/conf/wireless/etc/rc.conf b/tools/tools/tinybsd/conf/wireless/etc/rc.conf
index 36936d9..18c3586 100644
--- a/tools/tools/tinybsd/conf/wireless/etc/rc.conf
+++ b/tools/tools/tinybsd/conf/wireless/etc/rc.conf
@@ -9,6 +9,7 @@ update_motd="NO"
varmfs="YES"
populate_var="YES"
varsize="8192"
+tmpmfs="YES"
# IPFW
firewall_enable="YES"
diff --git a/tools/tools/tinybsd/conf/wrap/TINYBSD b/tools/tools/tinybsd/conf/wrap/TINYBSD
index f3debf6..238a4b6 100644
--- a/tools/tools/tinybsd/conf/wrap/TINYBSD
+++ b/tools/tools/tinybsd/conf/wrap/TINYBSD
@@ -35,8 +35,6 @@ options ADAPTIVE_GIANT # Giant mutex is adaptive.
#device apic # I/O APIC
-# Bus support. Do not remove isa, even if you have no isa slots
-device isa
device pci
# ATA and ATAPI devices
@@ -44,9 +42,6 @@ device ata
device atadisk # ATA disk drives
options ATA_STATIC_ID # Static device numbering
-# Floating point support - do not disable.
-device npx
-
# Serial (COM) ports
device sio # 8250, 16[45]50 based serial ports
@@ -89,7 +84,6 @@ device ex # Intel EtherExpress Pro/10 and Pro/10+
device ep # Etherlink III based cards
device fe # Fujitsu MB8696x based cards
device ie # EtherExpress 8/16, 3C507, StarLAN 10 etc.
-device lnc # NE2100, NE32-VL Lance Ethernet cards
device sn # SMC's 9000 series of Ethernet chips
device xe # Xircom pccard Ethernet
@@ -109,8 +103,6 @@ device ath_rate_sample
# Pseudo devices.
device loop # Network loopback
-device mem # Memory and kernel memory devices
-device io # I/O device
device random # Entropy device
device ether # Ethernet support
device ppp # Kernel PPP
@@ -131,7 +123,6 @@ options IPFIREWALL
options IPFIREWALL_DEFAULT_TO_ACCEPT
options IPDIVERT
options DUMMYNET
-options BRIDGE
options ALTQ
options ALTQ_CBQ
@@ -145,5 +136,6 @@ device pf
device pflog
device pfsync
device carp
+device if_bridge
options DEVICE_POLLING
diff --git a/tools/tools/tinybsd/conf/wrap/etc/rc.conf b/tools/tools/tinybsd/conf/wrap/etc/rc.conf
index 2a585c1..a214762 100644
--- a/tools/tools/tinybsd/conf/wrap/etc/rc.conf
+++ b/tools/tools/tinybsd/conf/wrap/etc/rc.conf
@@ -9,4 +9,4 @@ update_motd="NO"
varmfs="YES"
populate_var="YES"
varsize="8192"
-
+tmpmfs="YES"
OpenPOWER on IntegriCloud