The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]



Индекс форумов
Составление сообщения

Исходное сообщение
"ppp и mgetty"
Отправлено Skif, 13-Июн-06 10:13 
>Проблема только в установке связи с модемом, факсы же принимаются нормально, а
>вот модемом дозваниваюсь и коннект дохнет. В /etc/ttys все модемы присутствуют.
>


Еще раз внимательно прочитайте что написали вы и что написал я. Вы пытаетесь оконфигурить ppp.conf вызывая при этом pppd. Для него разумнее описать options файл, где передать все параметры. ppp.conf востребован именно для user-ppp
читаем
[man ppp]
FILES
     ppp refers to four files: ppp.conf, ppp.linkup, ppp.linkdown and
     ppp.secret.  These files are placed in the /etc/ppp directory.

     /etc/ppp/ppp.conf
         System default configuration file.

     /etc/ppp/ppp.secret
         An authorisation file for each system.

     /etc/ppp/ppp.linkup
         A file to check when ppp establishes a network level connection.

     /etc/ppp/ppp.linkdown
         A file to check when ppp closes a network level connection.
.....................................................................

и сравниваем


[man pppd]
..............
FILES
       /var/run/pppn.pid (BSD or Linux), /etc/ppp/pppn.pid (others)
              Process-ID for pppd process on ppp interface unit n.

       /etc/ppp/pap-secrets
              Usernames, passwords and IP addresses  for  PAP  authentication.
              This  file  should be owned by root and not readable or writable
              by any other user.  Pppd will log a warning if this is  not  the
              case.

       /etc/ppp/chap-secrets
              Names, secrets and IP addresses for CHAP authentication.  As for
              /etc/ppp/pap-secrets, this file should be owned by root and  not
              readable or writable by any other user.  Pppd will log a warning
              if this is not the case.

       /etc/ppp/options
              System default  options  for  pppd,  read  before  user  default
              options or command-line options.

       ~/.ppprc
              User default options, read before /etc/ppp/options.ttyname.

       /etc/ppp/options.ttyname
              System  default  options  for  the  serial port being used, read
              after ~/.ppprc.  In forming the ttyname part of  this  filename,
              an  initial  /dev/  is stripped from the port name (if present),
              and any slashes in the remaining part are converted to dots.

       /etc/ppp/peers
              A directory containing options files which  may  contain  privi-
              leged  options,  even  if  pppd was invoked by a user other than
              root.  The system administrator can create options files in this
              directory  to  permit  non-privileged  users to dial out without
              requiring the peer to authenticate, but only to certain  trusted
              peers.

       /etc/ppp/ppp.deny
              Lists  users who may not use the system password PAP authentica-
              tion.

       /etc/ppp/ppp.shells
              Lists user shells which are approved  for  system  password  PAP
              authentication logins.

       /usr/share/examples/pppd/
              Sample pppd configuration files.

.....................................................................
Вы где-то в man pppd увидели ppp.conf ? Я нет.

 

Ваше сообщение
Имя*:
EMail:
Для отправки новых сообщений в текущей нити на email укажите знак ! перед адресом, например, !user@host.ru (!! - не показывать email).
Более тонкая настройка отправки ответов производится в профиле зарегистрированного участника форума.
Заголовок*:
Сообщение*:
 
При общении не допускается: неуважительное отношение к собеседнику, хамство, унизительное обращение, ненормативная лексика, переход на личности, агрессивное поведение, обесценивание собеседника, провоцирование флейма голословными и заведомо ложными заявлениями. Не отвечайте на сообщения, явно нарушающие правила - удаляются не только сами нарушения, но и все ответы на них. Лог модерирования.



Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру