ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] ve-pptp-server
@ 2007-04-10 15:54 ABATAPA
  2007-04-10 18:48 ` Michael Shigorin
  2007-04-10 19:16 ` Konstantin A. Lepikhov
  0 siblings, 2 replies; 10+ messages in thread
From: ABATAPA @ 2007-04-10 15:54 UTC (permalink / raw)
  To: sisyphus

Увидел ve-pptp-server, который тянет ряд пакетов.
Кто-нибудь объяснит, это - решение, позволяющее работать ppp в VE?
Требующее CAP_*? Или?
-- 
ABATAPA


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [sisyphus] ve-pptp-server
  2007-04-10 15:54 [sisyphus] ve-pptp-server ABATAPA
@ 2007-04-10 18:48 ` Michael Shigorin
  2007-04-11  6:43   ` ABATAPA
  2007-04-10 19:16 ` Konstantin A. Lepikhov
  1 sibling, 1 reply; 10+ messages in thread
From: Michael Shigorin @ 2007-04-10 18:48 UTC (permalink / raw)
  To: sisyphus

On Tue, Apr 10, 2007 at 07:54:33PM +0400, ABATAPA wrote:
> Увидел ve-pptp-server, который тянет ряд пакетов.  Кто-нибудь
> объяснит, это - решение, позволяющее работать ppp в VE?
> Требующее CAP_*? Или?

$ rpm -q --lastchange kernel-image-ovz-smp-2.6.18-alt13
* Thu Apr 05 2007 LAKostis <lakostis at altlinux.org> 2.6.18-alt13
[...]
- Add support of ppp device virtualization (backport
  http://bugzilla.openvz.org/show_bug.cgi?id=268).

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [sisyphus] ve-pptp-server
  2007-04-10 15:54 [sisyphus] ve-pptp-server ABATAPA
  2007-04-10 18:48 ` Michael Shigorin
@ 2007-04-10 19:16 ` Konstantin A. Lepikhov
  2007-04-11  6:42   ` ABATAPA
  1 sibling, 1 reply; 10+ messages in thread
From: Konstantin A. Lepikhov @ 2007-04-10 19:16 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

Hi ABATAPA!

Tuesday 10, at 07:54:33 PM you wrote:

> Увидел ve-pptp-server, который тянет ряд пакетов.
> Кто-нибудь объяснит, это - решение, позволяющее работать ppp в VE?
> Требующее CAP_*? Или?
Это набросок решения ;) Правда, при создании VE, которое вытягивает данный
пакет, нужные capabilites ставятся.

-- 
WBR et al.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [sisyphus] ve-pptp-server
  2007-04-10 19:16 ` Konstantin A. Lepikhov
@ 2007-04-11  6:42   ` ABATAPA
  2007-04-11  7:17     ` Konstantin A. Lepikhov
  0 siblings, 1 reply; 10+ messages in thread
From: ABATAPA @ 2007-04-11  6:42 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

Вторник 10 апреля 2007, Konstantin A. Lepikhov написал:
> Это набросок решения ;) Правда, при создании VE, которое вытягивает данный
> пакет, нужные capabilites ставятся.
Только при создании? Не пробовал...
А какие "нужные"? Выставил "руками", но не хватает /dev/ppp - создал...


-- 
ABATAPA


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [sisyphus] ve-pptp-server
  2007-04-10 18:48 ` Michael Shigorin
@ 2007-04-11  6:43   ` ABATAPA
  0 siblings, 0 replies; 10+ messages in thread
From: ABATAPA @ 2007-04-11  6:43 UTC (permalink / raw)
  To: sisyphus

Вторник 10 апреля 2007, Michael Shigorin написал:
> http://bugzilla.openvz.org/show_bug.cgi?id=268
Это я видел.
-- 
ABATAPA


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [sisyphus] ve-pptp-server
  2007-04-11  6:42   ` ABATAPA
@ 2007-04-11  7:17     ` Konstantin A. Lepikhov
  2007-04-11  9:27       ` ABATAPA
  0 siblings, 1 reply; 10+ messages in thread
From: Konstantin A. Lepikhov @ 2007-04-11  7:17 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

Hi ABATAPA!

Wednesday 11, at 10:42:43 AM you wrote:

> Вторник 10 апреля 2007, Konstantin A. Lepikhov написал:
> > Это набросок решения ;) Правда, при создании VE, которое вытягивает данный
> > пакет, нужные capabilites ставятся.
> Только при создании? Не пробовал...
> А какие "нужные"? Выставил "руками", но не хватает /dev/ppp - создал...
vzctl set <VEID> --devnodes ppp:rw --save

-- 
WBR et al.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [sisyphus] ve-pptp-server
  2007-04-11  7:17     ` Konstantin A. Lepikhov
@ 2007-04-11  9:27       ` ABATAPA
  2007-04-11  9:48         ` Konstantin A. Lepikhov
  0 siblings, 1 reply; 10+ messages in thread
From: ABATAPA @ 2007-04-11  9:27 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

Среда 11 апреля 2007, Konstantin A. Lepikhov написал:
> vzctl set <VEID> --devnodes ppp:rw --save
А у Вас работает PPtPd? У меня не работает, pppd ругается:
Apr 11 13:24:49 localhost pppd[17886]: This system lacks kernel support for 
PPP.  This could be because the PPP kernel module could not be loaded, or 
because PPP was not included in the kernel configuration.  If PPP was 
included as a module, try `/sbin/modprobe -v ppp'.  If that fails, check that 
ppp.o exists in /lib/modules/`uname -r`/net. See README.linux file in the ppp 
distribution for more details.

