我正在运行 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"