⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme

📁 基于LINUX环境下的PPPOE协议源代码
💻
字号:
pppoe: a PPP-over-Ethernet redirector for pppdCopyright (C) 1999 Luke StrasIntroduction============This program can be used to enable PPPoE support using the pppddaemon.  PPPoE is a technique for the encapsulation of PPP streamsinside of Ethernet frames.  This technology is being deployed byhigh-speed Internet access providers (cable modems, xDSL, etc.) inorder to decouple the supply of bandwidth from ISP services.  Inparticular, in Canada, the Bell Sympatico ADSL service is moving fromDHCP-based access control to PPPoE.  Further details on PPPoE can befound in RFC2516.Installation============Requirements------------Linux 2.0.0 or later (may work on other platforms, but untested)pppd 2.3.7 or laterCompiling---------Compile and install pppd.  Then:Unpack and make:# tar xzvf pppoe-0.1.tar.gz# makeInstall to some convenient directory:# cp pppoe /usr/local/sbinCreate an appropriate secrets file.  For example, Sympatico ADSL usesPAP for authentication, so we need an /etc/ppp/pap-secrets file.  Thefile consists of three columns, separated by whitespace.  The firstcolumn is the user name.  For Sympatico, this is the Sympatico MemberID (b1*).  This is case sensitive, and you must add '@sympatico.ca' tothe end.  The second entry is the server name.  This should be '*'.The third entry is the secret.  For Sympatico users, this will be yourSympatico password.  So a sample /etc/ppp/pap-secrets file might looklike:b1aaaaaa@sympatico.ca * passwordMake sure your ethernet interface is up:ifconfig eth0 0.0.0.0 upThen, start pppd like this:pppd pty '/usr/local/sbin/pppoe -I eth0' noipdefault defaultroute \     hide-password passive persist name b1aaaaaa@sympatico.caOptions=======pppoe can take two run-time options:-I if  Specifies the ethernet interface to use.  The interface *must* be up  before the program will start.-L file  Specifes a log file.  Note that pppd chroots to '/', so the path  should be absolute.  Note that the log can get large.-V  Prints the version number, and exits.Bugs====pppd will occasionally negotiate a connection, but refuse to transmitany packets.  I've found that adding the 'debug' option to the pppdcommand line seems to fix this problem.  Is this a race condition ofsome kind?  I don't konw.Occasionally, the ppp link negotiation enters an infinite loop.  Thecause is unknown, and the only solution is to try again.  I believethis may have something to do with a bug in Access Concentrator usedby Bell, but I'm not sure.Author Information==================I can be reached via e-mail at <stras@ecf.toronto.edu>.  This programcan be found at http://www.ecf.toronto.edu/~stras/pppoe.html

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -