yshsu168
10th April 2006, 10:15 AM
I am using FC5 as the PPPoE server, I have two NICs. eth0 is for internet access and eth1 is where PPPoE server listened on. I use "pppoe-server -I eth1 -S xxx" to initiate the server.
I did not invoke RADIUS. I think it is more easy to diagnose.
By sniffing the packet, it seems that the PPPD is no responde to the PPPoE client's PPP LCP: Configuration Request.
Could anyone suggest me some tips??
Thank you.
/etc/ppp/pppoe-server-options
# PPP options for the PPPoE server
# LIC: GPL
require-chap
login
lcp-echo-interval 10
lcp-echo-failure 2
proxyarp
ms-dns 168.95.1.1
ps -aux | grep ppp
[samuel@localhost ppp]$ ps -aux | grep ppp
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.6/FAQ
root 2990 0.0 0.0 1620 448 ? S 15:48 0:00 pppoe-server -I eth1 -S T-Online
root 2992 0.0 0.0 1600 436 ? S 15:48 0:00 /usr/sbin/pppoe -n -I eth1 -e 1:00:13:d4:6b:08:53T-Online - S
root 3003 0.0 0.0 1604 436 ? S 15:48 0:00 /usr/sbin/pppoe -n -I eth1 -e 1:00:13:d4:6b:08:53T-Online - S
root 3022 0.0 0.0 1600 440 ? S 15:49 0:00 /usr/sbin/pppoe -n -I eth1 -e 2:00:13:d4:6b:08:53T-Online - S
root 3040 0.0 0.0 1600 440 ? S 15:49 0:00 /usr/sbin/pppoe -n -I eth1 -e 2:00:13:d4:6b:08:53T-Online - S
samuel 3104 0.0 0.1 4128 684 pts/0 S+ 15:56 0:00 grep ppp
/var/log/messages
Apr 10 15:49:44 localhost pppd[3021]: Connect: ppp0 <--> /dev/pts/4
Apr 10 15:49:49 localhost pppd[3021]: tcflush failed: Bad file descriptor
Apr 10 15:49:49 localhost pppd[3021]: Exit.
Apr 10 15:49:49 localhost pppoe-server[2990]: Session 2 closed for client 00:13:d4:6b:08:53 (10.67.15.2) on eth1
Apr 10 15:49:49 localhost pppoe-server[2990]: Sent PADT
Apr 10 15:49:49 localhost pppoe-server[2990]: Sent PADT
Apr 10 15:58:39 localhost pppoe-server[3120]: Session 1 created for client 00:13:d4:6b:08:53 (192.168.0.100) on eth1 using Service-Name 'T-Online'
Apr 10 15:58:39 localhost pppd[3120]: pppd 2.4.3 started by root, uid 0
Apr 10 15:58:39 localhost pppd[3120]: Using interface ppp0
Apr 10 15:58:39 localhost pppd[3120]: Connect: ppp0 <--> /dev/pts/1
Apr 10 15:59:10 localhost pppd[3120]: LCP: timeout sending Config-Requests
Apr 10 15:59:10 localhost pppd[3120]: Connection terminated.
Apr 10 15:59:10 localhost pppd[3120]: Using interface ppp0
Apr 10 15:59:10 localhost pppd[3120]: Connect: ppp0 <--> /dev/pts/2
Apr 10 15:59:15 localhost pppd[3120]: tcflush failed: Bad file descriptor
Apr 10 15:59:15 localhost pppd[3120]: Exit.
Apr 10 15:59:15 localhost pppoe-server[3119]: Session 1 closed for client 00:13:d4:6b:08:53 (192.168.0.100) on eth1
Apr 10 15:59:15 localhost pppoe-server[3119]: Sent PADT
Apr 10 15:59:15 localhost pppoe-server[3119]: Sent PADT
Apr 10 15:59:43 localhost pppoe-server[3119]: Terminating on signal 15 -- killing all PPPoE sessions
[samuel@localhost ~]$ sudo tail -n 40 /var/log/messages
Apr 10 15:48:20 localhost pppoe-server[2991]: Session 1 created for client 00:13:d4:6b:08:53 (10.67.15.1) on eth1 using Service-Name 'T-Online'Apr 10 15:48:20 localhost pppd[2991]: pppd 2.4.3 started by root, uid 0
Apr 10 15:48:20 localhost pppd[2991]: Using interface ppp0
Apr 10 15:48:20 localhost pppd[2991]: Connect: ppp0 <--> /dev/pts/1
Apr 10 15:48:51 localhost pppd[2991]: LCP: timeout sending Config-Requests
Apr 10 15:48:51 localhost pppd[2991]: Connection terminated.
Apr 10 15:48:51 localhost pppd[2991]: Using interface ppp0
Apr 10 15:48:51 localhost pppd[2991]: Connect: ppp0 <--> /dev/pts/2
Apr 10 15:48:56 localhost pppd[2991]: tcflush failed: Bad file descriptor
Apr 10 15:48:56 localhost pppd[2991]: Exit.
Apr 10 15:48:56 localhost pppoe-server[2990]: Session 1 closed for client 00:13:d4:6b:08:53 (10.67.15.1) on eth1
Apr 10 15:48:56 localhost pppoe-server[2990]: Sent PADT
Apr 10 15:48:56 localhost pppoe-server[2990]: Sent PADT
Apr 10 15:49:12 localhost pppoe-server[3021]: Session 2 created for client 00:13:d4:6b:08:53 (10.67.15.2) on eth1 using Service-Name 'T-Online'Apr 10 15:49:12 localhost pppd[3021]: pppd 2.4.3 started by root, uid 0
Apr 10 15:49:12 localhost pppd[3021]: Using interface ppp0
Apr 10 15:49:12 localhost pppd[3021]: Connect: ppp0 <--> /dev/pts/3
Apr 10 15:49:43 localhost pppd[3021]: LCP: timeout sending Config-Requests
Apr 10 15:49:43 localhost pppd[3021]: Connection terminated.
Apr 10 15:49:44 localhost pppd[3021]: Using interface ppp0
Apr 10 15:49:44 localhost pppd[3021]: Connect: ppp0 <--> /dev/pts/4
Apr 10 15:49:49 localhost pppd[3021]: tcflush failed: Bad file descriptor
Apr 10 15:49:49 localhost pppd[3021]: Exit.
Apr 10 15:49:49 localhost pppoe-server[2990]: Session 2 closed for client 00:13:d4:6b:08:53 (10.67.15.2) on eth1
Apr 10 15:49:49 localhost pppoe-server[2990]: Sent PADT
Apr 10 15:49:49 localhost pppoe-server[2990]: Sent PADT
Apr 10 15:58:39 localhost pppoe-server[3120]: Session 1 created for client 00:13:d4:6b:08:53 (192.168.0.100) on eth1 using Service-Name 'T-Online'
Apr 10 15:58:39 localhost pppd[3120]: pppd 2.4.3 started by root, uid 0
Apr 10 15:58:39 localhost pppd[3120]: Using interface ppp0
Apr 10 15:58:39 localhost pppd[3120]: Connect: ppp0 <--> /dev/pts/1
Apr 10 15:59:10 localhost pppd[3120]: LCP: timeout sending Config-Requests
Apr 10 15:59:10 localhost pppd[3120]: Connection terminated.
Apr 10 15:59:10 localhost pppd[3120]: Using interface ppp0
Apr 10 15:59:10 localhost pppd[3120]: Connect: ppp0 <--> /dev/pts/2
Apr 10 15:59:15 localhost pppd[3120]: tcflush failed: Bad file descriptor
Apr 10 15:59:15 localhost pppd[3120]: Exit.
Apr 10 15:59:15 localhost pppoe-server[3119]: Session 1 closed for client 00:13:d4:6b:08:53 (192.168.0.100) on eth1
Apr 10 15:59:15 localhost pppoe-server[3119]: Sent PADT
Apr 10 15:59:15 localhost pppoe-server[3119]: Sent PADT
Apr 10 15:59:43 localhost pppoe-server[3119]: Terminating on signal 15 -- killing all PPPoE sessions
Regards,
Samuel Hsu