Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!vic.news.telstra.net!act.news.telstra.net!psgrain!newsfeed.internetmci.com!iol!tank.news.pipex.net!pipex!news.mathworks.com!fu-berlin.de!zib-berlin.de!news.tu-chemnitz.de!irz401!uriah.heep!news From: j@uriah.heep.sax.de (J Wunsch) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: format of ip-up file Date: 13 Apr 1996 00:34:20 GMT Organization: Private BSD site, Dresden Lines: 38 Message-ID: <4kmsqc$f8c@uriah.heep.sax.de> References: <4ki7me$hd7@pigdog.topend.com.au> Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) NNTP-Posting-Host: localhost.heep.sax.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: knews 0.9.3 nagy@gypsy.topend.com.au (Robert Nagy) writes: > Apr 11 17:09:11 gypsy pppd[19924]: can't execute /etc/ppp/ip-down: Exec > format error Your programs are not suitable for execve(2). EXECVE(2) FreeBSD Programmer's Manual EXECVE(2) NAME execve - execute a file .. DESCRIPTION Execve() transforms the calling process into a new process. The new pro- cess is constructed from an ordinary file, whose name is pointed to by path, called the new process file. This file is either an executable ob- ject file, or a file of data for an interpreter. An executable object ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. An interpreter file begins with a line of the form: #! interpreter [arg] So basically, assuming your ip-{up,down} are shell script files, add the #!/bin/sh on top, and you should be going. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)