1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-25 16:13:17 +00:00

Remove this picobsd floppy type.

We only want to support one in -current, and let people take care
of their own images.
This commit is contained in:
Luigi Rizzo 2004-03-24 07:51:40 +00:00
parent 328f5ff96e
commit ee8c7c4ee9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=127351
41 changed files with 0 additions and 1602 deletions

View File

@ -1,86 +0,0 @@
#
# $FreeBSD$
#
#Line starting with #PicoBSD contains PicoBSD build parameters
#marker def_sz init MFS_inodes floppy_inodes
#PicoBSD 2200 init 4096 32768
options MD_ROOT_SIZE=2200 # same as def_sz
hints "PICOBSD.hints"
machine i386
#cpu I386_CPU
cpu I486_CPU
cpu I586_CPU
cpu I686_CPU
ident PICOBSD
maxusers 10
options MATH_EMULATE #Support for x87 emulation
options INET #InterNETworking
options FFS #Berkeley Fast Filesystem
options NFSCLIENT #Network Filesystem
options MD_ROOT #MFS as root
options MSDOSFS #MSDOS Filesystem
options CD9660 #ISO 9660 Filesystem
options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!]
options IPFIREWALL
options IPFIREWALL_DEFAULT_TO_ACCEPT
options IPDIVERT
options COMPAT_OLDISA #Use ISA shims and glue for old drivers
#options DEVFS
# Support for bridging and bandwidth limiting
#options DUMMYNET
#options BRIDGE
device isa
device pci
device fdc
device ata
device atadisk
device atapicd
options ATA_STATIC_ID #Static device numbering
# atkbdc0 controls both the keyboard and the PS/2 mouse
device atkbdc 1
device atkbd
device vga
# syscons is the default console driver, resembling an SCO console
device sc 1
device npx
device sio
device ppc
device ppbus
device lpt
device plip
device ppi
#
# The following Ethernet NICs are all PCI devices.
#
device miibus
device dc
device fxp
# Order is important here due to intrusive probes, do *not* alphabetize
# this list of network interfaces until the probes have been fixed.
# Right now it appears that the ie0 must be probed before ep0. See
# revision 1.20 of this file.
device ed
device ep
device ie
device loop
device ether
device tun 2
#device vn
device pty 16
device md
#device gzip # Exec gzipped a.out's

View File

@ -1,65 +0,0 @@
# $FreeBSD$
hint.fdc.0.at="isa"
hint.fdc.0.port="0x3F0"
hint.fdc.0.irq="6"
hint.fdc.0.drq="2"
hint.fd.0.at="fdc0"
hint.fd.0.drive="0"
hint.ata.0.at="isa"
hint.ata.0.port="0x1F0"
hint.ata.0.irq="14"
hint.ata.1.at="isa"
hint.ata.1.port="0x170"
hint.ata.1.irq="15"
hint.atkbdc.0.at="isa"
hint.atkbdc.0.port="0x060"
hint.atkbd.0.at="atkbdc"
hint.atkbd.0.irq="1"
hint.vga.0.at="isa"
hint.sc.0.at="isa"
hint.npx.0.at="nexus"
hint.npx.0.port="0x0F0"
hint.npx.0.irq="13"
hint.sio.0.at="isa"
hint.sio.0.port="0x3F8"
hint.sio.0.flags="0x10"
hint.sio.0.irq="4"
hint.sio.1.at="isa"
hint.sio.1.port="0x2F8"
hint.sio.1.irq="3"
hint.sio.2.at="isa"
hint.sio.2.disabled="1"
hint.sio.2.port="0x3E8"
hint.sio.2.irq="5"
hint.sio.3.at="isa"
hint.sio.3.disabled="1"
hint.sio.3.port="0x2E8"
hint.sio.3.irq="9"
hint.ppc.0.at="isa"
hint.ppc.0.flags="0x40"
hint.ppc.0.irq="7"
hint.lpt.0.at="ppbus"
hint.plip.0.at="ppbus"
hint.ppi.0.at="ppbus"
hint.ed.0.at="isa"
hint.ed.0.port="0x280"
hint.ed.0.irq="5"
hint.ed.0.maddr="0xd8000"
hint.ed.1.at="isa"
hint.ed.1.port="0x300"
hint.ed.1.irq="10"
hint.ed.1.maddr="0xd0000"
hint.ep.0.at="isa"
hint.ep.0.port="0x300"
hint.ep.0.irq="10"
hint.ep.1.at="isa"
hint.ep.1.port="0x280"
hint.ep.1.irq="5"
hint.ie.0.at="isa"
hint.ie.0.port="0x300"
hint.ie.0.irq="5"
hint.ie.0.maddr="0xd0000"
hint.ie.1.at="isa"
hint.ie.1.port="0x360"
hint.ie.1.irq="7"
hint.ie.1.maddr="0xd0000"

View File

@ -1 +0,0 @@
o_no_devfs="" # we have devfs

View File

