ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Valentin Lavrinenko <lvu@uaservice.com.ua>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] Re: /sbin/ifup ppp0 - некорректная работа по Ctrl-C
Date: Thu, 20 Oct 2005 09:33:51 +0300
Message-ID: <43573A4F.1050307@uaservice.com.ua> (raw)
In-Reply-To: <20051019135418.GY16082@osdn.org.ua>

Hi!

Michael Shigorin wrote:

>А.  Вообще я, помнится, решил тогда проблему в корне -- воткнул
>ppp без demand в /etc/inittab под respawn.  Через несколько лет
>ещё работало :)
>  
>
Не совсем то, что мне нужно. Попробую описать задачу: мне нужен скриптик,
который бы устанавливал dialup-соединение, передавал по нему некие данные,
причем с восстановлением соединения (т.е. persist), и сразу разрывал. 
Никакого
demand, как видите. Причем юзер (в общем случае совсем тупой) должен иметь
возможность в любой момент разорвать соединение, нажав Ctrl-C. А тут 
получается,
что если он нажмет Ctrl-C слишком быстро (например, запустив скрипт 
случайно),
то имеет шанс получить поднятое соединение, кушающее online-время, и не 
умирающее
само по себе.

Хотел спросить: может ли мне помочь etcnet в этой ситуации? А то неохота 
время тратить
на заведомо проигрышный вариант.

Дальнейшие поиски решения ведутся.




  reply	other threads:[~2005-10-20  6:33 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-12 11:12 [Comm] " Valentin Lavrinenko
2005-10-18 11:24 ` Valentin Lavrinenko
2005-10-18 18:34   ` [Comm] " Michael Shigorin
2005-10-19  6:45     ` Valentin Lavrinenko
2005-10-19 12:20       ` Michael Shigorin
2005-10-19 13:49         ` Valentin Lavrinenko
2005-10-19 13:54           ` Michael Shigorin
2005-10-20  6:33             ` Valentin Lavrinenko [this message]
2005-10-20 11:55               ` Michael Shigorin
2005-10-21  8:11                 ` Valentin Lavrinenko
2005-10-21 12:09                   ` Michael Shigorin

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=43573A4F.1050307@uaservice.com.ua \
    --to=lvu@uaservice.com.ua \
    --cc=community@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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git