summaryrefslogtreecommitdiffstats
path: root/release/picobsd/dial
diff options
context:
space:
mode:
authorabial <abial@FreeBSD.org>1998-08-27 17:38:45 +0000
committerabial <abial@FreeBSD.org>1998-08-27 17:38:45 +0000
commitd38ad5332060d44f048e5b407d0b8e17da9a909c (patch)
tree3a1c3f90cb24f6c1da60d6fc980d38317610a4c8 /release/picobsd/dial
downloadFreeBSD-src-d38ad5332060d44f048e5b407d0b8e17da9a909c.zip
FreeBSD-src-d38ad5332060d44f048e5b407d0b8e17da9a909c.tar.gz
Initial import of PicoBSD v0.4 tree.
Diffstat (limited to 'release/picobsd/dial')
-rw-r--r--release/picobsd/dial/conf/PICOBSD85
-rw-r--r--release/picobsd/dial/crunch1/Makefile40
-rw-r--r--release/picobsd/dial/crunch1/crunch.conf55
-rw-r--r--release/picobsd/dial/floppy.tree/boot.config0
-rw-r--r--release/picobsd/dial/floppy.tree/etc/fstab4
-rw-r--r--release/picobsd/dial/floppy.tree/etc/gettytab40
-rw-r--r--release/picobsd/dial/floppy.tree/etc/group19
-rw-r--r--release/picobsd/dial/floppy.tree/etc/host.conf3
-rw-r--r--release/picobsd/dial/floppy.tree/etc/login.conf120
-rw-r--r--release/picobsd/dial/floppy.tree/etc/master.passwd7
-rw-r--r--release/picobsd/dial/floppy.tree/etc/ppp/ppp.conf9
-rw-r--r--release/picobsd/dial/floppy.tree/etc/ppp/ppp.conf.template10
-rw-r--r--release/picobsd/dial/floppy.tree/etc/ppp/ppp.deny15
-rw-r--r--release/picobsd/dial/floppy.tree/etc/ppp/ppp.linkup6
-rw-r--r--release/picobsd/dial/floppy.tree/etc/ppp/ppp.secret.sample23
-rw-r--r--release/picobsd/dial/floppy.tree/etc/profile4
-rw-r--r--release/picobsd/dial/floppy.tree/etc/protocols7
-rw-r--r--release/picobsd/dial/floppy.tree/etc/rc.network70
-rw-r--r--release/picobsd/dial/floppy.tree/etc/resolv.conf3
-rw-r--r--release/picobsd/dial/floppy.tree/etc/services93
-rw-r--r--release/picobsd/dial/floppy.tree/etc/ssh_config2
-rw-r--r--release/picobsd/dial/floppy.tree/etc/termcap123
-rw-r--r--release/picobsd/dial/floppy.tree/etc/ttys31
-rw-r--r--release/picobsd/dial/floppy.tree/kernel.config0
-rw-r--r--release/picobsd/dial/lang/LICENCE.ssh8
-rw-r--r--release/picobsd/dial/lang/README.en74
-rw-r--r--release/picobsd/dial/lang/README.pl72
-rw-r--r--release/picobsd/dial/lang/boot.help.en23
-rw-r--r--release/picobsd/dial/lang/boot.help.pl23
-rwxr-xr-xrelease/picobsd/dial/lang/dialup.en370
-rwxr-xr-xrelease/picobsd/dial/lang/dialup.pl364
-rw-r--r--release/picobsd/dial/lang/hosts.en5
-rw-r--r--release/picobsd/dial/lang/hosts.pl5
-rwxr-xr-xrelease/picobsd/dial/lang/login.en9
-rwxr-xr-xrelease/picobsd/dial/lang/login.pl10
-rwxr-xr-xrelease/picobsd/dial/lang/mfs.rc.en32
-rwxr-xr-xrelease/picobsd/dial/lang/mfs.rc.pl28
-rw-r--r--release/picobsd/dial/lang/motd.en16
-rw-r--r--release/picobsd/dial/lang/motd.pl16
-rw-r--r--release/picobsd/dial/lang/rc.conf.en32
-rw-r--r--release/picobsd/dial/lang/rc.conf.pl32
-rw-r--r--release/picobsd/dial/lang/rc.en103
-rw-r--r--release/picobsd/dial/lang/rc.network.en70
-rw-r--r--release/picobsd/dial/lang/rc.network.pl70
-rw-r--r--release/picobsd/dial/lang/rc.pl107
-rwxr-xr-xrelease/picobsd/dial/lang/reboot.en3
-rwxr-xr-xrelease/picobsd/dial/lang/reboot.pl3
-rw-r--r--release/picobsd/dial/lang/resolv.conf.en3
-rw-r--r--release/picobsd/dial/lang/resolv.conf.pl3
-rwxr-xr-xrelease/picobsd/dial/lang/update.en20
-rwxr-xr-xrelease/picobsd/dial/lang/update.pl21
-rwxr-xr-xrelease/picobsd/dial/mfs.tree/MAKEDEV1167
-rw-r--r--release/picobsd/dial/mfs.tree/Makefile69
-rw-r--r--release/picobsd/dial/mfs.tree/login.conf62
-rw-r--r--release/picobsd/dial/mfs.tree/mfs.mtree58
55 files changed, 3647 insertions, 0 deletions
diff --git a/release/picobsd/dial/conf/PICOBSD b/release/picobsd/dial/conf/PICOBSD
new file mode 100644
index 0000000..2c07ad5
--- /dev/null
+++ b/release/picobsd/dial/conf/PICOBSD
@@ -0,0 +1,85 @@
+#
+# $Id: PICOBSD,v 1.4 1998/08/02 12:19:29 abial Exp $
+#
+machine "i386"
+cpu "I386_CPU"
+cpu "I486_CPU"
+cpu "I586_CPU"
+cpu "I686_CPU"
+ident PICOBSD
+maxusers 3
+
+options MATH_EMULATE #Support for x87 emulation
+options INET #InterNETworking
+options FFS #Berkeley Fast Filesystem
+options MFS
+options MSDOSFS #MSDOS Filesystem
+options "CD9660" #ISO 9660 Filesystem
+options "EXT2FS"
+options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!]
+options USERCONFIG #boot -c editor
+options VISUAL_USERCONFIG #visual boot -c editor
+options USERCONFIG_BOOT #imply -c and parse info area
+options DEVFS
+options SLICE
+options PCI_QUIET
+options NO_SWAPPING
+
+config kernel root on fd0
+
+controller isa0
+controller pci0
+
+controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
+disk fd0 at fdc0 drive 0
+disk fd1 at fdc0 drive 1
+
+options "CMD640" # work around CMD640 chip deficiency
+controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr
+disk wd0 at wdc0 drive 0
+disk wd1 at wdc0 drive 1
+
+controller wdc1 at isa? port "IO_WD2" bio irq 15 vector wdintr
+disk wd2 at wdc1 drive 0
+disk wd3 at wdc1 drive 1
+
+options ATAPI #Enable ATAPI support for IDE bus
+options ATAPI_STATIC #Don't do it as an LKM
+device wcd0 #IDE CD-ROM
+
+# syscons is the default console driver, resembling an SCO console
+device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr
+
+device npx0 at isa? port "IO_NPX" irq 13 vector npxintr
+
+device sio0 at isa? port "IO_COM1" flags 0x10 tty irq 4 vector siointr
+device sio1 at isa? port "IO_COM2" tty irq 3 vector siointr
+device sio2 at isa? disable port "IO_COM3" tty irq 5 vector siointr
+device sio3 at isa? disable port "IO_COM4" tty irq 9 vector siointr
+
+device psm0 at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr
+
+# 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 de0
+#device de1
+device fxp0
+
+device ed0 at isa? port 0x280 net irq 10 iomem 0xd8000 vector edintr
+#device ed1 at isa? port 0x300 net irq 5 iomem 0xd0000 vector edintr
+device ie0 at isa? port 0x300 net irq 10 iomem 0xd0000 vector ieintr
+device ep0 at isa? port 0x300 net irq 10 vector epintr
+#device ex0 at isa? port? net irq? vector exintr
+#device fe0 at isa? port 0x300 net irq ? vector feintr
+device le0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector le_intr
+device lnc0 at isa? port 0x280 net irq 10 drq 0 vector lncintr
+#device ze0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zeintr
+#device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zpintr
+
+pseudo-device loop
+pseudo-device ether
+pseudo-device tun 1
+pseudo-device pty 16
+pseudo-device gzip # Exec gzipped a.out's
diff --git a/release/picobsd/dial/crunch1/Makefile b/release/picobsd/dial/crunch1/Makefile
new file mode 100644
index 0000000..467850d
--- /dev/null
+++ b/release/picobsd/dial/crunch1/Makefile
@@ -0,0 +1,40 @@
+#
+# $Id: Makefile,v 1.4 1998/08/10 19:38:39 abial Exp $
+#
+NOCRYPT?= yes
+SRC?=/usr/src
+
+all: crunch
+
+crunch:
+ if [ "X${INIT}" != "X" ]; \
+ then \
+ echo "progs ${INIT}" >crunch1.conf ; \
+ else \
+ echo "progs init getty" >crunch1.conf ; \
+ fi;
+ @cat crunch.conf|sed -e "s@/usr/src@${SRC}@" >>crunch1.conf
+ @crunchgen ${.CURDIR}/crunch1.conf
+ @${MAKE} -f crunch1.mk all NOCRYPT=${NOCRYPT} \
+ "CFLAGS=${CFLAGS} -DCRUNCHED_BINARY" 2>&1 >/dev/null
+
+clean:
+ rm -f *.o *.stub *.lo *_stub.c *.mk \
+ crunch.cache \
+ crunch.mk \
+ crunch.c \
+ crunch \
+ crunch1* \
+ .tmp_* \
+ *.gz
+
+install:
+ cp crunch1 /mnt/stand/crunch
+ chmod 555 /mnt/stand/crunch
+ for i in `crunchgen -l crunch1.conf` ; \
+ do \
+ ln /mnt/stand/crunch /mnt/stand/$${i}; \
+ done
+ rm /mnt/stand/crunch
+
+.include <bsd.prog.mk>
diff --git a/release/picobsd/dial/crunch1/crunch.conf b/release/picobsd/dial/crunch1/crunch.conf
new file mode 100644
index 0000000..aedb560
--- /dev/null
+++ b/release/picobsd/dial/crunch1/crunch.conf
@@ -0,0 +1,55 @@
+# $Id: crunch.conf,v 1.6 1998/08/02 12:19:49 abial Exp $
+#
+# NOTE1: the string "/usr/src" will be automatically replaced with the
+# correct value set in 'build' script - you should change it there
+#
+# NOTE2: use of init(8) is now optional (selectable in "build" script).
+# See Makefile for details on how it's added here - you shouldn't add it
+# manually here...
+
+# source dir for SSH.
+# * You have to configure and build the port
+# * Then you have to make a symlink:
+# cd /usr/ports/security/ssh/work/
+# ln -s ssh-1.2.21 ssh
+# * Then you have to add OBJS=${SSH_OBJS} in the Makefile (somewhere around
+# line 290)
+srcdirs /usr/ports/security/ssh/work/
+
+# ash, kget etc...
+srcdirs ../../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 ppp ssh ftp telnet ee gzip more
+ln gzip gunzip
+ln gzip zcat
+
+progs ash test kget echo pwd
+progs hostname cat kill sps vm ns
+progs chmod chown help
+progs cp df fsck ping mv ln traceroute
+progs ifconfig kbdcontrol moused
+progs ls mkdir mount mount_msdos mount_cd9660 mount_ext2fs
+progs rm route sysctl umount
+progs vidcontrol
+ln ash sh
+ln ash -sh
+ln test [
+ln sps ps
+ln ns netstat
+ln mount_msdos msdos
+ln mount_cd9660 cd9660
+ln mount_ext2fs ext2fs
+ln chown chgrp
+
+libs -ll -ledit -lutil -lmd -lcrypt -lftpio -lgnuregex -lmp -lgmp -lm
+libs -lncurses -lmytinfo -lipx -lz
+libs -ltermcap -ltelnet -lalias
diff --git a/release/picobsd/dial/floppy.tree/boot.config b/release/picobsd/dial/floppy.tree/boot.config
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/release/picobsd/dial/floppy.tree/boot.config
diff --git a/release/picobsd/dial/floppy.tree/etc/fstab b/release/picobsd/dial/floppy.tree/etc/fstab
new file mode 100644
index 0000000..64d34ca
--- /dev/null
+++ b/release/picobsd/dial/floppy.tree/etc/fstab
@@ -0,0 +1,4 @@
+#proc /proc procfs rw 0 0
+#/dev/fd0c /start_floppy ufs rw 1 1
+#/dev/wd0s1 /dos msdos rw 0 0
+#/dev/wcd0c /cdrom cd9660 ro,noauto 0 0
diff --git a/release/picobsd/dial/floppy.tree/etc/gettytab b/release/picobsd/dial/floppy.tree/etc/gettytab
new file mode 100644
index 0000000..612c875
--- /dev/null
+++ b/release/picobsd/dial/floppy.tree/etc/gettytab
@@ -0,0 +1,40 @@
+# from: @(#)gettytab 5.14 (Berkeley) 3/27/91
+#
+default:\
+ :cb:ce:ck:lc:fd#1000:cl:im=\r\n PicoBSD (%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:
diff --git a/release/picobsd/dial/floppy.tree/etc/group b/release/picobsd/dial/floppy.tree/etc/group
new file mode 100644
index 0000000..abbd733
--- /dev/null
+++ b/release/picobsd/dial/floppy.tree/etc/group
@@ -0,0 +1,19 @@
+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:
diff --git a/release/picobsd/dial/floppy.tree/etc/host.conf b/release/picobsd/dial/floppy.tree/etc/host.conf
new file mode 100644
index 0000000..8418e14
--- /dev/null
+++ b/release/picobsd/dial/floppy.tree/etc/host.conf
@@ -0,0 +1,3 @@
+# $Id: host.conf,v 1.1.1.1 1998/07/14 07:30:41 abial Exp $
+hosts
+bind
diff --git a/release/picobsd/dial/floppy.tree/etc/login.conf b/release/picobsd/dial/floppy.tree/etc/login.conf
new file mode 100644
index 0000000..97ea6e8
--- /dev/null
+++ b/release/picobsd/dial/floppy.tree/etc/login.conf
@@ -0,0 +1,120 @@
+# This file controls resource limits, accounting limits and
+# default user environment settings.
+#
+# $Id: login.conf,v 1.1.1.1 1998/07/14 07:30:41 abial Exp $
+#
+
+
+# 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=/etc/nologin:\
+ :cputime=1h30m:\
+ :datasize=8M:\
+ :stacksize=2M:\
+ :memorylocked=4M:\
+ :memoryuse=8M:\
+ :filesize=8M:\
+ :coredumpsize=8M:\
+ :openfiles=24:\
+ :maxproc=32:\
+ :priority=0:\
+ :requirehome:\
+ :passwordperiod=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:
diff --git a/release/picobsd/dial/floppy.tree/etc/master.passwd b/release/picobsd/dial/floppy.tree/etc/master.passwd
new file mode 100644
index 0000000..9d85cdf
--- /dev/null
+++ b/release/picobsd/dial/floppy.tree/etc/master.passwd
@@ -0,0 +1,7 @@
+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
diff --git a/release/picobsd/dial/floppy.tree/etc/ppp/ppp.conf b/release/picobsd/dial/floppy.tree/etc/ppp/ppp.conf
new file mode 100644
index 0000000..a25854d
--- /dev/null
+++ b/release/picobsd/dial/floppy.tree/etc/ppp/ppp.conf
@@ -0,0 +1,9 @@
+# $Id: ppp.conf,v 1.2 1998/07/16 23:28:02 abial Exp $
+#
+# PPP Sample Configuration File
+default:
+ set speed 38400
+ disable lqr
+ deny lqr
+ set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
+
diff --git a/release/picobsd/dial/floppy.tree/etc/ppp/ppp.conf.template b/release/picobsd/dial/floppy.tree/etc/ppp/ppp.conf.template
new file mode 100644
index 0000000..0856c69
--- /dev/null
+++ b/release/picobsd/dial/floppy.tree/etc/ppp/ppp.conf.template
@@ -0,0 +1,10 @@
+#
+# $Id: ppp.conf.template,v 1.2 1998/07/16 23:28:02 abial Exp $
+# PPP Sample Configuration File
+#
+default:
+ set speed 38400
+ disable lqr
+ deny lqr
+ set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
+
diff --git a/release/picobsd/dial/floppy.tree/etc/ppp/ppp.deny b/release/picobsd/dial/floppy.tree/etc/ppp/ppp.deny
new file mode 100644
index 0000000..51e1e9b
--- /dev/null
+++ b/release/picobsd/dial/floppy.tree/etc/ppp/ppp.deny
@@ -0,0 +1,15 @@
+# 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
diff --git a/release/picobsd/dial/floppy.tree/etc/ppp/ppp.linkup b/release/picobsd/dial/floppy.tree/etc/ppp/ppp.linkup
new file mode 100644
index 0000000..8a9d900
--- /dev/null
+++ b/release/picobsd/dial/floppy.tree/etc/ppp/ppp.linkup
@@ -0,0 +1,6 @@
+# Example of ppp.linkup file
+#
+# Otherwise, simply add peer as default gateway.
+#
+MYADDR:
+ add 0 0 HISADDR
diff --git a/release/picobsd/dial/floppy.tree/etc/ppp/ppp.secret.sample b/release/picobsd/dial/floppy.tree/etc/ppp/ppp.secret.sample
new file mode 100644
index 0000000..7e8ee67
--- /dev/null
+++ b/release/picobsd/dial/floppy.tree/etc/ppp/ppp.secret.sample
@@ -0,0 +1,23 @@
+##################################################
+#
+# 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.
+#
+# $Id: ppp.secret.sample,v 1.1.1.1 1998/07/14 07:30:41 abial Exp $
+#
+##################################################
+
+# Authname Authkey Peer's IP address
+
+oscar OurSecretKey 192.244.184.34/24
+BigBird X4dWg9327 192.244.184.33/32
+tama localPasswdForControl
diff --git a/release/picobsd/dial/floppy.tree/etc/profile b/release/picobsd/dial/floppy.tree/etc/profile
new file mode 100644
index 0000000..b0aa3b2
--- /dev/null
+++ b/release/picobsd/dial/floppy.tree/etc/profile
@@ -0,0 +1,4 @@
+# System-wide .profile file for sh(1).
+BLOCKSIZE=K; export BLOCKSIZE
+PATH=/stand:.; export PATH
+set -o emacs
diff --git a/release/picobsd/dial/floppy.tree/etc/protocols b/release/picobsd/dial/floppy.tree/etc/protocols
new file mode 100644
index 0000000..c80be39
--- /dev/null
+++ b/release/picobsd/dial/floppy.tree/etc/protocols
@@ -0,0 +1,7 @@
+#
+# 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
diff --git a/release/picobsd/dial/floppy.tree/etc/rc.network b/release/picobsd/dial/floppy.tree/etc/rc.network
new file mode 100644
index 0000000..7254f28
--- /dev/null
+++ b/release/picobsd/dial/floppy.tree/etc/rc.network
@@ -0,0 +1,70 @@
+#!/bin/sh -
+# $Id: rc.network,v 1.7 1998/08/19 07:06:13 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
+ # 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/dial/floppy.tree/etc/resolv.conf b/release/picobsd/dial/floppy.tree/etc/resolv.conf
new file mode 100644
index 0000000..e0de67e
--- /dev/null
+++ b/release/picobsd/dial/floppy.tree/etc/resolv.conf
@@ -0,0 +1,3 @@
+# $Id: resolv.conf,v 1.7 1998/08/19 07:06:13 abial Exp $
+domain mydomain.org.pl
+nameserver 194.204.159.1
diff --git a/release/picobsd/dial/floppy.tree/etc/services b/release/picobsd/dial/floppy.tree/etc/services
new file mode 100644
index 0000000..817b6d3
--- /dev/null
+++ b/release/picobsd/dial/floppy.tree/etc/services
@@ -0,0 +1,93 @@
+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
diff --git a/release/picobsd/dial/floppy.tree/etc/ssh_config b/release/picobsd/dial/floppy.tree/etc/ssh_config
new file mode 100644
index 0000000..6e1694c
--- /dev/null
+++ b/release/picobsd/dial/floppy.tree/etc/ssh_config
@@ -0,0 +1,2 @@
+Host *
+FallBackToRsh no
diff --git a/release/picobsd/dial/floppy.tree/etc/termcap b/release/picobsd/dial/floppy.tree/etc/termcap
new file mode 100644
index 0000000..5a9316a
--- /dev/null
+++ b/release/picobsd/dial/floppy.tree/etc/termcap
@@ -0,0 +1,123 @@
+# 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:
diff --git a/release/picobsd/dial/floppy.tree/etc/ttys b/release/picobsd/dial/floppy.tree/etc/ttys
new file mode 100644
index 0000000..d3b0295
--- /dev/null
+++ b/release/picobsd/dial/floppy.tree/etc/ttys
@@ -0,0 +1,31 @@
+#
+# @(#)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
+#
+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
diff --git a/release/picobsd/dial/floppy.tree/kernel.config b/release/picobsd/dial/floppy.tree/kernel.config
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/release/picobsd/dial/floppy.tree/kernel.config
diff --git a/release/picobsd/dial/lang/LICENCE.ssh b/release/picobsd/dial/lang/LICENCE.ssh
new file mode 100644
index 0000000..eb90236
--- /dev/null
+++ b/release/picobsd/dial/lang/LICENCE.ssh
@@ -0,0 +1,8 @@
+SSH is included here under different license than BSD one. Please see
+http://www.cs.hut.fi/ssh for details. In short, it permits non-commercial
+use only. Your usage may be further restricted by applicable local laws on
+using strong encryption methods.
+
+<abial@nask.pl>
+
+$Id: LICENCE.ssh,v 1.1.1.1 1998/07/14 07:30:41 abial Exp $
diff --git a/release/picobsd/dial/lang/README.en b/release/picobsd/dial/lang/README.en
new file mode 100644
index 0000000..04a0b2e
--- /dev/null
+++ b/release/picobsd/dial/lang/README.en
@@ -0,0 +1,74 @@
+1998.07.22, Warsaw, Poland
+
+ PicoBSD 0.4 (DIALUP flavor)
+ ---------------------------
+
+
+What is PicoBSD?
+----------------
+
+It's a one floppy version of FreeBSD (please see http://www.freebsd.org),
+configured mainly for dialup access. It can be used as a means to read your
+mail remotely, or to log in somewhere and do the work there.
+
+What are minimal requirements?
+------------------------------
+
+* 386SX CPU or better (this release contains also FPU emulator)
+* 8MB RAM - the more the better.
+* Modem sitting on COM1-COM4 (default is to use COM2), if you want to have
+ a PPP connection.
+* Network card: compatible with NE2000, or PCI cards with DEC chipsets
+ or 3C509 series (ed, ep and de drivers). There is also driver for Intel
+ EtherExpress PCI card (fxp), and Lance/PCnet (lnc).
+
+How to make a dialup connection?
+--------------------------------
+
+I recommend running /stand/dialup script, which will additionally configure
+the PPP to allow you to automatically connect to your provider, and
+will make the ppp to run in background. However, if you like to do it
+yourself, or the script doesn't work properly in your case (let me know
+this!), here are the steps you should take:
+
+1. Go to /etc/ppp directory and edit file ppp.conf (using ee editor). You
+ should check at least the port number of your modem (it's configured
+ on cuaa1==COM2 by default).
+2. After you're happy with it, start 'ppp' program. Enter the terminal
+ mode ('term') - you are now directly connected to your modem, so you
+ can normally dial the number using AT commands (e.g. atdt555666777),
+ and log in to communictaion server. You should see something like
+ this:
+
+ (comm server prompt) login: abial
+ (comm server prompt) Password: ********
+
+ Then either the comm server automatically switches to PPP, or you
+ should issue a command to tell it to do so (e.g. 'go ppp', 'PPP' or
+ other). When PPP is started, you should see something like:
+
+ ppp on pico> Packet mode
+ PPP on pico>
+
+ Notice the uppercase PPP - it means that the protocol is up, and now
+ you're connected. Congratulations. :-)
+3. Your console is blocked now, but you can use other virtual consoles
+ available under Alt-Fn.
+
+Where to get additional info?
+-----------------------------
+
+There is official page of this project at:
+
+ http://www.freebsd.org/~picobsd/
+
+You can find some informations there - not too much yet, to be sure... ;-)
+I'll put there also new versions of PicoBSD and bugfixes.
+
+I'll be glad hearing from you about your experiences with PicoBSD. Thanks.
+
+Have fun!
+
+Andrzej Bialecki <abial@nask.pl>
+
+$Id: README.en,v 1.3 1998/08/10 19:07:52 abial Exp $
diff --git a/release/picobsd/dial/lang/README.pl b/release/picobsd/dial/lang/README.pl
new file mode 100644
index 0000000..49c1149
--- /dev/null
+++ b/release/picobsd/dial/lang/README.pl
@@ -0,0 +1,72 @@
+1998.07.23, Warszawa
+
+ PicoBSD 0.4 (wersja DIALUP)
+ ---------------------------
+
+Co to jest PicoBSD?
+-------------------
+
+Jest to jednodyskietkowa wersja FreeBSD skonfigurowana g³ównie pod k±tem
+zastosowania jako narzêdzie dostêpu przez dialup lub ethernet.
+W celu zapoznania siê z pe³nym systemem zajrzyj na http://www.freebsd.org
+
+Jakie s± minimalne wymagania?
+-----------------------------
+
+* Procesor 386SX lub lepszy (dostêpny jest emulator FPU)
+* 8MB pamiêci - jest to absolutnie nieprzekraczalne minimum. Oczywi¶cie im
+ wiecej, tym lepiej - ograniczenie jest g³ównie spowodowane brakiem swapu. Po
+ zapoznaniu siê z systemem mo¿esz sobie skonfigurowaæ tzw. swap-file na dysku
+ twardym, np. na partycji DOS-owej lub Linux-owej. S³u¿y do tego program
+ vnconfig, oraz urz±dzenie vn(4). Wówczas prawdopodobnie wystarczy 4MB pamiêci.
+* Modem, skonfigurowany na COM1-COM4 (standardowo system wykorzystuje COM2),
+ je¶li bêdzie wykorzystywany dostêp przez PPP.
+* Karta sieciowa: kompatybilna z NE2000, niektóre typy 3Com, lub wersje PCI z
+ chipsetem DEC21040 (drivery ed, ep i de), je¶li bêdziesz korzystaæ z dostêpu
+ przez ethernet. Jest te¿ driver do karty PCI Intel EtherExpress (fxp), i
+ kart Lance/PCnet (lnc).
+
+W jaki sposób uzyskaæ dostêp dialup?
+------------------------------------
+
+Zalecam skorzystanie ze skryptu /stand/dialup, który skonfiguruje dodatkowo
+us³ugê PPP w ten sposób, ¿e bêdzie siê automatycznie ³±czyæ z providerem, oraz
+ppp bêdzie dzia³aæ w tle. Je¶li jednak co¶ nie wyjdzie (daj mi znaæ o tym!),
+lub lubisz robiæ to sam, oto opis poszczególnych kroków:
+
+1. wejd¼ do katalogu /etc/ppp i w pliku ppp.conf zmieñ port
+ szeregowy na ten, na którym masz modem (cuaa0==COM1, cuaa1==COM2,
+ itd...) Mo¿esz to zrobiæ edytorem 'ee /etc/ppp/ppp.conf'.
+
+2. uruchom program 'ppp'. Przejd¼ do trybu terminalowego (polecenie
+ 'term'). W tym momencie masz bezpo¶redni kontakt z modemem, wiêc
+ normalnie wybierz numer dialup i zaloguj siê do serwera
+ komunikacyjnego. Wydaj mu polecenie przej¶cia w tryb ppp. Powiniene¶
+ zobaczyæ co¶ takiego:
+
+ (communication server...): ppp
+
+ ppp on pico> Packet mode
+ PPP on pico>
+
+ W tym momencie jeste¶ ju¿ online! Gratulujê.
+3. Do Twojej dyspozycji s± nastêpuj±ce programy: telnet, ftp, i ssh.
+ Poniewa¿ wywo³a³e¶ 'ppp' rêcznie, wiêc blokuje Ci konsolê. Nie
+ szkodzi - masz do dyspozycji 9 kolejnych konsoli wirtualnych, po
+ których mo¿na siê poruszaæ naciskaj±c lewy Alt i klawisz funkcyjny
+ F1-F10.
+
+Skad wzi±æ dodatkowe informacje?
+--------------------------------
+
+Oficjalna strona projektu PicoBSD:
+
+ http://www.freebsd.org/~picobsd/
+
+Mo¿na tam znale¼æ trochê wiêcej informacji, oraz poprawki i nowe wersje.
+
+Mi³ej zabawy!
+
+Andrzej Bia³ecki <abial@nask.pl>
+
+$Id: README.pl,v 1.3 1998/08/10 19:07:52 abial Exp $
diff --git a/release/picobsd/dial/lang/boot.help.en b/release/picobsd/dial/lang/boot.help.en
new file mode 100644
index 0000000..714fbcb
--- /dev/null
+++ b/release/picobsd/dial/lang/boot.help.en
@@ -0,0 +1,23 @@
+
++--------------------------------------------------------------------------+
+ Welcome to FreeBSD !!!
+ The system is coming up, please wait.
++--------------------------------------------------------------------------+
+
+ This is special version of FreeBSD-3.0, called PicoBSD (v.0.4).
+
+ It allows you to connect to the Internet via dialup connection (using PPP)
+ or via Ethernet card.
+
+ You can adjust kernel parameters to match those of your hardware via
+ -c switch (boot: -c) to boot prompt. If you are booting for the first
+ time, you enter this mode automatically.
+
+ The floppy contains also some tools for remote access (telnet, ftp, SSH)
+ and local disk access (FreeBSD, DOS and Linux filesystem support).
+
+ I hope you'll enjoy it.
+
+ abial@nask.pl
++--------------------------------------------------------------------------+
+
diff --git a/release/picobsd/dial/lang/boot.help.pl b/release/picobsd/dial/lang/boot.help.pl
new file mode 100644
index 0000000..a161255
--- /dev/null
+++ b/release/picobsd/dial/lang/boot.help.pl
@@ -0,0 +1,23 @@
+
++----------------------------------------------------------------------+
+ Witamy we FreeBSD !!!
+ Prosze czekac. Trwa uruchamianie systemu.
++----------------------------------------------------------------------+
+
+ To jest specjalna wersja FreeBSD-3.0, zwana PicoBSD (v.0.4).
+
+ Pozwala ona na uzyskanie polaczenia z Internetem przez protokol PPP
+ (polaczenie dialup) lub karte Ethernet.
+
+ Mozna dopasowac parametry sprzetowe podajac opcje -c przy starcie
+ systemu (boot: -c). Przy pierwszym starcie tryb ten jest uruchamiany
+ automatycznie.
+
+ Zawarte jest tu kilka narzedzi dla zdalnego dostepu (telnet, ftp, SSH)
+ oraz do obslugi lokalnej maszyny (dyskow FreeBSD, Linux i DOS).
+
+ Milego uzywania.
+
+ abial@nask.pl
++----------------------------------------------------------------------+
+
diff --git a/release/picobsd/dial/lang/dialup.en b/release/picobsd/dial/lang/dialup.en
new file mode 100755
index 0000000..918c670
--- /dev/null
+++ b/release/picobsd/dial/lang/dialup.en
@@ -0,0 +1,370 @@
+#!/bin/sh
+# $Id: dialup.en,v 1.3 1998/08/07 19:29:57 abial Exp $
+set_resolv() {
+ echo ""
+ echo " Default Domain Name"
+ echo ""
+ echo "Here you should enter your default Internet domain. If your"
+ echo "provider uses something like 'www.big.isp.com', this should"
+ echo "be most probably 'big.isp.com'."
+ echo ""
+ echo "If you simply press enter here, you will have a 'mydomain.edu',"
+ echo "which is not the best idea, but may suffice for now..."
+ echo ""
+ read -p "Please enter the default domain name: " domain
+ if [ "X${domain}" = "X" ]
+ then
+ echo ""
+ echo "Fine, your domain will be 'mydomain.edu', but be aware"
+ echo "that it probably doesn't exist."
+ echo ""
+ read -p "Press any key to continue." junk
+ domain="mydomain.edu"
+ fi
+ echo ""
+ echo " DNS Server Address"
+ echo ""
+ echo "Here you should enter the numeric address of your domain name"
+ echo "server. It is needed for resolving human-readable host names"
+ echo "(such as www.freebsd.org) to machine readable IP numbers. If"
+ echo "it's not set properly, you will have to use numeric IP addresses"
+ echo "when connecting to other hosts, which is highly inconvenient."
+ echo ""
+ echo "If you simply press Enter here, we'll set it to one of root"
+ echo "DNS servers. This may not always work."
+ echo ""
+ read -p "Please enter the DNS server address in form A.B.C.D: " dns
+ if [ "X${dns}" = "X" ]
+ then
+ echo ""
+ echo "Fine, your DNS server will be 192.33.4.12, but be aware"
+ echo "that this may not always work ok."
+ echo ""
+ read -p "Press any key to continue." junk
+ dns="192.33.4.12"
+ fi
+}
+
+set_phone() {
+while [ "X${phone}" = "X" ]
+do
+ echo ""
+ echo " Phone Number"
+ echo ""
+ echo "Here you should enter the full phone number you normally"
+ echo "use to connect to your provider, with all necessary prefixes"
+ echo "attached, e.g.: 01122334455"
+ echo ""
+ read -p "Please enter the phone number: " phone
+done
+}
+
+set_port() {
+while [ "X${dev}" = "X" ]
+do
+ echo ""
+ echo " Port Number"
+ echo ""
+ echo "Here you should enter the port number, to which your modem is"
+ echo "attached. REMEMBER: COM1 is port 0 in FreeBSD, COM2 - port 1,"
+ echo "and so on. You should enter only the number, not the full name"
+ echo "of the device."
+ echo ""
+ read -p "Please enter the port number (0,1,2): " dev
+done
+}
+
+set_speed() {
+while [ "X${speed}" = "X" ]
+do
+ echo ""
+ echo " Port Speed"
+ echo ""
+ echo "Here you should choose the serial port speed."
+ echo ""
+ echo "NOTICE: port speed is NOT the same as modem speed - these are"
+ echo "different things. If your modem is capable of V.42 or MNP"
+ echo "compression, the actual speed of serial port should be set much"
+ echo "higher. E.g. for 14.4 kbps modem with compression you should"
+ echo "choose 38400, for 28.8 kbps modem with compression you should"
+ echo "choose 115200."
+ echo ""
+ echo " 1. 9600 bps"
+ echo " 2. 14400 bps"
+ echo " 3. 28800 bps"
+ echo " 4. 38400 bps (14.4 kbps modem with compression)"
+ echo " 5. 57600 bps"
+ echo " 6. 115200 bps (28.8 kbps modem with compression)"
+ echo ""
+ read -p "Please choose the port speed (1-6): " ans
+ case ${ans} in
+ 1)
+ speed=9600
+ ;;
+ 2)
+ speed=14400
+ ;;
+ 3)
+ speed=28800
+ ;;
+ 4)
+ speed=38400
+ ;;
+ 5)
+ speed=57600
+ ;;
+ 6)
+ speed=115200
+ ;;
+ *)
+ read -p "Bad value! Press enter to continue..." junk
+ unset speed
+ ;;
+ esac
+done
+}
+
+set_timeout() {
+while [ "X${timo}" = "X" ]
+do
+ echo ""
+ echo " Idle Timeout"
+ echo ""
+ echo "Here you should enter timeout (in seconds). After this time, if"
+ echo "the connection is idle, it's disconnected (to save your money :-)"
+ echo ""
+ read -p "Please enter the timeout value: " timo
+done
+}
+
+set_login() {
+while [ "X${user}" = "X" ]
+do
+ echo ""
+ echo " Login Name"
+ echo ""
+ echo "Here you should enter your login name that you normally use"
+ echo "to log in to your provider's terminal server."
+ echo ""
+ read -p "Please enter your login name: " user
+done
+}
+
+set_password() {
+while [ "X${pass}" = "X" ]
+do
+ echo ""
+ echo " Password"
+ echo ""
+ echo "Here you enter the password that you use to log in to the"
+ echo "terminal server."
+ echo ""
+ echo "WARNING: your password will be stored in readable form on the"
+ echo "floppy!!! If you don't like it... well, you must dial in manually."
+ echo "In that case abort this script (Ctrl-C). Otherwise, continue."
+ echo ""
+ read -p "Please enter your password: " pass
+done
+}
+
+set_chat() {
+echo ""
+while [ "X${chat}" = "X" ]
+do
+ echo " Type of Login Dialog"
+ echo ""
+ echo "What type of login dialog do you expect from the terminal server?"
+ echo ""
+ echo "1) ......login: ${user}"
+ echo " ...password: ********"
+ echo " (terminal server starts PPP here)"
+ echo ""
+ echo "2) ......login: ${user}"
+ echo " ...password: ********"
+ echo " ...protocol: ppp"
+ echo " (terminal server starts PPP here)"
+ echo ""
+ echo "3) ......username: ${user}"
+ echo " ......password: ********"
+ echo " (terminal server starts PPP here)"
+ echo ""
+ echo "4) ......username: ${user}"
+ echo " ......password: ********"
+ echo " portX/..xxx...: ppp"
+ echo " (terminal server starts PPP here)"
+ echo ""
+ read -p "Choose 1,2,3 or 4: " chat
+ case ${chat} in
+ 1)
+ chat1="TIMEOUT 10 ogin:--ogin: ${user} word: \\\\P"
+ chat2="login/password"
+ ;;
+ 2)
+ chat1="TIMEOUT 10 ogin:--ogin: ${user} word: \\\\P otocol: ppp"
+ chat2="login/password/protocol"
+ ;;
+ 3)
+ chat1="TIMEOUT 10 ername:--ername: ${user} word: \\\\P"
+ chat2="username/password"
+ ;;
+ 4)
+ chat1="TIMEOUT 10 ername:--ername: ${user} word: \\\\P port ppp"
+ chat2="username/password/port"
+ ;;
+ *) echo "Bad value! Please choose 1,2,3 or 4."
+ echo ""
+ unset chat
+ unset chat2
+ ;;
+ esac
+done
+}
+
+# Main entry of the script
+
+echo ""
+echo " Welcome to The Simplest PPP Configurator! :-)"
+echo ""
+echo " Your PPP is already preconfigured, so that you can dial manually."
+echo "However, you probably noticed that it requires chatting with your modem"
+echo "and logging in every time you want to connect. It's simple and it works,"
+echo "but it's also annoying."
+echo ""
+echo "This script will try to configure your PPP so that you can run it in"
+echo "background (thus freeing the console), and log in automatically."
+echo ""
+echo "If you want to continue, press Enter, otherwise press Ctrl-C."
+echo ""
+read junk
+
+# Step through the options.
+set_phone
+set_port
+set_speed
+set_timeout
+set_login
+set_password
+set_chat
+set_resolv
+
+ans="loop_it"
+while [ "X${ans}" != "X" ]
+do
+
+echo ""
+echo " Ok. You assigned the following values:"
+echo ""
+echo " 1. Phone number: ${phone}"
+echo " 2. Port number: cuaa${dev}"
+echo " 3. Port speed: ${speed} baud"
+echo " 4. Timeout: ${timo} s"
+echo " 5. Login name: ${user}"
+echo " 6. Password: ${pass}"
+echo " 7. Chat pattern: ${chat} (${chat2})"
+echo " 8. Default domain: ${domain}"
+echo " DNS Server: ${dns}"
+echo ""
+echo "If you're satisfied with these values, just press Enter."
+read -p "Otherwise, enter the number of the option you want to change (1-8): " ans
+a="X${ans}"
+case ${a} in
+X1)
+ unset phone
+ set_phone
+ ;;
+X2)
+ unset dev
+ set_port
+ ;;
+X3)
+ unset speed
+ set_speed
+ ;;
+X4)
+ unset timo
+ set_timeout
+ ;;
+X5)
+ unset user
+ set_login
+ ;;
+X6)
+ unset pass
+ set_password
+ ;;
+X7)
+ unset chat
+ set_chat
+ ;;
+X8)
+ unset dns
+ unset domain
+ set_resolv
+ ;;
+X) ;;
+*)
+ read -p "Unknown option: ${ans}. Press enter to continue..."
+ ;;
+esac
+
+done
+
+echo ""
+echo -n "Generating /etc/ppp/ppp.conf file..."
+rm -f /etc/ppp/ppp.conf
+cp /etc/ppp/ppp.conf.template /etc/ppp/ppp.conf
+echo "" >>/etc/ppp/ppp.conf
+echo "# This part was generated with $0" >>/etc/ppp/ppp.conf
+echo "dialup:" >>/etc/ppp/ppp.conf
+echo " set line /dev/cuaa${dev}" >>/etc/ppp/ppp.conf
+echo " set speed ${speed}" >>/etc/ppp/ppp.conf
+echo " set phone ${phone}" >>/etc/ppp/ppp.conf
+echo " set authkey ${pass}" >>/etc/ppp/ppp.conf
+echo " set timeout ${timo}" >>/etc/ppp/ppp.conf
+echo " set login \"${chat1}\"" >>/etc/ppp/ppp.conf
+echo " set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0" >>/etc/ppp/ppp.conf
+
+echo " Done."
+echo -n "Generating /etc/resolv.conf..."
+echo "# This file was generated with $0">/etc/resolv.conf
+echo "domain ${domain}" >>/etc/resolv.conf
+echo "nameserver ${dns}">>/etc/resolv.conf
+echo "hostname=\"pico.${domain}\"">>/etc/rc.conf
+
+echo " Done."
+
+echo ""
+echo "REMEMBER to run /stand/update! Otherwise these changes will be lost!"
+echo ""
+echo "Please check the contents of /etc/ppp/ppp.conf, and edit it if"
+echo "necessary. When you're satisfied with it, run ppp in background:"
+echo ""
+echo " ppp -background dialup"
+echo ""
+echo "Now, if you're sure that your /etc/ppp/ppp.conf file is ok (which is"
+echo -n "probable :-) would you like to start the dialup connection now? (y/n) "
+read ans
+while [ "X${ans}" = "Xy" ]
+do
+ echo ""
+ echo "Starting dialup connection. Wait until you see a 'PPP Enabled' message..."
+ echo ""
+ ppp -background dialup
+ if [ "X$?" != "X0" ]
+ then
+ echo ""
+ echo -n "Hmmm... Command failed. Try again? (y/n) "
+ read ans
+ if [ "X${ans}" != "Xy" ]
+ then
+ echo ""
+ echo "Try again later. Check also your config file (/etc/ppp/ppp.conf)"
+ echo ""
+ fi
+ else
+ echo ""
+ echo "Congratulations! You're on-line now."
+ echo ""
+ exit 0
+ fi
+done
diff --git a/release/picobsd/dial/lang/dialup.pl b/release/picobsd/dial/lang/dialup.pl
new file mode 100755
index 0000000..3d7dcf5
--- /dev/null
+++ b/release/picobsd/dial/lang/dialup.pl
@@ -0,0 +1,364 @@
+#!/bin/sh
+# $Id: dialup.pl,v 1.4 1998/08/10 19:07:52 abial Exp $
+set_resolv() {
+ echo ""
+ echo " Domy¶lna Nazwa Domeny"
+ echo ""
+ echo "Podaj domy¶ln± nazwê domeny Internetowej, której bêdziesz u¿ywaæ."
+ echo "Je¶li Twój provider ma nazwy typu 'www.akuku.com.pl', to bêdzie"
+ echo "to najprawdopodobniej 'akuku.com.pl'."
+ echo ""
+ echo "Je¶li po prostu naci¶niesz Enter, ustawisz (nieistniej±c±) domenê"
+ echo "'mydomain.org.pl', co nie jest najlepszym pomys³em, ale mo¿e na"
+ echo "razie wystarczyæ."
+ echo ""
+ read -p "Podaj domy¶ln± nazwê domeny: " domain
+ if [ "X${domain}" = "X" ]
+ then
+ echo ""
+ echo "Dobrze, ustawimy 'mydomain.org.pl', ale miej ¶wiadomo¶æ"
+ echo "¿e taka domena prawdopodobnie nie istnieje."
+ echo ""
+ read -p "Naci¶nij Enter" junk
+ domain="mydomain.org.pl"
+ fi
+ echo ""
+ echo " Adres Serwera DNS"
+ echo ""
+ echo "Podaj adres w postaci numerycznej serwera DNS. Jest on potrzebny"
+ echo "do zamiany nazw (takich jak www.freebsd.org.pl) na adresy IP"
+ echo "(takie jak 192.168.1.1). Je¶li nie jest to ustawione poprawnie,"
+ echo "bêdziesz musia³ pos³ugiwaæ siê adresami IP podczas ³±czenia siê"
+ echo "z innymi maszynami - jest to co najmniej niewygodne."
+ echo ""
+ echo "Je¶li po prostu naci¶niesz Enter, ustawisz (istniej±cy) serwer"
+ echo "o numerze 194.204.159.1 (w sieci TP SA)."
+ echo ""
+ read -p "Podaj adres IP serwera DNS (w postaci A.B.C.D): " dns
+ if [ "X${dns}" = "X" ]
+ then
+ echo ""
+ echo "Dobrze, ustawimy adres DNS serwera na 194.204.159.1, ale"
+ echo "niekoniecznie musi to byæ najlepszy serwer w Twojej czê¶ci sieci."
+ echo ""
+ read -p "Naci¶nij Enter..." junk
+ dns="194.204.159.1"
+ fi
+}
+set_phone() {
+while [ "X${phone}" = "X" ]
+do
+ echo ""
+ echo " Numer Telefoniczny"
+ echo ""
+ echo "Podaj numer telefoniczny, którego normalnie u¿ywasz, ¿eby"
+ echo "dodzwoniæ siê do swojego providera. Powiniene¶ podaæ pe³ny"
+ echo "numer, z ewentualnymi przedrostkami, np: 022113355"
+ echo ""
+ read -p "Podaj numer telefoniczny: " phone
+done
+}
+
+set_port() {
+while [ "X${dev}" = "X" ]
+do
+ echo ""
+ echo " Numer Portu Modemowego"
+ echo ""
+ echo "Podaj numer portu szeregowego, do którego pod³±czony jest modem."
+ echo "UWAGA: DOSowy port COM1 to port 0 (cuaa0) we FreeBSD, COM2 -"
+ echo "port 1, itd. Podaj tutaj tylko numer, a nie pe³n± nazwê urz±dzenia."
+ echo ""
+ read -p "Podaj numer portu szeregowego (0,1,2): " dev
+done
+}
+
+set_speed() {
+while [ "X${speed}" = "X" ]
+do
+ echo ""
+ echo " Prêdko¶æ Linii Szeregowej"
+ echo ""
+ echo "Wybierz prêdko¶æ linii szeregowej, której u¿ywa modem."
+ echo ""
+ echo "UWAGA: Prêdko¶æ linii szeregowej NIE jest tym samym, co prêdko¶æ"
+ echo "modemu. Je¶li Twój modem obs³uguje protokó³ V.42 lub MNP"
+ echo "(zazwyczaj tak w³a¶nie jest), prêdko¶æ linii szeregowej musi byæ"
+ echo "du¿o wiêksza od prêdko¶ci modemu. Np. dla modemów 14.4 kbps z"
+ echo "kompresj± nale¿y wybraæ prêdko¶æ 38400 bps, a dla modemów"
+ echo "28.8 kbps z kompresj± nale¿y wybraæ prêdko¶æ 115200 bps."
+ echo ""
+ echo " 1. 9600 bps"
+ echo " 2. 14400 bps"
+ echo " 3. 28800 bps"
+ echo " 4. 38400 bps (modem 14.4 kbps z kompresj±)"
+ echo " 5. 57600 bps"
+ echo " 6. 115200 bps (modem 28.8 kbps z kompresj±)"
+ echo ""
+ read -p "Wybierz prêdko¶æ linii szeregowej (1-6): " ans
+ case ${ans} in
+ 1)
+ speed=9600
+ ;;
+ 2)
+ speed=14400
+ ;;
+ 3)
+ speed=28800
+ ;;
+ 4)
+ speed=38400
+ ;;
+ 5)
+ speed=57600
+ ;;
+ 6)
+ speed=115200
+ ;;
+ *)
+ read -p "Z³a warto¶æ! Naci¶nij Enter..." junk
+ unset speed
+ ;;
+ esac
+done
+}
+
+set_timeout() {
+while [ "X${timo}" = "X" ]
+do
+ echo ""
+ echo " Czas roz³±czenia"
+ echo ""
+ echo "Podaj czas (w sekundach), po którym, je¶li nie ma ruchu na ³±czu,"
+ echo "nast±pi automatyczne roz³±czenie. To pomaga w oszczêdzaniu :-)"
+ echo ""
+ read -p "Podaj czas roz³±czenia: " timo
+done
+}
+
+set_user() {
+while [ "X${user}" = "X" ]
+do
+ echo ""
+ echo " Nazwa U¿ytkownika"
+ echo ""
+ echo "Podaj nazwê u¿ytkownika (login name), której normalnie u¿ywasz"
+ echo "do zalogowania siê do serwera komunikacyjnego providera."
+ echo ""
+ read -p "Podaj nazwê u¿ytkownika: " user
+done
+}
+
+set_pass() {
+while [ "X${pass}" = "X" ]
+do
+ echo ""
+ echo " Has³o"
+ echo ""
+ echo "Podaj has³o, którego u¿ywasz do zalogowania siê do providera."
+ echo ""
+ echo "UWAGA: Has³o to zostanie zapisane w czytelnej postaci na"
+ echo "dyskietce!!! Je¶li tego nie chcesz... bêdziesz musia³ logowaæ siê"
+ echo "rêcznie, tak jak dotychczas. W tym przypadku przerwij ten skrypt"
+ echo "przez Ctrl-C."
+ echo ""
+ read -p "Podaj swoje has³o: " pass
+done
+}
+
+set_chat() {
+echo ""
+while [ "X${chat}" = "X" ]
+do
+ echo " Rodzaj dialogu podczas logowania siê"
+ echo ""
+ echo "Jak normalnie przebiega proces logowania siê do serwera"
+ echo "komunikacyjnego?"
+ echo ""
+ echo "1) ......login: ${user}"
+ echo " ...password: ********"
+ echo " (tutaj startuje PPP)"
+ echo ""
+ echo "2) ...username: ${user} (TP S.A.)"
+ echo " ...password: ********"
+ echo " (tutaj startuje PPP)"
+ echo ""
+ echo "3) ......username: ${user} (NASK)"
+ echo " ......password: ********"
+ echo " portX/..xxx...: ppp"
+ echo " (tutaj startuje PPP)"
+ echo ""
+ read -p "Wybierz 1,2 lub 3: " chat
+ case ${chat} in
+ 1)
+ chat1="TIMEOUT 10 ogin:--ogin: ${user} word: \\\\P"
+ chat2="login/password"
+ ;;
+ 2)
+ chat1="TIMEOUT 10 ername:--ername: ${user} word: \\\\P"
+ chat2="TP SA - username/password"
+ ;;
+ 3)
+ chat1="TIMEOUT 10 ername:--ername: ${user} word: \\\\P port ppp"
+ chat2="NASK - username/password/port"
+ ;;
+ *) echo "Z³a warto¶æ! Musisz wybraæ 1,2 lub 3."
+ echo ""
+ unset chat
+ unset chat2
+ ;;
+ esac
+done
+}
+
+
+# Main entry of the script
+
+echo ""
+echo " Witamy w Automatycznym Konfiguratorze PPP! :-)"
+echo ""
+echo " PPP jest ju¿ wstêpnie skonfigurowane, tak ¿e mo¿na rêcznie wybieraæ"
+echo "numer i rêcznie logowaæ siê do serwera komunikacyjnego. Jest to jednak"
+echo "dosyæ uci±¿liwy sposób na d³u¿sz± metê."
+echo ""
+echo "Ten skrypt postara siê stworzyæ tak± konfiguracjê PPP, ¿eby umo¿liwiæ"
+echo "automatyczne wybieranie numeru i logowanie siê, a ponadto pozwoli na"
+echo "uruchamianie ppp w tle - nie zajmuje ono wówczas konsoli."
+echo ""
+echo "Je¶li chcesz kontynuowaæ, naci¶nij Enter, je¶li nie - Ctrl-C."
+echo ""
+read junk
+# Step through the options
+set_phone
+set_port
+set_speed
+set_timeout
+set_user
+set_pass
+set_chat
+set_resolv
+
+ans="loop_it"
+while [ "X${ans}" != "X" ]
+do
+
+echo ""
+echo " Ustawione zosta³y nastêpuj±ce parametry:"
+echo ""
+echo " 1. Numer telef.: ${phone}"
+echo " 2. Numer portu: cuaa${dev}"
+echo " 3. Prêdko¶æ portu: ${speed}"
+echo " 4. Czas roz³±cz.: ${timo} s"
+echo " 5. U¿ytkownik: ${user}"
+echo " 6. Has³o: ${pass}"
+echo " 7. Typ dialogu: ${chat} (${chat2})"
+echo " 8. Nazwa domeny: ${domain}"
+echo " Serwer DNS: ${dns}"
+echo ""
+echo "Je¶li te warto¶ci s± poprawne, po prostu naci¶nij Enter"
+read -p "Je¶li nie, podaj numer opcji, któr± chcesz zmieniæ (1-8): " ans
+
+a="X${ans}"
+case ${a} in
+X1)
+ unset phone
+ set_phone
+ ;;
+X2)
+ unset dev
+ set_port
+ ;;
+X3)
+ unset speed
+ set_speed
+ ;;
+X4)
+ unset timo
+ set_timeout
+ ;;
+X5)
+ unset user
+ set_user
+ ;;
+X6)
+ unset pass
+ set_pass
+ ;;
+X7)
+ unset chat
+ unset chat1
+ unset chat2
+ set_chat
+ ;;
+X8)
+ unset domain
+ unset dns
+ set_resolv
+ ;;
+X)
+ ;;
+*)
+ read -p "Z³y numer opcji! Naci¶nij Enter..." junk
+ ans="wrong"
+ ;;
+esac
+done
+
+echo ""
+echo -n "Generowanie /etc/ppp/ppp.conf file..."
+rm -f /etc/ppp/ppp.conf
+cp /etc/ppp/ppp.conf.template /etc/ppp/ppp.conf
+echo "" >>/etc/ppp/ppp.conf
+echo "# This part was generated with $0" >>/etc/ppp/ppp.conf
+echo "dialup:" >>/etc/ppp/ppp.conf
+echo " set line /dev/cuaa${dev}" >>/etc/ppp/ppp.conf
+echo " set phone ${phone}" >>/etc/ppp/ppp.conf
+echo " set authkey ${pass}" >>/etc/ppp/ppp.conf
+echo " set timeout ${timo}" >>/etc/ppp/ppp.conf
+echo " set login \"${chat1}\"" >>/etc/ppp/ppp.conf
+echo " set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0" >>/etc/ppp/ppp.conf
+
+echo " Zrobione."
+
+echo -n "Generowanie /etc/resolv.conf..."
+echo "# This file was generated with $0">/etc/resolv.conf
+echo "domain ${domain}" >>/etc/resolv.conf
+echo "nameserver ${dns}">>/etc/resolv.conf
+echo "hostname=\"pico.${domain}\"">>/etc/rc.conf
+echo " Zrobione."
+
+echo ""
+echo "Ok. Sprawd¼ zawarto¶æ /etc/ppp/ppp.conf, i popraw go je¶li to konieczne."
+echo "Nastêpnie mo¿esz wystartowaæ ppp w tle:"
+echo ""
+echo " ppp -background dialup"
+echo ""
+echo "PAMIÊTAJ, ¿eby uruchomiæ /stand/update ! Inaczej zmiany nie zostan± zapisane"
+echo "na dyskietce!"
+echo ""
+echo "Ok. Je¶li Twój plik /etc/ppp/ppp.conf jest prawid³owy (co jest dosyæ"
+echo -n "prawdopodobne :-), czy chcesz teraz uruchomiæ po³±czenie dialup? (t/n) "
+read ans
+while [ "X${ans}" = "Xt" ]
+do
+ echo ""
+ echo "Uruchamiam po³±czenie dialup. Proszê czekaæ dopóki nie pojawi siê"
+ echo "komunikat 'PPP Enabled'..."
+ echo ""
+ ppp -background dialup
+ if [ "X$?" != "X0" ]
+ then
+ echo -n "Po³±czenie nie powiod³o siê. Spróbowaæ jeszcze raz? (t/n) "
+ read ans
+ if [ "X${ans}" != "Xt" ]
+ then
+ echo "Spróbuj pó¼niej. Sprawd¼ równie¿ plik konfiguracyjny /etc/ppp/ppp.conf."
+ echo ""
+ fi
+ else
+ echo ""
+ echo "Gratulujê! Jeste¶ on-line."
+ echo ""
+ exit 0
+ fi
+done
diff --git a/release/picobsd/dial/lang/hosts.en b/release/picobsd/dial/lang/hosts.en
new file mode 100644
index 0000000..b0659b6
--- /dev/null
+++ b/release/picobsd/dial/lang/hosts.en
@@ -0,0 +1,5 @@
+# $Id: hosts.en,v 1.1.1.1 1998/07/14 07:30:42 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/dial/lang/hosts.pl b/release/picobsd/dial/lang/hosts.pl
new file mode 100644
index 0000000..f88b8fc
--- /dev/null
+++ b/release/picobsd/dial/lang/hosts.pl
@@ -0,0 +1,5 @@
+# $Id: hosts.pl,v 1.1.1.1 1998/07/14 07:30:42 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/dial/lang/login.en b/release/picobsd/dial/lang/login.en
new file mode 100755
index 0000000..a47b3ee
--- /dev/null
+++ b/release/picobsd/dial/lang/login.en
@@ -0,0 +1,9 @@
+#!/bin/sh
+# $Id: login.en,v 1.2 1998/07/15 20:11:43 abial Exp $
+
+if [ "$2" != "root" ]
+then
+ exit
+fi
+cat /etc/motd
+exec -sh
diff --git a/release/picobsd/dial/lang/login.pl b/release/picobsd/dial/lang/login.pl
new file mode 100755
index 0000000..510600c
--- /dev/null
+++ b/release/picobsd/dial/lang/login.pl
@@ -0,0 +1,10 @@
+#!/bin/sh
+# $Id: login.pl,v 1.2 1998/07/15 20:11:44 abial Exp $
+
+if [ "$2" != "root" ]
+then
+ exit
+fi
+cat /etc/motd
+LANG=pl; export LANG
+exec -sh
diff --git a/release/picobsd/dial/lang/mfs.rc.en b/release/picobsd/dial/lang/mfs.rc.en
new file mode 100755
index 0000000..de53bbb
--- /dev/null
+++ b/release/picobsd/dial/lang/mfs.rc.en
@@ -0,0 +1,32 @@
+#!/bin/sh
+# $Id: mfs.rc.en,v 1.3 1998/08/07 19:29:57 abial Exp $
+### WARNING !!!!!! #####
+# We remove this file during execution (see EOF).
+# Awful things happen if its size is > 1024B
+
+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
+
+sysctl -w vm.defer_swapspace_pageouts=1 vm.disable_swapspace_pageouts=1 2>&1 >/dev/null
+
+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
+umount /start_floppy
+echo "Ok. (Now you can remove floppy if you like)"
+echo ""
+. rc
+exit 0
diff --git a/release/picobsd/dial/lang/mfs.rc.pl b/release/picobsd/dial/lang/mfs.rc.pl
new file mode 100755
index 0000000..d59befd
--- /dev/null
+++ b/release/picobsd/dial/lang/mfs.rc.pl
@@ -0,0 +1,28 @@
+#!/bin/sh
+# $Id: mfs.rc.pl,v 1.3 1998/08/07 19:29:57 abial Exp $
+
+### WARNING !!!! ###
+# We remove this file during execution (see EOF)
+# Awful things happen if its size is > 1024B
+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
+sysctl -w vm.defer_swapspace_pageouts=1 vm.disable_swapspace_pageouts=1 2>&1 >/dev/null
+echo ""
+echo "-----------------------------------------------"
+echo " Prosze czekac. Trwa uruchamianie systemu..."
+echo "-----------------------------------------------"
+echo ""
+echo "Wczytuje konfiguracje z /etc z dyskietki... "
+mount -o rdonly /dev/fd0a /start_floppy
+cd /start_floppy/etc
+cp -Rp . /etc/
+cd /etc
+umount /start_floppy
+echo "Ok. (Jesli chcesz, mozesz juz wyjac dyskietke)"
+echo ""
+. rc
+exit 0
diff --git a/release/picobsd/dial/lang/motd.en b/release/picobsd/dial/lang/motd.en
new file mode 100644
index 0000000..6fc16de
--- /dev/null
+++ b/release/picobsd/dial/lang/motd.en
@@ -0,0 +1,16 @@
+==================================================
+ )\_)\
+PicoBSD 0.4 (DIALUP) (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
+"ee /README" or "more /README". There is also 'help'
+command which gives short description of each program.
+
+Run 'dialup' script to additionaly configure PPP
+(including automatic dialing and background operation).
+
+For more info see http://www.freebsd.org/~picobsd.
+
diff --git a/release/picobsd/dial/lang/motd.pl b/release/picobsd/dial/lang/motd.pl
new file mode 100644
index 0000000..65ef427
--- /dev/null
+++ b/release/picobsd/dial/lang/motd.pl
@@ -0,0 +1,16 @@
+=======================================================
+ )\_)\
+PicoBSD 0.4 (DIALUP) (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" lub "ee /README". Mozesz tez uzyskac
+krotki opis kazdego polecenia podajac 'help polecenie'.
+
+Uruchom skrypt 'dialup', zeby w pelni skonfigurowac PPP
+(wraz z automatycznym laczeniem sie i praca w tle).
+
+Wiecej informacji znajdziesz na http://www.freebsd.org/~picobsd.
+
diff --git a/release/picobsd/dial/lang/rc.conf.en b/release/picobsd/dial/lang/rc.conf.en
new file mode 100644
index 0000000..aca4e46
--- /dev/null
+++ b/release/picobsd/dial/lang/rc.conf.en
@@ -0,0 +1,32 @@
+#!/bin/sh
+# $Id: rc.conf.en,v 1.2 1998/08/10 19:07:53 abial Exp $
+### Network configuration sub-section ######################
+### Basic network options: ###
+hostname="pico.mydomain.edu" # Set this!
+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 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.
+### System console options #################################
+keymap="NO" # keymap in /usr/share/syscons/* (or NO).
+keyrate="NO" # keyboard rate to: slow, normal, fast (or NO).
+keybell="NO" # bell to duration.pitch or normal or visual (or NO).
+keychange="NO" # function keys default values (or NO).
+cursor="NO" # cursor type {normal|blink|destructive} (or NO).
+font8x16="NO" # font 8x16 from /usr/share/syscons/* (or NO).
+font8x14="NO" # font 8x14 from /usr/share/syscons/* (or NO).
+font8x8="NO" # font 8x8 from /usr/share/syscons/* (or NO).
+blanktime="NO" # blank time (in seconds) or "NO" to turn it off.
+moused_enable="YES" # Run the mouse daemon
+moused_type="microsoft"
+moused_port="/dev/cuaa0"
+moused_flags="-3"
+### 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/dial/lang/rc.conf.pl b/release/picobsd/dial/lang/rc.conf.pl
new file mode 100644
index 0000000..28a0bda
--- /dev/null
+++ b/release/picobsd/dial/lang/rc.conf.pl
@@ -0,0 +1,32 @@
+#!/bin/sh
+# $Id: rc.conf.pl,v 1.3 1998/08/10 19:07:53 abial Exp $
+### Network configuration sub-section ######################
+### Basic network options: ###
+hostname="pico.mydomain.org.pl" # Set this!
+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 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.
+### System console options #################################
+keymap="pl_PL.ISO_8859-2.kbd" # keymap in /usr/share/syscons/* (or NO).
+keyrate="NO" # keyboard rate to: slow, normal, fast (or NO).
+keybell="NO" # bell to duration.pitch or normal or visual (or NO).
+keychange="NO" # function keys default values (or NO).
+cursor="NO" # cursor type {normal|blink|destructive} (or NO).
+font8x16="iso02-8x16.fnt" # font 8x16 from /usr/share/syscons/* (or NO).
+font8x14="NO" # font 8x14 from /usr/share/syscons/* (or NO).
+font8x8="NO" # font 8x8 from /usr/share/syscons/* (or NO).
+blanktime="NO" # blank time (in seconds) or "NO" to turn it off.
+moused_enable="YES" # Run the mouse daemon
+moused_type="microsoft"
+moused_port="/dev/cuaa0"
+moused_flags="-3"
+### 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/dial/lang/rc.en b/release/picobsd/dial/lang/rc.en
new file mode 100644
index 0000000..9f5fea4
--- /dev/null
+++ b/release/picobsd/dial/lang/rc.en
@@ -0,0 +1,103 @@
+#!/bin/sh
+# $Id: rc.en,v 1.3 1998/08/10 19:07:53 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
+# start up the initial network configuration.
+if [ -f /etc/rc.network ]; then
+ . /etc/rc.network
+ network_pass1
+fi
+# clean up left-over files
+if [ -n "$network_pass1_done" ]; then
+ network_pass2
+fi
+if [ -n "$network_pass2_done" ]; then
+ network_pass3
+fi
+
+# stdin must be redirected because it might be for a serial console
+kbddev=/dev/ttyv0
+viddev=/dev/ttyv0
+
+echo -n "Configuring console:"
+
+# keymap
+if [ "X${keymap}" != X"NO" ]; then
+ echo -n ' keymap'; kbdcontrol < ${kbddev} -l /usr/share/syscons/${keymap}
+fi
+
+# keyrate
+if [ "X${keyrate}" != X"NO" ]; then
+ echo -n ' keyrate'; kbdcontrol < ${kbddev} -r ${keyrate}
+fi
+
+# keybell
+if [ "X${keybell}" != X"NO" ]; then
+ echo -n ' keybell'; kbdcontrol < ${kbddev} -b ${keybell}
+fi
+
+# change function keys
+if [ "X${keychange}" != X"NO" ]; then
+ echo -n " keychange"
+ set - ${keychange}
+ while [ $# -gt 0 ]
+ do
+ kbdcontrol < ${kbddev} -f "$1" "$2"
+ shift; shift
+ done
+fi
+
+# cursor type
+if [ "X${cursor}" != X"NO" ]; then
+ echo -n ' cursor'; vidcontrol < ${viddev} -c ${cursor}
+fi
+
+# font 8x16
+if [ "X${font8x16}" != X"NO" ]; then
+ echo -n ' font8x16'; vidcontrol < ${viddev} -f 8x16 /usr/share/syscons/${font8x16}
+fi
+
+# font 8x14
+if [ "X${font8x14}" != X"NO" ]; then
+ echo -n ' font8x14'; vidcontrol < ${viddev} -f 8x14 /usr/share/syscons/${font8x14}
+fi
+
+# font 8x8
+if [ "X${font8x8}" != X"NO" ]; then
+ echo -n ' font8x8'; vidcontrol < ${viddev} -f 8x8 /usr/share/syscons/${font8x8}
+fi
+
+# blank time
+if [ "X${blanktime}" != X"NO" ]; then
+ echo -n ' blanktime'; vidcontrol < ${viddev} -t ${blanktime}
+fi
+
+# mouse daemon
+if [ "X${moused_enable}" = X"YES" ] ; then
+ echo -n ' moused'
+ moused ${moused_flags} -p ${moused_port} -t ${moused_type}
+ vidcontrol <${viddev} -m on
+fi
+
+echo ''
+echo ''
+echo ''
+echo '+---------- PicoBSD 0.4 (DIALUP) --------------+'
+echo '| |'
+echo '| Log in as "root" (no password). |'
+echo '| |'
+echo '| This version of PicoBSD is fully under |'
+echo '| BSD license (except for SSH). For more |'
+echo '| details see http://www.freebsd.org/~picobsd, |'
+echo '| or contact the author. |'
+echo '| |'
+echo '| abial@nask.pl |'
+echo '| |'
+echo '+----------------------------------------------+'
+exit 0
diff --git a/release/picobsd/dial/lang/rc.network.en b/release/picobsd/dial/lang/rc.network.en
new file mode 100644
index 0000000..ff32f44
--- /dev/null
+++ b/release/picobsd/dial/lang/rc.network.en
@@ -0,0 +1,70 @@
+#!/bin/sh -
+# $Id: rc.network.en,v 1.1.1.1 1998/07/14 07:30:42 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
+ # 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/dial/lang/rc.network.pl b/release/picobsd/dial/lang/rc.network.pl
new file mode 100644
index 0000000..196f32b
--- /dev/null
+++ b/release/picobsd/dial/lang/rc.network.pl
@@ -0,0 +1,70 @@
+#!/bin/sh -
+# $Id: rc.network.pl,v 1.1.1.1 1998/07/14 07:30:42 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
+ # 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/dial/lang/rc.pl b/release/picobsd/dial/lang/rc.pl
new file mode 100644
index 0000000..7197f11
--- /dev/null
+++ b/release/picobsd/dial/lang/rc.pl
@@ -0,0 +1,107 @@
+#!/bin/sh
+#
+# $Id: rc.pl,v 1.3 1998/08/10 19:07:53 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
+# 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
+if [ -n "$network_pass1_done" ]; then
+ network_pass2
+fi
+if [ -n "$network_pass2_done" ]; then
+ network_pass3
+fi
+
+# stdin must be redirected because it might be for a serial console
+kbddev=/dev/ttyv0
+viddev=/dev/ttyv0
+
+echo -n "Konfigurowanie konsoli:"
+
+# keymap
+if [ "X${keymap}" != X"NO" ]; then
+ echo -n ' mapa klawiatury'; kbdcontrol <${kbddev} -l /usr/share/syscons/${keymap}
+fi
+
+# keyrate
+if [ "X${keyrate}" != X"NO" ]; then
+ echo -n ' keyrate'; kbdcontrol <${kbddev} -r ${keyrate}
+fi
+
+# keybell
+if [ "X${keybell}" != X"NO" ]; then
+ echo -n ' keybell'; kbdcontrol <${kbddev} -b ${keybell}
+fi
+
+# change function keys
+if [ "X${keychange}" != X"NO" ]; then
+ echo -n " keychange"
+ set - ${keychange}
+ while [ $# -gt 0 ]
+ do
+ kbdcontrol <${kbddev} -f "$1" "$2"
+ shift; shift
+ done
+fi
+
+# cursor type
+if [ "X${cursor}" != X"NO" ]; then
+ echo -n ' kursor'; vidcontrol <${viddev} -c ${cursor}
+fi
+
+# font 8x16
+if [ "X${font8x16}" != X"NO" ]; then
+ echo -n ' font8x16'; vidcontrol <${viddev} -f 8x16 /usr/share/syscons/${font8x16}
+fi
+
+# font 8x14
+if [ "X${font8x14}" != X"NO" ]; then
+ echo -n ' font8x14'; vidcontrol <${viddev} -f 8x14 /usr/share/syscons/${font8x14}
+fi
+
+# font 8x8
+if [ "X${font8x8}" != X"NO" ]; then
+ echo -n ' font8x8'; vidcontrol <${viddev} -f 8x8 /usr/share/syscons/${font8x8}
+fi
+
+# blank time
+if [ "X${blanktime}" != X"NO" ]; then
+ echo -n ' wygaszacz'; vidcontrol <${viddev} -t ${blanktime}
+fi
+
+# mouse daemon
+if [ "X${moused_enable}" = X"YES" ] ; then
+ echo -n ' moused'
+ moused ${moused_flags} -p ${moused_port} -t ${moused_type}
+ vidcontrol <${viddev} -m on
+fi
+
+echo ''
+echo ''
+echo '+----------- PicoBSD 0.4 (DIALUP) -------------+'
+echo '| |'
+echo '| Zaloguj sie jako "root" (brak hasla). |'
+echo '| |'
+echo '| PicoBSD podlega licencji BSD (z wyjatkiem |'
+echo '| SSH). Po wiecej szczegolow zajrzyj na |'
+echo '| 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/dial/lang/reboot.en b/release/picobsd/dial/lang/reboot.en
new file mode 100755
index 0000000..a99ac6d
--- /dev/null
+++ b/release/picobsd/dial/lang/reboot.en
@@ -0,0 +1,3 @@
+#!/bin/sh
+# $Id: reboot.en,v 1.1.1.1 1998/07/14 07:30:42 abial Exp $
+exec /sbin/echo "Press Ctrl-Alt-Del instead of $0"
diff --git a/release/picobsd/dial/lang/reboot.pl b/release/picobsd/dial/lang/reboot.pl
new file mode 100755
index 0000000..50dc6e8
--- /dev/null
+++ b/release/picobsd/dial/lang/reboot.pl
@@ -0,0 +1,3 @@
+#!/bin/sh
+#$Id: reboot.pl,v 1.1.1.1 1998/07/14 07:30:42 abial Exp $
+exec /sbin/echo "Zamiast $0 nacisnij Ctrl-Alt-Del"
diff --git a/release/picobsd/dial/lang/resolv.conf.en b/release/picobsd/dial/lang/resolv.conf.en
new file mode 100644
index 0000000..c373f5b
--- /dev/null
+++ b/release/picobsd/dial/lang/resolv.conf.en
@@ -0,0 +1,3 @@
+# $Id: resolv.conf.en,v 1.1.1.1 1998/07/14 07:30:42 abial Exp $
+domain mydomain.edu
+nameserver 192.33.4.12
diff --git a/release/picobsd/dial/lang/resolv.conf.pl b/release/picobsd/dial/lang/resolv.conf.pl
new file mode 100644
index 0000000..1843c29
--- /dev/null
+++ b/release/picobsd/dial/lang/resolv.conf.pl
@@ -0,0 +1,3 @@
+# $Id: resolv.conf.pl,v 1.2 1998/08/10 19:07:53 abial Exp $
+domain mydomain.org.pl
+nameserver 194.204.159.1
diff --git a/release/picobsd/dial/lang/update.en b/release/picobsd/dial/lang/update.en
new file mode 100755
index 0000000..006e0ed
--- /dev/null
+++ b/release/picobsd/dial/lang/update.en
@@ -0,0 +1,20 @@
+#!/bin/sh
+# $Id: update.en,v 1.4 1998/08/10 19:07:53 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
+cp -Rp . /start_floppy/etc/
+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/dial/lang/update.pl b/release/picobsd/dial/lang/update.pl
new file mode 100755
index 0000000..97105d2
--- /dev/null
+++ b/release/picobsd/dial/lang/update.pl
@@ -0,0 +1,21 @@
+#!/bin/sh
+# $Id: update.pl,v 1.4 1998/08/10 19:07:53 abial Exp $
+pwd=`pwd`
+echo -n "Uaktualniam katalog /etc na dyskietce... "
+mount /dev/fd0a /start_floppy
+if [ "X$?" != "X0" ]
+then
+ echo ""
+ echo "B³±d podczas montowania read/write dyskietki!"
+ echo "Sprawd¼, czy nie jest zabezpieczona przed zapisem..."
+ exit 1
+fi
+cd /etc
+cp -Rp . /start_floppy/etc/
+echo " Zrobione."
+echo -n "Uaktualniam parametry j±dra..."
+kget -incore /start_floppy/kernel.config /stand/vanilla
+umount /dev/fd0a
+cd /etc
+cd ${pwd}
+echo " Zrobione."
diff --git a/release/picobsd/dial/mfs.tree/MAKEDEV b/release/picobsd/dial/mfs.tree/MAKEDEV
new file mode 100755
index 0000000..287da34
--- /dev/null
+++ b/release/picobsd/dial/mfs.tree/MAKEDEV
@@ -0,0 +1,1167 @@
+#!/bin/sh -
+#
+# Copyright (c) 1990 The Regents of the University of California.
+# All rights reserved.
+#
+# Written and contributed by W. Jolitz 12/90
+#
+# Redistribution and use in source and binary forms are permitted provided
+# that: (1) source distributions retain this entire copyright notice and
+# comment, and (2) distributions including binaries display the following
+# acknowledgement: ``This product includes software developed by the
+# University of California, Berkeley and its contributors'' in the
+# documentation or other materials provided with the distribution and in
+# all advertising materials mentioning features or use of this software.
+# Neither the name of the University nor the names of its contributors may
+# be used to endorse or promote products derived from this software without
+# specific prior written permission.
+# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+#
+# @(#)MAKEDEV 5.2 (Berkeley) 6/22/90
+#
+# Device "make" file. Valid arguments:
+# all makes all known devices, standard number of units (or close)
+# std standard devices
+# local configuration specific devices
+# mach-4 mach4&lites+devices for Mach's XFree86 distribution
+# (see http://www.cs.hut.fi/lites.html for more info on LITES)
+#
+# Tapes:
+# wt* QIC-interfaced (e.g. not SCSI) 3M cartridge tape
+# st* "NEW type scsi tapes" (old driver uses the
+# block devices of the disks to get access)
+# ft* QIC-40/QIC-80 3M cartridge tape (interfaced
+# via the floppy disk controller)
+#
+# Disks:
+# wd* "Winchester" disk drives (ST506,IDE,ESDI,RLL,...)
+# wfd* "IDE floppy" disk drives (LS-120)
+# fd* "floppy" disk drives (3 1/2", 5 1/4")
+# sd* "SCSI disks"
+# cd* "SCSI CD-ROM disks"
+# mcd* "Mitsumi CD-ROM disks"
+# scd* "Sony CD-ROM disks"
+# matcd* "Matsushita (Panasonic) CD-ROM disks"
+# wcd* "IDE CD-ROM disks"
+# vn* "vnode disks"
+# od* "optical disks"
+#
+# Console ports:
+# vty* virtual console devices for syscons/pcvt/codrv
+#
+# Pointing devices:
+# mse* Logitech and ATI Inport bus mouse
+# psm* PS/2 mouse
+# sysmouse Mousesystems mouse emulator for syscons
+#
+# Time devices:
+# refclock-* serial ports used by xntpd parse refclocks
+#
+# Terminal ports:
+# tty* general purpose serial ports
+# cua* dialout serial ports
+# ttyA* Specialix SI/XIO dialin ports ('*' = number of devices)
+# cuaA* Specialix SI/XIO dialout ports
+# ttyD* Digiboard - 16 dialin ports
+# cuaD* Digiboard - 16 dialout ports
+# ttyR* Rocketport dialin ports
+# cuaR* Rocketport dialout ports
+#
+# Pseudo terminals:
+# pty* set of 32 master and slave pseudo terminals
+# vty* virtual terminals using syscons/pcvt/codrv console
+#
+# Printers:
+# lpt* stock lp
+#
+# SCSI devices (other than CD-ROM, tape and disk):
+# ssc The ``super scsi'' device
+# uk* "unknown" device (supports ioctl calls only)
+# worm* WORM driver
+# pt* Processor Type (HP scanner, as one example)
+#
+# PC-CARD (previously called PCMCIA) support
+# card* PC-CARD slots
+#
+# Special purpose devices:
+# apm Advanced Power Management BIOS
+# bpf* packet filter
+# speaker pc speaker
+# tw* xten power controller
+# snd* various sound cards
+# pcaudio PCM audio driver
+# socksys iBCS2 socket system driver
+# vat VAT compatibility audio driver (requires snd*)
+# gsc Genius GS-4500 hand scanner
+# joy pc joystick
+# tun* Tunneling IP device
+# snp* tty snoop devices
+# spigot Video Spigot video acquisition card
+# ctx* Cortex-I video acquisition card
+# meteor* Matrox Meteor video acquisition card (pci)
+# bktr* Bt848 based video acquisition card (pci)
+# labpc* National Instrument's Lab-PC and LAB-PC+
+# perfmon CPU performance-monitoring counters
+# pci PCI configuration-space access from user mode
+# ipl ipfilter control devices (ipl, ipnat, ipstate, ipauth)
+#
+# $Id: MAKEDEV,v 1.1.1.1 1998/07/14 07:30:42 abial Exp $
+#
+
+PATH=/sbin:/bin/:/usr/bin:/usr/sbin:$PATH
+umask 77
+
+# Usage: die exitcode msg
+die() {
+ echo $2
+ exit $1
+}
+
+# Convert integer to partition name
+dkitop() {
+ local p
+
+ case $1 in
+ 0) p=a;; 1) p=b;; 2) p=c;; 3) p=d;; 4) p=e;; 5) p=f;; 6) p=g;; 7) p=h;;
+ *) p="?";;
+ esac
+ echo $p
+}
+
+# Convert integer to slice name
+dkitos() {
+ local s
+
+ case $1 in
+ 0) s="";;
+ 1) s="";;
+ *) s=s$(($1-1));;
+ esac
+ echo $s
+}
+
+# Convert disk (type, unit, slice, partition) to minor number
+dkminor()
+{
+ echo $(($1 << 25 | ($2 / 32) << 21 | ($2 % 32) << 3 | $3 << 16 | $4))
+}
+
+# Override mknod(2) to add extra handling to it.
+mknod() {
+ rm -f "$1" || exit 1
+ /sbin/mknod "$@" || die 2 "/sbin/mknod $@ failed"
+ chown root.wheel "$1" || exit 1
+}
+
+# Convert the last character of a tty name to a minor number.
+ttyminor()
+{
+ case $unit in
+ [0-9]) m=$unit;;
+ a) m=10;; b) m=11;; c) m=12;; d) m=13;; e) m=14;; f) m=15;; g) m=16;;
+ h) m=17;; i) m=18;; j) m=19;; k) m=20;; l) m=21;; m) m=22;; n) m=23;;
+ o) m=24;; p) m=25;; q) m=26;; r) m=27;; s) m=28;; t) m=29;; u) m=30;;
+ v) m=31;;
+ *) m="?";;
+ esac
+ echo $m
+}
+
+# Raw partition for disks
+dkrawpart=2
+
+# Compatibility slice for disks
+dkcompatslice=0
+
+# Raw slice for disks
+dkrawslice=1
+
+# Control bit for SCSI
+scsictl=$((1 << 29))
+
+# Standard umasks
+disk_umask=037 # allow group operator to read disks
+tape_umask=017 # allow group operator to read/write tapes
+
+for i in $*; do
+case $i in
+
+all)
+ sh MAKEDEV std # standard
+ sh MAKEDEV fd0 fd1 # bdev, floppy disk
+ sh MAKEDEV sd0 sd1 sd2 sd3 wd0 wd1 wd2 wd3 # bdev, ordinary disk
+ sh MAKEDEV od0 # bdev, optical disk
+ sh MAKEDEV wfd0 # bdev, LS-120 floppy
+ sh MAKEDEV vn0 # bdev, virtual disk
+ sh MAKEDEV cd0 matcd0 mcd0 scd0 wcd0 # bdev, cdrom
+ sh MAKEDEV ft0 st0 wt0 # bdev, tape
+ sh MAKEDEV vty4 # cdev, virtual tty
+ sh MAKEDEV cuaa0 cuaa1 cuaa2 cuaa3 # cdev, serial tty
+ sh MAKEDEV pty0 # cdev, pseudo tty
+ sh MAKEDEV ttyd0 ttyd1 ttyd2 ttyd3 # cdev, serial tty
+ sh MAKEDEV mse0 psm0 sysmouse # cdev, mouse
+ sh MAKEDEV pcaudio speaker # cdev, noise
+ sh MAKEDEV lpt0 lpt1 lpt2 # cdev, printer
+ sh MAKEDEV bpf0 ipl tun0 # cdev, network
+ sh MAKEDEV ch0 perfmon tw0 # cdev, miscellaneous
+ sh MAKEDEV apm card0 card1 # cdev, laptop
+ ;;
+std)
+ mknod console c 0 0; chmod 600 console
+ mknod drum c 4 0; chmod 640 drum; chgrp kmem drum
+ mknod kmem c 2 1; chmod 640 kmem; chgrp kmem kmem
+ mknod mem c 2 0; chmod 640 mem; chgrp kmem mem
+ mknod null c 2 2; chmod 666 null
+ mknod random c 2 3; chmod 644 random
+ mknod urandom c 2 4; chmod 644 urandom
+ mknod zero c 2 12; chmod 666 zero
+ mknod io c 2 14; chmod 600 io
+ mknod tty c 1 0; chmod 666 tty
+ mknod klog c 7 0; chmod 600 klog
+ mknod stdin c 22 0; chmod 666 stdin
+ mknod stdout c 22 1; chmod 666 stdout
+ mknod stderr c 22 2; chmod 666 stderr
+ mknod lkm c 32 0; chmod 644 lkm
+ mknod pci c 78 0; chmod 644 pci
+ mkdir -p fd
+ (cd fd && eval `echo "" | awk ' BEGIN { \
+ for (i = 0; i < 64; i++) \
+ printf("mknod %d c 22 %d;", i, i)}'`)
+ chown -R bin.bin fd
+ chmod 555 fd
+ chmod 666 fd/*
+ ;;
+
+mach-4)
+ mknod iopl c 22 0
+ mknod kbd c 23 0
+ mknod mouse c 24 0
+ mknod time c 25 0
+ mknod timezone c 26 0
+ ;;
+
+# Create device files for new Archive/Wangtek QIC-02 tape driver (vak)
+wt*)
+ umask $tape_umask
+ u=`expr $i : '..\(.*\)'`
+ if [ x$u = x ]; then u=0; fi
+ mknod rwt${u} c 10 `expr 0 + $u` # default density, 512b blocks
+ mknod nrwt${u} c 10 `expr 4 + $u`
+# mknod rWt${u} c 10 `expr 64 + $u` # default density, 1024b blocks
+# mknod nrWt${u} c 10 `expr 68 + $u`
+ mknod rwt${u}b c 10 `expr 16 + $u` # 60 megabytes
+ mknod nrwt${u}b c 10 `expr 20 + $u`
+ mknod rwt${u}c c 10 `expr 24 + $u` # 120 megabytes
+ mknod nrwt${u}c c 10 `expr 28 + $u`
+ mknod rwt${u}d c 10 `expr 32 + $u` # 150 megabytes
+ mknod nrwt${u}d c 10 `expr 36 + $u`
+# mknod rwt${u}e c 10 `expr 40 + $u` # 300 megabytes?
+# mknod nrwt${u}e c 10 `expr 44 + $u`
+# mknod rwt${u}f c 10 `expr 48 + $u` # 600 megabytes?
+# mknod nrwt${u}f c 10 `expr 52 + $u`
+ chgrp operator r[Ww]t$u nr[Ww]t$u r[Ww]t$u[a-f] nr[Ww]t$u[a-f]
+ umask 77
+ ;;
+
+# Individual slices.
+od*s*|sd*s*|vn*s*|wd*s*|wfd*s*)
+ umask $disk_umask
+ case $i in
+ od*s*) name=od; blk=20; chr=70;;
+ sd*s*) name=sd; blk=4; chr=13;;
+ wd*s*) name=wd; blk=0; chr=3;;
+ vn*s*) name=vn; blk=15; chr=43;;
+ wfd*s*) name=wfd; blk=1; chr=87;;
+ esac
+ case $i in
+ wfd*s*)
+ unit=`expr $i : '...\([0-9]*\)s'`
+ slice=`expr $i : '...[0-9]*s\([0-9]*\)'`
+ part=`expr $i : '...[0-9]*s[0-9]*\(.*\)'`
+ ;;
+ *)
+ unit=`expr $i : '..\([0-9]*\)s'`
+ slice=`expr $i : '..[0-9]*s\([0-9]*\)'`
+ part=`expr $i : '..[0-9]*s[0-9]*\(.*\)'`
+ ;;
+ esac
+ case $unit in
+ [0-9]|[0-9][0-9]|[0-4][0-9][0-9]|50[0-9]|51[0-1])
+ case $slice in
+ [0-9]|[1-2][0-9]|30)
+ oldslice=$slice
+ slice=$(($slice+1))
+ slicename=`dkitos $slice`
+ minor=`dkminor 0 $unit $slice $dkrawpart`
+ mknod $name$unit$slicename b $blk $minor
+ mknod r$name$unit$slicename c $chr $minor
+ case $part in
+ [a-h])
+ case $oldslice in
+ 0) slice=$oldslice ;;
+ esac
+ for part in 0 1 2 3 4 5 6 7
+ do
+ minor=`dkminor 0 $unit $slice $part`
+ partname=`dkitop $part`
+ mknod $name$unit$slicename$partname \
+ b $blk $minor
+ mknod r$name$unit$slicename$partname \
+ c $chr $minor
+ done
+ ;;
+ "")
+ ;;
+ *)
+ echo bad partition for disk in: $i
+ ;;
+ esac
+ chgrp operator $name$unit$slicename* \
+ r$name$unit$slicename*
+ ;;
+ *)
+ echo bad slice for disk in: $i
+ ;;
+ esac
+ ;;
+ *)
+ echo bad unit for disk in: $i "(unit=$unit, slice=$slice, part=$part)"
+ ;;
+ esac
+ umask 77
+ ;;
+
+fd*)
+ umask $disk_umask
+ unit=`expr $i : '..\(.*\)'`
+ name=fd; blk=2; chr=9
+ case $unit in
+ 0|1|2|3)
+ mknod ${name}${unit} b $blk `expr $unit '*' 64`
+ mknod r${name}${unit} c $chr `expr $unit '*' 64`
+ # Fake BSD partitions
+ for i in a b c d e f g h
+ do
+ ln ${name}${unit} ${name}${unit}$i
+ ln r${name}${unit} r${name}${unit}$i
+ done
+ # User-readable and programmer-readable name sets
+
+ mknod ${name}${unit}.1720 b $blk `expr $unit '*' 64 + 1`
+ mknod r${name}${unit}.1720 c $chr `expr $unit '*' 64 + 1`
+ # ln ${name}${unit}.1720 ${name}${unit}135hs21
+ # ln r${name}${unit}.1720 r${name}${unit}135hs21
+
+ mknod ${name}${unit}.1480 b $blk `expr $unit '*' 64 + 2`
+ mknod r${name}${unit}.1480 c $chr `expr $unit '*' 64 + 2`
+ # ln ${name}${unit}.1480 ${name}${unit}135hs18
+ # ln r${name}${unit}.1480 r${name}${unit}135hs18
+ # ln ${name}${unit}.1480 ${name}${unit}96hs18
+ # ln r${name}${unit}.1480 r${name}${unit}96hs18
+
+ mknod ${name}${unit}.1440 b $blk `expr $unit '*' 64 + 3`
+ mknod r${name}${unit}.1440 c $chr `expr $unit '*' 64 + 3`
+ # ln ${name}${unit}.1440 ${name}${unit}135
+ # ln r${name}${unit}.1440 r${name}${unit}135
+ # ln ${name}${unit}.1440 ${name}${unit}135ds18
+ # ln r${name}${unit}.1440 r${name}${unit}135ds18
+ # ln ${name}${unit}.1440 ${name}${unit}96ds18
+ # ln r${name}${unit}.1440 r${name}${unit}96ds18
+
+ mknod ${name}${unit}.1200 b $blk `expr $unit '*' 64 + 4`
+ mknod r${name}${unit}.1200 c $chr `expr $unit '*' 64 + 4`
+ # ln ${name}${unit}.1200 ${name}${unit}96
+ # ln r${name}${unit}.1200 r${name}${unit}96
+ # ln ${name}${unit}.1200 ${name}${unit}96ds15
+ # ln r${name}${unit}.1200 r${name}${unit}96ds15
+ # ln ${name}${unit}.1200 ${name}${unit}135ds15
+ # ln r${name}${unit}.1200 r${name}${unit}135ds15
+
+ mknod ${name}${unit}.820 b $blk `expr $unit '*' 64 + 5`
+ mknod r${name}${unit}.820 c $chr `expr $unit '*' 64 + 5`
+ # ln ${name}${unit}.820 ${name}${unit}96hs10
+ # ln r${name}${unit}.820 r${name}${unit}96hs10
+ # ln ${name}${unit}.820 ${name}${unit}135hs10
+ # ln r${name}${unit}.820 r${name}${unit}135hs10
+
+ mknod ${name}${unit}.800 b $blk `expr $unit '*' 64 + 6`
+ mknod r${name}${unit}.800 c $chr `expr $unit '*' 64 + 6`
+ # ln ${name}${unit}.800 ${name}${unit}96ds10
+ # ln r${name}${unit}.800 r${name}${unit}96ds10
+ # ln ${name}${unit}.800 ${name}${unit}135ds10
+ # ln r${name}${unit}.800 r${name}${unit}135ds10
+
+ mknod ${name}${unit}.720 b $blk `expr $unit '*' 64 + 7`
+ mknod r${name}${unit}.720 c $chr `expr $unit '*' 64 + 7`
+ # ln ${name}${unit}.720 ${name}${unit}96ds9
+ # ln r${name}${unit}.720 r${name}${unit}96ds9
+ # ln ${name}${unit}.720 ${name}${unit}135ds9
+ # ln r${name}${unit}.720 r${name}${unit}135ds9
+
+ mknod ${name}${unit}.360 b $blk `expr $unit '*' 64 + 8`
+ mknod r${name}${unit}.360 c $chr `expr $unit '*' 64 + 8`
+ # ln ${name}${unit}.360 ${name}${unit}48
+ # ln r${name}${unit}.360 r${name}${unit}48
+ # ln ${name}${unit}.360 ${name}${unit}48ds9
+ # ln r${name}${unit}.360 r${name}${unit}48ds9
+
+ chgrp operator ${name}${unit}* r${name}${unit}*
+ ;;
+ *)
+ echo bad unit for disk in: $i
+ ;;
+ esac
+ umask 77
+ ;;
+
+ft*)
+ umask $tape_umask
+ unit=`expr $i : '..\(.*\)'`
+ name=ft; blk=2; chr=9
+ case $unit in
+ 0|1|2|3)
+ mknod ${name}${unit} b $blk `expr $unit '*' 64 + 32`
+ mknod r${name}${unit} c $chr `expr $unit '*' 64 + 32`
+ ln ${name}${unit} ${name}${unit}a
+ ln r${name}${unit} r${name}${unit}a
+ chgrp operator ${name}${unit}* r${name}${unit}*
+ ;;
+ *)
+ echo bad unit for tape in: $i
+ ;;
+ esac
+ umask 77
+ ;;
+
+od*|sd*|vn*|wd*|wfd*)
+ umask $disk_umask
+ case $i in
+ od*) name=od; blk=20; chr=70;;
+ sd*) name=sd; blk=4; chr=13;;
+ vn*) name=vn; blk=15; chr=43;;
+ wd*) name=wd; blk=0; chr=3;;
+ wfd*) name=wfd; blk=1; chr=87;;
+ esac
+ case $i in
+ wfd*)
+ unit=`expr $i : '...\(.*\)'`
+ ;;
+ *)
+ unit=`expr $i : '..\(.*\)'`
+ ;;
+ esac
+ case $unit in
+ [0-9]|[0-9][0-9]|[0-4][0-9][0-9]|50[0-9]|51[0-1])
+ for slicepartname in s0h s1 s2 s3 s4
+ do
+ sh MAKEDEV $name$unit$slicepartname
+ done
+ case $name in
+ od|sd)
+ minor=`dkminor 0 $unit 0 0`
+ mknod r${name}${unit}.ctl c $chr $(($minor | $scsictl))
+ chmod 600 r${name}${unit}.ctl
+ ;;
+ esac
+ ;;
+ *)
+ echo bad unit for disk in: $i
+ ;;
+ esac
+ umask 77
+ ;;
+
+ccd*)
+ umask $disk_umask
+ name=ccd
+ blk=21; chr=74
+ unit=`expr $i : '...\(.*\)'`
+ case $unit in
+ [0-9]|[0-9][0-9]|[0-4][0-9][0-9]|50[0-9]|51[0-1])
+ for part in 0 1 2 3 4 5 6 7
+ do
+ minor=`dkminor 0 $unit 0 $part`
+ partname=`dkitop $part`
+ mknod $name$unit$partname b $blk $minor
+ mknod r$name$unit$partname c $chr $minor
+ done
+ chgrp operator ${name}${unit}[a-h] r${name}${unit}[a-h]
+ ;;
+ *)
+ echo bad unit for disk in: $i
+ ;;
+ esac
+ umask 77
+ ;;
+
+ssc*)
+ mknod ssc c 49 0
+ ;;
+
+uk*)
+ unit=`expr $i : 'uk\(.*\)'`
+ mknod uk$unit c 31 $unit
+ ;;
+
+worm*)
+ umask $disk_umask
+ unit=`expr $i : 'worm\(.*\)'`
+ if [ "X${unit}" = "X" ]; then
+ unit=0
+ fi
+ chr=62
+ blk=23
+ name=worm
+ mknod ${name}${unit} b $blk ${unit}
+ mknod r${name}${unit} c $chr ${unit}
+ chgrp operator ${name}${unit} r${name}${unit}
+ umask 077
+ mknod r${name}${unit}.ctl c $chr `expr $unit + $scsictl `
+ ;;
+
+# SCSI processor type driver
+pt[0-9]*)
+ chr=61
+ name=pt
+ unit=`expr $i : 'pt\([0-9][0-9]*\)'`
+ if [ "X${unit}" = "X" ]; then
+ unit=0
+ fi
+ unit=`expr $unit + 1 - 1`
+ mknod ${name}${unit} c $chr $unit
+ mknod ${name}${unit}.ctl c $chr `expr $unit + $scsictl `
+ ;;
+
+pty*)
+ class=`expr $i : 'pty\(.*\)'`
+ case $class in
+ 0) offset=0 name=p;;
+ 1) offset=32 name=q;;
+ 2) offset=64 name=r;;
+ 3) offset=96 name=s;;
+# Note that xterm (at least) only look at p-s.
+ 4) offset=128 name=P;;
+ 5) offset=160 name=Q;;
+ 6) offset=192 name=R;;
+ 7) offset=224 name=S;;
+ # This still leaves [tuTU].
+ *) echo bad unit for pty in: $i;;
+ esac
+ case $class in
+ 0|1|2|3|4|5|6|7)
+ umask 0
+ eval `echo $offset $name | awk ' { b=$1; n=$2 } END { \
+ for (i = 0; i < 32; i++) {
+ c = substr("0123456789abcdefghijklmnopqrstuv", i + 1, 1); \
+ printf("mknod tty%s%s c 5 %d; \
+ mknod pty%s%s c 6 %d;", \
+ n, c, b+i, \
+ n, c, b+i); \
+ } \
+ }'`
+ umask 77
+ ;;
+ esac
+ ;;
+
+st*)
+ umask $tape_umask
+ unit=`expr $i : '..\(.*\)'`
+ chr=14
+
+ case $unit in
+ 0|1|2|3|4|5|6)
+ for mode in 0 1 2 3
+ do
+ mknod rst${unit}.${mode} c $chr `expr $unit '*' 16 + $mode '*' 4 + 0`
+ mknod nrst${unit}.${mode} c $chr `expr $unit '*' 16 + $mode '*' 4 + 1`
+ mknod erst${unit}.${mode} c $chr `expr $unit '*' 16 + $mode '*' 4 + 2`
+ mknod st${unit}ctl.${mode} c $chr `expr $unit '*' 16 + $mode '*' 4 + 3`
+ chgrp operator rst${unit}.${mode}\
+ nrst${unit}.${mode} \
+ erst${unit}.${mode} \
+ st${unit}ctl.${mode}
+ chmod 600 st${unit}ctl.${mode}
+ done
+ mknod rst${unit}.ctl c $chr `expr $unit '*' 16 + $scsictl `
+ chmod 600 rst${unit}.ctl
+
+ ln rst${unit}.0 rst${unit}
+ ln nrst${unit}.0 nrst${unit}
+ ln erst${unit}.0 erst${unit}
+ ;;
+ *)
+ echo bad unit for tape in: $i
+ ;;
+ esac
+ umask 77
+ ;;
+
+ch*)
+ umask 37
+ unit=`expr $i : '..\(.*\)'`
+ case $i in
+ ch*) name=ch; chr=17;;
+ esac
+ case $unit in
+ 0|1|2|3|4|5|6)
+ mknod ${name}${unit} c $chr `expr $unit '*' 16 + 0`
+ chgrp operator ${name}${unit}
+ mknod r${name}${unit}.ctl c $chr `expr $unit '*' 16 + $scsictl `
+ chmod 600 r${name}${unit}.ctl
+ ;;
+ *)
+ echo bad unit for media changer in: $i
+ ;;
+ esac
+ umask 77
+ ;;
+
+cd*|mcd*|scd*)
+ umask $disk_umask
+ case $i in
+ cd*) unit=`expr $i : '..\(.*\)'`; name=cd; blk=6; chr=15;;
+ mcd*) unit=`expr $i : '...\(.*\)'`; name=mcd; blk=7; chr=29;;
+ scd*) unit=`expr $i : '...\(.*\)'`; name=scd; blk=16; chr=45;;
+ esac
+ case $unit in
+ 0|1|2|3|4|5|6)
+ mknod ${name}${unit}a b $blk `expr $unit '*' 8 + 0`
+ mknod ${name}${unit}c b $blk `expr $unit '*' 8 + 2`
+ mknod r${name}${unit}a c $chr `expr $unit '*' 8 + 0`
+ mknod r${name}${unit}c c $chr `expr $unit '*' 8 + 2`
+ chgrp operator ${name}${unit}[a-h] r${name}${unit}[a-h]
+ case $name in
+ cd)
+ mknod r${name}${unit}.ctl c $chr `expr $unit '*' 8 + $scsictl `
+ chmod 600 r${name}${unit}.ctl
+ ;;
+ esac
+ ;;
+ *)
+ echo bad unit for disk in: $i
+ ;;
+ esac
+ umask 77
+ ;;
+
+matcd*)
+ umask 2
+ case $i in
+ matcd*) unit=`expr $i : '.....\(.*\)'`; name=matcd; blk=17; chr=46;;
+ esac
+ case $unit in
+ 0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15)
+ mknod ${name}${unit}a b $blk `expr $unit '*' 8 + 0`
+ mknod ${name}${unit}c b $blk `expr $unit '*' 8 + 2`
+ mknod r${name}${unit}a c $chr `expr $unit '*' 8 + 0`
+ mknod r${name}${unit}c c $chr `expr $unit '*' 8 + 2`
+ chgrp operator ${name}${unit}[a-h] r${name}${unit}[a-h]
+ chmod 640 ${name}${unit}[a-h] r${name}${unit}[a-h]
+
+ mknod ${name}${unit}la b $blk `expr $unit '*' 8 + 128`
+ mknod ${name}${unit}lc b $blk `expr $unit '*' 8 + 130`
+ mknod r${name}${unit}la c $chr `expr $unit '*' 8 + 128`
+ mknod r${name}${unit}lc c $chr `expr $unit '*' 8 + 130`
+ chgrp operator ${name}${unit}l[a-h] r${name}${unit}l[a-h]
+ chmod 640 ${name}${unit}l[a-h] r${name}${unit}l[a-h]
+ ;;
+ *)
+ echo bad unit for disk in: $i
+ ;;
+ esac
+ umask 77
+ ;;
+
+wcd*)
+ umask 2 ;
+ unit=`expr $i : '...\(.*\)'`
+ blk=19
+ chr=69
+ case $unit in
+ 0|1|2|3)
+ mknod wcd${unit}a b $blk `expr $unit '*' 8 + 0`
+ mknod rwcd${unit}a c $chr `expr $unit '*' 8 + 0`
+ mknod wcd${unit}c b $blk `expr $unit '*' 8 + 2`
+ mknod rwcd${unit}c c $chr `expr $unit '*' 8 + 2`
+ chgrp operator wcd${unit}[a-h] rwcd${unit}[a-h]
+ chmod 640 wcd${unit}[a-h] rwcd${unit}[a-h]
+ ;;
+ *)
+ echo bad unit for disk in: $i
+ ;;
+ esac
+ umask 77
+ ;;
+
+lpt*)
+ unit=`expr $i : 'lpt\(.*\)'`
+ mknod lpt$unit c 16 $unit
+ mknod lpctl$unit c 16 `expr $unit + 128`
+ ;;
+
+tw*)
+ unit=`expr $i : 'tw\(.*\)'`
+ mknod tw$unit c 19 $unit
+ chgrp operator tw$unit
+ ;;
+
+# Use this to create virtual consoles for syscons, pcvt or codrv
+# ttyv0-b
+# use as MAKEDEV vtyNN to create NN entries
+vty*)
+ chr=12
+ units=`expr $i : 'vty\(.*\)'`
+ eval `echo ${chr} ${units} | awk ' { c=$1; n=$2 } END {
+ for (i = 0; i < n; i++)
+ printf("mknod ttyv%01x c %d %d;", i, c, i); }'`
+ ln -fs ttyv0 vga # XXX X still needs this pccons relic
+ ;;
+
+bpf*)
+ unit=`expr $i : 'bpf\(.*\)'`
+ mknod bpf$unit c 23 $unit
+ ;;
+
+speaker)
+ mknod speaker c 26 0
+ ;;
+
+cuaa?|cua?)
+ umask 7
+ unit=`expr $i : 'cua.*\(.\)$'`
+ m=`ttyminor $unit`
+ mknod cuaa$unit c 28 `expr $m + 128`
+ mknod cuaia$unit c 28 `expr $m + 32 + 128`
+ mknod cuala$unit c 28 `expr $m + 64 + 128`
+ chown uucp.dialer cua*a$unit
+ umask 77
+ ;;
+
+tty0?|ttyd?|tty?)
+ unit=`expr $i : 'tty.*\(.\)$'`
+ m=`ttyminor $unit`
+ mknod ttyd$unit c 28 $m
+ mknod ttyid$unit c 28 `expr $m + 32`
+ mknod ttyld$unit c 28 `expr $m + 64`
+ ;;
+
+cuac?)
+ umask 7
+ portlist="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"
+ major=48
+ card=`expr $i : 'cua.*\(.\)$'`
+ for unit in $portlist
+ do
+ minor=`ttyminor $unit`
+ minor=`expr $card \* 65536 + $minor`
+ name=$card$unit
+ mknod cuac$name c $major `expr $minor + 128`
+ mknod cuaic$name c $major `expr $minor + 32 + 128`
+ mknod cualc$name c $major `expr $minor + 64 + 128`
+ chown uucp.dialer cuac$name cuaic$name cualc$name
+ done
+ umask 77
+ ;;
+
+ttyc?)
+ portlist="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"
+ major=48
+ card=`expr $i : 'tty.*\(.\)$'`
+ for unit in $portlist
+ do
+ minor=`ttyminor $unit`
+ minor=`expr $card \* 65536 + $minor`
+ name=$card$unit
+ mknod ttyc$name c $major $minor
+ mknod ttyic$name c $major `expr $minor + 32`
+ mknod ttylc$name c $major `expr $minor + 64`
+ done
+ ;;
+
+# RISCom8 'rc' driver entries
+
+cuam?)
+ umask 7
+ unit=`expr $i : 'cua.*\(.\)$'`
+ m=`ttyminor $unit`
+ mknod cuam$unit c 63 `expr $m + 128`
+ chown uucp.dialer cuam$unit
+ umask 77
+ ;;
+
+ttym?)
+ unit=`expr $i : 'tty.*\(.\)$'`
+ m=`ttyminor $unit`
+ mknod ttym$unit c 63 $m
+ ;;
+
+# Specialix SI/XIO.
+# Note: these are 'base 1' to match the numbers on the panels, and to match
+# the manual that comes with the system.
+ttyA*)
+ major=68
+ nports=`expr $i : 'ttyA\(.*\)$'`
+ port=1
+ while [ $port -le $nports ]; do
+ minor=`expr $port - 1`
+ name=`expr $port + 1000 | cut -c 3-4`
+ mknod ttyA$name c $major $minor
+ mknod ttyiA$name c $major `expr $minor + 65536`
+ mknod ttylA$name c $major `expr $minor + 131072`
+ port=`expr $port + 1`
+ done
+ # For the user-mode control program, 'sicontrol'
+ mknod si_control c 68 262144
+ ;;
+
+cuaA*)
+ umask 7
+ major=68
+ nports=`expr $i : 'cuaA\(.*\)$'`
+ port=1
+ while [ $port -le $nports ]; do
+ minor=`expr $port - 1`
+ name=`expr $port + 1000 | cut -c 3-4`
+ mknod cuaA$name c $major `expr $minor + 128`
+ mknod cuaiA$name c $major `expr $minor + 128 + 65536`
+ mknod cualA$name c $major `expr $minor + 128 + 131072`
+ chown uucp.dialer cuaA$name cuaiA$name cualA$name
+ port=`expr $port + 1`
+ done
+ umask 77
+ ;;
+
+# Digiboard PC/?? 16 port card.
+# The current scheme of minor numbering is:
+#
+# unused{14} CARD{2} major{8} CALLOUT{1} LOCK{1} INIT{1} PORT{5}
+#
+# CARD bitfield in future versions may be extended to 3 bits.
+#
+# See dgb(4)
+#
+ttyD?)
+ portlist="0 1 2 3 4 5 6 7 8 9 a b c d e f"
+ major=58
+ card=`expr $i : 'tty.*\(.\)$'`
+ for unit in $portlist
+ do
+ minor=`ttyminor $unit`
+ minor=`expr $card \* 65536 + $minor`
+ name=$card$unit
+ mknod ttyD$name c $major $minor
+ mknod ttyiD$name c $major `expr $minor + 32`
+ mknod ttylD$name c $major `expr $minor + 64`
+ done
+ ;;
+
+cuaD?)
+ umask 7
+ portlist="0 1 2 3 4 5 6 7 8 9 a b c d e f"
+ major=58
+ card=`expr $i : 'cua.*\(.\)$'`
+ for unit in $portlist
+ do
+ minor=`ttyminor $unit`
+ minor=`expr $card \* 65536 + $minor`
+ name=$card$unit
+ mknod cuaD$name c $major `expr $minor + 128`
+ mknod cuaiD$name c $major `expr $minor + 32 + 128`
+ mknod cualD$name c $major `expr $minor + 64 + 128`
+ chown uucp.dialer cua*D$name
+ done
+ umask 77
+ ;;
+
+ttyR?)
+ major=81
+ BOARD=1; MINOR=65536; Rnum=0
+ MINOR=`expr $BOARD \* 65536`
+ dmesg | grep ^RocketPort[0-4] > /tmp/rp_list
+ controllers=`awk '{print $1}' < /tmp/rp_list`
+ rm -f /dev/ttyR*; rm -f /dev/ttyiR*; rm -f /dev/ttylR*
+ for i in $controllers;do
+ ndevices=`grep ^$i /tmp/rp_list | sed -e 's/.* \([0-9]*\) ports/\1/'`
+ echo -n "Creating $ndevices devices for $i: "
+ for dev in `jot $ndevices 0`;do
+ mknod /dev/ttyR$Rnum c $major $MINOR
+ mknod /dev/ttylR$Rnum c $major `expr $MINOR + 32`
+ mknod /dev/ttyiR$Rnum c $major `expr $MINOR + 64`
+ Rnum=`expr $Rnum + 1`
+ MINOR=`expr $MINOR + 1`
+ done
+ BOARD=`expr $BOARD + 1`
+ MINOR=`expr $BOARD \* 65536`
+ echo " "
+ done
+ ;;
+
+cuaR?)
+ major=81
+ BOARD=1; MINOR=65536; Rnum=0
+ MINOR=`expr $BOARD \* 65536`
+ dmesg | grep ^RocketPort[0-4] > /tmp/rp_list
+ controllers=`awk '{print $1}' < /tmp/rp_list`
+ rm -f /dev/cuaR*; rm -f /dev/cuaiR*; rm -f /dev/cualR*
+ for i in $controllers;do
+ ndevices=`grep ^$i /tmp/rp_list | sed -e 's/.* \([0-9]*\) ports/\1/'`
+ echo -n "Creating $ndevices devices for $i: "
+ for dev in `jot $ndevices 0`;do
+ mknod /dev/cuaR$Rnum c $major `expr $MINOR + 128`
+ mknod /dev/cualR$Rnum c $major `expr $MINOR + 128 + 32`
+ mknod /dev/cuaiR$Rnum c $major `expr $MINOR + 128 + 64`
+ Rnum=`expr $Rnum + 1`
+ MINOR=`expr $MINOR + 1`
+ done
+ BOARD=`expr $BOARD + 1`
+ MINOR=`expr $BOARD \* 65536`
+ echo " "
+ done
+ chown uucp.dialer /dev/cuaR*
+ ;;
+
+mse*)
+ unit=`expr $i : 'mse\(.*\)'`
+ chr=27
+ mknod mse$unit c $chr `expr $unit '*' 2 + 1` # non-blocking for X11
+ ;;
+
+psm*)
+ unit=`expr $i : 'psm\(.*\)'`
+ chr=21
+ mknod psm$unit c $chr `expr $unit '*' 2 + 1` # non-blocking for X11
+ ;;
+
+mouse*)
+ name=`expr $i : 'mouse\(.*\)'`
+ if [ ! -c $name ]; then
+ $0 $name # make the appropriate device
+ fi
+ ln -fs $name mouse
+ ;;
+
+pcaudio)
+ mknod pcaudio c 24 0
+ mknod pcaudioctl c 24 128
+ ;;
+
+socksys)
+ mknod socksys c 41 0
+ mknod spx c 41 1
+ ln -fs socksys nfsd
+ chmod 666 socksys nfsd spx
+ ;;
+
+snd*)
+#
+# changes from Linux voxware
+# minor Linux FreeBSD
+# 8 sequencer2 (aka music0) music0
+# 17 patmgr0 sequencer1
+# 33 patmgr1 sequencer2
+#
+
+ unit=`expr $i : 'snd\(.*\)'`
+ chr=30
+
+ # XXX write this less verbosely, like std
+ snd_security_hole=0 # XXX
+ umask $snd_security_hole
+
+ if [ $unit = "0" ] ; then
+ ln -fs mixer$unit mixer
+ ln -fs sequencer$unit sequencer
+ ln -fs dsp$unit dsp
+ ln -fs audio$unit audio
+ ln -fs dspW$unit dspW
+ ln -fs music$unit music
+ ln -fs pss$unit pss
+ fi
+
+ mknod mixer$unit c $chr `expr $unit '*' 16 + 0`
+ mknod sequencer$unit c $chr `expr $unit '*' 16 + 1`
+ mknod midi$unit c $chr `expr $unit '*' 16 + 2`
+ mknod dsp$unit c $chr `expr $unit '*' 16 + 3`
+ mknod audio$unit c $chr `expr $unit '*' 16 + 4`
+ mknod dspW$unit c $chr `expr $unit '*' 16 + 5`
+ mknod sndstat c $chr 6
+ # minor number 7 is unused
+ mknod music$unit c $chr `expr $unit '*' 16 + 8`
+ mknod pss$unit c $chr `expr $unit '*' 16 + 9`
+ # minor numbers 10-15 are unused
+ umask 77
+ ;;
+
+vat)
+ mknod vatio c 25 128
+ chmod 660 vatio
+ ;;
+
+gsc*)
+ unit=`expr $i : 'gsc\(.*\)'`
+ mknod gsc${unit} c 47 $unit
+ mknod gsc${unit}p c 47 $(($unit + 8))
+ mknod gsc${unit}d c 47 $(($unit + 32))
+ mknod gsc${unit}pd c 47 $(($unit + 40))
+ chmod 666 gsc${unit}*
+ ;;
+
+apm*)
+ chr=39
+ mknod apm c $chr 0
+ chgrp operator apm
+ chmod 660 apm
+ ;;
+
+card*)
+ unit=`expr $i : 'card\(.*\)'`
+ chr=50
+ mknod card$unit c $chr $unit
+ chmod 644 card$unit
+ ;;
+
+ttyx?|ttyy?|ttyz?)
+ case $i in
+ *0) unit=0;; *1) unit=1;; *2) unit=2;; *3) unit=3;;
+ *4) unit=4;; *5) unit=5;; *6) unit=6;; *7) unit=7;;
+ *8) unit=8;; *9) unit=9;; *a) unit=10;; *b) unit=11;;
+ *c) unit=12;; *d) unit=13;; *e) unit=14;; *f) unit=15;;
+ esac
+ case $i in
+ ttyy?) unit=`expr $unit \+ 16`;;
+ ttyz?) unit=`expr $unit \+ 32`;;
+ esac
+ mknod $i c 42 $unit
+ chown uucp.wheel $i
+ ;;
+
+cronyx)
+ mknod cronyx c 42 63
+ ;;
+
+joy)
+ mknod joy0 c 51 0
+ mknod joy1 c 51 1
+ chgrp operator joy0 joy1
+ chmod 640 joy0 joy1
+ ;;
+
+spigot)
+ mknod spigot c 11 0
+ chmod 444 spigot
+ ;;
+
+ctx?)
+ unit=`expr $i : 'ctx\(.*\)'`
+ mknod ctx$unit c 40 $unit
+ chmod 444 ctx$unit
+ ;;
+
+meteor?)
+ unit=`expr $i : 'meteor\(.*\)'`
+ mknod meteor$unit c 67 $unit
+ chmod 444 meteor$unit
+ ;;
+
+bktr?)
+ unit=`expr $i : 'bktr\(.*\)'`
+ mknod bktr$unit c 92 $unit
+ mknod tuner$unit c 92 $((16 + $unit ))
+ chmod 444 bktr$unit tuner$unit
+ ;;
+
+tun*)
+ ntun=`expr $i : 'tun\(.*\)$'`
+ unit=0
+ while [ $unit -le $ntun ]; do
+ mknod tun$unit c 52 $unit
+ chown uucp.dialer tun$unit
+ unit=`expr $unit + 1`
+ done
+ ;;
+
+sysmouse)
+ mknod sysmouse c 12 128
+ mknod consolectl c 12 255
+ ;;
+
+snp?)
+ unit=`expr $i : 'snp\(.*\)'`
+ mknod snp$unit c 53 $unit
+ ;;
+
+# dufault@hda.com: If I do much more work on other A-D boards
+# then eventually we'll have a "ad" and "dio" interface and some of these
+# "labpcaio" ones will be gone.
+# labpcaio: D-A and A-D.
+# labpcdio: Digital in and Digital out.
+#
+labpc*)
+ umask 7
+ case $i in
+ labpcaio*)
+ name=labpcaio
+ unit=`expr $i : 'labpcaio\(.*\)'`
+ all="0 1 2 3 4 5 6 7"
+ offset=0
+ ;;
+ labpcdio*)
+ name=labpcdio
+ unit=`expr $i : 'labpcdio\(.*\)'`
+ all="0 1 2 3"
+ offset=8
+ ;;
+ *)
+ die 3 "Don't know LabPC type $i"
+ ;;
+ esac
+ if [ "X${unit}" = "X" ]; then
+ unit=all
+ fi
+ case $unit in
+ 0|1|2|3|4|5|6|7)
+ mknod $name$unit c 66 `expr $offset + $unit `
+ ;;
+ all)
+ for i in $all
+ do
+ mknod $name$i c 66 `expr $offset + $i `
+ done
+ ;;
+ *)
+ echo "No such LabPC unit: $unit"
+ ;;
+ esac
+ umask 77
+ ;;
+
+perfmon)
+ mknod perfmon c 2 32
+ chgrp kmem perfmon
+ chmod 640 perfmon
+ ;;
+
+ipl)
+ mknod ipl c 79 0
+ mknod ipnat c 79 1
+ mknod ipstate c 79 2
+ mknod ipauth c 79 3
+ ;;
+
+local)
+ umask 0 # XXX should be elsewhere
+ sh MAKEDEV.local
+ umask 77
+ ;;
+
+*)
+ echo $i - no such device name
+ ;;
+
+esac
+done
diff --git a/release/picobsd/dial/mfs.tree/Makefile b/release/picobsd/dial/mfs.tree/Makefile
new file mode 100644
index 0000000..e2b9b80
--- /dev/null
+++ b/release/picobsd/dial/mfs.tree/Makefile
@@ -0,0 +1,69 @@
+#
+# $Id: Makefile,v 1.3 1998/08/10 19:08:02 abial Exp $
+#
+
+DESTDIR?=/mnt
+
+STAND_LINKS= bin sbin
+USR_LINKS= bin sbin libexec
+PL_LOCALE_LINKS= pl polish
+US_LOCALE_LINKS= en english
+
+.if ${LANGUAGE} == pl
+LOCALE= pl_PL.ISO_8859-2
+LOCALE_LINKS=${PL_LOCALE_LINKS}
+FONT=iso02-8x16.fnt
+KBD=pl_PL.ISO_8859-2.kbd
+.else
+LOCALE= en_US.ISO_8859-1
+LOCALE_LINKS=${US_LOCALE_LINKS}
+.endif
+
+all: tree links
+
+tree:
+ mtree -deU -f mfs.mtree -p ${DESTDIR}
+
+links: tree
+ (cd ${DESTDIR}; \
+ for i in ${STAND_LINKS}; \
+ do \
+ ln -s /stand $${i}; \
+ done; \
+ cd var/run; \
+ ln -s /dev/null log; \
+ cd ../../usr; \
+ for i in ${USR_LINKS}; \
+ do \
+ ln -s /stand $${i}; \
+ done; \
+ cd share/misc;\
+ ln -s /etc/termcap termcap; \
+ echo emacs >/usr/share/misc/init.ee; \
+ cd ../; \
+ cd locale; \
+ for i in ${LOCALE_LINKS}; \
+ do \
+ ln -s ${LOCALE} $${i}; \
+ done; \
+ cp /usr/share/locale/${LOCALE}/* ${LOCALE}/; \
+ if [ "X${FONT}" != "X" ]; \
+ then \
+ cp /usr/share/syscons/fonts/${FONT} ../syscons/; \
+ cp /usr/share/syscons/keymaps/${KBD} ../syscons/; \
+ fi; \
+ cd ../nls; \
+ for i in ${LOCALE_LINKS}; \
+ do \
+ ln -s ${LOCALE} $${i}; \
+ done;)
+
+
+# We don't do it under 'all' because it's needed only on non-DEVFS systems
+devnodes: tree
+ (cp MAKEDEV ${DESTDIR}/dev/; \
+ cd ${DESTDIR}/dev; \
+ ./MAKEDEV std tun2 vty10 fd0 wd0 wd0s1h pty0; \
+ rm MAKEDEV;)
+
+clean:
diff --git a/release/picobsd/dial/mfs.tree/login.conf b/release/picobsd/dial/mfs.tree/login.conf
new file mode 100644
index 0000000..ddfb8cc
--- /dev/null
+++ b/release/picobsd/dial/mfs.tree/login.conf
@@ -0,0 +1,62 @@
+# $Id: login.conf,v 1.1 1998/08/10 19:08:02 abial Exp $
+
+# Authentication methods
+
+auth-defaults:\
+ :auth=krb_skey_or_passwd,passwd,kerberos,skey:
+
+auth-root-defaults:\
+ :auth-login=krb_skey_or_passwd,passwd,kerberos,skey:\
+ :auth-rlogin=krb_or_skey,kerberos,skey:
+auth-ftp-defaults:\
+ :auth=skey_or_pwd,passwd,skey:
+# Example defaults
+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:
+
+# 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:
diff --git a/release/picobsd/dial/mfs.tree/mfs.mtree b/release/picobsd/dial/mfs.tree/mfs.mtree
new file mode 100644
index 0000000..e29df1d
--- /dev/null
+++ b/release/picobsd/dial/mfs.tree/mfs.mtree
@@ -0,0 +1,58 @@
+#
+# $Id: mfs.mtree,v 1.1.1.1 1998/07/14 07:30:42 abial Exp $
+#
+/set type=dir uname=root gname=wheel mode=0755
+.
+ dev
+ ..
+ dos
+ ..
+ etc
+ ..
+ help
+ ..
+ mnt
+ ..
+ mnt1
+ ..
+ mnt2
+ ..
+ proc
+ ..
+ stand
+ ..
+ start_floppy
+ ..
+ tmp
+ ..
+ usr
+ share
+ locale
+ pl_PL.ISO_8859-2
+ ..
+ en_US.ISO_8859-1
+ ..
+ ..
+ misc
+ ..
+ nls
+ pl_PL.ISO_8859-2
+ ..
+ en_US.ISO_8859-1
+ ..
+ ..
+ syscons
+ ..
+ ..
+ ..
+ var
+ db
+ ..
+ run
+ ..
+ spool
+ lock
+ ..
+ ..
+ ..
+..
OpenPOWER on IntegriCloud