В конфиге:
DEVNODES="ppp:rw "
CAPABILITY="NET_BIND_SERVICE:on NET_BROADCAST:on NET_ADMIN:on NET_RAW:on "

-- 
ABATAPA


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [sisyphus] ve-pptp-server
  2007-04-11  9:27       ` ABATAPA
@ 2007-04-11  9:48         ` Konstantin A. Lepikhov
  2007-04-11 14:30           ` ABATAPA
  0 siblings, 1 reply; 10+ messages in thread
From: Konstantin A. Lepikhov @ 2007-04-11  9:48 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

Hi ABATAPA!

Wednesday 11, at 01:27:17 PM you wrote:

...
> Среда 11 апреля 2007, Konstantin A. Lepikhov написал:
> > vzctl set <VEID> --devnodes ppp:rw --save
> А у Вас работает PPtPd? У меня не работает, pppd ругается:
> Apr 11 13:24:49 localhost pppd[17886]: This system lacks kernel support for 
> PPP.  This could be because the PPP kernel module could not be loaded, or 
> because PPP was not included in the kernel configuration.  If PPP was 
> included as a module, try `/sbin/modprobe -v ppp'.  If that fails, check that 
> ppp.o exists in /lib/modules/`uname -r`/net. See README.linux file in the ppp 
> distribution for more details.
помойму из данной ругани все понятно - надо сначала загрузить ppp модули в
HN.

> 
> В конфиге:
> DEVNODES="ppp:rw "
> CAPABILITY="NET_BIND_SERVICE:on NET_BROADCAST:on NET_ADMIN:on NET_RAW:on "
и вам действительно нужно столько CAPABILITY?

-- 
WBR et al.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [sisyphus] ve-pptp-server
  2007-04-11  9:48         ` Konstantin A. Lepikhov
@ 2007-04-11 14:30           ` ABATAPA
  2007-04-11 14:40             ` Konstantin A. Lepikhov
  0 siblings, 1 reply; 10+ messages in thread
From: ABATAPA @ 2007-04-11 14:30 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

Среда 11 апреля 2007, Konstantin A. Lepikhov написал:
> помойму из данной ругани все понятно - надо сначала загрузить ppp модули в
> HN.
Да я как-то понял, не дурак. Дело-то в том, что в HN все загружено:
# lsmod | grep ppp
ppp_deflate             7168  0
zlib_deflate           19864  1 ppp_deflate
zlib_inflate           16128  1 ppp_deflate
ppp_mppe                7940  0
ppp_generic            28436  2 ppp_deflate,ppp_mppe
slhc                    7680  1 ppp_generic

> и вам действительно нужно столько CAPABILITY?
Пока точно не известно. :)



-- 
ABATAPA


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [sisyphus] ve-pptp-server
  2007-04-11 14:30           ` ABATAPA
@ 2007-04-11 14:40             ` Konstantin A. Lepikhov
  0 siblings, 0 replies; 10+ messages in thread
From: Konstantin A. Lepikhov @ 2007-04-11 14:40 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

Hi ABATAPA!

Wednesday 11, at 06:30:35 PM you wrote:

> Среда 11 апреля 2007, Konstantin A. Lepikhov написал:
> > помойму из данной ругани все понятно - надо сначала загрузить ppp модули в
> > HN.
> Да я как-то понял, не дурак. Дело-то в том, что в HN все загружено:
> # lsmod | grep ppp
> ppp_deflate             7168  0
> zlib_deflate           19864  1 ppp_deflate
> zlib_inflate           16128  1 ppp_deflate
> ppp_mppe                7940  0
> ppp_generic            28436  2 ppp_deflate,ppp_mppe
> slhc                    7680  1 ppp_generic
Загрузку модулей нужно делать перед стартом vz сервиса и VE. Попробуйте
остановить vz и контейнеры, и повторить попытку. Далее было бы интересно
посмотреть на вывод strace при загрузке pppd

> 
> > и вам действительно нужно столько CAPABILITY?
> Пока точно не известно. :)
по-идее, вам из этого списка ничего не нужно :)

-- 
WBR et al.


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2007-04-11 14:40 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-10 15:54 [sisyphus] ve-pptp-server ABATAPA
2007-04-10 18:48 ` Michael Shigorin
2007-04-11  6:43   ` ABATAPA
2007-04-10 19:16 ` Konstantin A. Lepikhov
2007-04-11  6:42   ` ABATAPA
2007-04-11  7:17     ` Konstantin A. Lepikhov
2007-04-11  9:27       ` ABATAPA
2007-04-11  9:48         ` Konstantin A. Lepikhov
2007-04-11 14:30           ` ABATAPA
2007-04-11 14:40             ` Konstantin A. Lepikhov

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git