Date: Sun, 21 Nov 2004 00:34:25 +0900 (JST) From: Hideki Yamamoto <yamamoto436@oki.com> To: freebsd-stable@freebsd.org Subject: pppoe server option Message-ID: <20041121.003425.41664309.yamamoto436@oki.com>
next in thread | raw e-mail | index | archive | help
Hi, I have found a problem about PPPoE parameter in /etc/rc.network. When setting the following lines in /etc/rc.conf, pppoe server does not work well. The string "service-pppoe" is an entry in /etc/ppp/ppp.conf for PPPoE server. pppoed_enable="YES" # Run the PPP over Ethernet daemon. pppoed_provider="service-pppoe" # Provider and ppp(8) config file entry. pppoed_interface="fxp0" # The interface that pppoed runs on. In /etc/rc.network, 'pppoed_provider' is passed into pppoe with -p option. After booting os, pppoe arguments are as follows: pppoed ... -p service-pppoe fxp0 But this option does not work. We should use -l instead of -p like this: pppoed ... -l service-pppoe fxp0 To use -l, I think the line 822 in /etc/rc.network should be modified. < 822 pppoed_flags="${pppoed_flags} -p ${pppoed_provider}" > 822 pppoed_flags="${pppoed_flags} -l ${pppoed_provider}" After modifying the above line, pppoed server works well. But is this modification correct? ----------------------------------------------------------------- Hideki YAMAMOTO | Broadband Media Solutions Department | E-mail: yamamoto436@oki.com Broadband Media Company | Tel: +81-48-420-7012 Oki Electric Industry Co., Ltd. | FAX: +81-48-420-7016
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041121.003425.41664309.yamamoto436>