* Kernel-mode PPPoE server.
@ 2004-10-18 13:53 Charles Price
2004-10-18 14:46 ` Michal Ostrowski
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: Charles Price @ 2004-10-18 13:53 UTC (permalink / raw)
To: linux-ppp
Hi All,
I'm having trouble configuring a kernel-mode PPPoE server using:
Gentoo Linux (Kernel 2.6.8-gentoo-r10)
PPP from CVS
rp-pppoe-3.5
Whenever a client initiates a connection to my server, the following is
appended to syslog:
<SNIP>
Sep 30 09:51:13 pppoe2 pppoe-server[5686]: Session 2 created for client
00:03:47:92:cf:e1 (10.67.15.2) on eth0 using Service-Name ''
Sep 30 09:51:13 pppoe2 pppd[5686]: Plugin /etc/ppp/plugins/rp-pppoe.so loaded.
Sep 30 09:51:13 pppoe2 pppd[5686]: RP-PPPoE plugin version 3.5 compiled
against pppd 2.4.2
Sep 30 09:51:13 pppoe2 pppd[5686]: pppd 2.4.2 started by root, uid 0
Sep 30 09:51:13 pppoe2 pppd[5686]: using channel 2
Sep 30 09:51:13 pppoe2 pppd[5686]: Using interface ppp1
Sep 30 09:51:13 pppoe2 pppd[5686]: Connect: ppp1 <--> eth0
Sep 30 09:51:13 pppoe2 pppd[5686]: Couldn't increase MTU to 1500
Sep 30 09:51:13 pppoe2 pppd[5686]: Couldn't increase MRU to 1500
Sep 30 09:51:14 pppoe2 pppd[5686]: rcvd [LCP ConfReq id=0x1 <mru 1492> <magic
0x34254d72>]
<trimmed>
Sep 30 09:51:41 pppoe2 pppd[5686]: rcvd [LCP ConfReq id=0x1 <mru 1492> <magic
0x34254d72>]
Sep 30 09:51:44 pppoe2 pppoe-server[5474]: PADT: Generic-Error: RP-PPPoE:
System call error: Input/output error
Sep 30 09:51:44 pppoe2 pppoe-server[5474]: Sent PADT
Sep 30 09:51:44 pppoe2 pppoe-server[5474]: Stopping session 2 reason: Received
PADT
Sep 30 09:51:44 pppoe2 pppd[5686]: Terminating on signal 15.
</SNIP>
The client repeatedly sends LCP ConfReq packets to the server but receives no
reply. I have the PPP and PPPoE modules compiled and running and am using the
following options to pppd:
lock
asyncmap 0
mru 1492
mtu 1492
nodetach
lcp-max-configure 60
lcp-restart 2
idle 43200
noipx
proxyarp
login
require-chap
login
lcp-echo-interval 60
lcp-echo-failure 5
debug
I have a working PPPoE server running on SuSE Linux 8.1 (using the kernel that
is shipped with this configuration) but would like to build another one using
Gentoo Linux.
Does anyone have an ideas as to why the server will not send LCP ConfAck
packets?
Regards,
Charlie Price
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Kernel-mode PPPoE server.
2004-10-18 13:53 Kernel-mode PPPoE server Charles Price
@ 2004-10-18 14:46 ` Michal Ostrowski
2004-10-18 15:09 ` Charles Price
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Michal Ostrowski @ 2004-10-18 14:46 UTC (permalink / raw)
To: linux-ppp
On Mon, 2004-10-18 at 14:53 +0100, Charles Price wrote:
> Hi All,
>
> I'm having trouble configuring a kernel-mode PPPoE server using:
> Gentoo Linux (Kernel 2.6.8-gentoo-r10)
> PPP from CVS
> rp-pppoe-3.5
>
> Whenever a client initiates a connection to my server, the following is
> appended to syslog:
> <SNIP>
> Sep 30 09:51:13 pppoe2 pppoe-server[5686]: Session 2 created for client
> 00:03:47:92:cf:e1 (10.67.15.2) on eth0 using Service-Name ''
> Sep 30 09:51:13 pppoe2 pppd[5686]: Plugin /etc/ppp/plugins/rp-pppoe.so loaded.
> Sep 30 09:51:13 pppoe2 pppd[5686]: RP-PPPoE plugin version 3.5 compiled
> against pppd 2.4.2
> Sep 30 09:51:13 pppoe2 pppd[5686]: pppd 2.4.2 started by root, uid 0
> Sep 30 09:51:13 pppoe2 pppd[5686]: using channel 2
> Sep 30 09:51:13 pppoe2 pppd[5686]: Using interface ppp1
> Sep 30 09:51:13 pppoe2 pppd[5686]: Connect: ppp1 <--> eth0
> Sep 30 09:51:13 pppoe2 pppd[5686]: Couldn't increase MTU to 1500
> Sep 30 09:51:13 pppoe2 pppd[5686]: Couldn't increase MRU to 1500
> Sep 30 09:51:14 pppoe2 pppd[5686]: rcvd [LCP ConfReq id=0x1 <mru 1492> <magic
> 0x34254d72>]
> <trimmed>
> Sep 30 09:51:41 pppoe2 pppd[5686]: rcvd [LCP ConfReq id=0x1 <mru 1492> <magic
> 0x34254d72>]
> Sep 30 09:51:44 pppoe2 pppoe-server[5474]: PADT: Generic-Error: RP-PPPoE:
> System call error: Input/output error
Try running an "strace" on the pppoe-server to see what system call
fails.
Also, a tcpdump log of the packets going back and forth would be useful.
--
Michal Ostrowski <mostrows@watson.ibm.com>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Kernel-mode PPPoE server.
2004-10-18 13:53 Kernel-mode PPPoE server Charles Price
2004-10-18 14:46 ` Michal Ostrowski
@ 2004-10-18 15:09 ` Charles Price
2004-10-18 17:21 ` Michal Ostrowski
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Charles Price @ 2004-10-18 15:09 UTC (permalink / raw)
To: linux-ppp
Thanks, for the quick response, Michal...
> Try running an "strace" on the pppoe-server to see what system call
> fails.
>
I have posted the output of 'strace -f pppoe-server' to
http://hognaston.com/strace.txt - I thought it might have been bad netiquette
to post something of that length to a mailing list ;-)
There seem to be a number of entries in there that look like error messages in
the output, but since I've not used strace before a second opinion would be
appreciated.
> Also, a tcpdump log of the packets going back and forth would be useful.
>
pppoe2 root # tcpdump -i eth1 -n
tcpdump: WARNING: eth1: no IPv4 address assigned
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth1, link-type EN10MB (Ethernet), capture size 68 bytes
16:03:45.626913 PPPoE PADI [Service-Name] [Host-Uniq 0x1D180000] [EOL]
16:03:45.627118 PPPoE PADO [AC-Name "W3Z-2"] [Service-Name "W3Z"] [AC-Cookie
0x7880E92E058E66DFBCE211A52AACD52592280000] [Host-Uniq 0x1D180000]
16:03:45.627242 PPPoE PADR [Service-Name] [Host-Uniq 0x1D180000] [AC-Cookie
0x7880E92E058E66DFBCE211A52AACD52592280000]
16:03:45.627766 PPPoE PADS [ses 0x2] [Service-Name "W3Z"] [Host-Uniq
0x1D180000]
16:03:46.627238 PPPoE [ses 0x2] LCP, Conf-Request (0x01), id 1, MRU 1492,
Magic-Num 0xf9397f65, length 14
16:03:49.627791 PPPoE [ses 0x2] LCP, Conf-Request (0x01), id 1, MRU 1492,
Magic-Num 0xf9397f65, length 14
16:03:52.628551 PPPoE [ses 0x2] LCP, Conf-Request (0x01), id 1, MRU 1492,
Magic-Num 0xf9397f65, length 14
16:03:55.629318 PPPoE [ses 0x2] LCP, Conf-Request (0x01), id 1, MRU 1492,
Magic-Num 0xf9397f65, length 14
16:03:58.630084 PPPoE [ses 0x2] LCP, Conf-Request (0x01), id 1, MRU 1492,
Magic-Num 0xf9397f65, length 14
16:04:01.630851 PPPoE [ses 0x2] LCP, Conf-Request (0x01), id 1, MRU 1492,
Magic-Num 0xf9397f65, length 14
16:04:04.631645 PPPoE [ses 0x2] LCP, Conf-Request (0x01), id 1, MRU 1492,
Magic-Num 0xf9397f65, length 14
16:04:07.632412 PPPoE [ses 0x2] LCP, Conf-Request (0x01), id 1, MRU 1492,
Magic-Num 0xf9397f65, length 14
16:04:10.633178 PPPoE [ses 0x2] LCP, Conf-Request (0x01), id 1, MRU 1492,
Magic-Num 0xf9397f65, length 14
16:04:13.633944 PPPoE [ses 0x2] LCP, Conf-Request (0x01), id 1, MRU 1492,
Magic-Num 0xf9397f65, length 14
16:04:16.641160 PPPoE PADT [ses 0x2] [Host-Uniq 0x1D180000] [Generic-Error
"RP-PPPoE: System call error: Input/o..........."]
16:04:16.641313 PPPoE PADT [ses 0x2] [Generic-Error "Received PADT"]
16 packets captured
16 packets received by filter
0 packets dropped by kernel
Regards,
Charlie Price
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Kernel-mode PPPoE server.
2004-10-18 13:53 Kernel-mode PPPoE server Charles Price
2004-10-18 14:46 ` Michal Ostrowski
2004-10-18 15:09 ` Charles Price
@ 2004-10-18 17:21 ` Michal Ostrowski
2004-10-18 20:45 ` Charles Price
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Michal Ostrowski @ 2004-10-18 17:21 UTC (permalink / raw)
To: linux-ppp
[-- Attachment #1: Type: text/plain, Size: 3091 bytes --]
From rom what I can tell the problem is on the other end of the connection.
It looks like the other end has terminated your connection.
PPP/PPPoE on this end appears to be behaving correctly.
--
Michal Ostrowski <mostrows@earthlink.net>
On Mon, 2004-10-18 at 16:09 +0100, Charles Price wrote:
> Thanks, for the quick response, Michal...
>
> > Try running an "strace" on the pppoe-server to see what system call
> > fails.
> >
> I have posted the output of 'strace -f pppoe-server' to
> http://hognaston.com/strace.txt - I thought it might have been bad netiquette
> to post something of that length to a mailing list ;-)
>
> There seem to be a number of entries in there that look like error messages in
> the output, but since I've not used strace before a second opinion would be
> appreciated.
>
> > Also, a tcpdump log of the packets going back and forth would be useful.
> >
> pppoe2 root # tcpdump -i eth1 -n
> tcpdump: WARNING: eth1: no IPv4 address assigned
> tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
> listening on eth1, link-type EN10MB (Ethernet), capture size 68 bytes
> 16:03:45.626913 PPPoE PADI [Service-Name] [Host-Uniq 0x1D180000] [EOL]
> 16:03:45.627118 PPPoE PADO [AC-Name "W3Z-2"] [Service-Name "W3Z"] [AC-Cookie
> 0x7880E92E058E66DFBCE211A52AACD52592280000] [Host-Uniq 0x1D180000]
> 16:03:45.627242 PPPoE PADR [Service-Name] [Host-Uniq 0x1D180000] [AC-Cookie
> 0x7880E92E058E66DFBCE211A52AACD52592280000]
> 16:03:45.627766 PPPoE PADS [ses 0x2] [Service-Name "W3Z"] [Host-Uniq
> 0x1D180000]
> 16:03:46.627238 PPPoE [ses 0x2] LCP, Conf-Request (0x01), id 1, MRU 1492,
> Magic-Num 0xf9397f65, length 14
> 16:03:49.627791 PPPoE [ses 0x2] LCP, Conf-Request (0x01), id 1, MRU 1492,
> Magic-Num 0xf9397f65, length 14
> 16:03:52.628551 PPPoE [ses 0x2] LCP, Conf-Request (0x01), id 1, MRU 1492,
> Magic-Num 0xf9397f65, length 14
> 16:03:55.629318 PPPoE [ses 0x2] LCP, Conf-Request (0x01), id 1, MRU 1492,
> Magic-Num 0xf9397f65, length 14
> 16:03:58.630084 PPPoE [ses 0x2] LCP, Conf-Request (0x01), id 1, MRU 1492,
> Magic-Num 0xf9397f65, length 14
> 16:04:01.630851 PPPoE [ses 0x2] LCP, Conf-Request (0x01), id 1, MRU 1492,
> Magic-Num 0xf9397f65, length 14
> 16:04:04.631645 PPPoE [ses 0x2] LCP, Conf-Request (0x01), id 1, MRU 1492,
> Magic-Num 0xf9397f65, length 14
> 16:04:07.632412 PPPoE [ses 0x2] LCP, Conf-Request (0x01), id 1, MRU 1492,
> Magic-Num 0xf9397f65, length 14
> 16:04:10.633178 PPPoE [ses 0x2] LCP, Conf-Request (0x01), id 1, MRU 1492,
> Magic-Num 0xf9397f65, length 14
> 16:04:13.633944 PPPoE [ses 0x2] LCP, Conf-Request (0x01), id 1, MRU 1492,
> Magic-Num 0xf9397f65, length 14
> 16:04:16.641160 PPPoE PADT [ses 0x2] [Host-Uniq 0x1D180000] [Generic-Error
> "RP-PPPoE: System call error: Input/o..........."]
> 16:04:16.641313 PPPoE PADT [ses 0x2] [Generic-Error "Received PADT"]
>
> 16 packets captured
> 16 packets received by filter
> 0 packets dropped by kernel
>
> Regards,
>
> Charlie Price
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Kernel-mode PPPoE server.
2004-10-18 13:53 Kernel-mode PPPoE server Charles Price
` (2 preceding siblings ...)
2004-10-18 17:21 ` Michal Ostrowski
@ 2004-10-18 20:45 ` Charles Price
2004-10-18 21:04 ` Michal Ostrowski
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Charles Price @ 2004-10-18 20:45 UTC (permalink / raw)
To: linux-ppp
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Monday 18 October 2004 18:21, Michal Ostrowski wrote:
> From rom what I can tell the problem is on the other end of the connection.
>
> It looks like the other end has terminated your connection.
>
> PPP/PPPoE on this end appears to be behaving correctly.
I don't think this is the case.
a) The (WinXP) PPPoE client has been working perfectly on several other
networks.
b) The tcpdump output shows that the client is sending many LCP ConfReq
packets to my server - which does not respond at all until the client gives
up and sends a PADT. I should have added src/dst MAC addresses to the output
of tcpdump ;-)
It looks like pppoe-server spawns pppd okay - I can see the process in 'ps ax'
but perhaps the spawned pppd cannot use plugins/rp-pppoe.so correctly - if we
look in the strace output (line 273):
10387 open("/etc/ppp/plugins/rp-pppoe.so", O_RDONLY) = 1
the plugin has been opened successfully. However, in line 290:
10387 write(1, "Plugin /etc/ppp/plugins/rp-pppoe"..., 43) = -1 EBADF (Bad file
descriptor)
it seems something went wrong. Or perhaps my first attempt at reading strace
output is wrong?
Regards,
Charlie Price
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQFBdCtY3k8SswDN/tkRAieCAKCUR8uAoZDFpcQQ46EiGeSYow34YwCfW2IB
9FU9gIHsBo04k3FZJeMHaX4=YXI5
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Kernel-mode PPPoE server.
2004-10-18 13:53 Kernel-mode PPPoE server Charles Price
` (3 preceding siblings ...)
2004-10-18 20:45 ` Charles Price
@ 2004-10-18 21:04 ` Michal Ostrowski
2004-10-18 21:29 ` Charles Price
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Michal Ostrowski @ 2004-10-18 21:04 UTC (permalink / raw)
To: linux-ppp
[-- Attachment #1: Type: text/plain, Size: 1648 bytes --]
Try running with the "debug" option given to pppd.
Also, you mentioned you had this working on another system, can you get
syslogs, tcpdump and configuration for the working system?
On Mon, 2004-10-18 at 21:45 +0100, Charles Price wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Monday 18 October 2004 18:21, Michal Ostrowski wrote:
> > From rom what I can tell the problem is on the other end of the connection.
> >
> > It looks like the other end has terminated your connection.
> >
> > PPP/PPPoE on this end appears to be behaving correctly.
>
> I don't think this is the case.
> a) The (WinXP) PPPoE client has been working perfectly on several other
> networks.
> b) The tcpdump output shows that the client is sending many LCP ConfReq
> packets to my server - which does not respond at all until the client gives
> up and sends a PADT. I should have added src/dst MAC addresses to the output
> of tcpdump ;-)
>
You're correct.
> It looks like pppoe-server spawns pppd okay - I can see the process in 'ps ax'
> but perhaps the spawned pppd cannot use plugins/rp-pppoe.so correctly - if we
> look in the strace output (line 273):
>
> 10387 open("/etc/ppp/plugins/rp-pppoe.so", O_RDONLY) = 1
>
> the plugin has been opened successfully. However, in line 290:
>
> 10387 write(1, "Plugin /etc/ppp/plugins/rp-pppoe"..., 43) = -1 EBADF (Bad file
> descriptor)
>
> it seems something went wrong. Or perhaps my first attempt at reading strace
> output is wrong?
>
This is just an output/logging issue. Not fatal.
--
Michal Ostrowski <mostrows@earthlink.net>
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Kernel-mode PPPoE server.
2004-10-18 13:53 Kernel-mode PPPoE server Charles Price
` (4 preceding siblings ...)
2004-10-18 21:04 ` Michal Ostrowski
@ 2004-10-18 21:29 ` Charles Price
2004-10-19 9:09 ` Charles Price
2004-10-19 10:30 ` Michal Ostrowski
7 siblings, 0 replies; 9+ messages in thread
From: Charles Price @ 2004-10-18 21:29 UTC (permalink / raw)
To: linux-ppp
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> Try running with the "debug" option given to pppd.
'debug' is already set. We are able to see the LCP ConfReq packets being sent
from the client.
> Also, you mentioned you had this working on another system, can you get
> syslogs, tcpdump and configuration for the working system?
Syslog configuration is listed below. The configuration is the same (apart
from not using RADIUS - which makes no difference, I checked) but running on
SuSE Linux 8.1 (Kernel 2.4.20-SuSE, lipcap 0.6.2) Tcpdump output is more
difficult to obtain as I have about 280 concurrent PPPoE users on there!
Here is the syslog output from my working PPPoE concentrator:
Oct 18 22:21:11 pppoe1 pppoe-server[19844]: Session 339 created for client
00:09:5b:6f:a0:a5 (10.67.16.83) on eth1 using Service-Name 'W3Z'
Oct 18 22:21:11 pppoe1 pppd[19844]: Plugin /etc/ppp/plugins/rp-pppoe.so
loaded.
Oct 18 22:21:11 pppoe1 pppd[19844]: RP-PPPoE plugin version 3.3 compiled
against pppd 2.4.2b3
Oct 18 22:21:11 pppoe1 pppd[19844]: pppd 2.4.2b3 started by root, uid 0
Oct 18 22:21:11 pppoe1 pppd[19844]: using channel 146212
Oct 18 22:21:11 pppoe1 pppd[19844]: Using interface ppp37
Oct 18 22:21:11 pppoe1 pppd[19844]: Connect: ppp37 <--> eth1
Oct 18 22:21:11 pppoe1 pppd[19844]: Couldn't increase MTU to 1500
Oct 18 22:21:11 pppoe1 pppd[19844]: Couldn't increase MRU to 1500
Oct 18 22:21:11 pppoe1 pppd[19844]: sent [LCP ConfReq id=0x1 <mru 1492> <auth
chap MD5> <magic 0x8bb7a693>]
Oct 18 22:21:11 pppoe1 pppd[19844]: rcvd [LCP ConfAck id=0x1 <mru 1492> <auth
chap MD5> <magic 0x8bb7a693>] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ce05 a9 59
Oct 18 22:21:13 pppoe1 pppd[19844]: sent [LCP ConfReq id=0x1 <mru 1492> <auth
chap MD5> <magic 0x8bb7a693>]
Oct 18 22:21:13 pppoe1 pppd[19844]: rcvd [LCP ConfAck id=0x1 <mru 1492> <auth
chap MD5> <magic 0x8bb7a693>] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ce05 a9 59
Oct 18 22:21:14 pppoe1 pppd[19844]: rcvd [LCP ConfReq id=0x15 <mru 1492>
<magic 0x7871e6ef>] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 408b 1f dc
Oct 18 22:21:14 pppoe1 pppd[19844]: sent [LCP ConfAck id=0x15 <mru 1492>
<magic 0x7871e6ef>]
Oct 18 22:21:14 pppoe1 pppd[19844]: sent [LCP EchoReq id=0x0
magic=0x8bb7a693] Oct 18 22:21:14 pppoe1 pppd[19844]: sent [CHAP Challenge
id=0x1
<aa307e10d629fec35e56cc6b6b5d2ebb8b1058c2623e>, name = "pppoe1"]
Oct 18 22:21:14 pppoe1 pppd[19844]: rcvd [LCP EchoRep id=0x0 magic=0x7871e6ef
00 00 00 00] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 db 83 1d
cf
Oct 18 22:21:14 pppoe1 pppd[19844]: rcvd [CHAP Response id=0x1
<c5f3e39360b514535529cb525a469c01>, name = "username@w3z.co.uk"]
Oct 18 22:21:14 pppoe1 pppd[19844]: sent [CHAP Success id=0x1 "Welcome to
pppoe1."]
Oct 18 22:21:14 pppoe1 pppd[19844]: peer from calling number
00:09:5B:6F:A0:A5 authorized
Oct 18 22:21:14 pppoe1 pppd[19844]: Script /etc/ppp/auth-up started (pid
19880)
Oct 18 22:21:14 pppoe1 pppd[19844]: sent [IPCP ConfReq id=0x1 <addr
10.0.0.20>]
Oct 18 22:21:14 pppoe1 pppd[19844]: CHAP peer authentication succeeded for
sue.napier@w3z.co.uk
Oct 18 22:21:14 pppoe1 pppd[19844]: rcvd [IPCP ConfReq id=0x16 <addr 0.0.0.0>
<ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>] 00 00 00 00 00 00 00 00 00 00 00 00 be
43 d9 a5
Oct 18 22:21:14 pppoe1 pppd[19844]: sent [IPCP ConfNak id=0x16 <addr
10.4.0.203> <ms-dns1 xx.xx.xx.xx> <ms-dns3 xx.xx.xx.xx>]
Oct 18 22:21:14 pppoe1 pppd[19844]: Script /etc/ppp/auth-up finished (pid
19880), status = 0x0
Oct 18 22:21:14 pppoe1 pppd[19844]: rcvd [IPCP ConfAck id=0x1 <addr
10.0.0.20>] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 ca 32 19 50
Oct 18 22:21:14 pppoe1 pppd[19844]: rcvd [IPCP ConfReq id=0x17 <addr
10.4.0.203> <ms-dns1 xx.xx.xx.xx> <ms-dns3 xx.xx.xx.xx>] 00 00 00 00 00 00 00
00 00 00 00 00 14 5b 48 f5
Oct 18 22:21:14 pppoe1 pppd[19844]: sent [IPCP ConfAck id=0x17 <addr
10.4.0.203> <ms-dns1 xx.xx.xx.xx> <ms-dns3 xx.xx.xx.xx>]
Oct 18 22:21:14 pppoe1 pppd[19844]: found interface eth2 for proxy arp
Oct 18 22:21:14 pppoe1 pppd[19844]: local IP address 10.0.0.20
Oct 18 22:21:14 pppoe1 pppd[19844]: remote IP address 10.4.0.203
Oct 18 22:21:14 pppoe1 pppd[19844]: Script /etc/ppp/ip-up started (pid 19883)
Oct 18 22:21:14 pppoe1 pppd[19844]: Script /etc/ppp/ip-up finished (pid
19883), status = 0x0
While I remember, to make pppd (from CVS) compile correctly I had to alter a
couple of include lines in the code. It was looking for bpf.h so I changed it
to pcap-bpf.h to make it compile cleanly. Will this affect my situation?
Regards,
Charlie Price
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQFBdDXU3k8SswDN/tkRAidAAKClretKIArQz4XG/2mJn18TyW9vTwCgiBKr
NLobBj4JEARDBBP8q60tAds=RGBN
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Kernel-mode PPPoE server.
2004-10-18 13:53 Kernel-mode PPPoE server Charles Price
` (5 preceding siblings ...)
2004-10-18 21:29 ` Charles Price
@ 2004-10-19 9:09 ` Charles Price
2004-10-19 10:30 ` Michal Ostrowski
7 siblings, 0 replies; 9+ messages in thread
From: Charles Price @ 2004-10-19 9:09 UTC (permalink / raw)
To: linux-ppp
[-- Attachment #1: Type: text/plain, Size: 2297 bytes --]
On Monday 18 October 2004 23:39, Michal Ostrowski wrote:
> I think one can attribute this to a pppd behavior change. There are
> some options to pppd that control this behavior (silent?). I'd check to
> see if one of those options is sneaking in somewhere. (Try using the
> dryrun option to check?)
>
The configuration options that pppd printed to syslog are listed below. Note
that I am using PAP this time, because I will be using RADIUS but the
concentrator does not send the first packet if I replace require-pap with
require-chap.
debug # (from /etc/ppp/pppoe-server-options)
nodetach # (from command line)
idle 43200 # (from /etc/ppp/options)
dryrun # (from /etc/ppp/pppoe-server-options)
plugin /etc/ppp/plugins/rp-pppoe.so # (from /etc/ppp/pppoe-server-options)
plugin /etc/ppp/plugins/radius.so # (from /etc/ppp/pppoe-server-options)
plugin /etc/ppp/plugins/radattr.so # (from /etc/ppp/pppoe-server-options)
require-pap # (from /etc/ppp/pppoe-server-options)
login # (from /etc/ppp/pppoe-server-options)
eth1 # (from command line)
rp_pppoe_service # (from command line)
rp_pppoe_sess 234:00:03:47:92:cf:e1 # (from command line)
eth1 # (from command line)
rp_pppoe_service # (from command line)
rp_pppoe_sess 234:00:03:47:92:cf:e1 # (from command line)
noaccomp # (from command line)
default-asyncmap # (from command line)
mru 1492 # (from /etc/ppp/options)
mtu 1492 # (from /etc/ppp/options)
nopcomp # (from command line)
lcp-echo-failure 5 # (from /etc/ppp/pppoe-server-options)
lcp-echo-interval 60 # (from /etc/ppp/pppoe-server-options)
novj # (from command line)
novjccomp # (from command line)
ms-dns xxx # [don't know how to print value] # (from /etc/ppp/options)
proxyarp # (from /etc/ppp/options)
80.168.87.200:10.67.15.234 # (from command line)
nobsdcomp # (from command line)
nodeflate # (from command line)
noipx # (from /etc/ppp/options)
Any ideas on my next call of action? Would 'lsof' of pppoe-server and pppd
processes on working and non-working configurations be of any use?
I have tried replacing my kernel with the 2.4.20 from the working SuSE
configuration, to no avail - should I start downgrading pppd or rp-pppoe ?
Regards,
Charlie Price
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Kernel-mode PPPoE server.
2004-10-18 13:53 Kernel-mode PPPoE server Charles Price
` (6 preceding siblings ...)
2004-10-19 9:09 ` Charles Price
@ 2004-10-19 10:30 ` Michal Ostrowski
7 siblings, 0 replies; 9+ messages in thread
From: Michal Ostrowski @ 2004-10-19 10:30 UTC (permalink / raw)
To: linux-ppp
[-- Attachment #1: Type: text/plain, Size: 2761 bytes --]
Try using the binary from the system that works on the new system. I'm
not seeing there being any sort of pppoe specific problem. It appears
to be an issue of pppd not sending the first LCP packet.
Perhaps somebody else can comment on this...
On Tue, 2004-10-19 at 10:09 +0100, Charles Price wrote:
> On Monday 18 October 2004 23:39, Michal Ostrowski wrote:
> > I think one can attribute this to a pppd behavior change. There are
> > some options to pppd that control this behavior (silent?). I'd check to
> > see if one of those options is sneaking in somewhere. (Try using the
> > dryrun option to check?)
> >
> The configuration options that pppd printed to syslog are listed below. Note
> that I am using PAP this time, because I will be using RADIUS but the
> concentrator does not send the first packet if I replace require-pap with
> require-chap.
>
> debug # (from /etc/ppp/pppoe-server-options)
> nodetach # (from command line)
> idle 43200 # (from /etc/ppp/options)
> dryrun # (from /etc/ppp/pppoe-server-options)
> plugin /etc/ppp/plugins/rp-pppoe.so # (from /etc/ppp/pppoe-server-options)
> plugin /etc/ppp/plugins/radius.so # (from /etc/ppp/pppoe-server-options)
> plugin /etc/ppp/plugins/radattr.so # (from /etc/ppp/pppoe-server-options)
> require-pap # (from /etc/ppp/pppoe-server-options)
> login # (from /etc/ppp/pppoe-server-options)
> eth1 # (from command line)
> rp_pppoe_service # (from command line)
> rp_pppoe_sess 234:00:03:47:92:cf:e1 # (from command line)
> eth1 # (from command line)
> rp_pppoe_service # (from command line)
> rp_pppoe_sess 234:00:03:47:92:cf:e1 # (from command line)
> noaccomp # (from command line)
> default-asyncmap # (from command line)
> mru 1492 # (from /etc/ppp/options)
> mtu 1492 # (from /etc/ppp/options)
> nopcomp # (from command line)
> lcp-echo-failure 5 # (from /etc/ppp/pppoe-server-options)
> lcp-echo-interval 60 # (from /etc/ppp/pppoe-server-options)
> novj # (from command line)
> novjccomp # (from command line)
> ms-dns xxx # [don't know how to print value] # (from /etc/ppp/options)
> proxyarp # (from /etc/ppp/options)
> 80.168.87.200:10.67.15.234 # (from command line)
> nobsdcomp # (from command line)
> nodeflate # (from command line)
> noipx # (from /etc/ppp/options)
>
>
> Any ideas on my next call of action? Would 'lsof' of pppoe-server and pppd
> processes on working and non-working configurations be of any use?
>
> I have tried replacing my kernel with the 2.4.20 from the working SuSE
> configuration, to no avail - should I start downgrading pppd or rp-pppoe ?
>
> Regards,
>
> Charlie Price
--
Michal Ostrowski <mostrows@earthlink.net>
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2004-10-19 10:30 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-18 13:53 Kernel-mode PPPoE server Charles Price
2004-10-18 14:46 ` Michal Ostrowski
2004-10-18 15:09 ` Charles Price
2004-10-18 17:21 ` Michal Ostrowski
2004-10-18 20:45 ` Charles Price
2004-10-18 21:04 ` Michal Ostrowski
2004-10-18 21:29 ` Charles Price
2004-10-19 9:09 ` Charles Price
2004-10-19 10:30 ` Michal Ostrowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox