Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Ovid (2709)

  (email not shown publicly)
AOL IM: ovidperl (Add Buddy, Send Message)

Stuff with the Perl Foundation. A couple of patches in the Perl core. A few CPAN modules. That about sums it up.

Journal of Ovid (2709)

Wednesday July 07, 2004
05:22 PM

ifup, ifdown, ifanywhichwaybuthtewayiwant

[ #19738 ]

Every once in a while, I type

ifup ppp0

and instead of the normal connection noise on my external modem, I hear garbage and the modem lights (which I have no docs for) set into odd patterns and I can't connect. Subsequent connection attempts usually return an error message similar to

Failed to activate with error 6 (sometimes it's an error 35)

Trying to do

ifdown ppp0


/etc/inet.d/network restart

seems to have no effect and I have to reboot the box to clear the error. ifup has no documentation and reading through the ifup script provided no clues. I hate error codes. I hate, hate, hate error codes.

I hate error codes.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • It has been a while (thankfully!) since I've used a modem, but maybe this will help.

    man pppd

    on my machine shows error 6 as not being able to get a lock.

    It took a bit of googling... but, after looking at this [], I think the error 35 is where the script can't find a pid file. (You may not even be using this code... but I couldn't really find a reference to the error code 35 elsewhere.)

    Anyways... I'd almost bet that sometimes when you ifdown, it doesn't always clean up the lock file.

    This is all just a wild