aboutsummaryrefslogtreecommitdiff
path: root/release/picobsd/net/lang
diff options
context:
space:
mode:
Diffstat (limited to 'release/picobsd/net/lang')
-rw-r--r--release/picobsd/net/lang/README.en41
-rw-r--r--release/picobsd/net/lang/README.pl56
-rw-r--r--release/picobsd/net/lang/boot.help.en18
-rw-r--r--release/picobsd/net/lang/boot.help.pl16
-rw-r--r--release/picobsd/net/lang/hosts.en5
-rw-r--r--release/picobsd/net/lang/hosts.pl5
-rw-r--r--release/picobsd/net/lang/m.en11
-rw-r--r--release/picobsd/net/lang/m.pl11
-rw-r--r--release/picobsd/net/lang/mfs.rc.en33
-rw-r--r--release/picobsd/net/lang/mfs.rc.pl35
-rw-r--r--release/picobsd/net/lang/motd.en12
-rw-r--r--release/picobsd/net/lang/motd.pl12
-rw-r--r--release/picobsd/net/lang/rc.conf.en25
-rw-r--r--release/picobsd/net/lang/rc.conf.pl25
-rw-r--r--release/picobsd/net/lang/rc.en64
-rw-r--r--release/picobsd/net/lang/rc.network.en79
-rw-r--r--release/picobsd/net/lang/rc.network.pl80
-rw-r--r--release/picobsd/net/lang/rc.pl62
-rwxr-xr-xrelease/picobsd/net/lang/reboot.en2
-rwxr-xr-xrelease/picobsd/net/lang/reboot.pl2
-rw-r--r--release/picobsd/net/lang/resolv.conf.en3
-rw-r--r--release/picobsd/net/lang/resolv.conf.pl3
-rwxr-xr-xrelease/picobsd/net/lang/update.en23
-rwxr-xr-xrelease/picobsd/net/lang/update.pl23
24 files changed, 646 insertions, 0 deletions
diff --git a/release/picobsd/net/lang/README.en b/release/picobsd/net/lang/README.en
new file mode 100644
index 000000000000..4b42920a396d
--- /dev/null
+++ b/release/picobsd/net/lang/README.en
@@ -0,0 +1,41 @@
+1998.07.12, Warsaw, Poland
+
+ PicoBSD 0.4 (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 them
+ (i.e. 7 total) plus two PPP connections (tun interfaces). So you can
+ easily build something like router with as many as 9 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@nask.pl>
diff --git a/release/picobsd/net/lang/README.pl b/release/picobsd/net/lang/README.pl
new file mode 100644
index 000000000000..6ae377724608
--- /dev/null
+++ b/release/picobsd/net/lang/README.pl
@@ -0,0 +1,56 @@
+1998.07.12, Warszawa
+
+ PicoBSD 0.4 (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@nask.pl>
diff --git a/release/picobsd/net/lang/boot.help.en b/release/picobsd/net/lang/boot.help.en
new file mode 100644
index 000000000000..7cbce1354839
--- /dev/null
+++ b/release/picobsd/net/lang/boot.help.en
@@ -0,0 +1,18 @@
+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)
diff --git a/release/picobsd/net/lang/boot.help.pl b/release/picobsd/net/lang/boot.help.pl
new file mode 100644
index 000000000000..bb5b422529aa
--- /dev/null
+++ b/release/picobsd/net/lang/boot.help.pl
@@ -0,0 +1,16 @@
+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).
diff --git a/release/picobsd/net/lang/hosts.en b/release/picobsd/net/lang/hosts.en
new file mode 100644
index 000000000000..761d36c7780a
--- /dev/null
+++ b/release/picobsd/net/lang/hosts.en
@@ -0,0 +1,5 @@
+# $Id: hosts.en,v 1.1.1.1 1998/07/14 07:30:50 abial Exp $
+# 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
diff --git a/release/picobsd/net/lang/hosts.pl b/release/picobsd/net/lang/hosts.pl
new file mode 100644
index 000000000000..0d9b81eaea31
--- /dev/null
+++ b/release/picobsd/net/lang/hosts.pl
@@ -0,0 +1,5 @@
+# $Id: hosts.pl,v 1.1.1.1 1998/07/14 07:30:50 abial Exp $
+# 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
diff --git a/release/picobsd/net/lang/m.en b/release/picobsd/net/lang/m.en
new file mode 100644
index 000000000000..f6df2234bf01
--- /dev/null
+++ b/release/picobsd/net/lang/m.en
@@ -0,0 +1,11 @@
+
+PicoBSD 0.35 (NET)
+
+Welcome to PicoBSD!
+
+You can find a short description of the
+system in file /README. You can view it using
+"more /README".
+
+For more info contact the author (abial@nask.pl).
+
diff --git a/release/picobsd/net/lang/m.pl b/release/picobsd/net/lang/m.pl
new file mode 100644
index 000000000000..ff39857afb1f
--- /dev/null
+++ b/release/picobsd/net/lang/m.pl
@@ -0,0 +1,11 @@
+
+PicoBSD 0.35 (NET)
+
+Witamy w PicoBSD!
+
+W glownym katalogu w pliku README znajdziesz
+krotki opis systemu. Mozesz go obejrzec przy pomocy
+"more /README".
+
+Wiecej informacji znajdziesz u autora (abial@nask.pl).
+
diff --git a/release/picobsd/net/lang/mfs.rc.en b/release/picobsd/net/lang/mfs.rc.en
new file mode 100644
index 000000000000..c13166e76761
--- /dev/null
+++ b/release/picobsd/net/lang/mfs.rc.en
@@ -0,0 +1,33 @@
+#!/bin/sh
+# $Id: mfs.rc.en,v 1.3 1998/08/10 19:17:10 abial Exp $
+# System startup script run by init on autoboot
+# or after single-user.
+
+stty status '^T'
+
+trap : 2
+trap : 3 # shouldn't be needed
+
+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
+pwd_mkdb -p ./master.passwd
+umount /start_floppy
+echo "Ok. (Now you may remove floppy if you like)"
+echo ""
+. rc
+exit 0
diff --git a/release/picobsd/net/lang/mfs.rc.pl b/release/picobsd/net/lang/mfs.rc.pl
new file mode 100644
index 000000000000..f5e0a53563e8
--- /dev/null
+++ b/release/picobsd/net/lang/mfs.rc.pl
@@ -0,0 +1,35 @@
+#!/bin/sh
+# $Id: mfs.rc.pl,v 1.3 1998/08/10 19:17:10 abial Exp $
+# System startup script run by init on autoboot
+# or after single-user.
+
+stty status '^T'
+
+trap : 2
+trap : 3 # shouldn't be needed
+
+HOME=/; export HOME
+PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin
+export PATH
+
+trap "echo 'Reboot zostal przerwany'; exit 1" 3
+
+############################################
+### Special setup for one floppy PICOBSD ###
+############################################
+echo ""
+echo "-----------------------------------------------"
+echo " Prosze czekac. Trwa uruchamianie systemu..."
+echo "-----------------------------------------------"
+echo ""
+echo "Wczytuje konfiguracje /etc z dyskietki..."
+mount -o rdonly /dev/fd0a /start_floppy
+cd /start_floppy/etc
+cp -Rp . /etc/
+cd /etc
+pwd_mkdb -p ./master.passwd
+umount /dev/fd0a
+echo "Ok. (Jesli chcesz, mozesz juz wyjac dyskietke)"
+echo ""
+. rc
+exit 0
diff --git a/release/picobsd/net/lang/motd.en b/release/picobsd/net/lang/motd.en
new file mode 100644
index 000000000000..2a1b7b5e43b2
--- /dev/null
+++ b/release/picobsd/net/lang/motd.en
@@ -0,0 +1,12 @@
+==================================================
+ )\_)\
+PicoBSD 0.4 (NET) (o,o)
+ __ \~/
+Welcome to PicoBSD! -->====\
+ ~~ d d
+You can find a short description of the pico
+system in file /README. You can view it using
+"more /README".
+
+For more info contact the author (abial@nask.pl).
+
diff --git a/release/picobsd/net/lang/motd.pl b/release/picobsd/net/lang/motd.pl
new file mode 100644
index 000000000000..5a038d6883dd
--- /dev/null
+++ b/release/picobsd/net/lang/motd.pl
@@ -0,0 +1,12 @@
+=======================================================
+ )\_)\
+PicoBSD 0.4 (NET) (o,o)
+ __ \~/
+Witamy w PicoBSD! -->====\
+ ~~ d d
+W glownym katalogu w pliku README znajdziesz pico
+krotki opis systemu. Mozesz go obejrzec przy pomocy
+"more /README".
+
+Wiecej informacji znajdziesz u autora (abial@nask.pl).
+
diff --git a/release/picobsd/net/lang/rc.conf.en b/release/picobsd/net/lang/rc.conf.en
new file mode 100644
index 000000000000..03d2bc6d664d
--- /dev/null
+++ b/release/picobsd/net/lang/rc.conf.en
@@ -0,0 +1,25 @@
+#!/bin/sh
+# $Id: rc.conf.en,v 1.1.1.1 1998/07/14 07:30:50 abial Exp $
+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
diff --git a/release/picobsd/net/lang/rc.conf.pl b/release/picobsd/net/lang/rc.conf.pl
new file mode 100644
index 000000000000..61c406667753
--- /dev/null
+++ b/release/picobsd/net/lang/rc.conf.pl
@@ -0,0 +1,25 @@
+#!/bin/sh
+# $Id: rc.conf.pl,v 1.1.1.1 1998/07/14 07:30:50 abial Exp $
+swapfile="NO" # Set to name of swapfile if aux swapfile desired.
+### Network configuration sub-section ######################
+### Basic network options: ###
+hostname="pico.mydomain.org.pl" # 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
diff --git a/release/picobsd/net/lang/rc.en b/release/picobsd/net/lang/rc.en
new file mode 100644
index 000000000000..a35ae7c5d7cd
--- /dev/null
+++ b/release/picobsd/net/lang/rc.en
@@ -0,0 +1,64 @@
+#!/bin/sh
+# $Id: rc.en,v 1.3 1998/08/10 19:17:11 abial Exp $
+############################################
+### 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
+rm -f /etc/nologin
+(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
+if [ "X${snmpd_enable}" = X"YES" ]; then
+ echo "Starting snmpd."; snmpd ${snmpd_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 0.4 (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@nask.pl |'
+echo '| |'
+echo '+----------------------------------------------+'
+exit 0
diff --git a/release/picobsd/net/lang/rc.network.en b/release/picobsd/net/lang/rc.network.en
new file mode 100644
index 000000000000..b6ffb6686186
--- /dev/null
+++ b/release/picobsd/net/lang/rc.network.en
@@ -0,0 +1,79 @@
+#!/bin/sh -
+# $Id: rc.network.en,v 1.1.1.1 1998/07/14 07:30:50 abial Exp $
+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 -w net.inet.tcp.rfc1323=0 >/dev/null 2>&1
+ sysctl -w net.inet.tcp.rfc1644=0 >/dev/null 2>&1
+ fi
+ if [ "X$gateway_enable" = X"YES" ]; then
+ echo -n ' IP_gateway=YES'
+ sysctl -w 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 -w 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
+}
diff --git a/release/picobsd/net/lang/rc.network.pl b/release/picobsd/net/lang/rc.network.pl
new file mode 100644
index 000000000000..9c0fab6bb65d
--- /dev/null
+++ b/release/picobsd/net/lang/rc.network.pl
@@ -0,0 +1,80 @@
+#!/bin/sh -
+# $Id: rc.network.pl,v 1.1.1.1 1998/07/14 07:30:50 abial Exp $
+network_pass1() {
+ echo -n 'Wstepna konfiguracja sieci:'
+ # 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 "Zaladowano reguly filtrujace do firewalla."
+ else
+ echo "UWAGA: system posiada wbudowany modul firewalla, ale zadne reguly"
+ echo " filtrujace nie zostaly zaladowane."
+ echo " Wszystkie rodzaje ruchu IP sa dozwolone."
+ 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 'Dodatkowe opcje routingu:'
+ if [ -n "$tcp_extensions" -a "x$tcp_extensions" != "xYES" ] ; then
+ echo -n ' tcp_extensions=NO'
+ sysctl -w net.inet.tcp.rfc1323=0 >/dev/null 2>&1
+ sysctl -w net.inet.tcp.rfc1644=0 >/dev/null 2>&1
+ fi
+ if [ "X$gateway_enable" = X"YES" ]; then
+ echo -n ' IP_gateway=YES'
+ sysctl -w net.inet.ip.forwarding=1 >/dev/null 2>&1
+ fi
+ if [ "X$arpproxy_all" = X"YES" ]; then
+ echo -n ' wlaczam ARP_PROXY_ALL: '
+ sysctl -w 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
+}
diff --git a/release/picobsd/net/lang/rc.pl b/release/picobsd/net/lang/rc.pl
new file mode 100644
index 000000000000..b0d05cb83d72
--- /dev/null
+++ b/release/picobsd/net/lang/rc.pl
@@ -0,0 +1,62 @@
+#!/bin/sh
+# $Id: rc.pl,v 1.3 1998/08/10 19:17:11 abial Exp $
+############################################
+### 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 "Dodaje $swapfile jako dodatkowy 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
+# 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 "Uruchamiam inetd."; inetd ${inetd_flags}
+fi
+if [ "X${snmpd_enable}" = X"YES" ]; then
+ echo "Uruchamiam snmpd."; snmpd ${snmpd_flags}
+fi
+
+dev_mkdb
+
+echo ''
+if [ "x$swapfile" = "xNO" ]; then
+ echo "UWAGA: brak swapu!"
+ echo "Nie uruchamiaj zbyt wielu programow na raz..."
+fi
+echo ''
+echo ''
+echo '+------------ PicoBSD 0.4 (NET) ---------------+'
+echo '| |'
+echo '| Zaloguj sie jako "root" (haslo "setup"). |'
+echo '| |'
+echo '| Ta wersja PicoBSD w pelni podlega |'
+echo '| licencji BSD. Po wiecej szczegolow zajrzyj |'
+echo '| na http://www.freebsd.org/~picobsd, lub |'
+echo '| skontaktuj sie z autorem. |'
+echo '| |'
+echo '| abial@nask.pl |'
+echo '| |'
+echo '+----------------------------------------------+'
+exit 0
diff --git a/release/picobsd/net/lang/reboot.en b/release/picobsd/net/lang/reboot.en
new file mode 100755
index 000000000000..4601bb87fdb3
--- /dev/null
+++ b/release/picobsd/net/lang/reboot.en
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec /sbin/echo "Press Ctrl-Alt-Del instead of $0"
diff --git a/release/picobsd/net/lang/reboot.pl b/release/picobsd/net/lang/reboot.pl
new file mode 100755
index 000000000000..8181ced947d9
--- /dev/null
+++ b/release/picobsd/net/lang/reboot.pl
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec /sbin/echo "Zamiast $0 nacisnij Ctrl-Alt-Del"
diff --git a/release/picobsd/net/lang/resolv.conf.en b/release/picobsd/net/lang/resolv.conf.en
new file mode 100644
index 000000000000..1a7acfdf86d0
--- /dev/null
+++ b/release/picobsd/net/lang/resolv.conf.en
@@ -0,0 +1,3 @@
+# $Id: resolv.conf.en,v 1.1.1.1 1998/07/14 07:30:51 abial Exp $
+domain mydomain.edu
+nameserver 192.33.4.12
diff --git a/release/picobsd/net/lang/resolv.conf.pl b/release/picobsd/net/lang/resolv.conf.pl
new file mode 100644
index 000000000000..b2cb6499cf17
--- /dev/null
+++ b/release/picobsd/net/lang/resolv.conf.pl
@@ -0,0 +1,3 @@
+# $Id: resolv.conf.pl,v 1.1.1.1 1998/07/14 07:30:51 abial Exp $
+domain mydomain.org.pl
+nameserver 148.81.16.51
diff --git a/release/picobsd/net/lang/update.en b/release/picobsd/net/lang/update.en
new file mode 100755
index 000000000000..012cbaacd698
--- /dev/null
+++ b/release/picobsd/net/lang/update.en
@@ -0,0 +1,23 @@
+#!/bin/sh
+# $Id: update.en,v 1.3 1998/08/10 19:17:11 abial Exp $
+pwd=`pwd`
+echo -n "Updating /etc contents on startup floppy... "
+mount /dev/fd0a /start_floppy
+if [ "X$?" != "X0" ]
+then
+ echo ""
+ echo "Cannot mount the floppy read-write!"
+ echo "Check the write-protection..."
+ exit 1
+fi
+cd /etc
+rm *.db
+rm passwd
+cp -Rp . /start_floppy/etc/
+pwd_mkdb master.passwd
+echo " Done."
+echo -n "Updating kernel parameters... "
+kget -incore /start_floppy/kernel.config /stand/vanilla
+umount /dev/fd0a
+cd ${pwd}
+echo " Done."
diff --git a/release/picobsd/net/lang/update.pl b/release/picobsd/net/lang/update.pl
new file mode 100755
index 000000000000..c1bf95b7f2cb
--- /dev/null
+++ b/release/picobsd/net/lang/update.pl
@@ -0,0 +1,23 @@
+#!/bin/sh
+# $Id: update.pl,v 1.3 1998/08/10 19:17:11 abial Exp $
+pwd=`pwd`
+echo -n "Uaktualniam katalog /etc na dyskietce... "
+mount /dev/fd0a /start_floppy
+if [ "X$?" != "X0" ]
+then
+ echo ""
+ echo "Blad podczas montowania read/write dyskietki!"
+ echo "Sprawdz, czy nie jest zabezpieczona przed zapisem..."
+ exit 1
+fi
+cd /etc
+rm *.db
+rm passwd
+cp -Rp . /start_floppy/etc/
+pwd_mkdb master.passwd
+echo " Zrobione."
+echo -n "Uaktualniam parametry jadra..."
+kget -incore /start_floppy/kernel.config /stand/vanilla
+umount /dev/fd0a
+cd ${pwd}
+echo " Zrobione."