ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Alexander Yereshenko <ave4600@mail.ru>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] VPN connection on ALT Linux 4 Desktop
Date: Sat, 2 Jun 2007 01:01:33 +0300
Message-ID: <200706020101.33726.ave4600@mail.ru> (raw)
In-Reply-To: <465F9BAA.3050805@ngs.ru>

Доброе!
В сообщении от Friday 01 June 2007 07:08:10 CAMELj написал(а):

>   Установил я бету (dvd4-20070524.iso).
> Возникла такая проблема: настройки для соединения к VPN, которые я применял
> в 3.0.4 не работают... соединение происходит, выделяется IP, все вроде
> нормально,
> но дефалт роут на ppp0 не переходит (хотя в настройках это указано
> словом defaultroute).
> Ну думаю не беда, прописываю в ip-up в самом конце нужный роут дефалтом.
> Теперь уже вроде как нормально, но стоит только попробовть открыть
> страничку, как происходит дисконнект. Настроить альтератором пробовал -
> то же самое.

Мож поможет...

У меня сейчас сизиф где-то двухнедельной давности...
Когда начал настраивать соединение pppoe через альтератор - эффект был 
аналогичный - разрыв соединения после 10-30 секунд работы (с pptp через 
альтератор - то же самое) Попробовал настроить pptp через KVpnc - 
заработало... Сравнил параметры для ppp и поправил ручками, то что сделал мне 
альтератор для etcnet. Сейчас настройки выглядят так:
 
В /etc/ppp/chap-secrets - логин пароль

/etc/net/ifaces/ppp20/options :
ONBOOT=yes
PPPTYPE=pppoe
HOST=eth0
PPPPERSIST=on
PPPMAXFAIL=0

/etc/net/ifaces/ppp20/pppoptions :
user xxxxxxx
defaultroute
nomppe
bsdcomp 9,15
deflate 9,15

Последние три параметра и оказались принципиальными - их альтератор не делает. 
Может, что-то и лишнее, может можно и оптимальней, но работает...

Роутинг в сторону vpn-сервера явно прописал в /etc/net/ifaces/eth0/ipv4route

Ну и так как поставил себе локальный кэширующий dns (основной у меня доступен 
через eth0 - это в локальной районной сети), то насильно возвращаю 
resolv.conf  в прежнее состояние (127.0.0.1)
/etc/ppp/ip-up.d/replace_dns:
#!/bin/sh
cp -f /etc/resolv.conf.sv /etc/resolv.conf


--
Alexander

  reply	other threads:[~2007-06-01 22:01 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-01  4:08 CAMELj
2007-06-01 22:01 ` Alexander Yereshenko [this message]
2007-06-02  3:07   ` Хихин Руслан
2007-06-02  7:22     ` Alexander Yereshenko
2007-06-02  7:35       ` Хихин Руслан
2007-06-02  4:04   ` Хихин Руслан
2007-06-02  7:32     ` Alexander Yereshenko
2007-06-02 10:35   ` CAMELj
2007-06-04 12:40 ` ABATAPA
2007-06-04  6:31   ` CAMELj
2007-06-04 13:34     ` Eugene Ostapets
2007-06-04  6:46       ` CAMELj
2007-06-04 13:50         ` Eugene Ostapets
2007-06-04 14:45           ` CAMELj
2007-06-04 14:47             ` Eugene Ostapets
2007-06-04 14:51               ` CAMELj
2007-06-04 15:08                 ` Eugene Ostapets
2007-06-04 15:16                   ` CAMELj
2007-06-04 15:21                     ` Eugene Ostapets

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=200706020101.33726.ave4600@mail.ru \
    --to=ave4600@mail.ru \
    --cc=community@lists.altlinux.org \
    /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