From: Oleg Dolgov <dov@media-link.info>
To: community@altlinux.ru
Subject: Re: [Comm] ifup ppp0 vs ppp-on
Date: Thu, 4 Dec 2003 16:29:24 +0200
Message-ID: <20031204162924.346aee4f.dov@media-link.info> (raw)
In-Reply-To: <20031204122500.168fd3e2.dov@media-link.info>
[-- Attachment #1: Type: text/plain, Size: 1718 bytes --]
On Thu, 4 Dec 2003 12:25:00 +0200 Oleg Dolgov <dov@media-link.info>
wrote:
> Здрасьте.
>
> Вопрос к людям, использующих для дозвона ppp-on и т.п.
> Чем принципиально отличается настройка подобного дозвона от
> ifup ppp0? В данный момент так и дозваниваюсь, но хочется организовать
> дозвон к провайдеру через ppp-on. По крайней мере эти скрипты
> использует аплет "Лампочки модема" в Гноме (хотелось его заполучить).
>
Нашел в гугле ссылку
http://www.mgul.ac.ru/~t-alex/Linux/PPP-HOWTO/ppp15.htm
почитал, сделал как там написано.
Результат:
[root@localhost ppp]# ./ppp-on
/usr/sbin/pppd: The remote system is required to authenticate itself
/usr/sbin/pppd: but I couldn't find any suitable secret (password) for
it to use to do so.[root@localhost ppp]#
Что не так?
Скрипт ppp-on
#!/bin/sh
/skip
# These are the parameters. Change as needed.
TELEPHONE=18-08-08 # The telephone number for the connection
ACCOUNT=мой логин # The account name for logon (as in 'George Burns')
PASSWORD=мой пароль # The password for this account (and 'Gracie
Allen') LOCAL_IP=0.0.0.0 # Local IP address if known. Dynamic = 0.0.0.0
REMOTE_IP=0.0.0.0 # Remote IP address if desired. Normally 0.0.0.0
NETMASK=255.255.255.0 # The proper netmask if needed
#
/skip
#
DIALER_SCRIPT=/etc/ppp/ppp-on-dialer
#
/skip
#
exec /usr/sbin/pppd -d /dev/ttyS0 38400 \
$LOCAL_IP:$REMOTE_IP \
connect $DIALER_SCRIPT
В скрипте ppp-on-dialer изменил только ATDT на ATDP
/etc/ppp/options содержит:
debug
lock
modem
auth
-chap
+pap
crtscts
Сдесь ничего не менял, т.к. ifup ppp0 работает нормально.
--
С наилучшими,
Олег Долгов
<dov at media-link dot info>
Registered Linux user #315454
[-- Attachment #2: Type: application/pgp-signature, Size: 307 bytes --]
next prev parent reply other threads:[~2003-12-04 14:29 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-04 10:25 Oleg Dolgov
2003-12-04 14:29 ` Oleg Dolgov [this message]
2003-12-04 15:39 ` Dmitry
2003-12-05 7:43 ` Oleg Dolgov
2003-12-05 8:02 ` Re[2]: " "KoLyA"
2003-12-05 10:03 ` Oleg Dolgov
2003-12-05 10:44 ` Re[4]: " "KoLyA"
2003-12-05 11:20 ` Oleg Dolgov
2003-12-05 13:20 ` Re[2]: " "KoLyA"
2003-12-05 17:30 ` Re[3]: " "KoLyA"
2003-12-09 14:11 ` Oleg Dolgov
2003-12-05 14:33 ` Re[4]: " Sasha Martsinuk
2003-12-05 18:32 ` Re[5]: " Sasha Martsinuk
2003-12-04 16:24 ` Aleksandr Fetininsky
2003-12-05 7:19 ` Oleg Dolgov
2003-12-05 8:31 ` Aleksandr Fetininsky
2003-12-05 10:11 ` Oleg Dolgov
2003-12-04 15:32 ` "KoLyA"
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=20031204162924.346aee4f.dov@media-link.info \
--to=dov@media-link.info \
--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