Re: What is required to migrate from /etc/hosts to DHCP
On 2024-08-20 19:12, J Leslie Turriff wrote:
On 2024-08-16 04:30:57 you wrote:
On 2024-08-15 01:13, J Leslie Turriff via openSUSE Users wrote:
On 2024-08-10 02:11:51 Andrei Borzenkov wrote:
I haven't tried anything yet. I would like to keep the same IP addresses as the NetGear router has configured, but the StarLink router is a black box; no user configuration is possible.
That is impossible. There must always be a configuration method, even if it is limited. It could be via a smartphone app. Or it could be via an external IP living at the ISP, say http://starlink.com/router (I just made it up).
One would think that, right? But so far I haven't found a way.
This second method is what my ISP does. But accessing that method provides a method to get the router password and disable the ISP page, and then access it locally at http://192.168.1.1
And then, you always have the option to use the DHCP service AND your own static IP definitions. You only have to use static addresses outside of the router DHCP range.
And that would be acceptable IF I can see what the DHCP range is.
Your router must be accessible in some way. At worst, in informative way only.
Anyway, the other possibility would be to more or less abandon my static /etc/hosts table and let StarLink have its way. If I should take this option, should I erase /etc/hosts, or will StarLink just ignore it?
The router doesn't have access to that information. -- Cheers / Saludos, Carlos E. R. (from 15.5 x86_64 at Telcontar)
On 2024-08-20 13:09:00 Carlos E. R. wrote:
On 2024-08-20 19:12, J Leslie Turriff wrote:
Anyway, the other possibility would be to more or less abandon my static /etc/hosts table and let StarLink have its way. If I should take this option, should I erase /etc/hosts, or will StarLink just ignore it?
The router doesn't have access to that information.
Okay, thanks. Leslie -- Platform: Linux Distribution: openSUSE Leap 15.5 - x86_64
On 8/20/24 1:22 PM, J Leslie Turriff via openSUSE Users wrote:
The router doesn't have access to that information. Okay, thanks.
The router doesn't -- but if you fail to reset /etc/hosts to the basic where it resolves localhost and your hostname.domain.tld and just leave it as is, networking from your laptop will break every time there is a IP mismatch between what you have in /etc/hosts and the actual IP starlink has for the device. Go back in the thread. I posted the /etc/hosts and hostname setup you need for DHCP. If needed, I can post again. The default opensuse /etc/hosts will work but does not provide resolution of hostname.domain.tld. That you need to add, and you need to set your hostname (hostname command and then echo "hostname" > /etc/hostname -- or use Yast to set it) When set manually you do NOT include the "domain.tld" part using the hostname command or saving to the /etc/hostname file -- the "domain.tld" part is handled by /etc/hosts. -- David C. Rankin, J.D.,P.E.
On 2024-08-20 16:42:28 David C. Rankin wrote:
On 8/20/24 1:22 PM, J Leslie Turriff via openSUSE Users wrote:
The router doesn't have access to that information.
Okay, thanks.
The router doesn't -- but if you fail to reset /etc/hosts to the basic where it resolves localhost and your hostname.domain.tld and just leave it as is, networking from your laptop will break every time there is a IP mismatch between what you have in /etc/hosts and the actual IP starlink has for the device.
Go back in the thread. I posted the /etc/hosts and hostname setup you need for DHCP. If needed, I can post again.
The default opensuse /etc/hosts will work but does not provide resolution of hostname.domain.tld. That you need to add, and you need to set your hostname (hostname command and then echo "hostname" > /etc/hostname -- or use Yast to set it)
When set manually you do NOT include the "domain.tld" part using the hostname command or saving to the /etc/hostname file -- the "domain.tld" part is handled by /etc/hosts.
Ah. That makes it clearer. Thank you. Leslie -- Platform: Linux Distribution: openSUSE Leap 15.5 - x86_64
participants (3)
-
Carlos E. R.
-
David C. Rankin
-
J Leslie Turriff