Главная страница


ru.linux

 
 - RU.LINUX ---------------------------------------------------------------------
 From : Igor Alimov                          2:5020/400     22 Jun 2002  18:40:53
 To : Eugene Karpachov
 Subject : Re: Diald
 -------------------------------------------------------------------------------- 
 
 Hello, Eugene!
 You wrote to Igor Alimov on Sat, 22 Jun 2002 06:19:37 +0000 (UTC):
 
  EK> Я бы не писал адреса в pppd-options, даже и нулевые. И кавычки надо
  EK> убрать -
  EK> зачем они?
 
 Попробовал написать pppd-options name doporel, пока без результата.
 
  EK> Hадо включить в опции pppd "debug" и смотреть его выдачу в syslog.
  EK> Там обычно видно, который конец закрыл соединение и почему.
 
 Включил,  в логе имеем:
 Jun 22 18:01:56 netfinity chat[22564]: CONNECT
 Jun 22 18:01:56 netfinity chat[22564]:  -- got it
 Jun 22 18:01:56 netfinity chat[22564]: send (^M)
 Jun 22 18:01:57 netfinity diald[22410]: Connected to site 213.59.64.94
 Jun 22 18:01:57 netfinity diald[22410]: Running pppd (pid = 22644).
 Jun 22 18:01:57 netfinity diald[22644]: Running pppd:
 /usr/sbin/pppd -defaultroute -detach modem crtscts mtu 1500 mru 1500 name
 doporel
 Jun 22 18:02:56 netfinity diald[22410]: pppd startup timed out. Check your
 pppd options. Killing pppd.
 Jun 22 18:02:56 netfinity diald[22410]: start sl0: SIOCSIFMETRIC: Operation
 not supported
 Jun 22 18:02:56 netfinity diald[22410]: start sl0: RTNETLINK answers: No
 such process
 Jun 22 18:02:56 netfinity diald[22410]: child process 22644 terminated with
 signal 2
 Jun 22 18:02:56 netfinity diald[22410]: Disconnected. Call duration 59
 seconds.
 Jun 22 18:02:56 netfinity diald[22410]: IP transmitted 1872 bytes and
 received 0 bytes.
 Jun 22 18:02:57 netfinity diald[22410]: Delaying 5 seconds before clear to
 dial.
 Jun 22 18:03:03 netfinity diald[22410]: Calling site 213.59.64.94
 
 То есть отчетливо видно, что pppd совсем ничего не пытался делать и был убит
 Diald, после истечения time out.
 А вот для примера как это выгдядит при работе скрипта:
 
 Jun 22 18:09:39 netfinity chat[23247]: CONNECT
 Jun 22 18:09:39 netfinity chat[23247]:  -- got it
 Jun 22 18:09:39 netfinity chat[23247]: send (^M)
 Jun 22 18:09:39 netfinity pppd[23246]: Serial connection established.
 Jun 22 18:09:39 netfinity pppd[23246]: Using interface ppp0
 Jun 22 18:09:39 netfinity pppd[23246]: Connect: ppp0 <--> /dev/modem
 Jun 22 18:09:46 netfinity kernel: PPP BSD Compression module registered
 Jun 22 18:09:46 netfinity kernel: PPP Deflate Compression module registered
 Jun 22 18:09:47 netfinity pppd[23246]: local  IP address 213.59.64.205
 Jun 22 18:09:47 netfinity pppd[23246]: remote IP address 213.59.64.94
 With best regards, Igor Alimov.  E-mail: doporel@orel.ru
 --- ifmail v.2.15dev5
  * Origin: JSC "Electrosviaz" Orel region TTS (2:5020/400)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 Diald   Igor Alimov   20 Jun 2002 12:34:43 
 Re: Diald   bars@neman.grodno.by   21 Jun 2002 09:55:46 
 Re: Diald   Victor Wagner   21 Jun 2002 13:30:43 
 Re: Diald   Artem Chuprina   22 Jun 2002 01:35:40 
 Re: Diald   Igor Alimov   22 Jun 2002 17:47:57 
 Re: Diald   Artem Chuprina   24 Jun 2002 22:29:57 
 Re^2: Diald   Sergey Dudko   24 Jun 2002 10:16:58 
 Re: Re^2: Diald   Artem Chuprina   24 Jun 2002 22:32:01 
 Re: Diald   Eugene Karpachov   21 Jun 2002 15:05:34 
 Re: Diald   Igor Alimov   21 Jun 2002 20:56:03 
 Re: Diald   Eugene Karpachov   22 Jun 2002 10:19:37 
 Re: Diald   Igor Alimov   22 Jun 2002 18:40:53 
Архивное /ru.linux/54243122df3b.html, оценка 2 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional