On 8/10/24 1:54 AM, J Leslie Turriff via openSUSE Users wrote:
My question is, do I just have to use YaST LAN to switch my network setting from Static to DHCP, or are there other changes required?
In addition to other answers: 1) Make sure you only have 1 device handing out addresses via DHCP. You don't want both the starlink and some other device thinking they are the DHCP server. 2) You set each "Interface" in Yast to request an address via DHCP. So if you have both a wireless card and a wired-nic, you configure each in Yast (you can even configure each differently) 3) /etc/host is for "Name Resolution". You simply want to ensure you have defined localhost and your hostname there. Remove all other address that will now get an address via DHCP from the startlink box. A current /etc/host for use with DHCP (for my laptop with TW hostname: wizard domain: 3111skyline.com) can look similar to: #<snip> # Syntax: # # IP-Address Full-Qualified-Hostname Short-Hostname # #127.0.0.1 localhost localhost.localdomain #::1 localhost localhost.localdomain ipv6-localhost ipv6-loopback 127.0.0.1 wizard.3111skyline.com localhost wizard ::1 wizard.3111skyline.com localhost ipv6-localhost ipv6-loopback wizard # special IPv6 addresses fe00::0 ipv6-localnet ff00::0 ipv6-mcastprefix ff02::1 ipv6-allnodes ff02::2 ipv6-allrouters ff02::3 ipv6-allhosts Your /etc/hosts sets the "domain.tld" portion of your hostname. 4) Set your hostname without the domain in /etc/hostname. You can do that has root with, e.g. (for my laptop example) # hostname wizard # echo wizard > /etc/hostname or set it in Yast. 5) Now confirm your local hostname resolution is working properly, e.g. $ hostname wizard $ hostname -f wizard.3111skyline.com 6) Now when you obtain a DHCP address, it can (if it does) get a proper hostname for your device so it can do proper name resolution. Personally, I never let any box do DHCP on my LAN. I just have one box that runs 24/7 act as a server running Bind DNS (named) and dhcp with dhcp providing dynamic updates to named. That way addresses and name resolution are always handled by a Linux box on the LAN and it doesn't matter what device I plug in -- so long as its DHCP is turned OFF. dnsmask offers a simpler solution than Bind -- it's really just what you learned first. I've read no reviews of starlink, but it is another item I would be reluctant to trust. Worth scouring tech reviews to see if there is anything to be wary of -- other than the nut at the head of the company... Hopefully some of this help. You can put your system together in many ways, and it's totally up to you. In the end all you care about is that each device gets an IP and that name resolution works so each device can find all others on your LAN. (and hopefully the DHCP server is smart enough to handle stale leases and reuse the same address for the same device MAC each time it hands out an address -- that's just something you will have to monitor) -- David C. Rankin, J.D.,P.E.