* [Comm] NetworkManager & dhcpcd renewal lease
@ 2008-11-07 19:09 Vladimir Scherbaev
2008-11-08 10:44 ` Andriy Dobrovol`s`kii
0 siblings, 1 reply; 4+ messages in thread
From: Vladimir Scherbaev @ 2008-11-07 19:09 UTC (permalink / raw)
To: ALT Linux Community general discussions
Добрый вечер.
Установлен 4.1 Desktop.
Имеется точка доступа, с которой соединяется ноут.
Управление соединениями через NetworkManager.
Наблюдаю в логах вот это:
Nov 7 22:01:20 zemik-laptop dhcpcd[7060]: wlan0: renewing lease of
192.168.0.100
Nov 7 22:01:20 zemik-laptop dhcpcd[7060]: wlan0: leased 192.168.0.100
for 60 seconds
Nov 7 22:01:20 zemik-laptop dhcpcd[7060]: wlan0: no renewal time
supplied, assuming 30 seconds
Nov 7 22:01:20 zemik-laptop dhcpcd[7060]: wlan0: no rebind time
supplied, assuming 52 seconds
Nov 7 22:01:20 zemik-laptop dhcpcd[7060]: wlan0: adding IP address
192.168.0.100/24
Nov 7 22:01:20 zemik-laptop dhcpcd[7060]: wlan0: adding default route
via 192.168.0.1 metric 0
Nov 7 22:01:50 zemik-laptop dhcpcd[7060]: wlan0: renewing lease of
192.168.0.100
Nov 7 22:01:50 zemik-laptop dhcpcd[7060]: wlan0: leased 192.168.0.100
for 60 seconds
Nov 7 22:01:50 zemik-laptop dhcpcd[7060]: wlan0: no renewal time
supplied, assuming 30 seconds
Nov 7 22:01:50 zemik-laptop dhcpcd[7060]: wlan0: no rebind time
supplied, assuming 52 seconds
Nov 7 22:01:50 zemik-laptop dhcpcd[7060]: wlan0: adding IP address
192.168.0.100/24
Nov 7 22:01:50 zemik-laptop dhcpcd[7060]: wlan0: adding default route
via 192.168.0.1 metric 0
Nov 7 22:02:20 zemik-laptop dhcpcd[7060]: wlan0: renewing lease of
192.168.0.100
Nov 7 22:02:20 zemik-laptop dhcpcd[7060]: wlan0: leased 192.168.0.100
for 60 seconds
Nov 7 22:02:20 zemik-laptop dhcpcd[7060]: wlan0: no renewal time
supplied, assuming 30 seconds
Nov 7 22:02:20 zemik-laptop dhcpcd[7060]: wlan0: no rebind time
supplied, assuming 52 seconds
Nov 7 22:02:20 zemik-laptop dhcpcd[7060]: wlan0: adding IP address
192.168.0.100/24
Nov 7 22:02:20 zemik-laptop dhcpcd[7060]: wlan0: adding default route
via 192.168.0.1 metric 0
Nov 7 22:02:50 zemik-laptop dhcpcd[7060]: wlan0: renewing lease of
192.168.0.100
Nov 7 22:02:50 zemik-laptop dhcpcd[7060]: wlan0: leased 192.168.0.100
for 60 seconds
Nov 7 22:02:50 zemik-laptop dhcpcd[7060]: wlan0: no renewal time
supplied, assuming 30 seconds
Nov 7 22:02:50 zemik-laptop dhcpcd[7060]: wlan0: no rebind time
supplied, assuming 52 seconds
Nov 7 22:02:50 zemik-laptop dhcpcd[7060]: wlan0: adding IP address
192.168.0.100/24
Nov 7 22:02:50 zemik-laptop dhcpcd[7060]: wlan0: adding default route
via 192.168.0.1 metric 0
Nov 7 22:03:20 zemik-laptop dhcpcd[7060]: wlan0: renewing lease of
192.168.0.100
Nov 7 22:03:20 zemik-laptop dhcpcd[7060]: wlan0: leased 192.168.0.100
for 60 seconds
Nov 7 22:03:20 zemik-laptop dhcpcd[7060]: wlan0: no renewal time
supplied, assuming 30 seconds
Nov 7 22:03:20 zemik-laptop dhcpcd[7060]: wlan0: no rebind time
supplied, assuming 52 seconds
Nov 7 22:03:20 zemik-laptop dhcpcd[7060]: wlan0: adding IP address
192.168.0.100/24
Nov 7 22:03:20 zemik-laptop dhcpcd[7060]: wlan0: adding default route
via 192.168.0.1 metric 0
Nov 7 22:03:50 zemik-laptop dhcpcd[7060]: wlan0: renewing lease of
192.168.0.100
Nov 7 22:03:50 zemik-laptop dhcpcd[7060]: wlan0: leased 192.168.0.100
for 60 seconds
Nov 7 22:03:50 zemik-laptop dhcpcd[7060]: wlan0: no renewal time
supplied, assuming 30 seconds
Nov 7 22:03:50 zemik-laptop dhcpcd[7060]: wlan0: no rebind time
supplied, assuming 52 seconds
Nov 7 22:03:50 zemik-laptop dhcpcd[7060]: wlan0: adding IP address
192.168.0.100/24
Nov 7 22:03:50 zemik-laptop dhcpcd[7060]: wlan0: adding default route
via 192.168.0.1 metric 0
[root@zemik-laptop log]# ps ax | grep dhc
7056 ? S 0:00 /usr/sbin/dhclient -d -sf
/usr/lib/NetworkManager/nm-dhcp-client.action -pf
/var/lib/run/dhclient-wlan0.pid -lf /var/lib/run/dhcli
7060 ? Ss 0:00 /sbin/dhcpcd -d -c
/usr/lib/NetworkManager/nm-dhcp-client.action wlan0
На точке доступа включён dhcp. Время аренды - 10080 минут.
Как с этим бороться?
--
With Best Regards,
Vladimir Scherbaev
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Comm] NetworkManager & dhcpcd renewal lease
2008-11-07 19:09 [Comm] NetworkManager & dhcpcd renewal lease Vladimir Scherbaev
@ 2008-11-08 10:44 ` Andriy Dobrovol`s`kii
2008-11-10 18:43 ` Vladimir Scherbaev
0 siblings, 1 reply; 4+ messages in thread
From: Andriy Dobrovol`s`kii @ 2008-11-08 10:44 UTC (permalink / raw)
To: ALT Linux Community general discussions
Если на точке работает dhcp зачем Вам NM? Может лучше воспользоваться
этцнетом? Может это НМ считает, что нужно так часто обновлять адрес?
2008/11/7 Vladimir Scherbaev <zemik3@volgograd.ru>:
> Добрый вечер.
>
> Установлен 4.1 Desktop.
> Имеется точка доступа, с которой соединяется ноут.
> Управление соединениями через NetworkManager.
>
> Наблюдаю в логах вот это:
>
> Nov 7 22:01:20 zemik-laptop dhcpcd[7060]: wlan0: renewing lease of
> 192.168.0.100
> Nov 7 22:01:20 zemik-laptop dhcpcd[7060]: wlan0: leased 192.168.0.100
> for 60 seconds
> Nov 7 22:01:20 zemik-laptop dhcpcd[7060]: wlan0: no renewal time
> supplied, assuming 30 seconds
> Nov 7 22:01:20 zemik-laptop dhcpcd[7060]: wlan0: no rebind time
> supplied, assuming 52 seconds
> Nov 7 22:01:20 zemik-laptop dhcpcd[7060]: wlan0: adding IP address
> 192.168.0.100/24
> Nov 7 22:01:20 zemik-laptop dhcpcd[7060]: wlan0: adding default route
> via 192.168.0.1 metric 0
> Nov 7 22:01:50 zemik-laptop dhcpcd[7060]: wlan0: renewing lease of
> 192.168.0.100
> Nov 7 22:01:50 zemik-laptop dhcpcd[7060]: wlan0: leased 192.168.0.100
> for 60 seconds
> Nov 7 22:01:50 zemik-laptop dhcpcd[7060]: wlan0: no renewal time
> supplied, assuming 30 seconds
> Nov 7 22:01:50 zemik-laptop dhcpcd[7060]: wlan0: no rebind time
> supplied, assuming 52 seconds
> Nov 7 22:01:50 zemik-laptop dhcpcd[7060]: wlan0: adding IP address
> 192.168.0.100/24
> Nov 7 22:01:50 zemik-laptop dhcpcd[7060]: wlan0: adding default route
> via 192.168.0.1 metric 0
> Nov 7 22:02:20 zemik-laptop dhcpcd[7060]: wlan0: renewing lease of
> 192.168.0.100
> Nov 7 22:02:20 zemik-laptop dhcpcd[7060]: wlan0: leased 192.168.0.100
> for 60 seconds
> Nov 7 22:02:20 zemik-laptop dhcpcd[7060]: wlan0: no renewal time
> supplied, assuming 30 seconds
> Nov 7 22:02:20 zemik-laptop dhcpcd[7060]: wlan0: no rebind time
> supplied, assuming 52 seconds
> Nov 7 22:02:20 zemik-laptop dhcpcd[7060]: wlan0: adding IP address
> 192.168.0.100/24
> Nov 7 22:02:20 zemik-laptop dhcpcd[7060]: wlan0: adding default route
> via 192.168.0.1 metric 0
> Nov 7 22:02:50 zemik-laptop dhcpcd[7060]: wlan0: renewing lease of
> 192.168.0.100
> Nov 7 22:02:50 zemik-laptop dhcpcd[7060]: wlan0: leased 192.168.0.100
> for 60 seconds
> Nov 7 22:02:50 zemik-laptop dhcpcd[7060]: wlan0: no renewal time
> supplied, assuming 30 seconds
> Nov 7 22:02:50 zemik-laptop dhcpcd[7060]: wlan0: no rebind time
> supplied, assuming 52 seconds
> Nov 7 22:02:50 zemik-laptop dhcpcd[7060]: wlan0: adding IP address
> 192.168.0.100/24
> Nov 7 22:02:50 zemik-laptop dhcpcd[7060]: wlan0: adding default route
> via 192.168.0.1 metric 0
> Nov 7 22:03:20 zemik-laptop dhcpcd[7060]: wlan0: renewing lease of
> 192.168.0.100
> Nov 7 22:03:20 zemik-laptop dhcpcd[7060]: wlan0: leased 192.168.0.100
> for 60 seconds
> Nov 7 22:03:20 zemik-laptop dhcpcd[7060]: wlan0: no renewal time
> supplied, assuming 30 seconds
> Nov 7 22:03:20 zemik-laptop dhcpcd[7060]: wlan0: no rebind time
> supplied, assuming 52 seconds
> Nov 7 22:03:20 zemik-laptop dhcpcd[7060]: wlan0: adding IP address
> 192.168.0.100/24
> Nov 7 22:03:20 zemik-laptop dhcpcd[7060]: wlan0: adding default route
> via 192.168.0.1 metric 0
> Nov 7 22:03:50 zemik-laptop dhcpcd[7060]: wlan0: renewing lease of
> 192.168.0.100
> Nov 7 22:03:50 zemik-laptop dhcpcd[7060]: wlan0: leased 192.168.0.100
> for 60 seconds
> Nov 7 22:03:50 zemik-laptop dhcpcd[7060]: wlan0: no renewal time
> supplied, assuming 30 seconds
> Nov 7 22:03:50 zemik-laptop dhcpcd[7060]: wlan0: no rebind time
> supplied, assuming 52 seconds
> Nov 7 22:03:50 zemik-laptop dhcpcd[7060]: wlan0: adding IP address
> 192.168.0.100/24
> Nov 7 22:03:50 zemik-laptop dhcpcd[7060]: wlan0: adding default route
> via 192.168.0.1 metric 0
>
>
> [root@zemik-laptop log]# ps ax | grep dhc
> 7056 ? S 0:00 /usr/sbin/dhclient -d -sf
> /usr/lib/NetworkManager/nm-dhcp-client.action -pf
> /var/lib/run/dhclient-wlan0.pid -lf /var/lib/run/dhcli
> 7060 ? Ss 0:00 /sbin/dhcpcd -d -c
> /usr/lib/NetworkManager/nm-dhcp-client.action wlan0
>
> На точке доступа включён dhcp. Время аренды - 10080 минут.
>
> Как с этим бороться?
>
> --
> With Best Regards,
> Vladimir Scherbaev
> _______________________________________________
> community mailing list
> community@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/community
--
Regards,
Andrii Dobrovol`s`kyj
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Comm] NetworkManager & dhcpcd renewal lease
2008-11-08 10:44 ` Andriy Dobrovol`s`kii
@ 2008-11-10 18:43 ` Vladimir Scherbaev
2008-11-11 14:06 ` Andriy Dobrovol`s`kii
0 siblings, 1 reply; 4+ messages in thread
From: Vladimir Scherbaev @ 2008-11-10 18:43 UTC (permalink / raw)
To: ALT Linux Community general discussions
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Comm] NetworkManager & dhcpcd renewal lease
2008-11-10 18:43 ` Vladimir Scherbaev
@ 2008-11-11 14:06 ` Andriy Dobrovol`s`kii
0 siblings, 0 replies; 4+ messages in thread
From: Andriy Dobrovol`s`kii @ 2008-11-11 14:06 UTC (permalink / raw)
To: ALT Linux Community general discussions
2008/11/10 Vladimir Scherbaev <vladimir@altlinux.org>:
> 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'
>
>
> откуда он берётся?
Возможно остался после НМ. Этцнет туда вроде не лазит.
--
Regards,
Andrii Dobrovol`s`kyj
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-11-11 14:06 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-07 19:09 [Comm] NetworkManager & dhcpcd renewal lease Vladimir Scherbaev
2008-11-08 10:44 ` Andriy Dobrovol`s`kii
2008-11-10 18:43 ` Vladimir Scherbaev
2008-11-11 14:06 ` Andriy Dobrovol`s`kii
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