From: Aleksandr Fetininsky <sashurik@telecont.ru> To: community@altlinux.ru Subject: Re: [Comm] KPPP&LAN Date: Fri, 16 May 2003 21:43:44 +0400 Message-ID: <20030516214344.2b33d20f.sashurik@telecont.ru> (raw) In-Reply-To: <3EC4BAD9.8080203@kominet.ru> On Fri, 16 May 2003 14:18:01 +0400 Красавин Андрей <krasavin@kominet.ru> wrote: > Красавин Андрей пишет: > > Добрый всем день! > > > > Компьютер подключен к локальной сети с прямым выходом в Интернет. > > Сегодня принесли на тестирование модем Genius GM56PCI-LA, ну я его и > > > > решил проверить под линуксом (Мастер-2.2, ядро alt7). Драйвер к > > модему подцепился, запускаю КРРР, он коннектиться и вываливается с > > ошибкой на запуск pppd. Exit status в man pppd 20 видов, указывайте номер. > > Сделал service network off, после чего КРРР сконектился без проблем. > > > > Интересует общий вопрос: как можно подружить network и КРРР? Как я > > понял при запущенном интерфейсе eth0 у pppd возникают проблемы... > > > > Может я некорректно задал вопрос? Намекните, пожалуйста, тогда на > это... > > Просто мне интересно почему при отключенном eth0 КРРР заработал, > а при включенном возникла проблема с pppd. В /usr/share/ppp/sample/options читаем про опцию noipdefault: If no local IP address is given, pppd will use the first IP address that belongs to the local hostname. If "noipdefault" is given, this is disabled and the peer will have to supply an IP address. Я понял это так, что при начале дозвона к провайдеру pppd просматривает конфиги для ppp0 на предмет наличия IP-адреса. При его отсутствии он берет первый IP, принадлежащий машине. А при поднятой service network и настроенном LAN-соединении этот будет IP для eth0, что приведет к невозможности получения динамического IP и установления соединения. Чтобы избежать этого и применяется опция noipdefault в /etc/ppp/options. Похожая ситуация описана 12.05.03 в письме от Sergey Osipenko "проблема с ppp0 и pppd" -- Удачи Александр
next prev parent reply other threads:[~2003-05-16 17:43 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-05-16 8:44 Красавин Андрей 2003-05-16 10:18 ` Красавин Андрей 2003-05-16 17:43 ` Aleksandr Fetininsky [this message] 2003-05-17 1:57 ` Arcady V. Ivanov 2003-05-16 15:25 ` Sergey V Turchin 2003-05-18 5:02 ` Amodeus 2003-05-18 14:49 ` Anton Farygin 2003-05-19 3:29 ` Gosha 2003-05-19 5:12 ` Красавин Андрей 2003-05-19 6:00 ` Борис Ревякин 2003-05-19 10:51 ` Aleksandr Fetininsky 2003-05-19 17:06 ` 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=20030516214344.2b33d20f.sashurik@telecont.ru \ --to=sashurik@telecont.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