[RP-PPPoE] pppoe:read (asyncReadFromPPP):: Input/output error

Mike mike-rppppoe at tiedyenetworks.com
Thu Jul 29 11:03:56 EDT 2010


Jolly Shah wrote:
> Hello All,
>
>
> I am runnning rppppoe client with pppd daemon from my router. It
> always gives below error either after PADR request or PADS request.
> "pppoe: read (asyncReadFromPPP): Session 27: Input/output error"
>
> below is excerpt from the debug log:
>
> ********************************************************************************************************************************
>
> * The following section shows the pppd command we will invoke
> pppd invocation
> /usr/sbin/pppd pty '/usr/sbin/pppoe -p
> /etc/ppp/pppoe.conf-pppoe.pid.pppoe -I ath0 -T 80 -U  -m 1412   '
> noipdefault noauth default-asyncmap defaultroute hide-password
> nodetach  mtu 1492 mru 1492 noaccomp nodeflate nopcomp novj novjccomp
> user test lcp-echo-interval 20 lcp-echo-failure 3   debug
> ---------------------------------------------
> Created /dev/ppp device node
> Couldn't attach tty to PPP unit 0: Invalid argument
>   
Im probabbly going to be wrong, but lets check a few things:

ath0 is UP
you have write access to /etc/ppp/pppoe.com-pppoe.pid.pppoe (since 
you're writing your pid there)
the pppoe binary is in /usr/sbin and you can run /usr/sbin/pppoe -h and 
get the help text

next:

/usr/sbin/pppd pty 'pppoe -I ath0' noauth user test password 
YOURPASSWORDHERE  debug

Do you still get the error?

Lastly, just for giggles, you do have the modules loaded, right?

modprobe pppoe

and if you

lsmod | grep ppp

what do you see?

Mike-





> ---------------------------------------------
> * The following section is an extract from your log.
> * Look for error messages from pppd, such as
> * a lack of kernel support for PPP, authentication failure
> * etc.
> Can't find messages file (looked for /var/{log,adm}/messages
> Sat Jan  1 00:00:28 UTC 2000
> ---------------------------------------------
> * The following section is a dump of the packets
> * sent and received by rp-pppoe.  If you don't see
> * any output, it's an Ethernet driver problem.  If you only
> * see three PADI packets and nothing else, check your cables
> * and modem.  Make sure the modem lights flash when you try
> * to connect.  Check that your Ethernet card is in
> * half-duplex, 10Mb/s mode.  If all else fails,
> * try using pppoe-sniff.
> rp-pppoe debugging dump
> rp-pppoe-3.10
> 00:00:28.035 SENT PPPoE Discovery (8863) PADI sess-id 0 length 12
> SourceAddr 00:03:7f:12:06:a3 DestAddr ff:ff:ff:ff:ff:ff
> 01 01 00 00 01 03 00 04 00 00 00 e8               ............
>
> 00:00:28.057 RCVD PPPoE Discovery (8863) PADO sess-id 0 length 49
> SourceAddr 08:00:46:78:07:a6 DestAddr 00:03:7f:12:06:a3
> 01 01 00 00 01 02 00 0b 52 35 30 35 2d 47 4f 4c   ........R505-GOL
> 44 45 4e 01 03 00 04 00 00 00 e8 01 04 00 12 52   DEN............R
> 53 50 45 00 03 7f 12 06 a3 50 66 92 8e da 2f cb   SPE......Pf.../.
> 01                                                .
>
> 00:00:28.058 SENT PPPoE Discovery (8863) PADR sess-id 0 length 34
> SourceAddr 00:03:7f:12:06:a3 DestAddr 08:00:46:78:07:a6
> 01 01 00 00 01 03 00 04 00 00 00 e8 01 04 00 12   ................
> 52 53 50 45 00 03 7f 12 06 a3 50 66 92 8e da 2f   RSPE......Pf.../
> cb 01                                             ..
>
> pppoe: read (asyncReadFromPPP): Session 27: Input/output error
>
> ********************************************************************************************************************************
>
> Any idea what can be the issue?
> _______________________________________________
> RP-PPPoE mailing list
> RP-PPPoE at lists.roaringpenguin.com
> http://lists.roaringpenguin.com/cgi-bin/mailman/listinfo/rp-pppoe
>   



More information about the RP-PPPoE mailing list