From: vic ismakaev <viclists@mail.esoo.ru>
To: community@altlinux.ru
Subject: Re: [Comm] ?: как идеологически правильно стартовать pppd из стартовыхскриптов в режиме on demand?
Date: Wed, 16 Apr 2003 09:29:54 +0600
Message-ID: <200304160929.54364.viclists@mail.esoo.ru> (raw)
In-Reply-To: <20030415185904.17e87b11.gosha@zkb.ru>
15 Апрель 2003 18:59, Igor Solovyov написал:
> Hi!
> On Tue, 15 Apr 2003 17:53:04 +0600
>
> vic ismakaev <viclists@mail.esoo.ru> wrote:
> > > Есть где нибудь пример интегрирования с ifcfg* , ifup* ,
> > > ifdown* из/etc/sysconfig/network-scripts ? Я могу и сам
> > > обертку на shell сделать, но хочется сделать правильно 'by
> > > design'. Так и подмывает положить скрипт в rc.d/init.d, но
> > > сдается мне что это не самое правильное место. Ы?
> >
> > ifcfg-ppp0
> > и в нем
> > DEMAND=yes
>
> А как вот такую строчку туда вбить:
>
> pppd /dev/ttyS1 115200 192.168.1.2:192.168.1.1 \
> defaultroute persist
Все переменные описываются в ifup-ppp/ifdown-ppp.
Насколько я понял идеологию этого скрипта - там есть возможность добавить свои
опции в поля opts. Посмотрите повнимательнее на эти скрипты - там все
довольно прозрачно.
--
С уважением
Виктор В Исмакаев
next prev parent reply other threads:[~2003-04-16 3:29 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-15 14:26 [Comm] ?: как идеологически правильно стартовать pppd из стартовых скриптов " Oleg K. Artemjev
2003-04-15 10:35 ` Sergey Degtyaryov
2003-04-15 14:57 ` Oleg K. Artemjev
2003-04-15 11:53 ` vic ismakaev
2003-04-15 12:59 ` Igor Solovyov
2003-04-16 3:29 ` vic ismakaev [this message]
2003-04-16 4:04 ` [Comm] ?: как идеологически правильно стартовать pppd из стартовыхскриптов " Igor Solovyov
2003-04-18 12:33 ` vic ismakaev
2003-04-18 13:03 ` Igor Solovyov
2003-04-22 4:54 ` vic ismakaev
2003-04-22 5:03 ` Igor Solovyov
2003-04-22 5:25 ` vic ismakaev
2003-04-15 17:27 ` [Comm] ?: как идеологически правильно стартовать pppd из стартовых скриптов " Oleg K. Artemjev
2003-04-16 3:31 ` vic ismakaev
2003-04-16 17:43 ` [Comm] " Konstantin Lepikhov
2003-04-17 2:44 ` Pavel N.Solovyov
2003-04-17 4:46 ` metrol
2003-04-18 10:54 ` Oleg K. Artemjev
2003-04-18 11:47 ` Igor Solovyov
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=200304160929.54364.viclists@mail.esoo.ru \
--to=viclists@mail.esoo.ru \
--cc=community@altlinux.ru \
/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