Linuxでのみpppoeコマンドを使用してPPPoE接続を設定する

Linuxでのみpppoeコマンドを使用してPPPoE接続を設定する

私はDebian拡張を実行しています。現在、ネットワーク管理者を使用してpppoe接続を確立しています。しかし、pppoeコマンドを使ってpppoe接続を確立したいと思います。多くの情報や例が見つかりません。いくつかのオプションを試しましたが、次のデータが表示されます。

~▒}#▒!}!}!} }3}!}$}%▒}#}%▒#}%}%}&▒▒▒Ç~~▒}#▒!}!}"} }3}!}$}%▒}#}%▒#}%}%}&ʩ}$▒~~▒}#▒!}!}#} }3}!}$}%▒}#}%▒#}%}%}&▒▒}]}#hN~~▒}#▒!}!}$} }3}!}$}%▒}#}%▒#}%}%}&▒gJ▒7▒~~▒}#▒!}!}%} }3}!}$}%▒}#}%▒#}%}%}&▒I▒}&▒6~`

sudo pppoe --help or man pppoe  

Options:
   -I if_name     -- Specify interface (default eth0.)
   -D filename    -- Log debugging information in filename.
   -T timeout     -- Specify inactivity timeout in seconds.
   -t timeout     -- Initial timeout for discovery packets in seconds
   -V             -- Print version and exit.
   -A             -- Print access concentrator names and exit.
   -S name        -- Set desired service name.
   -C name        -- Set desired access concentrator name.
   -U             -- Use Host-Unique to allow multiple PPPoE sessions.
   -W value       -- Use Host-Unique set to 'value' specifically.
   -s             -- Use synchronous PPP encapsulation.
   -m MSS         -- Clamp incoming and outgoing MSS options.
   -p pidfile     -- Write process-ID to pidfile.
   -e sess:mac    -- Skip discovery phase; use existing session.
   -n             -- Do not open discovery socket.
   -k             -- Kill a session with PADT (requires -e)
   -d             -- Perform discovery, print session info and exit.
   -f disc:sess   -- Set Ethernet frame types (hex).
   -H XX:XX:XX:XX:XX:XX -- Force Hardware Address (hex).
   -h             -- Print usage information.

私のpppoeユーザー名パスワードを入力するオプションが見つかりません。

私のpppoe接続の詳細が次のような場合は、pppoeコマンドを使用してpppoeに接続する方法:

username : junky567
password : 123456
service name : dsldoublebroadband

ベストアンサー1

これを試してみてください:

set pppoe.username "username provided by ISP"
set pppoe.password "password"

おすすめ記事