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 other machines over network, not your own.
and, dnsmasq is not dhcpd. While it can act as dhcp server, the same applies as
above.
I guess paying attention to spelling is literally crucial here, letter
by letter. ;)
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.
@Johan:
From those lines you've shared, Johan, that should have been sufficient
to configure a static IP address on eth0.
Unless there would have been some additional lines (unshared so far) in
dhcpcd.conf which would have invalidated them, or possibly pre-existing
/etc/network/interfaces contents interfering with dhcpcd. Furthermore,
additonal network management tools may also have been or still be
involved, like NetworkManager or netplan on some varieties of Debian
based distros.
If you'd still require assistance, it may help to share your exact OS
distribution, version and release.
Kind regards,
Buck
_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss