Fwd: ip-down and ip-down.local problem

Michael Schwendt fedora at wir-sind-cool.org
Thu Sep 2 10:38:36 UTC 2004


On Thu, 2 Sep 2004 20:29:48 +1000, Sam wrote:

> On Wed, 01 Sep 2004 19:47:30 +0200, Alexander Dalloz
> <alexander.dalloz at uni-bielefeld.xxx> wrote:
> > Am Mi, den 01.09.2004 schrieb Sam um 4:35:
> >
> > > hi, i installed FC2 and for some odd reason /etc/ppp/ip-down and
> > > ip-down.local aren't being called when i run adsl-stop. ip-up and
> > > ip-up.local work just fine. could anyone help?
> >
> > > Sam.
> >
> > /etc/ppp/ip-up.local and /etc/ppp/ip-down.local have both to be scripts
> > with a valid shebang line (i.e. #!/bin/bash) and have to have execute
> > permissions.
> >
> > Alexander
> Both have that line in there at the top. It was the first thing i
> checked. Any other suggestions?

Can you execute the files at the command-line? Did you edit it from
within Windows before? A common mistake in shell scripts is that they
contain Windows-style line delimiters. "dos2unix /etc/ppp/ip-down"
would fix that.

-- 
Fedora Core release 2 (Tettnang) - Linux 2.6.7-1.494.2.2
loadavg: 0.00 0.03 0.24





More information about the users mailing list