Ура! Кажется, заработало!

Сейчас у меня вот такой конфиг:

r...@web:/etc/default# cat ./ddclient
# Configuration for ddclient scripts
# generated from debconf on Вск Май  3 22:01:47 MSD 2009
#
# /etc/default/ddclient

# Set to "true" if ddclient should be run every time a new ppp connection
is
# established. This might be useful, if you are using dial-on-demand
#run_ipup="true"
run_ipup="false"

# Set to "true" if ddclient should run in daemon mode
run_daemon="true"

# Set the time interval between the updates of the dynamic DNS name in
seconds.
# This option only takes effect if the ddclient runs in daemon mode.
daemon_interval="300"
r...@web:/etc/default#

Т.е. ddclient работает как демон и не запускается при каждом поднятии
ppp-соединения. Судя по тому, что у ppp-соединения IP-адрес уже несколько
раз изменился, значит это соединение несколько раз перезапускалось. Но
дополнительные копии ddclient'a не появлялись.

Но тогда другой вопрос: зачем в конфиге по умолчанию run_ipup="true"
и run_daemon="true"? Т.е. по умолчанию пользователю устанавливается заведомо
нерабочая конфигурация? Докопаться бы до истины...

12 января 2010 г. 22:27 пользователь Andrew Bondarenko <b...@relex.ru>написал:

> Хм... У меня такой же конфиг и подобных проблем не наблюдаю. Правда, у
> меня не ADSL.
>
> Lion-Simba wrote:
> > Собственно, это всё объясняет.
> >
> > У вас ddclient работает демоном (run_daemon="true") и в то же время
> > запускается при поднятии интерфейса (run_ipup="true"). Отсюда и две
> > копии.
> >
> > Отключите что-нибудь одно.
> >
> > Работоспособность такой конфигурации в Ubuntu Server 8.04 может быть
> > вызвана багом или иными условиями (скажем, там ADSL не рвётся).
> >
> > В Вск, 10/01/2010 в 22:25 +0300, Дмитрий Суслов пишет:
> >> r...@web:/# cat /etc/default/ddclient
> >> # Configuration for ddclient scripts
> >> # generated from debconf on Вск Май  3 22:01:47 MSD 2009
> >> #
> >> # /etc/default/ddclient
> >>
> >>
> >> # Set to "true" if ddclient should be run every time a new ppp
> >> connection is
> >> # established. This might be useful, if you are using dial-on-demand
> >> run_ipup="true"
> >>
> >>
> >> # Set to "true" if ddclient should run in daemon mode
> >> run_daemon="true"
> >>
> >>
> >> # Set the time interval between the updates of the dynamic DNS name in
> >> seconds.
> >> # This option only takes effect if the ddclient runs in daemon mode.
> >> daemon_interval="300"
> >> r...@web:/#
> >>
> >>
> >> Точно такой же конфиг и у ddclient'a в Ubuntu Server 8.04, но в нем
> >> все работает как надо.
> >>
> >>
> >>
> >> 10 января 2010 г. 16:36 пользователь Lion-Simba
> >> <lion-si...@pridelands.ru> написал:
> >>         А покажите содержимое файла /etc/default/ddclient
>
>
> --
> ubuntu-ru mailing list
> ubuntu-ru@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-ru
>



-- 
С уважением,
  Дмитрий Суслов.
-- 
ubuntu-ru mailing list
ubuntu-ru@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-ru

Дати відповідь електронним листом