vpk_vpk Posted October 22, 2004 Report Posted October 22, 2004 Ситуация такова: запускается, создает устройство tap0, обращается к модему и - ничего. В логах: /var/log/messages : Oct 22 12:39:40 gentoo diald[1786]: ignore parsing error. Got token 'udp.router'. Not a known udp service port. Oct 22 12:39:40 gentoo diald[1786]: parse string: 'udp udp.dest=udp.router' Oct 22 12:39:40 gentoo diald[1786]: ignore parsing error. Got token 'udp.router'. Not a known udp service port. Oct 22 12:39:40 gentoo diald[1786]: parse string: 'udp udp.source=udp.router' Oct 22 12:39:40 gentoo diald[1787]: start tap0: SIOCSIFMETRIC: Operation not supported Oct 22 12:39:40 gentoo diald[1787]: Calling site 10.0.0.3 Oct 22 12:39:41 gentoo chat[1792]: expect (MODEM_INIT="") Oct 22 12:39:49 gentoo diald[1787]: Trigger: tcp 10.0.0.2/32774 213.156.65.50/143 Oct 22 12:40:26 gentoo chat[1792]: alarm Oct 22 12:40:26 gentoo chat[1792]: Failed Oct 22 12:40:26 gentoo diald[1787]: Connect script failed. Oct 22 12:40:27 gentoo diald[1787]: Delaying 10 seconds before clear to dial. Oct 22 12:40:37 gentoo diald[1787]: Calling site 10.0.0.3 Oct 22 12:40:38 gentoo chat[1816]: expect (MODEM_INIT="") Oct 22 12:41:22 gentoo diald[1787]: Trigger: tcp 10.0.0.2/32774 213.156.65.50/143 Oct 22 12:41:23 gentoo chat[1816]: alarm Oct 22 12:41:23 gentoo chat[1816]: Failed Oct 22 12:41:23 gentoo diald[1787]: Connect script failed. Oct 22 12:41:24 gentoo diald[1787]: Delaying 10 seconds before clear to dial. /etc/diald/diald.conf : mode ppp connect "/usr/sbin/chat -v -f /etc/network-scripts/chat-ppp0" #device /dev/modem device /dev/ttyS0 speed 115200 modem lock local 10.0.0.2 remote 10.0.0.3 dynamic defaultroute connect-timeout 90 redial-timeout 10 retry-count 3 include /etc/diald/diald.filter fifo /var/cache/diald/diald.ctl Собственно, подозрение вызывают строкм: Got token 'udp.router' start tap0: SIOCSIFMETRIC: Operation not supported , дальше - логично. Не подскажет ли кто-нибудь? Quote
Legalizer Posted October 22, 2004 Report Posted October 22, 2004 Вам принципиально пользоваться diald? Может быть имеет смысл посмотреть в man pppd на предмет опции demand и других. Quote
Legalizer Posted October 22, 2004 Report Posted October 22, 2004 А в данный момент проблема в chat скрипте, который ждет от модема вот что: Oct 22 12:39:41 gentoo chat[1792]: expect (MODEM_INIT="") И не получает. Так что его и правьте. Quote
vpk_vpk Posted October 22, 2004 Author Report Posted October 22, 2004 Принципа особого нет, просто нужна "универсальная авторизация", для разных провайдеров, а pppd-demand настолько побороть не получается. Wvdial с авторизацией справляется, но после отключения по тайм-ауту не соединяется снова (похоже, не может помириться с тем же pppd). Системы ставил всякие - от RH7.1 до SuSE 9.1 Professional. Железо и скрипт соединения - рабочие (вроде) - в ручном режиме работают. Вообще, что-то с этим вопросом не сложилось . Туплю, наверное. Если есть статейки, киньте ссылкой, пожалуйста. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.