Description of problem: I wish to construct pppoe-server on the basis of FC5. But ppp-2.4.3 has refused to work, works only 2.4.2 or works ppp-2.4.3 with stopped syslog service How reproducible: http://fedoraforum.org/forum/showthread.php?p=713241#post713241 1. /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 ---------------------- 2. use "pppoe-server -I eth1 -S xxx" to initiate the server. 3. connect from windows with www.raspppoe.com client - connect not work. 4. execute in console "service syslog stop" 5. connect from windows with www.raspppoe.com client - connect work. Actual results: Expected results: Additional info:
Reproducible on Fedora Core 6. I tried installing syslog-ng from Fedora Extras, but that didn't fix the problem.
Reassigning to FC-6. Can you please provide the logging output?
Aug 30 18:04:54 pppoe pppoe-server[2147]: Session 3 created for client 00:50:ba:bd:5b:14 (10.67.15.3) on eth0 using Service-Name '' Aug 30 18:04:54 pppoe pppd[2147]: pppd 2.4.4 started by root, uid 0 Aug 30 18:04:54 pppoe pppd[2147]: Using interface ppp0 Aug 30 18:04:54 pppoe pppd[2147]: Connect: ppp0 <--> /dev/pts/1 Aug 30 18:05:25 pppoe pppd[2147]: LCP: timeout sending Config-Requests Aug 30 18:05:25 pppoe pppd[2147]: Connection terminated. Aug 30 18:05:25 pppoe pppd[2147]: Modem hangup Aug 30 18:05:30 pppoe pppd[2147]: Exit.
Might want to assign this to Fedora 7 as well since this issue also exists in Fedora 7.
From http://forum.nag.ru/forum/index.php?s=&showtopic=39627&view=findpost&p=285712 small patch: --- ppp-2.4.4/pppd/main.c.orig 2006-06-04 07:52:50.000000000 +0400 +++ ppp-2.4.4/pppd/main.c 2007-11-09 14:47:20.000000000 +0300 @@ -1567,6 +1567,8 @@ if (errfd == 0 || errfd == 1) errfd = dup(errfd); + closelog(); + /* dup the in, out, err fds to 0, 1, 2 */ if (infd != 0) dup2(infd, 0); @@ -1575,7 +1577,6 @@ if (errfd != 2) dup2(errfd, 2); - closelog(); if (log_to_fd > 2) close(log_to_fd); if (the_channel->close)
Wow, finally a solution.. Thanks! I hope this issue has been fixed in Fedora 8.
This bug is also present in RHEL/CentOS 5. I suppose the bug really is in ppp-2.4.3 and 2.4.4, because ppp-2.4.2 works fine.
Created attachment 269351 [details] closelog() is called early I have tested this patch with ppp-2.4.4-2 and rp-pppoe-3.8-1 on Fedora 8. Everything ran as expected.
Can you explain to me, how to apply this patch, if i have src files???
Fixed in ppp-2.4.4-6.fc9
Changing component back to ppp, I have no idea how the heck did it change to "4suite"
(In reply to comment #10) > Fixed in ppp-2.4.4-6.fc9 Can you provide a download link for the ppp-2.4.4-6 rpm please?
Check for a mirror near you here: http://mirrors.fedoraproject.org/publiclist You should click on the rawhide link to filter only repositories with rawhide.. Also know that the file doesn't have to be there at once, it might take a while.