From: Немос <nemos@newmail.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Интернет с консоли...
Date: Thu, 08 Jan 2004 14:15:40 +0300
Message-ID: <3FFD3BDC.6020907@newmail.ru> (raw)
In-Reply-To: <200401081143.43737.johncook@mail.ru>
johncook пишет:
> В сообщении от 8 Январь 2004 10:27 Valery Glukhov написал(a):
>
>
>>привет
>>а чем тебя ppp-on/ppp-off из поставки Мастера не удовлетворяет?
>
> У меня MDK9.2...
Вот рецептик, слегка изменен по сравнению со стащеным у МТУ:
1. Добавляем в /etc/ppp файлы:
-"провайдер-chat-scrip", его содержание:
TIMEOUT 5
"" ATS7=45S0=0L1V1X4&C1E1Q0&K3
OK ATDP???????
ABORT BUSY
ABORT "NO ANSWER"
ABORT "NO DIAL TONE"
ABORT "NO CARRIER"
ABORT ERROR
TIMEOUT 45
CONNECT ""
телефон поменяй на телефон своего провайдера (ATDP???????),
строку инициализации если нужно.
-"ppp-on-провайдер-main" (для гостевого main меняй на guest)
:
if [ -r /var/run/ppp0.pid ]; then
kill -INT 'cat /var/run/ppp0.pid'
sleep 5
fi
pppd call провайдер-main 1> /dev/null &
-"ppp-off"
:
if [ -r /var/run/ppp0.pid ]; then
kill -INT `cat /var/run/ppp0.pid`
fi
-"ip-up.local" (для удобства)
:
EXEC /usr/bin/wall "PPP is up!"
-"ip-down.local"
:
EXEC /usr/bin/wall "PPP is down!"
2. Добавляем в /etc/ppp/peers файл "провайдер-main" (для гостевого main меняй на
guest)
-detach
lock
crtscts
noauth
defaultroute
debug
persist
pap-timeout 10
user твой логин
connect '/usr/sbin/chat -v -f/etc/ppp/провайдер-chat-script'
/dev/modem
19200
3. Добавляем в файл /etc/ppp/pap-secrets строчку,
"твой логин" * "твой пороль"
вот по моему и все
next prev parent reply other threads:[~2004-01-08 11:15 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-07 18:19 johncook
2004-01-07 18:32 ` Egor Grebnev
2004-01-07 18:44 ` Olga
2004-01-08 7:27 ` Valery Glukhov
2004-01-08 8:43 ` johncook
2004-01-08 11:15 ` Немос [this message]
2004-01-08 12:52 ` Немос
2004-01-07 18:51 ` Pyatnitskich Evgeniy
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=3FFD3BDC.6020907@newmail.ru \
--to=nemos@newmail.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