From owner-freebsd-net Sun May 31 09:12:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA09315 for freebsd-net-outgoing; Sun, 31 May 1998 09:12:34 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from southampton.Cairnwood.com ([207.19.67.69]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA09295 for ; Sun, 31 May 1998 09:12:17 -0700 (PDT) (envelope-from DuncanP@Cairnwood.com) Received: by Southampton.Cairnwood.com with Internet Mail Service (5.5.1960.3) id ; Sun, 31 May 1998 12:11:42 -0400 Message-ID: From: "Pitcairn, Duncan" To: "'dhcp-client@fugue.com'" , "'freebsd-net@freebsd.org'" Subject: dhclient-script errors, FreeBSD and netBSD Date: Sun, 31 May 1998 12:11:40 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.1960.3) Content-Type: text/plain Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The dhclient-script files for FreeBSD and NetBSD contained in dhcp-2_0b1pl0_tar.gz gave me two errors when dhclient could not find a dhcp server. The first error states line 175 expecting fi. I added an fi one line above the exit 0 (the last line in the script) and this solved the problem. The second error states that -w is not an option for ping. I removed the -w 1 in the ping command and this solved the problem. I do not know what the -w was for, maybe it is trying to do what a -i does (wait) in which case the value of 1 is the default in FreeBSD. Regards, Duncan Pitcairn CCC Alliance, Cairnwood Cooperative Southampton, Pennsylvania USA To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message