0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

pppoe-serverの設定がデフォルトの場所(/etc/ppp/options)だと読み込まれない

Last updated at Posted at 2022-02-18

地味にハマったので備忘録

Debian系ディストリビューションでpppoeパッケージを入れると、デフォルトで /etc/ppp/options に設定ファイルが設置されるが、これだとpppoe-serverコマンドでサーバーを起動しても設定が読み込まれない。(その他ディストロに関しては試してないので知らない)
しれっと置いてあるので、そのまま読み込まれそうだが本当に読み込まれない。

ログを見ると pppd: Can't open options file /etc/ppp/pppoe-server-options: No such file or directory と書いてあるので、/etc/ppp/pppoe-server-options に置かないといけないらしい

$ sudo cp /etc/ppp/options /etc/ppp/pppoe-server-optionsでコピーしたら動いた。
$ sudo pppoe -I eth1 -O /etc/ppp/optionsでも良さそう

manページを読むと from the default /etc/ppp/pppoe-server-options って書いてあるのになぜ /etc/ppp/options 設置されているのだろうか...
image.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?