Changes between Version 10 and Version 11 of TipAndDoc/Linux/OpenWRT


Ignore:
Timestamp:
Jun 12, 2012 4:23:36 PM (12 years ago)
Author:
mitty
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TipAndDoc/Linux/OpenWRT

    v10 v11  
    99 * [http://wiki.openwrt.org/doc/howto/secure.access Secure your router's access - OpenWrt Wiki] 
    1010 
     11 = pppd = 
     12 * linkup時に /lib/netifd/ppp-up が実行される 
     13  * /etc/ppp/ip-up と同じような使い方が可能? 
     14  * Debian ppp-2.4.5/pppd/ipcp.c 
     15{{{#!cc 
     16    /* 
     17     * Execute the ip-up script, like this: 
     18     *  /etc/ppp/ip-up interface tty speed local-IP remote-IP 
     19     */ 
     20}}} 
     21 * 具体例 
     22{{{ 
     23pppoe-wan eth1 0 114.159.68.126 118.23.8.36 wan 
     24}}} 
     25 
     26 * ONUの再起動(下記)などでpppdが終了してしまった場合、「/etc/init.d/network start」により全てのインタフェースがリセットされ再接続される 
     27{{{ 
     28Jun 12 15:57:35 starseed kern.info kernel: [   93.040000] eth1: link down 
     29Jun 12 15:57:39 starseed daemon.info pppd[1232]: No response to 5 echo-requests 
     30Jun 12 15:57:39 starseed daemon.notice pppd[1232]: Serial link appears to be disconnected. 
     31Jun 12 15:57:39 starseed daemon.info pppd[1232]: Connect time 1.1 minutes. 
     32Jun 12 15:57:39 starseed daemon.info pppd[1232]: Sent 27281 bytes, received 19359 bytes. 
     33Jun 12 15:57:40 starseed daemon.notice netifd: Interface 'wan' has lost the connection 
     34Jun 12 15:57:40 starseed daemon.notice pppd[1232]: Modem hangup 
     35Jun 12 15:57:40 starseed daemon.notice pppd[1232]: Connection terminated. 
     36 
     37(snip) 
     38 
     39Jun 12 15:58:30 starseed daemon.info pppd[4014]: CHAP authentication failed: permission denied 
     40Jun 12 15:58:30 starseed daemon.err pppd[4014]: CHAP authentication failed 
     41Jun 12 15:58:30 starseed daemon.notice pppd[4014]: Connection terminated. 
     42Jun 12 15:58:30 starseed daemon.info pppd[4014]: Exit. 
     43Jun 12 15:58:30 starseed daemon.notice netifd: Interface 'wan' is now down 
     44Jun 12 15:58:30 starseed kern.info kernel: [  148.030000] eth1: link down 
     45}}} 
    1146 = cross complie = 
    1247 * [http://wiki.openwrt.org/about/toolchain OpenWrt Buildroot – About - OpenWrt Wiki]