Пытаюсь подключится к сети belinfonet. Делаю следующее:
1. Устанавливаю pptp
2. В файле /etc/ppp/chap-secrets указываю имя пользователя USERNAME и пароль PASSWORD
3. Создаю файл подключения BELINFONET в папке /etc/ppp/peers который выглядит так:
Код: Выделить всё
remotename BELINFONET
pty "pptp --loglevel 1 81.25.32.67 --nolaunchpppd"
name USERNAME
noauth
debug
nodetach
lock
defaultroute
replacedefaultroute
noccp
5. При подключении:
Код: Выделить всё
cyber@cyber:~$ sudo pon BELINFONET
[sudo] password for cyber:
using channel 4
Using interface ppp0
Connect: ppp0 <--> /dev/pts/1
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x873ad5be> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x0 <mru 1400> <auth chap MS-v2> <magic 0xc85f3c> <pcomp> <accomp> <callback CBCP>]
No auth is possible
sent [LCP ConfRej id=0x0 <auth chap MS-v2> <callback CBCP>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x873ad5be> <pcomp> <accomp>]
rcvd [LCP TermReq id=0x1 00 c8 5f 3c 00 3c cd 74 00 00 03 97]
sent [LCP TermAck id=0x1]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x873ad5be> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x873ad5be> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x873ad5be> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x873ad5be> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x873ad5be> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x873ad5be> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x873ad5be> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x873ad5be> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x873ad5be> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x873ad5be> <pcomp> <accomp>]
Script pptp --loglevel 1 81.25.32.67 --nolaunchpppd finished (pid 16647), status = 0x0
Modem hangup
Connection terminated.
Спасибо