ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Aleksandr Fetininsky <sashurik@telecont.ru>
To: community@altlinux.ru
Subject: Re: [Comm] KPPP&LAN
Date: Mon, 19 May 2003 14:51:33 +0400
Message-ID: <20030519145133.5d2219d3.sashurik@telecont.ru> (raw)
In-Reply-To: <200305180902.12756.amodeus@pisem.net>

  On Sun, 18 May 2003 09:02:10 +0400 Amodeus <amodeus@pisem.net> wrote:

> В сообщении от 16 Май 2003 12:44 Красавин Андрей написал:
> > Интересует общий вопрос: как можно подружить network и КРРР?
> > Как я понял при запущенном интерфейсе eth0 у pppd возникают
> > проблемы...
> Очень просто! Как уже было сказано, что это из-за "дефолтового" 
> маршрута! Так вот...в kppp для каждого соединения настраиваются 
> команды, выполняемые до и после соединения и до и после разрыва! 
> Так что в пункте "до соединения" пишите команду для убивания 
> дефолтового роута (который для локальной сети), а в "после 
> разрыва" возвращайте этот маршрут! Вот и всё!

   А для чего тогда в /etc/sysconfig/network-scripts/ifup-ppp
   прописано следующее:

   if [ "$DEFROUTE" != no ] ; then
     # pppd will no longer delete an existing default  
     # so we have to help it out a little here.
     route del default >/dev/null 2>&1
     opts="$opts defaultroute"

     Или при одновременном наличии и eth0 и ppp0 будут
     какие-то нюансы?
    

> Удачи!
> -- 
> Amodeus
> Saratov Linux User Group
> amodeus@pisem.net
> http://saratov.lug.ru
> ЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪЪб╒i╝·+r≥╗╔┼x%┼кB╒i╝·+rЩ╘m√)НгЗН├шi
> ЪЪПц\x0fз√ыb·ЛЪ╝ОФj)fj\x7fЕ┼кb²З?r┴╕╨x╜
> 

--
Александр



  parent reply	other threads:[~2003-05-19 10:51 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
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 [this message]
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=20030519145133.5d2219d3.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