Hi,
I have a number of IoT devices. Occasionally, when they try to set up the
DHCP lease, some of them send wrong packets. The device effectively claims
the IP address of the DHCP server. From the system log:
May 4 05:39:59 srv1 dhcpcd[449]: eth0: hardware address
xx:xx:xx:xx:xx::ce clai
Hi Johan,
On 05/05/2023 08:40, Johan Vromans wrote:
> Hi,
>
> I have a number of IoT devices. Occasionally, when they try to set up the
> DHCP lease, some of them send wrong packets. The device effectively claims
> the IP address of the DHCP server. From the system log:
>
> May 4 05:39:59 srv
Hi Geoff,
Thanks for your reply.
> Set static IP on the interface and do not run dhcpcd. The problem is
> with dhcpcd releasing the address, not with dnsmasq.
I have this in my /etc/dhcpcd.conf:
interface eth0
static ip_address=192.168.1.10/24
static routers=192.168.1.1
I do not run /sbin/dhc
On Fri, May 05, 2023 at 11:54:31AM +0200, Johan Vromans wrote:
> Hi Geoff,
>
> Thanks for your reply.
>
> > Set static IP on the interface and do not run dhcpcd. The problem is
> > with dhcpcd releasing the address, not with dnsmasq.
>
> I have this in my /etc/dhcpcd.conf:
>
> interface eth0
>
On Fri, May 05, 2023 at 12:11:32PM +0200, Geert Stappers wrote:
> On Fri, May 05, 2023 at 11:54:31AM +0200, Johan Vromans wrote:
} } } } dhcpcd[449]: eth0 10 second defense failed for 192.168.1.10
} } } } and slowly the LAN collapses
> > > Set static IP on the interface and do not run dhcpcd. Th
On Fri, 5 May 2023 11:54:31 +0200, Johan Vromans wrote:
> > do not run dhcpcd.
All docs tell me to set the static address in the /etc/dhcpcd.conf, this is
confusing.
I've now disabled dhcpcd and put the static address in
/etc/network/interfaces.
Thanks
Johan
___
On Fri, 5 May 2023 11:54:31 +0200, Johan Vromans wrote:
> do not run dhcpcd.
On 05.05.23 13:33, Johan Vromans wrote:
All docs tell me to set the static address in the /etc/dhcpcd.conf, this is
confusing.
I've now disabled dhcpcd and put the static address in
/etc/network/interfaces.
you use
uh...@fantomas.sk wrote:
> you use dhcpd to configure other machines over network, not your own.
>
> and, dnsmasq is not dhcpd. While it can act as dhcp server, the same applies
> as above.
Apparently the syntax Johan has listed is not standard dhcpd.conf
syntax (at least not that I could find in
On 05.05.2023 14:32:12, "Matus UHLAR - fantomas" wrote:
On 05.05.23 13:33, Johan Vromans wrote:
All docs tell me to set the static address in the /etc/dhcpcd.conf, this is
confusing.
I've now disabled dhcpcd and put the static address in
/etc/network/interfaces.
you use dhcpd to configure oth
uh...@fantomas.sk wrote:
you use dhcpd to configure other machines over network, not your own.
and, dnsmasq is not dhcpd. While it can act as dhcp server, the same applies
as above.
On 05.05.23 08:42, Ben Hendin wrote:
Apparently the syntax Johan has listed is not standard dhcpd.conf
syntax (
On Fri, 05 May 2023 14:56:40 +, "Buck Horn"
wrote:
> Roy Marples's DHCP client daemon
>dhcpcd
> is not the same as ISC's DHCP server daemon
>dhcpd.
>
> It would seem to me that Johan Vromans has been using the former:
> I think I recognise the syntax.
Yes, that's correct. The system
On Fri, May 05, 2023 at 08:47:14PM +0200, Johan Vromans wrote:
> On Fri, 05 May 2023 14:56:40 +, "Buck Horn" wrote:
>
> > Roy Marples's DHCP client daemon
> >dhcpcd
> > is not the same as ISC's DHCP server daemon
> >dhcpd.
> >
> > It would seem to me that Johan Vromans has been using
On Fri, 5 May 2023 22:13:24 +0200, Geert Stappers wrote:
> It is too early to blame the IoT devices.
I don't blame them... They merely revealed there's something fishy.
> The original problem is most likely solvable with the original dhcpcd
> configuration in-place.
Strange that you keep po
On Fri, May 05, 2023 at 11:02:49PM +0200, Johan Vromans wrote:
> On Fri, 5 May 2023 22:13:24 +0200, Geert Stappers wrote:
> > On Fri, May 05, 2023 at 08:47:14PM +0200, Johan Vromans wrote:
> > >
> > > ... The system is a Raspberry Pi running Raspbian.
> > > It is DHCP/DNS server (dnsmasq) for my
One thing I'd like to point out is that the documentation demonstrating
setting a static IP using dhcpcd.conf is not from the Raspberry Pi
foundation but from a lot of other Rasberry Pi blogs online.
The official blog does not list using that method at all. Instead it
either points to using a
On Sat, 6 May 2023 19:03:21 +0200, Geert Stappers wrote:
> Let's assume there is
>
> } xx:xx:xx:xx:xx:aa,192.168.1.10,dnsmasq.squirrel.nl,24h
True. System name is srv1 but that does not matter.
> > # Addresses for dynamic hosts.
> > dhcp-range=192.168.1.33,192.168.1.50,6h
>
> Now we known th
On Sat, 6 May 2023 11:17:22 -0700, A C wrote:
> The official blog does not list using that method at all. Instead it
> either points to using a systemd network file or through the
> /etc/network/interfaces file.
If so, I have been unable to find it... Sorry for that.
Can you give the link?
--
I lost the link, I did t a lot of searching which kept coming up with
the dhcpcd.conf method and by all accounts many people have problems
similar to what you did where the interface has issues in multi-device
environments.
There's a bunch of threads on places like stackexchange and the Rasber
On 06.05.2023 20:17:22, "A C" wrote:
One thing I'd like to point out is that the documentation demonstrating setting
a static IP using dhcpcd.conf is not from the Raspberry Pi foundation but from
a lot of other Rasberry Pi blogs online.
Setting a static IP address on-device via dhcpcd.conf
On 2023-05-06 23:46, Buck Horn wrote:
On 06.05.2023 20:17:22, "A C" wrote:
One thing I'd like to point out is that the documentation
demonstrating setting a static IP using dhcpcd.conf is not from the
Raspberry Pi foundation but from a lot of other Rasberry Pi blogs online.
Setting a static
On Sun, May 07, 2023 at 01:45:34AM -0700, A C wrote:
> On 2023-05-06 23:46, Buck Horn wrote:
> > On 06.05.2023 20:17:22, "A C" wrote:
> >
> > > One thing I'd like to point out is that the documentation
> > > demonstrating setting a static IP using dhcpcd.conf is not from the
> > > Raspberry Pi fou
21 matches
Mail list logo