@ -1,53 +0,0 @@
#
# $FreeBSD$
#
# NOTE: the string "/usr/src" will be automatically replaced with the
# correct value set in 'build' script - you should change it there
# Default build options.
buildopts -DNOPAM -DRELEASE_CRUNCH -DNOSECURE -DNOCRYPT -DNONETGRAPH -DNOIPSEC
# sources for ns & vm & login and other picobsd-specific programs
srcdirs /usr/src/release/picobsd/tinyware
# other sources
srcdirs /usr/src/bin
srcdirs /usr/src/sbin/i386
srcdirs /usr/src/sbin
srcdirs /usr/src/usr.bin
srcdirs /usr/src/gnu/usr.bin
srcdirs /usr/src/usr.sbin
srcdirs /usr/src/libexec
progs sh test echo hostname ln login getty stty
progs inetd telnetd w msg kget reboot
progs init ifconfig df sps ns vm cat
progs cp rm mknod chmod chown mkdir ls syslogd
progs sysctl route pwd_mkdb dev_mkdb
progs mount mount_msdosfs umount
progs kill mount_std natd
progs pwd telnet less
ln less more
progs passwd date
progs mount_cd9660 mount_nfs ping traceroute routed ipfw
progs ppp
special ppp buildopts -DNOKLDLOAD -DNOINET6 -DNONAT -DNOATM -DNOSUID -DHAVE_DES -DNORADIUS -DNOI4B
progs minigzip
ln minigzip gzip
ln mount_cd9660 cd9660
ln mount_nfs nfs
ln test [
ln sh -sh
ln mount_msdosfs msdos
ln mount_std procfs
ln mount_std mount_procfs
ln sps ps
ln msg dmesg
ln ns netstat
ln chown chgrp
libs -lncurses -lmytinfo -lipx -lz -lpcap -lalias -lwrap
libs -ledit -lutil -lmd -lcrypt -lmp -lgmp -lm -lkvm
libs -lgnuregex

View File

@ -1,87 +0,0 @@
#
# Floppy formats:
#
# To make a filesystem on a floppy:
# fdformat [-f <size>] fd<drive>[.<size>]
# disklabel -B -r -w fd<drive>[.<size>] fd<size>
# newfs <opts> fd<drive>[.<size>]
#
# with <opts>:
# -t 2 - two heads
# -u 9|15|18 - sectors per track
# (using the default value of 1/4096 is not much useful for floppies)
# -l 1 - interleave 1 (for most floppies)
# -i 65536 - bytes of data per i-node
# (the default -i value will render you with a floppy wasting way
# too much space in i-node areas)
#
fd360:\
:ty=floppy:se#512:nt#2:rm#300:ns#9:nc#40:\
:pa#720:oa#0:ba#4096:fa#512:\
:pb#720:ob#0:bb#4096:fb#512:\
:pc#720:oc#0:bc#4096:fc#512:
fd720:\
:ty=floppy:se#512:nt#2:rm#300:ns#9:nc#80:\
:pa#1440:oa#0:ba#4096:fa#512:\
:pb#1440:ob#0:bb#4096:fb#512:\
:pc#1440:oc#0:bc#4096:fc#512:
fd1200|floppy5|5in|5.25in High Density Floppy:\
:ty=floppy:se#512:nt#2:rm#360:ns#15:nc#80:\
:pa#2400:oa#0:ba#4096:fa#512:\
:pb#2400:ob#0:bb#4096:fb#512:\
:pc#2400:oc#0:bc#4096:fc#512:
fd1440|floppy|floppy3|3in|3.5in High Density Floppy:\
:ty=floppy:se#512:nt#2:rm#300:ns#18:nc#80:\
:pa#2880:oa#0:ba#4096:fa#512:\
:pb#2880:ob#0:bb#4096:fb#512:\
:pc#2880:oc#0:bc#4096:fc#512:
fd1024|floppy0|3.5in Special Density Floppy:\
:ty=floppy:se#512:nt#2:rm#300:ns#16:nc#64:\
:pa#2048:oa#0:ba#4096:fa#512:\
:pb#2048:ob#0:bb#4096:fb#512:\
:pc#2048:oc#0:bc#4096:fc#512:
# a == root
# b == swap
# c == d == whole disk
# e == /var
# f == scratch
# h == /usr
cp3100new|Connor Peripherals 100MB IDE, with a different configuration:\
:dt=ST506:ty=winchester:se#512:nt#8:ns#33:nc#766: \
:pa#15840:oa#0:ta=4.2BSD:ba#4096:fa#512: \
:pb#24288:ob#15840:tb=swap: \
:pc#202224:oc#0: \
:pd#202224:od#0: \
:pe#15840:oe#40128:te=4.2BSD:be#4096:fe#512: \
:pg#15840:og#55968:tg=4.2BSD:bg#4096:fg#512: \
:ph#130416:oh#71808:th=4.2BSD:bh#4096:fh#512:
sony650|Sony 650 MB MOD|\
:ty=removable:dt=SCSI:se#512:nt#1:ns#31:nc#18600:ts#1:rm#4800:\
:pc#576600:oc#0:\
:pa#576600:oa#0:ta=4.2BSD:ba#8192:fa#1024:
mta3230|mo230|IBM MTA-3230 230 Meg 3.5inch Magneto-Optical:\
:ty=removeable:dt=SCSI:rm#3600:\
:se#512:nt#64:ns#32:nc#216:sc#2048:su#444384:\
:pa#444384:oa#0:ba#4096:fa#0:ta=4.2BSD:\
:pc#444384:oc#0:
minimum:ty=mfs:se#512:nt#1:rm#300:\
:ns#2880:nc#1:\
:pa#2880:oa#0:ba#4096:fa#512:\
:pc#2880:oc#0:bc#4096:fc#512:
zip100|zip 100:\
:ty=removable:se#512:nc#96:nt#64:ns#32:\
:pa#196608:oa#0:ba#4096:fa#512:\
:pb#196608:ob#0:bb#4096:fb#512:\
:pc#196608:oc#0:bc#4096:fc#512:

View File

@ -1,5 +0,0 @@
# $FreeBSD$
#proc /proc procfs rw 0 0
#/dev/fd0c /start_floppy ufs rw 1 1
#/dev/wd0s1 /dos msdosfs rw 0 0
#/dev/wcd0c /cdrom cd9660 ro,noauto 0 0

View File

@ -1,40 +0,0 @@
# from: @(#)gettytab 5.14 (Berkeley) 3/27/91
#
default:\
:cb:ce:ck:lc:fd#1000:cl:im=\r\nPicoBSD (%h) (%t)\r\n\r\n:sp#1200:
P|Pc|Pc console:\
:ht:np:sp#115200:
#
# Fixed speed entries
2|std.9600|9600-baud:\
:np:sp#9600:
g|std.19200|19200-baud:\
:np:sp#19200:
std.38400|38400-baud:\
:np:sp#38400:
std.57600|57600-baud:\
:np:sp#57600:
std.115200|115200-baud:\
:np:sp#115200:
#
# Entry specifying explicit device settings. See termios(4) and
# /usr/include/termios.h, too. The entry forces the tty into
# CLOCAL mode (so no DCD is required), and uses Xon/Xoff flow control.
#
# cflags: CLOCAL | HUPCL | CREAD | CS8
# oflags: OPOST | ONLCR | OXTABS
# iflags: IXOFF | IXON | ICRNL | IGNPAR
# lflags: IEXTEN | ICANON | ISIG | ECHOCTL | ECHO | ECHOK | ECHOE | ECHOKE
#
# The `0' flags don't have input enabled. The `1' flags don't echo.
# (Echoing is done inside getty itself.)
#
local.9600|CLOCAL tty @ 9600 Bd:\
:c0#0x0000c300:c1#0x0000cb00:c2#0x0000cb00:\
:o0#0x00000007:o1#0x00000002:o2#0x00000007:\
:i0#0x00000704:i1#0x00000000:i2#0x00000704:\
:l0#0x000005cf:l1#0x00000000:l2#0x000005cf:\
:sp#9600:

View File

@ -1,19 +0,0 @@
wheel:*:0:root,user
daemon:*:1:daemon
kmem:*:2:root
sys:*:3:root
tty:*:4:root
operator:*:5:root
mail:*:6:
bin:*:7:
news:*:8:
man:*:9:
games:*:13:
staff:*:20:root,user
guest:*:31:root
uucp:*:66:
xten:*:67:xten
dialer:*:68:
network:*:69:
nogroup:*:65533:
nobody:*:65534:

View File

@ -1,3 +0,0 @@
# $FreeBSD$
hosts
bind

View File

@ -1,21 +0,0 @@
#
# Internet server configuration database
#
# @(#)inetd.conf 5.4 (Berkeley) 6/30/90
#
telnet stream tcp nowait root /usr/libexec/telnetd telnetd
#
# "Small servers" -- used to be standard on, but we're more conservative
# about things due to Internet security concerns. Only turn on what you
# need.
#
#daytime stream tcp nowait root internal
#daytime dgram udp wait root internal
#time stream tcp nowait root internal
#time dgram udp wait root internal
#echo stream tcp nowait root internal
#echo dgram udp wait root internal
#discard stream tcp nowait root internal
#discard dgram udp wait root internal
#chargen stream tcp nowait root internal
#chargen dgram udp wait root internal

View File

@ -1,120 +0,0 @@
# This file controls resource limits, accounting limits and
# default user environment settings.
#
# $FreeBSD$
#
# Authentication methods
auth-defaults:\
:auth=passwd:
auth-root-defaults:\
:auth-login=passwd:\
:auth-rlogin=passwd:\
auth-ftp-defaults:\
:auth=passwd:
# Example defaults
# These settings are used by login(1) by default for classless users
# Note that entries like "cputime" set both "cputime-cur" and "cputime-max"
default:\
:cputime=infinity:\
:datasize-cur=22M:\
:stacksize-cur=8M:\
:memorylocked-cur=10M:\
:memoryuse-cur=30M:\
:filesize=infinity:\
:coredumpsize=infinity:\
:maxproc-cur=64:\
:openfiles-cur=64:\
:priority=0:\
:requirehome@:\
:umask=022:\
:tc=auth-defaults:
#
# standard - standard user defaults
#
standard:\
:copyright=/etc/COPYRIGHT:\
:welcome=/etc/motd:\
:setenv=MAIL=/var/mail/$,BLOCKSIZE=K,EDITOR=/usr/bin/ee:\
:path=~/bin /bin /usr/bin:\
:nologin=/var/run/nologin:\
:cputime=1h30m:\
:datasize=8M:\
:stacksize=2M:\
:memorylocked=4M:\
:memoryuse=8M:\
:filesize=8M:\
:coredumpsize=8M:\
:openfiles=24:\
:maxproc=32:\
:priority=0:\
:requirehome:\
:passwordtime=90d:\
:umask=002:\
:ignoretime@:\
:tc=default:
#
# Staff users - few restrictions and allow login anytime
#
staff:\
:ignorenologin:\
:ignoretime:\
:requirehome@:\
:accounted@:\
:path=~/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\
:umask=022:\
:tc=standard:
#
# root - fallback for root logins
#
root:\
:path=~/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\
:cputime=infinity:\
:datasize=infinity:\
:stacksize=infinity:\
:memorylocked=infinity:\
:memoryuse=infinity:\
:filesize=infinity:\
:coredumpsize=infinity:\
:openfiles=infinity:\
:maxproc=infinity:\
:memoryuse-cur=32M:\
:maxproc-cur=64:\
:openfiles-cur=1024:\
:priority=0:\
:requirehome@:\
:umask=022:\
:tc=auth-root-defaults:\
#
# Settings used by /etc/rc
#
daemon:\
:coredumpsize@:\
:coredumpsize-cur=0:\
:datasize=infinity:\
:datasize-cur@:\
:maxproc=512:\
:maxproc-cur@:\
:memoryuse-cur=64M:\
:memorylocked-cur=64M:\
:openfiles=1024:\
:openfiles-cur@:\
:stacksize=16M:\
:stacksize-cur@:\
:tc=default:
#
# Polish Users Accounts. Setup proper environment variables.
#
polish:Polish Users Accounts:\
:lang=pl_pl.ISO-8859-2:\
:tc=default:

View File

@ -1,7 +0,0 @@
root:$1$xOOaGnKU$U9QdsCI40XXcCUMBN.7Az.:0:0::0:0:Charlie &:/root:/bin/sh
toor:*:0:0::0:0:Bourne-again Superuser:/root:
daemon:*:1:1::0:0:Owner of many system processes:/root:/nonexistent
operator:*:2:20::0:0:System &:/usr/guest/operator:/bin/csh
bin:*:3:7::0:0:Binaries Commands and Source,,,:/:/nonexistent
nobody:*:65534:65534::0:0:Unprivileged user:/nonexistent:/nonexistent
user:$1$T9q8Coad$WatJttamwr2UAdbfKbWxj.:1002:1002:polish:0:0:user:/home/user:/bin/sh

View File

@ -1,35 +0,0 @@
#!/bin/sh
# $FreeBSD$
### WARNING !!!!!! #####
# We remove this file during execution (see EOF).
# Awful things happen if its size is > 1024B
stty status '^T'
trap : 2
trap : 3
HOME=/; export HOME
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin
export PATH
trap "echo 'Reboot interrupted'; exit 1" 3
### Special setup for one floppy PICOBSD ###
echo ""
echo "-------------------------------------------"
echo " Please wait. The system is coming up..."
echo "-------------------------------------------"
echo ""
echo "Reading /etc from startup floppy..."
mount -o rdonly /dev/fd0a /start_floppy
cd /start_floppy/etc
cp -Rp . /etc/
cd /etc
gzip -d -f *.gz
pwd_mkdb -p ./master.passwd
umount /start_floppy
echo "Ok. (Now you can remove floppy if you like)"
echo ""
. rc
exit 0

View File

@ -1,8 +0,0 @@
# PPP Sample Configuration File
# Written by Toshiharu OHNO
default:
set device /dev/cuaa1
set speed 38400
disable lqr
deny lqr
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT"

View File

@ -1,15 +0,0 @@
# list of users disallowed any pppd access via 'system
# password login'.
# read by pppd(8).
root
toor
daemon
operator
bin
games
news
man
ftp
uucp
xten
ingres

View File

@ -1,10 +0,0 @@
# Example of ppp.linkup file
#
iij-demand:
delete ALL
add 0 0 HISADDR
#
# Otherwise, simply add peer as default gateway.
#
MYADDR:
add 0 0 HISADDR

View File

@ -1,23 +0,0 @@
##################################################
#
# Example of ppp.secret file
#
# This file is used to authenticate incoming connections.
# You must ``enable'' either PAP or CHAP in your ppp.conf file.
# The peer may then use any of the Authname/Authkey pairs listed.
# If an IP address is given, it will be assigned to the peer.
#
# If an entry exists for your local machine (as given by the
# ``hostname -s'' command), the password specified will be
# required for all server socket connections. Refer to the ppp(8)
# and pppctl(8) man pages for further details.
#
# $FreeBSD$
#
##################################################
# Authname Authkey Peer's IP address
oscar OurSecretKey 192.244.184.34/24
BigBird X4dWg9327 192.244.184.33/32
tama localPasswdForControl

View File

@ -1,3 +0,0 @@
# System-wide .profile file for sh(1).
BLOCKSIZE=K; export BLOCKSIZE
PATH=/stand:.; export PATH

View File

@ -1,7 +0,0 @@
#
# Internet (IP) protocols
ip 0 IP # internet protocol, pseudo protocol number
icmp 1 ICMP # internet control message protocol
igmp 2 IGMP # Internet Group Management
tcp 6 TCP # transmission control protocol
udp 17 UDP # user datagram protocol

View File

@ -1,60 +0,0 @@
#!/bin/sh -
# $FreeBSD$
############################################
### Special setup for one floppy PICOBSD ###
### THIS IS NOT THE NORMAL /etc/rc !!!!! ###
############################################
mount -a -t nonfs
if [ -f /etc/rc.conf ]; then
. /etc/rc.conf
fi
rm -f /var/run/*
if [ "x$swapfile" != "xNO" -a -w "$swapfile" -a -b /dev/vn0b ]; then
echo "Adding $swapfile as additional swap."
vnconfig /dev/vn0b $swapfile && swapon /dev/vn0b
fi
# configure serial devices
if [ -f /etc/rc.serial ]; then
. /etc/rc.serial
fi
# start up the initial network configuration.
if [ -f /etc/rc.network ]; then
. /etc/rc.network
network_pass1
fi
mount -a -t nfs
chmod 666 /dev/tty[pqrsPQRS]*
# clean up left-over files
(cd /var/run && { cp /dev/null utmp; chmod 644 utmp; })
if [ -n "$network_pass1_done" ]; then
network_pass2
fi
if [ -n "$network_pass2_done" ]; then
network_pass3
fi
if [ "X${inetd_enable}" = X"YES" ]; then
echo "Starting inetd."; inetd ${inetd_flags}
fi
dev_mkdb
echo ''
if [ "x$swapfile" = "xNO" ]; then
echo "WARNING: no swap partition!"
echo "Don't run too many programs at the same time..."
fi
echo ''
echo ''
echo '+----------- PicoBSD @VER@ (NET) ---------------+'
echo '| |'
echo '| Log in as "root" (password "setup"). |'
echo '| |'
echo '| This version of PicoBSD is fully under |'
echo '| BSD license. For more details see |'
echo '| http://www.freebsd.org/~picobsd, or contact |'
echo '| the author. |'
echo '| |'
echo '| abial@freebsd.org |'
echo '| |'
echo '+----------------------------------------------+'
exit 0

View File

@ -1,25 +0,0 @@
#!/bin/sh
# $FreeBSD$
swapfile="NO" # Set to name of swapfile if aux swapfile desired.
### Network configuration sub-section ######################
### Basic network options: ###
hostname="pico.mydomain.edu" # Set this!
firewall="NO" # firewall type (see /etc/rc.firewall) or NO
tcp_extensions="NO" # Allow RFC1323 & RFC1644 extensions (or NO).
network_interfaces="lo0" # List of network interfaces (lo0 is loopback).
ifconfig_lo0="inet 127.0.0.1" # default loopback device configuration.
#ifconfig_lo0_alias0="inet 127.0.0.254 netmask 0xffffffff" # Sample alias entry.
### Network daemons options: ###
inetd_enable="YES" # Run the network daemon dispatcher (or NO)
inetd_flags="" # Optional flags to inetd
snmpd_enable="YES" # Run the SNMP daemon (or NO)
snmpd_flags="-C -c /etc/snmpd.conf" # Optional flags to snmpd
### Network routing options: ###
defaultrouter="NO" # Set to default gateway (or NO).
static_routes="" # Set to static route list (or leave empty).
gateway_enable="NO" # Set to YES if this host will be a gateway.
arpproxy_all="" # replaces obsolete kernel option ARP_PROXYALL.
### Allow local configuration override at the very end here ##
if [ -f /etc/rc.conf.local ]; then
. /etc/rc.conf.local
fi

View File

@ -1,172 +0,0 @@
############
# Setup system for firewall service.
# $FreeBSD$
############
# Define the firewall type in /etc/rc.conf. Valid values are:
# open - will allow anyone in
# client - will try to protect just this machine
# simple - will try to protect a whole network
# closed - totally disables IP services except via lo0 interface
# UNKNOWN - disables the loading of firewall rules.
# filename - will load the rules in the given filename (full path required)
#
# For ``client'' and ``simple'' the entries below should be customized
# appropriately.
############
#
# If you don't know enough about packet filtering, we suggest that you
# take time to read this book:
#
# Building Internet Firewalls
# Brent Chapman and Elizabeth Zwicky
#
# O'Reilly & Associates, Inc
# ISBN 1-56592-124-0
# http://www.ora.com/
#
# For a more advanced treatment of Internet Security read:
#
# Firewalls & Internet Security
# Repelling the wily hacker
# William R. Cheswick, Steven M. Bellowin
#
# Addison-Wesley
# ISBN 0-201-6337-4
# http://www.awl.com/
#
if [ "x$1" != "x" ]; then
firewall_type=$1
fi
############
# Set quiet mode if requested
if [ "x$firewall_quiet" = "xYES" ]; then
fwcmd="/sbin/ipfw -q"
else
fwcmd="/sbin/ipfw"
fi
############
# Flush out the list before we begin.
$fwcmd -f flush
############
# If you just configured ipfw in the kernel as a tool to solve network
# problems or you just want to disallow some particular kinds of traffic
# they you will want to change the default policy to open. You can also
# do this as your only action by setting the firewall_type to ``open''.
# $fwcmd add 65000 pass all from any to any
############
# Only in rare cases do you want to change these rules
$fwcmd add 1000 pass all from any to any via lo0
$fwcmd add 1010 deny all from 127.0.0.0/8 to 127.0.0.0/8
# Prototype setups.
if [ "${firewall_type}" = "open" -o "${firewall_type}" = "OPEN" ]; then
$fwcmd add 65000 pass all from any to any
elif [ "${firewall_type}" = "client" ]; then
############
# This is a prototype setup that will protect your system somewhat against
# people from outside your own network.
############
# set these to your network and netmask and ip
net="192.168.4.0"
mask="255.255.255.0"
ip="192.168.4.17"
# Allow any traffic to or from my own net.
$fwcmd add pass all from ${ip} to ${net}:${mask}
$fwcmd add pass all from ${net}:${mask} to ${ip}
# Allow TCP through if setup succeeded
$fwcmd add pass tcp from any to any established
# Allow setup of incoming email
$fwcmd add pass tcp from any to ${ip} 25 setup
# Allow setup of outgoing TCP connections only
$fwcmd add pass tcp from ${ip} to any setup
# Disallow setup of all other TCP connections
$fwcmd add deny tcp from any to any setup
# Allow DNS queries out in the world
$fwcmd add pass udp from any 53 to ${ip}
$fwcmd add pass udp from ${ip} to any 53
# Allow NTP queries out in the world
$fwcmd add pass udp from any 123 to ${ip}
$fwcmd add pass udp from ${ip} to any 123
# Everything else is denied as default.
elif [ "${firewall_type}" = "simple" ]; then
############
# This is a prototype setup for a simple firewall. Configure this machine
# as a named server and ntp server, and point all the machines on the inside
# at this machine for those services.
############
# set these to your outside interface network and netmask and ip
oif="ed0"
onet="192.168.4.0"
omask="255.255.255.0"
oip="192.168.4.17"
# set these to your inside interface network and netmask and ip
iif="ed1"
inet="192.168.3.0"
imask="255.255.255.0"
iip="192.168.3.17"
# Stop spoofing
$fwcmd add deny all from ${inet}:${imask} to any in via ${oif}
$fwcmd add deny all from ${onet}:${omask} to any in via ${iif}
# Stop RFC1918 nets on the outside interface
$fwcmd add deny all from 192.168.0.0:255.255.0.0 to any via ${oif}
$fwcmd add deny all from 172.16.0.0:255.240.0.0 to any via ${oif}
$fwcmd add deny all from 10.0.0.0:255.0.0.0 to any via ${oif}
# Allow TCP through if setup succeeded
$fwcmd add pass tcp from any to any established
# Allow setup of incoming email
$fwcmd add pass tcp from any to ${oip} 25 setup
# Allow access to our DNS
$fwcmd add pass tcp from any to ${oip} 53 setup
# Allow access to our WWW
$fwcmd add pass tcp from any to ${oip} 80 setup
# Reject&Log all setup of incoming connections from the outside
$fwcmd add deny log tcp from any to any in via ${oif} setup
# Allow setup of any other TCP connection
$fwcmd add pass tcp from any to any setup
# Allow DNS queries out in the world
$fwcmd add pass udp from any 53 to ${oip}
$fwcmd add pass udp from ${oip} to any 53
# Allow NTP queries out in the world
$fwcmd add pass udp from any 123 to ${oip}
$fwcmd add pass udp from ${oip} to any 123
# Everything else is denied as default.
elif [ "${firewall_type}" != "UNKNOWN" -a -r "${firewall_type}" ]; then
$fwcmd ${firewall_type}
fi

View File

@ -1,79 +0,0 @@
#!/bin/sh -
# $FreeBSD$
network_pass1() {
echo -n 'Doing initial network setup:'
# Set the host name if it is not already set
if [ -z "`hostname -s`" ] ; then
hostname $hostname
echo ' hostname'
fi
# Set up all the network interfaces, calling startup scripts if needed
for ifn in ${network_interfaces}; do
if [ -e /etc/start_if.${ifn} ]; then
. /etc/start_if.${ifn}
fi
# Do the primary ifconfig if specified
eval ifconfig_args=\$ifconfig_${ifn}
if [ -n "${ifconfig_args}" ] ; then
ifconfig ${ifn} ${ifconfig_args}
fi
# Check to see if aliases need to be added
alias=0
while :
do
eval ifconfig_args=\$ifconfig_${ifn}_alias${alias}
if [ -n "${ifconfig_args}" ]; then
ifconfig ${ifn} ${ifconfig_args} alias
alias=`expr ${alias} + 1`
else
break;
fi
done
ifconfig ${ifn}
done
# Load the filters if required
if [ -n "$firewall_enable" -a -f /etc/rc.firewall -a \
"x$firewall_enable" = "xYES" ] ; then
. /etc/rc.firewall
echo "Firewall rules loaded."
else
echo "Warning: kernel has firewall functionality, but firewall rules weren't loaded."
echo " All ip services are ENABLED by default."
fi
# Configure routing
if [ "x$defaultrouter" != "xNO" ] ; then
static_routes="default ${static_routes}"
route_default="default ${defaultrouter}"
fi
# Set up any static routes. This should be done before router discovery.
if [ "x${static_routes}" != "x" ]; then
for i in ${static_routes}; do
eval route_args=\$route_${i}
route add ${route_args}
done
fi
echo -n 'Additional routing options:'
if [ -n "$tcp_extensions" -a "x$tcp_extensions" != "xYES" ] ; then
echo -n ' tcp_extensions=NO'
sysctl net.inet.tcp.rfc1323=0 >/dev/null 2>&1
sysctl net.inet.tcp.rfc1644=0 >/dev/null 2>&1
fi
if [ "X$gateway_enable" = X"YES" ]; then
echo -n ' IP_gateway=YES'
sysctl net.inet.ip.forwarding=1 >/dev/null 2>&1
fi
if [ "X$arpproxy_all" = X"YES" ]; then
echo -n ' turning on ARP_PROXY_ALL: '
sysctl net.link.ether.inet.proxyall=1 2>&1
fi
echo '.'
network_pass1_done=YES # Let future generations know we made it.
}
network_pass2() {
network_pass2_done=YES
}
network_pass3() {
network_pass3_done=YES
}

View File

@ -1,127 +0,0 @@
#!/bin/sh
# $FreeBSD$
# Change some defaults for serial devices.
# Standard defaults are:
# dtrwait 300 drainwait 0
# initial cflag from <sys/ttydefaults.h> = cread cs8 hupcl
# initial iflag, lflag and oflag all 0
# speed 9600
# special chars from <sys/ttydefaults.h>
# nothing locked
# except for serial consoles the initial iflag, lflag and oflag are from
# <sys/ttydefaults.h> and clocal is locked on.
default() {
# Reset everything changed by the other functions to initial defaults.
ci=$1; shift # call in device identifier
co=$1; shift # call out device identifier
for i in $*
do
comcontrol /dev/tty$ci$i dtrwait 300 drainwait 0
stty </dev/ttyi$ci$i -clocal crtscts hupcl 9600 reprint ^R
stty </dev/ttyl$ci$i -clocal -crtscts -hupcl 0
stty </dev/cuai$co$i -clocal crtscts hupcl 9600 reprint ^R
stty </dev/cual$co$i -clocal -crtscts -hupcl 0
done
}
maybe() {
# Special settings.
ci=$1; shift
co=$1; shift
for i in $*
do
# Don't use ^R; it breaks bash's ^R when typed ahead.
stty </dev/ttyi$ci$i reprint undef
stty </dev/cuai$co$i reprint undef
# Lock clocal off on dialin device for security.
stty </dev/ttyl$ci$i clocal
# Lock the speeds to use old binaries that don't support them.
# Any legal speed works to lock the initial speed.
stty </dev/ttyl$ci$i 300
stty </dev/cual$co$i 300
done
}
modem() {
# Modem that supports CTS and perhaps RTS handshaking.
ci=$1; shift
co=$1; shift
for i in $*
do
# may depend on modem
comcontrol /dev/tty$ci$i dtrwait 100 drainwait 180
# Lock crtscts on.
# Speed reasonable for V42bis.
stty </dev/ttyi$ci$i crtscts 57600
stty </dev/ttyl$ci$i crtscts
stty </dev/cuai$co$i crtscts 57600
stty </dev/cual$co$i crtscts
done
}
mouse() {
# Mouse on either callin or callout port.
ci=$1; shift
co=$1; shift
for i in $*
do
# Lock clocal on, hupcl off.
# Standard speed for Microsoft mouse.
stty </dev/ttyi$ci$i clocal -hupcl 1200
stty </dev/ttyl$ci$i clocal hupcl
stty </dev/cuai$co$i clocal -hupcl 1200
stty </dev/cual$co$i clocal hupcl
done
}
terminal() {
# Terminal that supports CTS and perhaps RTS handshaking
# with the cable or terminal arranged so that DCD is on
# at least while the terminal is on.
# Also works for bidirectional communications to another pc
# provided at most one side runs getty.
# Same as modem() except we want a faster speed and no dtrwait.
ci=$1; shift
co=$1; shift
modem $ci $co $*
for i in $*
do
comcontrol /dev/tty$ci$i dtrwait 0
stty </dev/ttyi$ci$i 115200
stty </dev/cuai$co$i 115200
done
}
# Don't use anything from this file unless you have some buggy programs
# that require it.
# Edit the functions and the examples to suit your system.
# $1 is the call in device identifier, $2 is the call out device identifier
# and the remainder of the line lists the device numbers.
# Initialize assorted 8250-16550 (sio) ports.
# maybe d a 0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v
# mouse d a 2
# modem d a 1
# terminal d a 0
# Initialize all ports on a Cyclades-8yo.
# modem c c 00 01 02 03 04 05 06 07
# Initialize all ports on a Cyclades-16ye.
# modem c c 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f
# Initialize all ports on a Digiboard 8.
# modem D D 00 01 02 03 04 05 06 07

View File

@ -1,50 +0,0 @@
# @(#)remote 5.2 (Berkeley) 6/30/90
#
# remote -- remote host description file
# see tip(1), remote(5)
#
# dv device to use for the tty
# el EOL marks (default is NULL)
# du make a call flag (dial up)
# pn phone numbers (@ =>'s search phones file; possibly taken from
# PHONES environment variable)
# at ACU type
# ie input EOF marks (default is NULL)
# oe output EOF string (default is NULL)
# cu call unit (default is dv)
# br baud rate (defaults to 300)
# fs frame size (default is BUFSIZ) -- used in buffering writes on
# receive operations
# tc to continue a capability
# Systems definitions
netcom|Netcom Unix Access:\
:pn=\@:tc=unix1200:
omen|Omen BBS:\
:pn=\@:tc=dos1200:
# UNIX system definitions
unix1200|1200 Baud dial-out to a UNIX system:\
:el=^U^C^R^O^D^S^Q:ie=%$:oe=^D:tc=dial1200:
unix300|300 Baud dial-out to a UNIX system:\
:el=^U^C^R^O^D^S^Q:ie=%$:oe=^D:tc=dial300:
# DOS system definitions
dos1200|1200 Baud dial-out to a DOS system:\
:el=^U^C^R^O^D^S^Q:ie=%$:oe=^Z:pa=none:tc=dial1200:
# General dialer definitions used below
#
# COURIER switch settings:
# switch: 1 2 3 4 5 6 7 8 9 10
# setting: D U D U D D U D U U
# Rackmount: U U D U D U D D U D
#
dial2400|2400 Baud Hayes attributes:\
:dv=/dev/cuaa0:br#2400:cu=/dev/cuaa0:at=hayes:du:
dial1200|1200 Baud Hayes attributes:\
:dv=/dev/cuaa0:br#1200:cu=/dev/cuaa0:at=hayes:du:
# Hardwired line
cuaa0b|cua0b:dv=/dev/cuaa0:br#2400
cuaa0c|cua0c:dv=/dev/cuaa0:br#9600

View File

@ -1,3 +0,0 @@
# $FreeBSD$
domain mydomain.edu
nameserver 192.33.4.12

View File

@ -1,94 +0,0 @@
echo 4/ddp
echo 7/tcp
echo 7/udp
discard 9/tcp
discard 9/udp
systat 11/tcp
systat 11/udp
daytime 13/tcp
daytime 13/udp
qotd 17/tcp
qotd 17/udp
chargen 19/tcp
chargen 19/udp
ftp-data 20/tcp
ftp-data 20/udp
ftp 21/tcp
ftp 21/udp
ssh 22/tcp
ssh 22/udp
telnet 23/tcp
telnet 23/udp
smtp 25/tcp
smtp 25/udp
time 37/tcp
time 37/udp
domain 53/tcp
domain 53/udp
tacacs-ds 65/tcp
tacacs-ds 65/udp
bootps 67/tcp
bootps 67/udp
bootpc 68/tcp
bootpc 68/udp
tftp 69/tcp
tftp 69/udp
gopher 70/tcp
gopher 70/udp
finger 79/tcp
finger 79/udp
http 80/tcp
http 80/udp
pop2 109/tcp
pop2 109/udp
pop3 110/tcp
pop3 110/udp
uucp-path 117/tcp
uucp-path 117/udp
nntp 119/tcp
nntp 119/udp
netbios-ns 137/tcp
netbios-ns 137/udp
netbios-dgm 138/tcp
netbios-dgm 138/udp
netbios-ssn 139/tcp
netbios-ssn 139/udp
imap 143/tcp
imap 143/udp
snmp 161/tcp
snmp 161/udp
snmptrap 162/tcp
snmptrap 162/udp
bgp 179/tcp
bgp 179/udp
irc 194/tcp
irc 194/udp
ipx 213/tcp
ipx 213/udp
imap3 220/tcp
imap3 220/udp
ldap 389/tcp
ldap 389/udp
netware-ip 396/tcp
netware-ip 396/udp
https 443/tcp
https 443/udp
exec 512/tcp
biff 512/udp
login 513/tcp
who 513/udp
cmd 514/tcp
syslog 514/udp
printer 515/tcp
printer 515/udp
talk 517/tcp
talk 517/udp
ntalk 518/tcp
ntalk 518/udp
timed 525/tcp
timed 525/udp
uucp 540/tcp
uucp 540/udp
uucp-rlogin 541/tcp
uucp-rlogin 541/udp
natd 8668/divert # Network Address Translation

View File

@ -1,6 +0,0 @@
# List of acceptable shells for chpass(1).
# Ftpd will not allow users to connect who are not using
# one of these shells.
/bin/sh
/bin/csh

View File

@ -1,58 +0,0 @@
# load average checks
# load [1MAX=DEFMAXLOADAVE] [5MAX=DEFMAXLOADAVE] [15MAX=DEFMAXLOADAVE]
#
# 1MAX: If the 1 minute load average is above this limit at query
# time, the errorFlag will be set.
# 5MAX: Similar, but for 5 min average.
# 15MAX: Similar, but for 15 min average.
# Check for loads:
load 12 14 14
# % snmpwalk -v 1 localhost public .1.3.6.1.4.1.2021.10
# snmp agent errors
# % snmpwalk -v 1 localhost public .1.3.6.1.4.1.2021.101
# snmp version mib
# % snmpwalk -v 1 localhost public .1.3.6.1.4.1.2021.100
# System contact information
syslocation PicoBSD
syscontact root <root@pico>
# Setting up the access control lists to the agent
# sec.name source community
com2sec local localhost private
com2sec public default public
# sec.model sec.name
group local any local
group public any public
# incl/excl subtree mask
view all included .1 80
view system included system fe
view mib2 included .iso.org.dod.internet.mgmt.mib-2 fc
# context sec.model sec.level prefix read write not
access public "" any noauth 0 system none none
access local "" any noauth 0 all all all
# If you want to get back to the functionality of previous versions,
# where the public community could read anything from anywhere and the
# private community could write anything from anywhere, use these
# lines instead:
#
# com2sec public default public
# com2sec private default private
# group public any public
# group private any private
# view all included .1 80
# access public "" any noauth 0 all none none
# access private "" any noauth 0 all all none

View File

@ -1,123 +0,0 @@
# Copyright (c) 1980, 1985, 1989 The Regents of the University of California.
# All rights reserved.
# @(#)termcap.src 5.88 (Berkeley) 4/30/91
#
#
# for syscons
# common entry without semigraphics
cons25w|ansiw|ansi80x25-raw:\
:al=\E[L:am:bs:NP:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:co#80:\
:dc=\E[P:dl=\E[M:do=\E[B:bt=\E[Z:ho=\E[H:ic=\E[@:li#25:cb=\E[1K:\
:ms:nd=\E[C:pt:rs=\E[x\E[m\Ec:so=\E[7m:se=\E[m:up=\E[A:\
:pa#64:Co#8:Sf=\E[3%dm:Sb=\E[4%dm:op=\E[37;40m:\
:k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:\
:k9=\E[U:k;=\E[V:F1=\E[W:F2=\E[X:K2=\E[E:nw=\E[E:ec=\E[%dX:\
:kb=^H:kh=\E[H:ku=\E[A:kd=\E[B:kl=\E[D:kr=\E[C:le=^H:eo:sf=\E[S:sr=\E[T:\
:kN=\E[G:kP=\E[I:@7=\E[F:kI=\E[L:kD=\E[K:kB=\E[Z:\
:IC=\E[%d@:DC=\E[%dP:SF=\E[%dS:SR=\E[%dT:AL=\E[%dL:DL=\E[%dM:\
:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:cv=\E[%i%dd:ch=\E[%i%d`:bw:\
:mb=\E[5m:md=\E[1m:mh=\E[30;1m:mr=\E[7m:me=\E[m:bl=^G:ut:it#8:
cons25|ansis|ansi80x25:\
:ac=l\332m\300k\277j\331u\264t\303v\301w\302q\304x\263n\305`^Da\260f\370g\361~\371.^Y-^Xh\261I^U0\333y\363z\362:\
:tc=cons25w:
cons25-m|ansis-mono|ansi80x25-mono:\
:pa@:Co@:Sf@:Sb@:op@:us=\E[4m:ue=\E[m:md@:mh@:tc=cons25:
cons50|ansil|ansi80x50:\
:li#50:tc=cons25:
cons50-m|ansil-mono|ansi80x50-mono:\
:li#50:tc=cons25-m:
# 80x25 ISO 8859-1 FreeBSD console
cons25l1|cons25-iso8859-1:\
:ac=l\215m\216k\214j\213u\226t\225v\227w\230q\222x\231n\217o\220s\224p\221r\223`\201a\202f\207g\210~\237.^Y-^X+\253,\273I\247y\232z\233:\
:tc=cons25w:
cons25l1-m|cons25-iso8859-1-mono:\
:pa@:Co@:Sf@:Sb@:op@:us=\E[4m:ue=\E[m:md@:mh@:tc=cons25l1:
# 80x50 ISO 8859-1 FreeBSD console
cons50l1|cons50-iso8859-1:\
:li#50:tc=cons25l1:
cons50l1-m|cons50-iso8859-1-mono:\
:li#50:tc=cons25l1-m:
dosansi|ANSI.SYS standard crt|ansi:\
:am:bs:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:co#80:\
:do=\E[B:li#25:mi:nd=\E[C:\
:se=\E[m:so=\E[7m:up=\E[A:us=\E[4m:ue=\E[m:\
:md=\E[1m:mh=\E[m:mb=\E[5m:me=\E[m:\
:kh=\EG:kb=^h:ku=\EH:kd=\EP:kl=\EK:kr=\EM:\
:k1=\E;:k2=\E<:k3=\E=:k4=\E>:k5=\E?:\
:k6=\E@:k7=\EA:k8=\EB:k9=\EC:k0=\ED:
# Note: this entry describes the "native"
# capabilities of the PC monochrome display, without ANY emulation; most
# communications packages (but NOT PC/IX connect) do some kind of emulation.
pc|ibmpc|ibm pc PC/IX:\
:li#24:co#80:am:bs:bw:eo:\
:cd=\E[J:ce=\E[K:cl=\Ec:cm=\E[%i%2;%2H:do=\E[B:ho=\E[;H:\
:nd=\E[C:up=\E[A:so=\E[7m:se=\E[0m:us=\E[4m:ue=\E[0m:
pc3mono|IBM PC 386BSD Console with monochrome monitor:\
:so=\E[0;1r\E[m:tc=pc3:
pc3|ibmpc3|IBM PC 386BSD Console:\
:Co#8:\
:DO=\E[%dB:\
:F1=\E[W:\
:F2=\E[X:\
:K1=\E[H:\
:K2=\E[I:\
:K3=\E[E:\
:K4=\E[F:\
:K5=\E[G:\
:LE=\E[%dD:\
:RI=\E[%dC:\
:Sb=\E[1;%dx:\
:Sf=\E[2;%dx:\
:UP=\E[%dA:\
:ac=l\332m\300k\277j\331u\264t\303v\301w\302q\304x\263n\305`^Da\260f\370g\361~\371.^Y-^Xh\261I^U0\333y\363z\362:\
:am:\
:bl=^G:\
:bs:\
:cb=\E[1K:\
:cd=\E[J:\
:ce=\E[K:\
:cl=\E[H\E[J:\
:cm=\E[%i%d;%dH:\
:co#80:\
:cr=^M:\
:do=\E[B:\
:ho=\E[H:\
:is=\E[m:\
:it#8:\
:k;=\E[V:\
:k1=\E[M:\
:k2=\E[N:\
:k3=\E[O:\
:k4=\E[P:\
:k5=\E[Q:\
:k6=\E[R:\
:k7=\E[S:\
:k8=\E[T:\
:k9=\E[U:\
:kD=\177:\
:@7=\E[F:\
:kN=\E[G:\
:kP=\E[I:\
:kb=\177:\
:kd=\E[B:\
:kh=\E[H:\
:kl=\E[D:\
:kr=\E[C:\
:ku=\E[A:\
:le=^H:\
:li#25:\
:ms:\
:nd=\E[C:\
:op=\E[x:\
:pa#64:\
:rs=\E[m:\
:se=\E[m:\
:sf=\E[S:\
:so=\E[7;1r\E[7m:\
:sr=\E[T:\
:ta=^I:\
:te=\E[m:\
:ti=\E[m:\
:up=\E[A:\
:ut:

View File

@ -1,32 +0,0 @@
#
# @(#)ttys 5.1 (Berkeley) 4/17/89
#
# name getty type status comments
#
# This entry needed for asking password when init goes to single-user mode
# If you want to be asked for password, change "secure" to "insecure" here
#console none unknown off secure
vga none cons25 off secure
#
ttyv0 "/usr/libexec/getty Pc" cons25 on secure
# Virtual terminals
ttyv1 "/usr/libexec/getty Pc" cons25 on secure
ttyv2 "/usr/libexec/getty Pc" cons25 on secure
#ttyv3 "/usr/libexec/getty Pc" cons25 on secure
#ttyv4 "/usr/libexec/getty Pc" cons25 on secure
#ttyv5 "/usr/libexec/getty Pc" cons25 on secure
#ttyv6 "/usr/libexec/getty Pc" cons25 on secure
#ttyv7 "/usr/libexec/getty Pc" cons25 on secure
#ttyv8 "/usr/libexec/getty Pc" cons25 on secure
#ttyv9 "/usr/libexec/getty Pc" cons25 on secure
# Pseudo terminals
ttyp0 none network secure
ttyp1 none network secure
ttyp2 none network secure
ttyp3 none network
ttyp4 none network
ttyp5 none network
ttyp6 none network
ttyp7 none network
ttyp8 none network
ttyp9 none network

View File

@ -1,41 +0,0 @@
1998.07.12, Warsaw, Poland
PicoBSD @VER@ (NET)
-----------------
What is PicoBSD?
----------------
It's a one floppy version of FreeBSD (please see http://www.freebsd.org),
configured mainly for networking applications. It can be used as a router or
firewall, or kind of a fixit floppy (or all of them).
You can find more information on the home page of this project at:
http://www.freebsd.org/~picobsd/
What are minimal requirements?
------------------------------
* 386SX CPU or better (there is an FPU emulator in kernel)
* 10MB RAM - the more the better. If you have an HDD, you can make a
swap partition or swap file (using vnode driver and vnconfig). Then you
probably will be able to run with ca. 6MB only. But RAM is cheap...
* Modem sitting on COM1-COM4 (default is to use COM2), if you want to have
a PPP connection.
* Network card: compatible with NE2000, PCI Intel, 3Com 3c509 or with DEC
chipsets (ed, ep, fxp and de drivers). The kernel supports two of each
ISA (i.e. +6 total) plus two PPP connections (tun interfaces). So you can
easily build something like router with as many as 8 outlets :-)
For detailed description and list of supported hardware see the original
documentation, or:
http://www.freebsd.org/~picobsd/picobsd.html
I'll be glad hearing from you about your experiences with PicoBSD. Thanks.
Have fun!
Andrzej Bialecki <abial@freebsd.org>

View File

@ -1,56 +0,0 @@
1998.07.12, Warszawa
PicoBSD @VER@ (wersja NET)
------------------------
Co to jest PicoBSD?
-------------------
Jest to jednodyskietkowa wersja FreeBSD skonfigurowana glownie pod katem
zastosowania jako klient/serwer uslug sieciowych (takich jak routing,
firewall, NFS). W celu zapoznania sie z pelnym systemem zajrzyj na
http://www.freebsd.org. Oficjalna strona tego projektu znajduje sie na
http://www.freebsd.org/~picobsd.
Jakie sa minimalne wymagania?
-----------------------------
* Procesor 386SX lub lepszy (jadro posiada emulator FPU)
* 10MB pamieci - jest to absolutnie nieprzekraczalne minimum. Oczywiscie im
wiecej, tym lepiej - ograniczenie jest glownie spowodowane brakiem swapu. Po
zapoznaniu sie z systemem mozesz sobie skonfigurowac tzw. swap-file na dysku
twardym, np. na partycji DOS-owej. Wowczas prawdopodobnie wystarczy 6MB
pamieci.
* Modem, skonfigurowany na COM1-COM4 (standardowo system wykorzystuje COM2),
jesli bedzie wykorzystywany dostep przez PPP.
* Karta sieciowa: kompatybilna z NE2000, niektore typy 3Com, lub wersje PCI z
chipsetem DEC21040 (drivery ed, ep, fxp i de). Jadro jest skonfigurowane
tak, zeby moc obsluzyc po dwie karty ed, ep, i de (czyli w sumie siedem)
oraz dwa polaczenia PPP rownoczesnie. Mozna wiec zbudowac router z 9
interfejsami... :-)
Jakie sa roznice w stosunku do poprzedniej wersji?
--------------------------------------------------
* Poszerzony zestaw sterownikow w jadrze systemu
* dodana obsluga CD-ROM
* agent SNMP (pelna wersja ucd-snmp, pozwalajaca na monitorowanie procesow i
zdalne uruchamianie skryptow)
* brak ssh, ftp i edytora ee (oznacza to, ze musisz edytowac pliki
konfiguracyjne montujac dyskietke na normalnym systemie)
* dodany inetd, telnetd, routed, tftpd, bootpd, ps, kill, netstat,
ping, traceroute
* brak vnconfig i vn(4): w przypadku routera powinien on miec tyle pamieci
RAM, zeby nie potrzebowac swapu, lub miec normalny swap.
* dodana obsluga hasel (passwd(1))
* dodana obsluga NFS (klient)
* sa dwaj uzytkownicy: root (haslo 'setup') i user (haslo 'PicoBSD'). Ze
wzgledu na skomplikowana sprawe z prawami dostepu, user praktycznie moze
jedynie zrobic te rzeczy, ktore nie wymagaja praw roota (czyli np. telnet).
* dodany skrypt 'update', ktory powoduje uaktualnienie zawartosci katalogu
/etc na dyskietce w stosunku do tego, co znajduje sie na MFS.
Milej zabawy!
Andrzej Bialecki <abial@freebsd.org>

View File

@ -1,18 +0,0 @@
Usage: bios_drive:interface(unit,partition)kernel_name options
bios_drive 0, 1, ...
interface fd, wd or sd
unit 0, 1, ...
partition a, c, ...
kernel_name name of kernel, or ? for list of files in root directory
options -a (ask name) -C (cdrom) -c (userconfig) -D (dual consoles)
-d (debug early) -g (gdb) -h (serial console) -P (probe kbd)
-r (default root) -s (single user) -v (verbose)
Examples:
1:sd(0,a)mykernel boot `mykernel' on the first SCSI drive when one IDE
drive is present
1:wd(2,a) boot from the second (secondary master) IDE drive
1:sd(0,a)? list the files in the root directory on the specified
drive/unit/partition, and set the default bios_drive,
interface, unit and partition
-cv boot with the defaults, then run UserConfig to modify
hardware parameters (c), and print verbose messages (v)

View File

@ -1,16 +0,0 @@
Opcje: dysk_bios:kontroler(dysk,partycja)nazwa_kernela opcje
dysk_bios 0, 1, ...
kontroler fd (dyskietka), wd (dysk IDE) lub sd (dysk SCSI)
dysk 0, 1, ... (numer dysku w kontrolerze)
partycja a, c, e, f ... (wedlug nazewnictwa BSD)
nazwa_kernela nazwa pliku kernela, lub ? zeby dostac liste plikow
opcje -a (pytaj o rootdev) -C (cdrom) -c (userconf.) -D (podwojna konsola)
-d (uruchom debugger) -g (gdb) -h (konsola szeregowa)
-P (probkuj klawiature) -r (domyslny rootdev) -s (tryb single user)
-v (verbose - szczegolowe komunikaty)
Np: 1:sd(0,a)mykernel startuj `mykernel' z 1 dysku SCSI gdy jest tez 1 dysk
IDE, i jednoczesnie ustaw go jako domyslny dysk_bios,
kontroler, dysk i partycje
-cv startuj z parametrami domyslnymi, potem uruchom
konfiguracje param. sprzetowych (-c), i podawaj
szczegolowe komunikaty w trakcie bootowania (-v).

View File

@ -1,5 +0,0 @@
# $FreeBSD$
# This file should contain the addresses and aliases
# for local hosts that share this file.
127.0.0.1 localhost localhost.mydomain.edu
127.0.0.1 pico.mydomain.edu

View File

@ -1,5 +0,0 @@
# $FreeBSD$
# This file should contain the addresses and aliases
# for local hosts that share this file.
127.0.0.1 localhost localhost.mydomain.org.pl
127.0.0.1 pico.mydomain.org.pl

View File

@ -1,12 +0,0 @@
==================================================
)\_)\
PicoBSD @VER@ (NET) (o,o)
__ \~/
Welcome to PicoBSD! -->====\
~~ d d
You can find a short description of the picoBSD
system in file /README. You can view it using
"more /README".
For more info contact the author (abial@freebsd.org).

View File

@ -1,12 +0,0 @@
=======================================================
)\_)\
PicoBSD @VER@ (NET) (o,o)
__ \~/
Witamy w PicoBSD! -->====\
~~ d d
W glownym katalogu w pliku README znajdziesz picoBSD
krotki opis systemu. Mozesz go obejrzec przy pomocy
"more /README".
Wiecej informacji znajdziesz u autora (abial@freebsd.org).