差分
この文書の現在のバージョンと選択したバージョンの差分を表示します。
| 次のリビジョン | 前のリビジョン | ||
|
os:freebsd:mpd5:pppoe:start [2010/05/22 23:45] yuki 作成 |
os:freebsd:mpd5:pppoe:start [2011/08/24 10:07] (現在) |
||
|---|---|---|---|
| ライン 2: | ライン 2: | ||
| <note important> | <note important> | ||
| NTT東日本 フレッツ光で、直接モデムと接続する場合を想定。\\ | NTT東日本 フレッツ光で、直接モデムと接続する場合を想定。\\ | ||
| - | 光プレミアムとか、ひかり電話契約をしていると話が違ってくる(けどmpd5使う人には多分いらない心配) | + | 光プレミアムとか、ひかり電話契約をしていると話が異なる。\\ |
| + | が、mpd5を使おうとする人には無用な注釈である。 | ||
| </note> | </note> | ||
| + | ===== 設定たれ流し ===== | ||
| + | <code> | ||
| + | startup: | ||
| + | # Webからの管理画面必要なら以下コメント解除。(使った記憶が無い。 | ||
| + | # configure mpd users | ||
| + | # set user admin admin admin | ||
| + | # configure the console | ||
| + | # set console self 127.0.0.1 5005 | ||
| + | # set console open | ||
| + | # configure the web server | ||
| + | # set web self 0.0.0.0 5006 | ||
| + | # set web open | ||
| + | # Default configuration | ||
| + | default: | ||
| + | load pppoe_ocn | ||
| + | |||
| + | pppoe_ocn: | ||
| + | # PPPoE client: only outgoing calls, auto reconnect, | ||
| + | # ipcp-negotiated address, one-sided authentication, | ||
| + | # default route points on ISP's end | ||
| + | create bundle static B1 | ||
| + | set iface route default | ||
| + | set iface enable tcpmssfix | ||
| + | set ipcp ranges 0.0.0.0/0 0.0.0.0/0 | ||
| + | |||
| + | create link static L1 pppoe | ||
| + | set link action bundle B1 | ||
| + | set link max-redial 0 | ||
| + | set link keep-alive 10 60 | ||
| + | set link mtu 1448 | ||
| + | set link mru 1448 | ||
| + | set link disable pap chap | ||
| + | set link accept chap | ||
| + | set auth authname XXX@isp-domain | ||
| + | set auth password ぱすわーど | ||
| + | set pppoe iface vr0 | ||
| + | set pppoe service "" | ||
| + | open | ||
| + | </code> | ||
