ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Vladimir Scherbaev" <vladimir@altlinux.org>
To: "ALT Linux Community general discussions" <community@lists.altlinux.org>
Subject: Re: [Comm] NetworkManager & dhcpcd renewal lease
Date: Mon, 10 Nov 2008 21:43:51 +0300
Message-ID: <89707fb90811101043h10dd394fi73a1345409068994@mail.gmail.com> (raw)
In-Reply-To: <9bd187690811080244u49130ae7xadf1bb3493654773@mail.gmail.com>

8 ноября 2008 г. 13:44 пользователь Andriy Dobrovol`s`kii
<adobrovolskii@gmail.com> написал:
> Если на точке работает dhcp зачем Вам NM? Может лучше воспользоваться
> этцнетом? Может это НМ считает, что нужно так часто обновлять адрес?

В acc отключил использование NM. В etcnet поменял в файле
/etc/net/options.d/ 50-ALTLinux-desktop
DHCP_TIMEOUT=3600

перезапустил network.
[root@zemik-laptop options.d]# ps ax | grep dhc
 2315 ?        Ss     0:00 /sbin/dhcpcd -m 1 -h zemik-laptop -d -t 3600 wlan0

Но. Он всё равно берёт его на 30 секунд.
Нашёл файлик /var/lib/dhcpcd/dhcpcd-wlan0.info


IPADDR='192.168.0.100'
NETMASK='255.255.255.0'
BROADCAST='192.168.0.255'
ROUTES='0.0.0.0,0.0.0.0,192.168.0.1'
DNSSERVERS='192.168.0.1'
DHCPSID='192.168.0.1'
DHCPSNAME=''
LEASETIME='60'
RENEWALTIME='30'
REBINDTIME='52'
INTERFACE='wlan0'
CLASSID='dhcpcd 3.0.17'
CLIENTID='00:1c:bf:a2:25:e0'
DHCPCHADDR='00:1c:bf:a2:25:e0'


откуда он берётся?
-- 
With Best Regards,
Vladimir Scherbaev

  reply	other threads:[~2008-11-10 18:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-07 19:09 Vladimir Scherbaev
2008-11-08 10:44 ` Andriy Dobrovol`s`kii
2008-11-10 18:43   ` Vladimir Scherbaev [this message]
2008-11-11 14:06     ` Andriy Dobrovol`s`kii

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=89707fb90811101043h10dd394fi73a1345409068994@mail.gmail.com \
    --to=vladimir@altlinux.org \
    --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