сервис_ppp

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
сервис_ppp [2016/07/27 08:22]
val
сервис_ppp [2020/01/28 10:29]
val [Linux pppd]
Line 14: Line 14:
 </​code>​ </​code>​
  
-==== Linux pppd ====+==== Debian/​Ubuntu ​pppd ====
 <​code>​ <​code>​
 root@gate:​~#​ cat /​etc/​ppp/​chap-secrets root@gate:​~#​ cat /​etc/​ppp/​chap-secrets
Line 42: Line 42:
 </​code><​code>​ </​code><​code>​
 require-mschap-v2 require-mschap-v2
-# ms-dns 192.168.X.1+# ms-dns 192.168.X.10
 </​code>​ </​code>​
  
Line 64: Line 64:
  set radius /​etc/​radius.conf  set radius /​etc/​radius.conf
 </​code>​ </​code>​
 +
 +==== Debian ====
 +
 +Пока, не заработало
 +
 +<​code>​
 +# apt install libradcli4
 +
 +# cd /​etc/​radcli/​
 +</​code>​
 +
  
 ==== Ubuntu ==== ==== Ubuntu ====
 <​code>​ <​code>​
-root@gate:~# rm /​etc/​ppp/​chap-secrets+gate# rm /​etc/​ppp/​chap-secrets
  
-root@gate:~# apt-get install radiusclient1+ubuntu14# apt install radiusclient1 
 + 
 +ubuntu16# apt install libfreeradius-client-dev 
 +или хватит 
 +ubuntu16# apt install libfreeradius-client2
  
 root@gate:​~#​ cat /​etc/​radiusclient/​radiusclient.conf root@gate:​~#​ cat /​etc/​radiusclient/​radiusclient.conf
Line 77: Line 92:
 ... ...
 acctserver ​   server.corpX.un acctserver ​   server.corpX.un
 +...
 +#​radius_deadtime ​      0
 ... ...
 </​code><​code>​ </​code><​code>​
Line 83: Line 100:
 server.corpX.un testing123 server.corpX.un testing123
 </​code><​code>​ </​code><​code>​
 +ubuntu16# touch /​etc/​radiusclient/​port-id-map
 +
 root@gate:​~#​ cat /​etc/​ppp/​pppoe-server-options root@gate:​~#​ cat /​etc/​ppp/​pppoe-server-options
 </​code><​code>​ </​code><​code>​
сервис_ppp.txt · Last modified: 2020/12/02 16:40 by val