
That depends on how you manage your network on your non router hosts.Do I need to activate the dhcpcd daemon?
I do everything manally. After the system is booted I may connect to WiFi with activating iwd configured for hidden SSID. If connected I may connect OVPN to my other computing instance in order to make my web and email server work. If I decide I disconnect from OVPN and/or disconnect from WiFi, and or even stop iwd daemon in order to be fully isolated from the outside world (paranoia).manage your network on your non router hosts
Code: Select all
janos@andraslinux ~ $ getent ahosts andrasinux.local
2607:fb91:d3d:45e6:d87d:fef7:2789:e4e2%6 STREAM andraslinux.local
2607:fb91:d3d:45e6:d87d:fef7:2789:e4e2%6 DGRAM
2607:fb91:d3d:45e6:d87d:fef7:2789:e4e2%6 RAW
192.168.99.11 STREAM
192.168.99.11 DGRAM
192.168.99.11 RAW
janos@andraslinux ~ $ getent ahosts acerlinux.local
janos@andraslinux ~ $ hostname --fqdn
hostname: Unknown host
janos@andraslinux ~ $ hostname
andraslinux
janos@andraslinux ~ $
Name resolution happen in client nodes. All name register in DNS server database are consider Fully Qualified.jankom wrote:My question is now: why 'Unknown host' for fqdn yet 'andraslinux' for hostname command?
Hm, I am using dhcpd + wpa_supplicant without netifrc ( I remember few years ago there was discussion about this possibility and I went with it ), for all my WIFI needs.NeddySeagoon wrote:jankom,
That depends on how you manage your network on your non router hosts.Do I need to activate the dhcpcd daemon?
You must choose a maximum of one method.
dhcpcd cannot manage WiFi crypto, so you probably don't want to use dhcpcd an your network manager.
netifrc can do it it all. It will call wpa_supplicant, to manage the crypto, then dhcpcd to get the settings, if you configure it that way.
There are other network managers too. If you choose to start more that one, they fight, and none of them work.
Code: Select all
listening on wlan0, link-type EN10MB (Ethernet), snapshot length 262144 bytes
15:43:37.776253 IP andraslinux.local.59046 > 192.168.99.31.domain: 42702+ A? acerlinux.local. (33)
15:43:37.776331 IP andraslinux.local.59046 > 192.168.99.31.domain: 6360+ AAAA? acerlinux.local. (33)
15:43:37.849744 IP 192.168.99.31.domain > andraslinux.local.59046: 42702 NXDomain 0/1/0 (108)
15:43:37.859220 IP 192.168.99.31.domain > andraslinux.local.59046: 6360 NXDomain 0/1/0 (108)
15:43:42.803740 IP andraslinux.local.44656 > 192.168.99.31.domain: 8415+ PTR? 31.99.168.192.in-addr.arpa. (44)
15:43:43.037015 IP 192.168.99.31.domain > andraslinux.local.44656: 8415 NXDomain 0/1/0 (103)
Code: Select all
127.0.0.1 localhost
::1 localhost
Code: Select all
janos@andraslinux ~ $ hostname --fqdn
hostname: Unknown server error
janos@andraslinux ~ $
Link seems brokenjankom wrote:See [topic=]viewtopic-t-1174011-highlight-.html[/topic] for summary and solution - jankom