Nitrux / nitrux-bug-tracker

Bug Repository for Nitrux
https://nxos.org
5 stars 2 forks source link

There's no internet connection despite connecting to a functional network #177

Closed TalsanAlandor closed 5 months ago

TalsanAlandor commented 5 months ago

Hi.

I just started the Live USB System. I have a normal LAN Cable to the Router. But the System has no internet. I dont know what to do.

WJCPacketFence commented 5 months ago

Same here. I tried different networks. Wired and wireless I get the same problem. I verified the live version has my correct local time.

UriHerrera commented 5 months ago

Check the PSA: https://nxos.org/psa/psa-nitrux-3-5-0/

By the way, please use the bug report template when reporting a bug. It makes everyone's life easier.


The issue has been fixed for the next release after updating the NetworkManager configuration, https://github.com/Nitrux/nx-desktop-settings/commit/4d282f38476039f7813d805bd4c672d0b56ed85e.


This problem occurs because the DNS server listed in /etc/resolv.conf is a private network address leftover from the build system (a VM) instead of an address pointing to the loopback device used by dnsmsaq (as we'd intended; dnsmasq runs as a plugin of NetworkManager in Nitrux) or using the gateway addresses (as it occurs in most distributions) or an external DNS server, i.e., 1.1.1.1 (Cloudflare's) as noted in the PSA.

Here's the problematic content of /etc/resolv.conf:

# Generated by NetworkManager
nameserver 10.0.2.3

Depending on the network router configuration, this may be a valid address in some networks, so it'd resolve correctly. Usually, NetworkManager or software, like openresolv or resolvconf, manages this file. The user can edit the file, but this software can overwrite these changes.

However, neither software (NetworkManager and openresolv) was doing this task.


I'll close the issue since a fix is already available for the next release, and a workaround is available for the current release.