LINUX.ORG.RU
ФорумAdmin

Знатокам pppd


0

0

Пускаю pppd /dev/ttyS0 file /etc/ppp/options.ttyS0 с опциями

lock -detach debug modem asyncmap 0 crtscts 57600 defaultroute noipdefault connect /etc/ppp/ppp-on-dialer

выдает лог и связь обрубает ...

Oct 8 12:09:17 boss pppd[25779]: pppd 2.3.11 started by ss, uid 0 Oct 8 12:09:18 boss chat[25780]: timeout set to 1 seconds Oct 8 12:09:18 boss chat[25780]: abort on (\nBUSY\r) Oct 8 12:09:18 boss chat[25780]: abort on (\nNO ANSWER\r) Oct 8 12:09:18 boss chat[25780]: abort on (\nRINGING\r\n\r\nRINGING\r) Oct 8 12:09:18 boss chat[25780]: send (rAT^M) Oct 8 12:09:18 boss chat[25780]: expect (OK) Oct 8 12:09:18 boss chat[25780]: rAT^M^M Oct 8 12:09:18 boss chat[25780]: OK Oct 8 12:09:18 boss chat[25780]: -- got it Oct 8 12:09:18 boss chat[25780]: send (ATH0^M) Oct 8 12:09:18 boss chat[25780]: timeout set to 30 seconds Oct 8 12:09:18 boss chat[25780]: expect (OK) Oct 8 12:09:18 boss chat[25780]: ^M Oct 8 12:09:18 boss chat[25780]: ATH0^M^M Oct 8 12:09:18 boss chat[25780]: OK Oct 8 12:09:18 boss chat[25780]: -- got it Oct 8 12:09:18 boss chat[25780]: send (ATDT177222^M) Oct 8 12:09:18 boss chat[25780]: expect (CONNECT) Oct 8 12:09:18 boss chat[25780]: ^M Oct 8 12:09:39 boss chat[25780]: ATDT177222^M^M Oct 8 12:09:39 boss chat[25780]: CONNECT Oct 8 12:09:39 boss chat[25780]: -- got it Oct 8 12:09:39 boss chat[25780]: send (^M) Oct 8 12:09:39 boss chat[25780]: expect (ogin:) Oct 8 12:09:39 boss chat[25780]: 33600^M Oct 8 12:09:40 boss chat[25780]: ^M Oct 8 12:09:40 boss chat[25780]: ^M Oct 8 12:09:40 boss chat[25780]: User Access verification^M Oct 8 12:09:40 boss chat[25780]: ^M Oct 8 12:09:40 boss chat[25780]: login: Oct 8 12:09:40 boss chat[25780]: -- got it Oct 8 12:09:40 boss chat[25780]: send (Pregadm^M) Oct 8 12:09:40 boss chat[25780]: expect (assword:) Oct 8 12:09:40 boss chat[25780]: Pregadm^M Oct 8 12:09:40 boss chat[25780]: Password: Oct 8 12:09:40 boss chat[25780]: -- got it Oct 8 12:09:40 boss chat[25780]: send (Cnfc.R^M) Oct 8 12:09:40 boss pppd[25779]: Serial connection established. Oct 8 12:09:40 boss pppd[25779]: Using interface ppp0 Oct 8 12:09:40 boss pppd[25779]: Connect: ppp0 <--> /dev/ttyS0 Oct 8 12:09:43 boss pppd[25779]: Peer is not authorized to use remote address 212.86.97.192 Oct 8 12:09:43 boss pppd[25779]: Connection terminated. Oct 8 12:09:43 boss pppd[25779]: Connect time 0.1 minutes. Oct 8 12:09:43 boss pppd[25779]: Sent 178 bytes, received 361 bytes. Oct 8 12:09:44 boss pppd[25779]: Exit.

В чем может быть проблема ?

anonymous

Разобрался добавлением опции noauth Но теперь не устанавливает маршрут по умолчанию хотя defaultroute в опциях указано.. Как бороться?

anonymous
()

С defaultroute такая же песня, если найдешь подскажи на dimaa@rambler.ru

anonymous
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.