From owner-freebsd-doc Sun Feb 2 13:59:33 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id NAA17529 for doc-outgoing; Sun, 2 Feb 1997 13:59:33 -0800 (PST) Received: from proxy2.ba.best.com (root@proxy2.ba.best.com [206.184.139.13]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA17523 for ; Sun, 2 Feb 1997 13:59:29 -0800 (PST) Received: from baker.mitchj.oz.net (mitchj.oz.net [207.173.99.162]) by proxy2.ba.best.com (8.8.5/8.8.3) with SMTP id NAA28756; Sun, 2 Feb 1997 13:58:42 -0800 (PST) Message-ID: <32F50FCA.1450@hardware.com> Date: Sun, 02 Feb 1997 14:06:02 -0800 From: Mitch James Reply-To: mitch@hardware.com Organization: James Lumber & Ace Hardware X-Mailer: Mozilla 3.01Gold (Win95; I) MIME-Version: 1.0 To: freebsd-doc@FreeBSD.ORG Subject: Problem executing script from handbook129.html Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-doc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi All, I was getting ready upgrade from 2.1.5 to 2.1.6 and was trying to take prudent steps in preperation. I was trying to use a sh script from the handbook for disaster recovery. http://www.freebsd.org/handbook/handbook129.html I mailed the html page to myself and exported it from pine. I edited the file in pine to remove the html and directions from the file, both before and after the shell script. I renamed the file and ran it as root. ./disaster.floppy. Here is the error message I received. mitchj: {5} ./disaster.floppy /dev/rfd0a: 2880 sectors in 80 cylinders of 2 tracks, 18 sectors 1.4MB in 2 cyl groups (40 c/g, 0.70MB/g, 160 i/g) super-block backups (for fsck -b #) at: 32, 1496, ./disaster.floppy: 47: Syntax error: "&" unexpected mitchj: {6} whoami root Have I done something wrong or do I need to change something? I'd like to be able to use this. :-) TIA Cheers, Mitch Shell script: #!/bin/sh # # create a restore floppy # # format the floppy # PATH=/bin:/sbin:/usr/sbin:/usr/bin fdformat -q fd0 if [ $? -ne 0 ] then echo "Bad floppy, please use a new one" exit 1 fi # place boot blocks on the floppy # disklabel -w -B -b /usr/mdec/fdboot -s /usr/mdec/bootfd /dev/rfd0c fd1440 # # newfs the one and only partition # newfs -t 2 -u 18 -l 1 -c 40 -i 5120 -m 5 -o space /dev/rfd0a # # mount the new floppy # mount /dev/fd0a /mnt # # create required directories # mkdir /mnt/dev mkdir /mnt/bin mkdir /mnt/sbin mkdir /mnt/etc mkdir /mnt/root mkdir /mnt/mnt # for the root partition mkdir /mnt/tmp mkdir /mnt/var # # populate the directories # if [ ! -x /sys/compile/MINI/kernel ] then cat << EOM The MINI kernel does not exist, please create one. Here is an example config file: # # MINI -- A kernel to get FreeBSD on onto a disk. # machine "i386" cpu "I486_CPU" ident MINI maxusers 5 options INET # needed for _tcp _icmpstat _ip$ # _udpstat _tcpstat _udb options FFS #Berkeley Fast File System options FAT_CURSOR #block cursor in syscons or pcc$ options SCSI_DELAY=15 #Be pessimistic about Joe SCSI $ options NCONS=2 #1 virtual consoles options USERCONFIG #Allow user configuration with $ config kernel root on sd0 swap on sd0 and sd1 dumps on sd0 controller isa0 controller pci0 controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr disk fd0 at fdc0 drive 0 controller ncr0 controller scbus0 device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr device npx0 at isa? port "IO_NPX" irq 13 vector npxintr device sd0 device sd1 device sd2 device st0 pseudo-device loop # required by INET pseudo-device gzip # Exec gzipped a.out's EOM exit 1 fi cp -f /sys/compile/MINI/kernel /mnt gzip -c -best /sbin/init > /mnt/sbin/init gzip -c -best /sbin/fsck > /mnt/sbin/fsck gzip -c -best /sbin/mount > /mnt/sbin/mount gzip -c -best /sbin/halt > /mnt/sbin/halt gzip -c -best /sbin/restore > /mnt/sbin/restore gzip -c -best /bin/sh > /mnt/bin/sh gzip -c -best /bin/sync > /mnt/bin/sync cp /root/.profile /mnt/root pseudo-device gzip # Exec gzipped a.out's EOM exit 1 fi cp -f /sys/compile/MINI/kernel /mnt gzip -c -best /sbin/init > /mnt/sbin/init gzip -c -best /sbin/fsck > /mnt/sbin/fsck gzip -c -best /sbin/mount > /mnt/sbin/mount gzip -c -best /sbin/halt > /mnt/sbin/halt gzip -c -best /sbin/restore > /mnt/sbin/restore gzip -c -best /bin/sh > /mnt/bin/sh gzip -c -best /bin/sync > /mnt/bin/sync cp /root/.profile /mnt/root ./MAKEDEV st0 ./MAKEDEV pty0 cd / # # create minimum filesystem table # cat > /mnt/etc/fstab <<EOM /dev/fd0a / ufs rw 1 1 EOM # # create minimum passwd file # cat > /mnt/etc/passwd <<EOM root:*:0:0:Charlie &:/root:/bin/sh EOM cat > /mnt/etc/master.passwd <<EOM root::0:0::0:0:Charlie &:/root:/bin/sh EOM chmod 600 /mnt/etc/master.passwd chmod 644 /mnt/etc/passwd /usr/sbin/pwd_mkdb -d/mnt/etc /mnt/etc/master.passwd # # umount the floppy and inform the user # /sbin/umount /mnt From owner-freebsd-doc Sun Feb 2 19:09:01 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id TAA03723 for doc-outgoing; Sun, 2 Feb 1997 19:09:01 -0800 (PST) Received: from ami.tom.computerworks.net (root@AMI.RES.CMU.EDU [128.2.95.1]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id TAA03711 for ; Sun, 2 Feb 1997 19:08:54 -0800 (PST) Received: from bonkers.taronga.com by ami.tom.computerworks.net with smtp (Smail3.1.29.1 #1) id m0vrElu-0021cWC; Sun, 2 Feb 97 22:08 EST Received: (from peter@localhost) by bonkers.taronga.com (8.6.11/8.6.9) id VAA10751; Sun, 2 Feb 1997 21:05:34 -0600 Date: Sun, 2 Feb 1997 21:05:34 -0600 From: peter@taronga.com (Peter da Silva) Message-Id: <199702030305.VAA10751@bonkers.taronga.com> To: mitch@hardware.com Subject: Re: Problem executing script from handbook129.html Newsgroups: taronga.freebsd.doc In-Reply-To: <32F50FCA.1450@hardware.com> Organization: none Cc: doc@freebsd.org Sender: owner-doc@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In article <32F50FCA.1450@hardware.com> you write: >./disaster.floppy: 47: Syntax error: "&" unexpected ... >Have I done something wrong or do I need to change something? I'd like >to be >able to use this. :-) TIA You've done something wrong. You still have HTML damage in your code: > # > if [ ! -x /sys/compile/MINI/kernel ] > then > cat << EOM > The MINI kernel does not exist, please create one. > Here is an example config file: > # The "<" are HTML objects representing "<". Do a s/\</" wherever it occurs: > gzip -c -best /sbin/init > /mnt/sbin/init > gzip -c -best /sbin/fsck > /mnt/sbin/fsck > gzip -c -best /sbin/mount > /mnt/sbin/mount > gzip -c -best /sbin/halt > /mnt/sbin/halt > gzip -c -best /sbin/restore > /mnt/sbin/restore And replace "&" with "&": > root::0:0::0:0:Charlie &:/root:/bin/sh From owner-freebsd-doc Mon Feb 3 01:48:32 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id BAA18151 for doc-outgoing; Mon, 3 Feb 1997 01:48:32 -0800 (PST) Received: from weblin (root@www.ExtraNet.RU [194.84.75.4]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id BAA18141 for ; Mon, 3 Feb 1997 01:48:20 -0800 (PST) Received: by weblin via sendmail with stdio id for doc@FreeBSD.ORG; Mon, 3 Feb 1997 12:42:24 +0300 (MSK) (Smail-3.2 1996-Jul-4 #2 built 1996-Sep-25) Message-Id: Date: Mon, 3 Feb 97 12:37:47 +0700 From: Dmitry Romanov To: doc@FreeBSD.ORG Sender: owner-doc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk list help Sincerely, Dmitry. (DRomanov@extranet.ru) From owner-freebsd-doc Mon Feb 3 05:58:28 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA29379 for doc-outgoing; Mon, 3 Feb 1997 05:58:28 -0800 (PST) Received: from cellularxl.com (gatekeeper.cellularxl.com [208.137.154.2]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id FAA29374 for ; Mon, 3 Feb 1997 05:58:25 -0800 (PST) Received: from [204.80.201.74] ([204.80.201.74]) by cellularxl.com (8.8.2/8.8.2) with SMTP id HAA09302 for ; Mon, 3 Feb 1997 07:59:54 -0600 (CST) X-Authentication-Warning: cellularxl.com: [204.80.201.74] didn't use HELO protocol Message-ID: <32F60B5B.206F@cellularxl.com> Date: Mon, 03 Feb 1997 07:59:23 -0800 From: ken Reply-To: ken@cellularxl.com X-Mailer: Mozilla 3.0 (Win16; I) MIME-Version: 1.0 To: freebsd-doc@FreeBSD.ORG Subject: telnet apps Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-doc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Would you please tell me where some sample source code is for telnet client and server apps. I'm writing a custom tcp/ip app that needs to access a termial server via telnet. Thanks. Ken Sumrall ken@cellularxl.com 601.549.9170 From owner-freebsd-doc Mon Feb 3 13:58:11 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id NAA23221 for doc-outgoing; Mon, 3 Feb 1997 13:58:11 -0800 (PST) Received: from img.savvy.com (img.emailmedia.com [204.177.159.12]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA23213 for ; Mon, 3 Feb 1997 13:58:03 -0800 (PST) Received: (from httpd@localhost) by img.savvy.com (8.8.3/8.7.3) id RAA20693 for freebsd-doc@FreeBSD.ORG; Mon, 3 Feb 1997 17:00:29 -0500 (EST) Date: Mon, 3 Feb 1997 17:00:29 -0500 (EST) Message-Id: <199702032200.RAA20693@img.savvy.com> From: Gary.Setterberg@img.savvy.com Reply-To: grs@bpsi.net Organization: US Management X-Mailer: Mozilla 2.02E (Macintosh; U; PPC) MIME-Version: 1.0 To: freebsd-doc@FreeBSD.ORG Subject: Article: Sysadmin, sysop and organizatonal/institutional liabillity X-Url: http://www.freebsd.org/docproj.html Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-doc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Dear System Administrator: There is an alarming trend toward holding system administrators both *personally* and *institutionally* liable for violations of privacy, copyright infringement, distribution of adult materials, etc. If you are involved in system or network administration, please download an important new article on how to protect yourself from *personal* and *organizational/institutional* liability. I also encourage you to review a related article on some additional liability risks and developments that you may not be aware of (and also available for downloading). These articles can be found at http://www.executive-forums.com These articles are both current and understandable. Topics include: How to draft an Acceptable Use Policy, how to deal with e-mail privacy challenges, how to manage the risk associated with adult materials and copyright and related problems, how to use disclaimers and warnings effectively, etc. Gary Setterberg Program Adminstrator U.S. Management Tutorials From owner-freebsd-doc Mon Feb 3 20:56:14 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA18038 for doc-outgoing; Mon, 3 Feb 1997 20:56:14 -0800 (PST) Received: from starfire.mn.org (root@starfire.skypoint.net [199.86.32.187]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id UAA18033 for ; Mon, 3 Feb 1997 20:56:05 -0800 (PST) Received: (from john@localhost) by starfire.mn.org (8.8.4/1.1) id WAA21596; Mon, 3 Feb 1997 22:54:18 -0600 (CST) Message-ID: Date: Mon, 3 Feb 1997 22:54:18 -0600 From: john@dexter.starfire.mn.org (John Lind) To: freebsd-doc@FreeBSD.ORG Subject: unsatisfied link in http://www.freebsd.org/handbook/handbook125.html#hw:storage:hp1553a X-Mailer: Mutt 0.53 Mime-Version: 1.0 Sender: owner-doc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk My full reference is http://www.freebsd.org/handbook/handbook125.html#hw:storage:hp1553a HP has apparently changed their pages. The URL http://www.dmo.hp.com/tape/sst12000.htm given in this page no longer points to a document. I think that http://hpcc997.external.hp.com:80/tape/dat12000.html is the correct replacement. John Lind, Starfire Consulting Services E-mail: john@starfire.MN.ORG USnail: PO Box 17247, Mpls MN 55417 From owner-freebsd-doc Fri Feb 7 09:23:36 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA08002 for doc-outgoing; Fri, 7 Feb 1997 09:23:36 -0800 (PST) Received: from nj2.n-jcenter.com (root@nj2.n-jcenter.com [205.160.185.3]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id JAA07994 for ; Fri, 7 Feb 1997 09:23:32 -0800 (PST) Received: from dbpm1c-10.n-jcenter.com by nj2.n-jcenter.com with SMTP (5.65/1.2-eef) id AA23136; Fri, 7 Feb 97 12:14:44 -0500 Message-Id: <9702071714.AA23136@nj2.n-jcenter.com> From: "Hector L Samalot" To: Date: Fri, 7 Feb 1997 12:23:16 -0500 X-Msmail-Priority: High X-Priority: 1 X-Mailer: Microsoft Internet Mail 4.70.1155 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: owner-doc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk you need to be more specific on the installation problems, and have a list of error numbers with meanings and solutions From owner-freebsd-doc Fri Feb 7 14:31:34 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA27687 for doc-outgoing; Fri, 7 Feb 1997 14:31:34 -0800 (PST) Received: from nak.berkeley.edu (nak.Berkeley.EDU [128.32.206.21]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id OAA27682 for ; Fri, 7 Feb 1997 14:31:30 -0800 (PST) Received: from fha129.reshall.berkeley.edu (fha129.ResHall.Berkeley.EDU [128.32.57.129]) by nak.berkeley.edu (8.7.3/8.6.10) with SMTP id OAA27726 for ; Fri, 7 Feb 1997 14:31:29 -0800 (PST) Message-ID: <32FBACBA.291C@po.eecs.berkeley.edu> Date: Fri, 07 Feb 1997 14:29:14 -0800 From: Rona Yang X-Mailer: Mozilla 3.01 (Win95; I) MIME-Version: 1.0 To: freebsd-doc@FreeBSD.ORG Subject: Ethernet Card compatibility question Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-doc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hello, I recently installed freeBSD 2.1.6 on my PC. I have a Ethernet connection on my PC and the card i'm using is an Asante product called etherPac 2000-t. Unfortunately, freeBSD doesn't seem to detect my ethernet card(I checked by doing "dmesg | more".) Can anybody tell me if freeBSD supports my card and whatelse is there to do about it in either case? I'd really appreciate your help. Rona Yang From owner-freebsd-doc Fri Feb 7 23:15:51 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA27934 for doc-outgoing; Fri, 7 Feb 1997 23:15:51 -0800 (PST) Received: from altos.ccc.uz (root@altos.ccc.uz [194.58.80.40]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA27929 for ; Fri, 7 Feb 1997 23:15:46 -0800 (PST) Received: from ccc.uz (root@ccc.uz [194.58.80.33]) by altos.ccc.uz (8.8.4-cCc.1/8.8.4) with SMTP id MAA11917 for ; Sat, 8 Feb 1997 12:16:31 +0500 Received: from unix.rsc.uz by ccc.uz with SMTP id AA26607 (5.65.kiae-1 for ); Sat, 8 Feb 1997 12:19:55 +0500 Received: by unix.rsc.uz (8.6.10/SMI-4.1) id HAA01975; Sat, 8 Feb 1997 07:15:15 GMT From: freebsd@unix.rsc.com.uz Message-Id: <199702080715.HAA01975@unix.rsc.uz> Subject: help To: freebsd-doc@FreeBSD.ORG Date: Sat, 8 Feb 1997 12:15:15 +0500 (GMT+0500) X-Mailer: ELM [version 2.4 PL24] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Sender: owner-doc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk help