* [Comm] Интернет с консоли...
@ 2004-01-07 18:19 johncook
2004-01-07 18:32 ` Egor Grebnev
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: johncook @ 2004-01-07 18:19 UTC (permalink / raw)
To: community
Собственно хочется узнать как осуществлять дозвон по модему,
как отключаться...
--
With best regards, johncook
registered Linux user #320418.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Comm] Интернет с консоли...
2004-01-07 18:19 [Comm] Интернет с консоли johncook
@ 2004-01-07 18:32 ` Egor Grebnev
2004-01-07 18:44 ` Olga
2004-01-07 18:51 ` Pyatnitskich Evgeniy
2 siblings, 0 replies; 8+ messages in thread
From: Egor Grebnev @ 2004-01-07 18:32 UTC (permalink / raw)
To: community, johncook
man wvdial?
On Wednesday 07 January 2004 21:19, johncook wrote:
> Собственно хочется узнать как осуществлять дозвон по модему,
> как отключаться...
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Comm] Интернет с консоли...
2004-01-07 18:19 [Comm] Интернет с консоли johncook
2004-01-07 18:32 ` Egor Grebnev
@ 2004-01-07 18:44 ` Olga
2004-01-08 7:27 ` Valery Glukhov
2004-01-07 18:51 ` Pyatnitskich Evgeniy
2 siblings, 1 reply; 8+ messages in thread
From: Olga @ 2004-01-07 18:44 UTC (permalink / raw)
To: community
johncook <johncook@mail.ru> пишет:
> Собственно хочется узнать как осуществлять дозвон по модему,
> как отключаться...
Об этом была хорошая статья:
http://community.asplinux.ru/documents/guide/inet-scripts.html
--
С уважением, (>|<)
OL |
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Comm] Интернет с консоли...
2004-01-07 18:44 ` Olga
@ 2004-01-08 7:27 ` Valery Glukhov
2004-01-08 8:43 ` johncook
0 siblings, 1 reply; 8+ messages in thread
From: Valery Glukhov @ 2004-01-08 7:27 UTC (permalink / raw)
To: community
On Thu, 8 Jan 2004 01:44:57 +0700
Olga <antilopa_gnu@list.ru> wrote:
> johncook <johncook@mail.ru> пишет:
>
> > Собственно хочется узнать как осуществлять дозвон по модему,
> > как отключаться...
>
> Об этом была хорошая статья:
> http://community.asplinux.ru/documents/guide/inet-scripts.html
>
привет
а чем тебя ppp-on/ppp-off из поставки Мастера не удовлетворяет?
С уважением,
Валерий
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Comm] Интернет с консоли...
2004-01-08 7:27 ` Valery Glukhov
@ 2004-01-08 8:43 ` johncook
2004-01-08 11:15 ` Немос
0 siblings, 1 reply; 8+ messages in thread
From: johncook @ 2004-01-08 8:43 UTC (permalink / raw)
To: community
В сообщении от 8 Январь 2004 10:27 Valery Glukhov написал(a):
> привет
> а чем тебя ppp-on/ppp-off из поставки Мастера не удовлетворяет?
У меня MDK9.2...
--
With best regards, johncook
registered Linux user #320418.
Компьютер имеет то преимущество перед мозгом, что им пользуются. — Габриэль
Лауб
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Comm] Интернет с консоли...
2004-01-08 8:43 ` johncook
@ 2004-01-08 11:15 ` Немос
2004-01-08 12:52 ` Немос
0 siblings, 1 reply; 8+ messages in thread
From: Немос @ 2004-01-08 11:15 UTC (permalink / raw)
To: community
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 строчку,
"твой логин" * "твой пороль"
вот по моему и все
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Comm] Интернет с консоли...
2004-01-08 11:15 ` Немос
@ 2004-01-08 12:52 ` Немос
0 siblings, 0 replies; 8+ messages in thread
From: Немос @ 2004-01-08 12:52 UTC (permalink / raw)
To: community
> вот по моему и все
Совсем забыл для файлов ppp-on-* и ppp-off нужны права на запуск и в качестве
владельца root, если хочешь дать и другим возможность подключаться с
использованием этих скриптов тогда uid в 1 и право лишь на запуск для остальных.
Для удобство сделай ссылки на ppp-on-* и ppp-off в каталоге /usr/local/sbin, не
придется каждый раз набирать весь путь к скриптам.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Comm] Интернет с консоли...
2004-01-07 18:19 [Comm] Интернет с консоли johncook
2004-01-07 18:32 ` Egor Grebnev
2004-01-07 18:44 ` Olga
@ 2004-01-07 18:51 ` Pyatnitskich Evgeniy
2 siblings, 0 replies; 8+ messages in thread
From: Pyatnitskich Evgeniy @ 2004-01-07 18:51 UTC (permalink / raw)
To: community
On Wed, Jan 07, 2004 at 09:19:20PM +0300, johncook wrote:
> Собственно хочется узнать как осуществлять дозвон по модему,
> как отключаться...
Настроить через draknet или вручную, и подключаться/отключаться
через ifup/ifdown.
--
---Regards, P.E.M. <pem@nm.ru>---
XMMS plays: Rammstein - Links 2-3-4
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2004-01-08 12:52 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-07 18:19 [Comm] Интернет с консоли 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 ` Немос
2004-01-08 12:52 ` Немос
2004-01-07 18:51 ` Pyatnitskich Evgeniy
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