Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Case Analysis of pppoe-server Service pap pattern

2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

Today, I will introduce you to the example analysis of the pppoe-server service pap pattern. The content of the article is good. Now I would like to share it with you. Friends who feel in need can understand it. I hope it will be helpful to you. Let's read it along with the editor's ideas.

Start the pppoe process

/ usr/sbin/pppoe-server-k-T 60-I br-lan-N 100-L 10.0.1.1-R 10.0.1.2 #-k call kernel module otherwise you can't dial

It is possible to start dialing chap, and the problems encountered in pap mode are as follows:

Pppoe-server [2379]: Session 6 created for client 64:00:6a:57:df:e2 (10.0.1.7) on br-lan using Service-Name''pppd [2379]: Plugin / etc/ppp/plugins/rp-pppoe.so loaded.pppd [2379]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.7pppd [2379]: pppd 2.4.7 started by root Uid 0pppd [2379]: Connected to 64:00:6a:57:df:e2 via interface br-lanpppd [2379]: Using interface ppp0pppd [2379]: Connect: ppp0 br-lanpppd [2379]: Connection terminated.pppoe-server [1952]: Sent PADTpppd [2379]: Exit.

At first, I thought it was due to the compatibility of pppoe and pppd versions, but if I changed the version, I still couldn't. Finally, I blocked login.

# PPP options for the PPPoE server#LIC: GPLrequire-pap#loginlcp-echo-interval 10lcp-echo-failure 2mru 1492mtu 1492

Login: if this option is set, the login user name and password must be the same as one under the current linux system, otherwise an error will be reported.

Restart dialing

Pppoe-server [2418]: Session 7 created for client 64:00:6a:57:df:e2 (10.0.1.8) on br-lan using Service-Name''pppd [2418]: Plugin / etc/ppp/plugins/rp-pppoe.so loaded.pppd [2418]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.7pppd [2418]: pppd 2.4.7 started by root Uid 0pppd [2418]: Connected to 64:00:6a:57:df:e2 via interface br-lanpppd [2418]: Using interface ppp0pppd [2418]: Connect: ppp0 br-lanpppd [2418]: PAP peer authentication succeeded for adminpppd [2418]: peer from calling number 64:00:6A:57:DF:E2 authorizedpppd [2418]: local IP address 10.0.1.1pppd [2418]: remote IP address 10.0.1.8

After testing, chap is also available.

The above is the whole content of pppoe-server service pap pattern instance analysis, more content related to pppoe-server service pap pattern instance analysis can search the previous article or browse the following article to learn ha! I believe the editor will add more knowledge to you. I hope you can support it!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report