From: Paul Wolneykien <manowar@altlinux.org> To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org> Subject: Re: [sisyphus] Инициализация модема в pppd Date: Fri, 10 Jul 2009 00:41:55 +0400 Message-ID: <1247172115.9472.48.camel@dinkum-thinkum.spb.altlinux.org> (raw) In-Reply-To: <1247149714.12277.3.camel@latitude.localdomain> В Чтв, 09/07/2009 в 18:28 +0400, Alexey Rusakov пишет: > В Чтв, 09/07/2009 в 14:56 +0400, Paul Wolneykien пишет: > > Всем привет, :) > > > > Есть тут кто-нибудь, кто пользуется pppd? Не встречали такого > > странного поведения? > Когда-то давным-давно я пробовал подключаться к Скайлинку... > Удовольствие то ещё, надо сказать. Отчего-же? Подключается он с на раз, два. Но только после того, как откроешь порт другой программой. В том-то и вопрос. > А что написано в чатскрипте > (/etc/ppp/chat/skylink)? # cat /etc/ppp/peers/skylink connect '/usr/sbin/chat -V -f /etc/ppp/chat/skylink' disconnect '/usr/sbin/chat -V -f /etc/ppp/chat/skylink-disconnect' noauth defaultroute lock debug default-asyncmap ipcp-accept-local ipcp-accept-remote usepeerdns user mobile nodetach # cat /etc/ppp/chat/skylink ABORT 'BUSY' ABORT 'NO ANSWER' ABORT 'NO CARRIER' ABORT 'NO DIALTONE' ABORT '\nRINGING\r\n\r\nRINGING\r' TIMEOUT 5 '' 'AT' OK 'ATZ' OK 'ATD#777' CONNECT '' > > > -------- Пересланное сообщение -------- > > > От: Denis Smirnov <mithraen@freesource.info> > > > Кому: manowar@altlinux.org > > > Тема: Re: Инициализация модема в pppd > > > Дата: Thu, 9 Jul 2009 05:28:28 +0400 > > > > > > Эх... хотел бы я знать! > > > > > > 2009/7/9 Paul Wolneykien <manowar@altlinux.org>: > > > > > > > > Привет, :) > > > > > > > > Не могу понять одну такую вещь: > > > > > > > > $ sudo pppd /dev/ttyACM0 call skylink > > > > Connect script failed > > > > Modem hangup > > > > Connection terminated. > > > > > > > > И так сколько угодно раз. Думал уже, что модем не работает. > > > > > > > > Но если открыть minicom и выйти оттуда _без сброса модема_ (C^A Q), то > > > > после этого pppd подключается нормально. Более того, вместо minicom > > > > можно запустить вручную тот же скрипт chat, который указан в > > > > конфигурации peer: > > > > > > > > $ sudo /usr/sbin/chat -V -f /etc/ppp/chat/skylink </dev/ttyACM0 > > > >>/dev/ttyACM0 > > > > > > > > После этого тоже всё приходит в норму. > > > > > > > > Создаётся впечатление, что pppd не делает чего-то важного, только вот > > > > не могу понять чего. Строку инициализации менять пробовал. Опции > > > > управления потоком (flow control) тоже. Безрезультатно. > > > > > > > > Может быть ты знаешь, чего ему не хватает? > > > > > > > > Павел. >
next prev parent reply other threads:[~2009-07-09 20:41 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-07-09 10:56 [sisyphus] [Fwd: Re: Инициализация модема в pppd] Paul Wolneykien 2009-07-09 11:25 ` Ildar Mulyukov 2009-07-10 9:41 ` Paul Wolneykien 2009-07-10 10:08 ` Ildar Mulyukov 2009-07-10 10:55 ` Alexey Rusakov 2009-07-09 14:28 ` Alexey Rusakov 2009-07-09 20:41 ` Paul Wolneykien [this message] 2009-07-12 19:45 ` [sisyphus] Инициализация модема в pppd Yura Kalinichenko
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1247172115.9472.48.camel@dinkum-thinkum.spb.altlinux.org \ --to=manowar@altlinux.org \ --cc=sisyphus@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git