User Tools

Site Tools


faq

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

faq [2014/10/12 16:49]
dmitry created
faq [2014/10/12 16:53] (current)
dmitry
Line 15: Line 15:
 Yes, in fact accel-ppp doesn'​t use pppd because it has its own ppp implementation.\\ Yes, in fact accel-ppp doesn'​t use pppd because it has its own ppp implementation.\\
 To terminate session you may use three methods: To terminate session you may use three methods:
-  - Use cli (telnet or tcp):\\+ 
 + ​1. ​Use cli (telnet or tcp):\\
     By default telnet listens connections on 2000 port and tcp on 2001 port.     By default telnet listens connections on 2000 port and tcp on 2001 port.
-    ​<​code>​+<​code>​
 $ telnet 127.0.0.1 2000 $ telnet 127.0.0.1 2000
 Trying 127.0.0.1... Trying 127.0.0.1...
Line 24: Line 25:
 accel-ppp version 1.5.0 accel-ppp version 1.5.0
 accel-ppp# terminate if ppp0 accel-ppp# terminate if ppp0
-    ​</​code>​ +</​code>​ 
- +or 
-    ​or +<​code>​
-    <​code>​+
 $ echo '​terminate if ppp0' | nc -q0 127.0.0.1 2001 $ echo '​terminate if ppp0' | nc -q0 127.0.0.1 2001
-    ​</​code>​+</​code>​ 
 +There are also other criterias to select session(s), use //​help// ​ cli command to get more information.
  
-    There are also other criterias to select session(s), use //​help// ​ cli command to get more information. 
  2. Use radius Disconnect-Message:​  2. Use radius Disconnect-Message:​
-    ​<​code>​+<​code>​
 $ echo '​NAS-Port=0'​ | radclient 127.0.0.1:​3799 disconnect testing123 $ echo '​NAS-Port=0'​ | radclient 127.0.0.1:​3799 disconnect testing123
 Received response ID 170, code 41, length = 20 Received response ID 170, code 41, length = 20
-    ​</​code>​ +</​code>​ 
- +and you can control it in logs: 
-    ​and you can control it in logs: +<​code>​
-    <​code>​+
 [2012-01-21|16:​48:​55]: ​ info: ppp0: recv [RADIUS|Disconnect-Request id=aa <​NAS-Port 0>] [2012-01-21|16:​48:​55]: ​ info: ppp0: recv [RADIUS|Disconnect-Request id=aa <​NAS-Port 0>]
 [2012-01-21|16:​48:​55]: ​ info: ppp0: send [RADIUS|Disconnect-ACK id=aa] [2012-01-21|16:​48:​55]: ​ info: ppp0: send [RADIUS|Disconnect-ACK id=aa]
-    ​</​code>​+</​code>​
  
  3. Use snmp:  3. Use snmp:
-    ​<​code>​+<​code>​
 $ snmpset -m +ACCEL-PPP-MIB -v 2c -c local 127.0.0.1 ACCEL-PPP-MIB::​termByIfName.0 = ppp0 $ snmpset -m +ACCEL-PPP-MIB -v 2c -c local 127.0.0.1 ACCEL-PPP-MIB::​termByIfName.0 = ppp0
-    ​</​code>​ +</​code>​ 
- +For more information visit [[SNMP]] page.
-    ​For more information visit [SNMP] page.+
faq.txt · Last modified: 2014/10/12 16:53 by dmitry