From owner-freebsd-questions@FreeBSD.ORG Sun Dec 12 20:49:59 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6B5BC16A4CE for ; Sun, 12 Dec 2004 20:49:59 +0000 (GMT) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A29A43D48 for ; Sun, 12 Dec 2004 20:49:57 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from [192.168.1.250] (pool-68-160-207-47.ny325.east.verizon.net [68.160.207.47]) by pi.codefab.com (8.12.11/8.12.11) with ESMTP id iBCKnY9h003418 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 12 Dec 2004 15:49:56 -0500 (EST) Message-ID: <41BCAED3.3080802@mac.com> Date: Sun, 12 Dec 2004 15:49:23 -0500 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Alistair Bryan References: <41BCAB3B.1020809@tsimshatsui.co.uk> In-Reply-To: <41BCAB3B.1020809@tsimshatsui.co.uk> X-Enigmail-Version: 0.86.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: running scripts on FreeBSD 5.3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Dec 2004 20:49:59 -0000 Alistair Bryan wrote: > I downloaded and a driver for my adsl modem and, following the > instructions which came with the software, compiled the program. > > In order to run it I tried to run one of the supplied scripts and got > the following error: > > bash-2.05b# ./eci-doctor.sh > [: unexpected operator > You are using linux kernel version 5.3-RELEASE It looks like you've obtained a Linux driver. FreeBSD isn't Linux, it's BSD. You might take a look at dmesg and see whether FreeBSD already recognizes it, otherwise, it would help if you provided more detail about what your ADSL modem is and how it's connected (ie, ethernet, USB, serial port?)... -- -Chuck