Re: pppd:Inappropriate ioctl for device

Joshua_Giles_at_Dell.com
Date: 02/06/04

  • Next message: David Clymer: "Re: exim HELO=fully qualified host name?"
    To: schnobs@babylon-kino.de
    Date: Fri, 6 Feb 2004 12:07:27 -0600
    
    

    Schnobs,

    I'm interested in the post you had to the list with the above subject...I am
    experiencing the same problem although it happens sporadically. Do you have
    a sure-fire way of reproducing this? Did you figure out this problem or
    have any more info?

    -Josh

    >Hello,

    >I've got a flatrate DSL connection, and a machine configured as gateway.
    >The gateway is supposed to keep the connection open 24/7, using pppd's
    >'persist' option. However, the automatic reconnection works only about
    >twice a week. Usually pppd dies, forcing me to log into the gateway and
    >restart the link manually.

    >I tried google, and while I found many questions on the issue, there was
    >no solution, nor even an explanation why it fails. The manpages on
    >tcflush and ioctl tell me next to nothing. It would make no difference
    >to me if they'd be written in chinese.

    >Could someone, please, shed some light on what is going wrong here?

    >Here's what I get:

    > Nov 20 05:26:20 zwerg pppoe[26980]: Session terminated -- received PADT
    from peer
    > Nov 20 05:26:23 zwerg pppd[26979]: LCP terminated by peer
    > Nov 20 05:26:24 zwerg pppd[26979]: ioctl(PPPIOCSASYNCMAP): Inappropriate
    ioctl for device(25)
    > Nov 20 05:26:24 zwerg pppd[26979]: tcflush failed: Input/output error
    > Nov 20 05:26:24 zwerg pppd[26979]: Exit.

    >cu,
    >Schnobs

    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: David Clymer: "Re: exim HELO=fully qualified host name?"

    Relevant Pages

    • Re: Gateway -> Mail
      ... I have been experiencing many problems since last week. ... Remember folks, I only control the gateway. ...
      (comp.lang.ruby)
    • Default Gateway Thorough A Programme
      ... How can i get the default gateway of a linux machine through a C programme. ... Can i get it through IOCTL call. ...
      (RedHat)
    • Re: Windows Server 2003 Service Pack 1
      ... I posted in the thread mentioned above that I too am experiencing this ... problem but with the added twist that both of my NICs indeed use the ... same gateway address which will hopefully start getting people away ... connection option and it brings everything back online just fine. ...
      (microsoft.public.windows.server.networking)
    • How to get IP of gateway and DNS in program?
      ... I can get IP, MASK by ioctl, but how about gateway and dns? ...
      (comp.os.linux.development.apps)
    • Re: How to get IP of gateway and DNS in program?
      ... > I can get IP, MASK by ioctl, but how about gateway and dns? ...
      (comp.os.linux.development.apps)