diff options
26 files changed, 0 insertions, 1536 deletions
diff --git a/release/picobsd/dial/PICOBSD b/release/picobsd/dial/PICOBSD deleted file mode 100644 index 6a81815c1e18..000000000000 --- a/release/picobsd/dial/PICOBSD +++ /dev/null @@ -1,58 +0,0 @@ -# -# $FreeBSD$ -#Line starting with #PicoBSD contains PicoBSD build parameters -#marker def_sz init MFS_inodes floppy_inodes -#PicoBSD 2200 init 4096 32768 -options MD_ROOT_SIZE=2200 # same as def_sz - -hints "PICOBSD.hints" -# -machine i386 -cpu 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 MD_ROOT #Use MFS for root -options MSDOSFS #MSDOS Filesystem -options CD9660 #ISO 9660 Filesystem -options EXT2FS -options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] -#options DEVFS -options NO_SWAPPING -options COMPAT_OLDISA #Use ISA shims and glue for old drivers - -device isa -device pci - -device fdc -device ata -device atadisk -device atapicd -options ATA_STATIC_ID #Static device numbering - -# atkbdc0 controls both the keyboard and the PS/2 mouse -device atkbdc 1 -device atkbd -device psm - -device vga - -# syscons is the default console driver, resembling an SCO console -device sc 1 - -# Floating point support - do not disable. -device npx - -# Serial (COM) ports -device sio - -device random # Entropy device -device loop # Network loopback -device ether # Ethernet support -device tun # Packet tunnel. -device pty # Pseudo-ttys (telnet etc) -device md # Memory "disks" diff --git a/release/picobsd/dial/PICOBSD.hints b/release/picobsd/dial/PICOBSD.hints deleted file mode 100644 index 1c6c3b29aeb9..000000000000 --- a/release/picobsd/dial/PICOBSD.hints +++ /dev/null @@ -1,33 +0,0 @@ -# $FreeBSD$ -hint.fdc.0.at="isa" -hint.fdc.0.port="0x3F0" -hint.fdc.0.irq="6" -hint.fdc.0.drq="2" -hint.fd.0.at="fdc0" -hint.fd.0.drive="0" -hint.fd.1.at="fdc0" -hint.fd.1.drive="1" -hint.ata.0.at="isa" -hint.ata.0.port="0x1F0" -hint.ata.0.irq="14" -hint.ata.1.at="isa" -hint.ata.1.port="0x170" -hint.ata.1.irq="15" -hint.atkbdc.0.at="isa" -hint.atkbdc.0.port="0x060" -hint.atkbd.0.at="atkbdc" -hint.atkbd.0.irq="1" -hint.psm.0.at="atkbdc" -hint.psm.0.irq="12" -hint.vga.0.at="isa" -hint.sc.0.at="isa" -hint.npx.0.at="nexus" -hint.npx.0.port="0x0F0" -hint.npx.0.irq="13" -hint.sio.0.at="isa" -hint.sio.0.port="0x3F8" -hint.sio.0.flags="0x10" -hint.sio.0.irq="4" -hint.sio.1.at="isa" -hint.sio.1.port="0x2F8" -hint.sio.1.irq="3" diff --git a/release/picobsd/dial/config b/release/picobsd/dial/config deleted file mode 100644 index 73721ac745f7..000000000000 --- a/release/picobsd/dial/config +++ /dev/null @@ -1,5 +0,0 @@ -# $FreeBSD$ -STAND_LINKS="bin sbin usr/bin usr/sbin usr/libexec" -o_no_devfs="" # we have devfs -#fd_size=2880 -#import_files="/usr/libexec/ld-elf.so.1 /usr/lib/libc.so.4 /usr/lib/libm.so.2" diff --git a/release/picobsd/dial/crunch.conf b/release/picobsd/dial/crunch.conf deleted file mode 100644 index c02864d00e1d..000000000000 --- a/release/picobsd/dial/crunch.conf +++ /dev/null @@ -1,68 +0,0 @@ -# $FreeBSD$ -# -# NOTE: This configuration is not very up to date. You may want -# to check the "bridge" configuration instead. - -# Default build options -buildopts -DNOPAM -DRELEASE_CRUNCH -DNOSECURE -DNOCRYPT -DNONETGRAPH -DNOIPSEC - -# The string "/usr/src" will be automatically replaced with the -# correct value set in 'build' script. - -# directories where to look for sources of various binaries. -# @__CWD__@ is a magic keyword in the picobsd's (Makefile.conf) -# which is replaced with the picobsd directory. -srcdirs @__CWD__@/src - -# Some programs are especially written for PicoBSD and reside here -# Make this first in the list so we can override standard programs -# with the picobsd-specific ones. -srcdirs /usr/src/release/picobsd/tinyware - -# -# standard locations -# -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 -progs ee -progs gzip -#progs ftp # 38KB -progs telnet -#ln minigzip gzip -ln gzip gunzip -ln gzip zcat -ln gzip gzcat -#progs less # 36KB -#ln less more -#progs ssh - -progs sh test echo pwd msg stty -progs hostname cat kill sps vm ns -progs chmod chown help getty -progs cp df fsck ping mv ln traceroute -progs ifconfig kbdcontrol moused -progs ls mkdir mount mount_msdosfs mount_cd9660 mount_ext2fs -progs rm route sysctl umount reboot -progs vidcontrol -ln sh -sh -ln test [ -ln sps ps -ln msg dmesg -ln ns netstat -ln mount_msdosfs msdos -ln mount_cd9660 cd9660 -ln mount_ext2fs ext2fs -ln chown chgrp - -libs -ll -ledit -lutil -lmd -lcrypt -lftpio -lgnuregex -lmp -lm -# you need to install libgmp-freebsd from ports/math -libs /usr/local/lib/libgmp.a -libs -lncurses -lmytinfo -lipx -lz -libs -ltermcap -lalias diff --git a/release/picobsd/dial/floppy.tree.exclude b/release/picobsd/dial/floppy.tree.exclude deleted file mode 100644 index f64a9912e1ce..000000000000 --- a/release/picobsd/dial/floppy.tree.exclude +++ /dev/null @@ -1,15 +0,0 @@ -etc/disktab -etc/inetd.conf -etc/master.passwd -etc/mfs.rc -etc/ppp.conf -etc/ppp.conf -etc/ppp.linkup -etc/rc -etc/rc.conf -etc/rc.firewall -etc/rc.serial -etc/remote -etc/shells -etc/snmpd.conf -etc/ttys diff --git a/release/picobsd/dial/floppy.tree/etc/master.passwd b/release/picobsd/dial/floppy.tree/etc/master.passwd deleted file mode 100644 index f58c3ffe768a..000000000000 --- a/release/picobsd/dial/floppy.tree/etc/master.passwd +++ /dev/null @@ -1,6 +0,0 @@ -root:*: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 diff --git a/release/picobsd/dial/floppy.tree/etc/mfs.rc b/release/picobsd/dial/floppy.tree/etc/mfs.rc deleted file mode 100644 index efeb6869f8b3..000000000000 --- a/release/picobsd/dial/floppy.tree/etc/mfs.rc +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/sh -# $FreeBSD$ -### 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 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 "" - -gzip -d -f *.gz -. rc - -exit 0 diff --git a/release/picobsd/dial/floppy.tree/etc/ppp/ppp.conf b/release/picobsd/dial/floppy.tree/etc/ppp/ppp.conf deleted file mode 100644 index 440ba294bdf5..000000000000 --- a/release/picobsd/dial/floppy.tree/etc/ppp/ppp.conf +++ /dev/null @@ -1,9 +0,0 @@ -# $FreeBSD$ -# -# 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 deleted file mode 100644 index 0473c4aec6f2..000000000000 --- a/release/picobsd/dial/floppy.tree/etc/ppp/ppp.conf.template +++ /dev/null @@ -1,10 +0,0 @@ -# -# $FreeBSD$ -# 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.linkup b/release/picobsd/dial/floppy.tree/etc/ppp/ppp.linkup deleted file mode 100644 index 8a9d900cf382..000000000000 --- a/release/picobsd/dial/floppy.tree/etc/ppp/ppp.linkup +++ /dev/null @@ -1,6 +0,0 @@ -# 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/rc b/release/picobsd/dial/floppy.tree/etc/rc deleted file mode 100644 index 710adc9f7189..000000000000 --- a/release/picobsd/dial/floppy.tree/etc/rc +++ /dev/null @@ -1,102 +0,0 @@ -#!/bin/sh -# $FreeBSD$ -############################################ -### Special setup for one floppy PICOBSD ### -### THIS IS NOT THE NORMAL /etc/rc !!!!! ### -############################################ -mount -a -t nonfs -if [ -f /etc/rc.conf ]; then - . /etc/rc.conf -fi -# 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 @VER@ (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@freebsd.org |' -echo '| |' -echo '+----------------------------------------------+' diff --git a/release/picobsd/dial/floppy.tree/etc/rc.conf b/release/picobsd/dial/floppy.tree/etc/rc.conf deleted file mode 100644 index 0c7684df82c2..000000000000 --- a/release/picobsd/dial/floppy.tree/etc/rc.conf +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/sh -# $FreeBSD$ -### 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/floppy.tree/etc/ttys b/release/picobsd/dial/floppy.tree/etc/ttys deleted file mode 100644 index 2f4f449729f4..000000000000 --- a/release/picobsd/dial/floppy.tree/etc/ttys +++ /dev/null @@ -1,10 +0,0 @@ -# -# @(#)ttys 5.1 (Berkeley) 4/17/89 -# -# name getty type status comments -# -# This entry needed for asking password when init goes to single-user mode -# If you want to be asked for password, change "secure" to "insecure" here -console none unknown off secure -ttyv0 "/usr/libexec/getty Pc" cons25 on secure - diff --git a/release/picobsd/dial/lang/LICENCE.ssh b/release/picobsd/dial/lang/LICENCE.ssh deleted file mode 100644 index c4fa584542ad..000000000000 --- a/release/picobsd/dial/lang/LICENCE.ssh +++ /dev/null @@ -1,8 +0,0 @@ -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@freebsd.org> - -$FreeBSD$ diff --git a/release/picobsd/dial/lang/README.en b/release/picobsd/dial/lang/README.en deleted file mode 100644 index 018b4ecc68db..000000000000 --- a/release/picobsd/dial/lang/README.en +++ /dev/null @@ -1,106 +0,0 @@ -1999.04.22, Warsaw, Poland - - PicoBSD @VER@ (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. - -How to configure my Ethernet card? ----------------------------------- - -Hopefully your ethernet card is supported by PicoBSD kernel, and in case of -ISA cards you have already set up correctly its parameters in UserConfig -editor. You can check if PicoBSD found your card by looking into startup -messages ('dmesg | more'). - -The easiest way to do it is to edit /etc/rc.conf file ('ee /etc/rc.conf'). -Find the line which says 'network_interfaces' and add the name of your -card to the list. Then add yet another line 'ifconfig_<if_name>' which -actually sets up your IP address and netmask. E.g: - - network_interfaces="lo0 ed0" - ifconfig_lo0="inet 127.0.0.1" - ifconfig_ed0="inet 192.168.0.1 netmask 255.255.255.0" - -Then you have to set up your default gateway, which is usually the router -nearest to you (on the same LAN). E.g: - - defaultrouter="192.168.0.100" - -Then you save this information on the floppy with 'update' command, and -reboot. - -Of course, you can also issue the proper commands by hand: - - ifconfig ed0 inet 192.168.0.1 netmask 255.255.255.0 - route add default 192.168.0.100 - -Once you do this, you should be able to 'ping' some remote IP address. - -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@freebsd.org> - -$FreeBSD$ diff --git a/release/picobsd/dial/lang/README.pl b/release/picobsd/dial/lang/README.pl deleted file mode 100644 index ef5bdf1f0615..000000000000 --- a/release/picobsd/dial/lang/README.pl +++ /dev/null @@ -1,107 +0,0 @@ -1998.07.23, Warszawa - - PicoBSD @VER@ (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. - -Jak skonfigurować kartę Ethernet? ---------------------------------- - -Miejmy nadzieję, że Twoja karta jest obsługiwana przez jądro dostępne na -dyskietce, oraz że poprawnie ustawiłeś jej parametry (w przypadku kart -ISA) w edytorze UserConfig. Możesz sprawdzić, czy PicoBSD wykryło tę kartę, -patrząc na komunikaty startowe ('dmesg | more'). - -Najłatwiejszym sposobem na skonfigurowanie dostepu LAN jest ustawienie -parametrów w pliku konfiguracyjnym systemu ('ee /etc/rc.conf'). Znajdź linię, -która zaczyna się od 'network_interfaces' i dopisz nazwę sterownika karty do -listy interfejsów. Potem dodaj jeszcze jedną linię 'ifconfig_<nazwa>', -która ustawi właściwy adres IP i maskę sieci. Np.: - - network_interfaces="lo0 ed0" - ifconfig_lo0="inet 127.0.0.1" - ifconfig_ed0="inet 192.168.0.1 netmask 255.255.255.0" - -Następnie musisz ustawić swój domyślny router (jest to zazwyczaj adres IP -routera w Twojej sieci LAN). Np.: - - defaultrouter="192.168.0.100" - -Następnie zachowujesz te informacje na dyskietce startowej przy pomocy -polecenia 'update', i restartujesz system. - -Oczywiście można też zrobić to ręcznie, wydając odpowiednie polecenia: - - ifconfig ed0 inet 192.168.0.1 netmask 255.255.255.0 - route add default 192.168.0.100 - -Jeśli poprawnie wszystko ustawiłeś, powinieneś być w stanie uzyskać -odpowiedź od swojego routera ('ping 192.168.0.100') oraz od jakiejś -maszyny poza Twoją siecią. - -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@freebsd.org> - -$FreeBSD$ diff --git a/release/picobsd/dial/lang/boot.help.en b/release/picobsd/dial/lang/boot.help.en deleted file mode 100644 index 382222b61887..000000000000 --- a/release/picobsd/dial/lang/boot.help.en +++ /dev/null @@ -1,23 +0,0 @@ - -+--------------------------------------------------------------------------+ - Welcome to FreeBSD !!! - The system is coming up, please wait. -+--------------------------------------------------------------------------+ - - This is special version of FreeBSD-3.0, called PicoBSD (v.@VER@). - - 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@freebsd.org -+--------------------------------------------------------------------------+ - diff --git a/release/picobsd/dial/lang/boot.help.pl b/release/picobsd/dial/lang/boot.help.pl deleted file mode 100644 index c52eb1191496..000000000000 --- a/release/picobsd/dial/lang/boot.help.pl +++ /dev/null @@ -1,23 +0,0 @@ - -+----------------------------------------------------------------------+ - Witamy we FreeBSD !!! - Prosze czekac. Trwa uruchamianie systemu. -+----------------------------------------------------------------------+ - - To jest specjalna wersja FreeBSD-3.0, zwana PicoBSD (v.@VER@). - - 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@freebsd.org -+----------------------------------------------------------------------+ - diff --git a/release/picobsd/dial/lang/dialup.en b/release/picobsd/dial/lang/dialup.en deleted file mode 100755 index ab1491245c02..000000000000 --- a/release/picobsd/dial/lang/dialup.en +++ /dev/null @@ -1,410 +0,0 @@ -#!/bin/sh -# $FreeBSD$ -set_resolv() { - echo "[H[J" - echo "[1m Default Domain Name[m" - 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 "[H[J" - echo "[1m DNS Server Address[m" - 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 "[H[J" - echo "[1m Phone Number[m" - 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 "[H[J" - echo "[1m Port Number[m" - 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 "[H[J" - echo "[1m Port Speed[m" - 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 "[H[J" - echo "[1m Idle Timeout[m" - 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 "[H[J" - echo "[1m Login Name[m" - 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 "[H[J" - echo "[1m Password[m" - echo "" - echo "Here you enter the password that you use to log in to the" - echo "terminal server." - echo "" - echo "[31mWARNING: 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.[37m" - echo "" - stty -echo - read -p "Please enter your password: " pass - echo "" - read -p "Enter again your password: " pass1 - stty echo - echo "" - if [ "X${pass}" != "X${pass1}" ] - then - echo "Passwords didn't match! Press Enter to continue..." - read junk - pass="" - set_password - fi -done -} - -set_chat() { -echo "[H[J" -while [ "X${chat}" = "X" ] -do - echo "[1m Type of Login Dialog[m" - echo "" - echo "What type of login dialog do you expect from the terminal server?" - echo "" - echo "1) [32m......login:[37m ${user}" - echo " [32m...password:[37m ********" - echo " [36m(terminal server starts PPP here)[37m" - echo "2) [32m......login:[37m ${user}" - echo " [32m...password:[37m ********" - echo " [32m...protocol:[37m ppp" - echo " [36m(terminal server starts PPP here)[37m" - echo "3) [32m......username:[37m ${user}" - echo " [32m......password:[37m ********" - echo " [36m(terminal server starts PPP here)[37m" - echo "4) [32m......username:[37m ${user}" - echo " [32m......password:[37m ********" - echo " [32mportX/..xxx...:[37m ppp" - echo " [36m(terminal server starts PPP here)[37m" - echo "5) [32mUse CHAP to log in.[37m" - echo "6) [32mUse PAP to log in.[37m" - echo "" - read -p "Choose 1,2,3,4,5 or 6: " 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" - ;; - 5) chat1="-" - chat2="CHAP" - ;; - 6) chat1="-" - chat2="PAP" - ;; - *) echo "Bad value! Please choose 1,2,3 or 4." - echo "" - unset chat - unset chat2 - ;; - esac -done -} - -# Main entry of the script - -echo "[H[J" -echo "[1m Welcome to The Simplest PPP Configurator! :-)[m" -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 [1mEnter[m, otherwise press [1mCtrl-C[m." -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 "[H[J" -echo "[1m Ok. You assigned the following values:[m" -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 [1mEnter[m." -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 -if [ "X${chat1}" = "-" ] -then - echo " set authname ${user}" >>/etc/ppp/ppp.conf -else - echo " set login \"${chat1}\"" >>/etc/ppp/ppp.conf -fi -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 " [1mppp -background dialup[m" -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 -opts="" -while [ "X${ans}" = "Xy" ] -do - echo "[H[J" - if [ "X${opts}" = "X" ] - then - echo "We'll use the following arguments to 'ppp':" - echo "" - echo " ppp -background dialup" - echo "" - echo -n "Would you like to change them? (y/n) " - read oo - if [ "X${oo}" = "Xy" ] - then - read -p "Enter ppp arguments here: " opts - else - opts="-background dialup" - fi - echo "" - echo "" - fi - echo "Starting dialup connection. Wait until you see a 'PPP Enabled' message..." - echo "" - ppp ${opts} - 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 deleted file mode 100755 index 1ace50f921d0..000000000000 --- a/release/picobsd/dial/lang/dialup.pl +++ /dev/null @@ -1,409 +0,0 @@ -#!/bin/sh -# $FreeBSD$ -set_resolv() { - echo "[H[J" - echo "[1m Domyślna Nazwa Domeny[m" - 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 "[H[J" - echo "[1m Adres Serwera DNS[m" - 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 "[H[J" - echo "[1m Numer Telefoniczny[m" - 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 "[H[J" - echo "[1m Numer Portu Modemowego[m" - 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 "[H[J" - echo "[1m Prędkość Linii Szeregowej[m" - 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 "[H[J" - echo "[1m Czas rozłączenia[m" - 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 "[H[J" - echo "[1m Nazwa Użytkownika[m" - 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 "[H[J" - echo "[1m Hasło[m" - echo "" - echo "Podaj hasło, którego używasz do zalogowania się do providera." - echo "" - echo "[31mUWAGA: 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.[37m" - echo "" - stty -echo - read -p "Podaj swoje hasło: " pass - echo "" - read -p "Podaj powtórnie swoje hasło: " pass1 - stty echo - echo "" - if [ "X${pass}" != "X${pass1}" ] - then - echo "Hasła nie pasują do siebie. Naciśnij Enter..." - pass="" - read junk - set_pass - fi -done -} - -set_chat() { -echo "[H[J" -while [ "X${chat}" = "X" ] -do - echo "[1m Rodzaj dialogu podczas logowania się[m" - echo "" - echo "Jak normalnie przebiega proces logowania się do serwera" - echo "komunikacyjnego?" - echo "" - echo "1) [32m......login:[37m ${user}" - echo " [32m...password:[37m ********" - echo " [36m(tutaj startuje PPP)[37m" - echo "" - echo "2) [32m...username:[37m ${user} (TP S.A.)" - echo " [32m...password:[37m ********" - echo " [36m(tutaj startuje PPP)[37m" - echo "" - echo "3) [32m......username:[37m ${user} (NASK)" - echo " [32m......password:[37m ********" - echo " [32mportX/..xxx...:[37m ppp" - echo " [36m(tutaj startuje PPP)[37m" - echo "" - echo "4) [32mZastosuj CHAP[37m" - echo "" - echo "5) [32mZastosuj PAP[37m" - echo "" - read -p "Wybierz 1,2,3,4 lub 5: " 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" - ;; - 4) chat1="-" - chat2="CHAP" - ;; - 5) chat1="-" - chat2="PAP" - ;; - *) echo "Zła wartość! Musisz wybrać 1,2 lub 3." - echo "" - unset chat - unset chat2 - ;; - esac -done -} - - -# Main entry of the script - -echo "[H[J" -echo "[1m Witamy w Automatycznym Konfiguratorze PPP! :-)[m" -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 [1mEnter[m, jeśli nie - [1mCtrl-C[m." -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 "[H[J" -echo "[1m Ustawione zostały następujące parametry:[m" -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 [1mEnter[m" -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 -if [ "X${chat1}" = "-" ] -then - echo "set authname ${user}" >>/etc/ppp/ppp.conf -else - echo " set login \"${chat1}\"" >>/etc/ppp/ppp.conf -fi -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 " [1mppp -background dialup[m" -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 -opts="" -while [ "X${ans}" = "Xt" ] -do - echo "[H[J" - if [ "X${opts}" = "X" ] - then - echo "Wystartujemy 'ppp' z poniższymi opcjami:" - echo "" - echo " ppp -background dialup" - echo "" - echo -n "Czy chcesz je zmienic?? (t/n) " - read oo - if [ "X${oo}" = "Xt" ] - then - read -p "Podaj opcje ppp: " opts - else - opts="-background dialup" - fi - echo "" - echo "" - fi - 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 deleted file mode 100644 index 53f13bab8b37..000000000000 --- a/release/picobsd/dial/lang/hosts.en +++ /dev/null @@ -1,5 +0,0 @@ -# $FreeBSD$ -# This file should contain the addresses and aliases -# for local hosts that share this file. -127.0.0.1 localhost localhost.mydomain.edu -127.0.0.1 pico.mydomain.edu diff --git a/release/picobsd/dial/lang/hosts.pl b/release/picobsd/dial/lang/hosts.pl deleted file mode 100644 index 89081d798683..000000000000 --- a/release/picobsd/dial/lang/hosts.pl +++ /dev/null @@ -1,5 +0,0 @@ -# $FreeBSD$ -# This file should contain the addresses and aliases -# for local hosts that share this file. -127.0.0.1 localhost localhost.mydomain.org.pl -127.0.0.1 pico.mydomain.org.pl diff --git a/release/picobsd/dial/lang/login.en b/release/picobsd/dial/lang/login.en deleted file mode 100755 index e3ceeee2dd3e..000000000000 --- a/release/picobsd/dial/lang/login.en +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh -# $FreeBSD$ - -if [ "$2" != "root" ] -then - exit -fi -cat /etc/motd -HOME=/root exec -sh diff --git a/release/picobsd/dial/lang/login.pl b/release/picobsd/dial/lang/login.pl deleted file mode 100755 index 28df1b7f8157..000000000000 --- a/release/picobsd/dial/lang/login.pl +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh -# $FreeBSD$ - -if [ "$2" != "root" ] -then - exit -fi -cat /etc/motd -LANG=pl; export LANG -HOME=/root exec -sh diff --git a/release/picobsd/dial/lang/motd.en b/release/picobsd/dial/lang/motd.en deleted file mode 100644 index b286a414f5ee..000000000000 --- a/release/picobsd/dial/lang/motd.en +++ /dev/null @@ -1,16 +0,0 @@ -================================================== - [31m)\_)\[37m -PicoBSD @VER@ (DIALUP) [31m([37m[1mo,o[m[31m)[37m - [32m__ [31m\~/[37m -Welcome to PicoBSD! [32m-->=[41m===[40m[31m\[37m - [32m~~[37m [31md d[37m -You can find a short description of the [35mpicoBSD[37m -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 deleted file mode 100644 index 791af1bd1b5e..000000000000 --- a/release/picobsd/dial/lang/motd.pl +++ /dev/null @@ -1,16 +0,0 @@ -======================================================= - [31m)\_)\[37m -PicoBSD @VER@ (DIALUP) [31m([37m[1mo,o[m[31m)[37m - [32m__ [31m\~/[37m -Witamy w PicoBSD! [32m-->=[41m===[40m[31m\[37m - [32m~~[37m [31md d[37m -W glownym katalogu w pliku README znajdziesz [35mpicoBSD[37m -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. - |