Page 1 of 2

Live iso from snapshot , no internet

Posted: Mon Apr 28, 2025 6:08 pm
by korakios
Hi,
I made a live usb from a snapshot and unfortunately I didn’t noticed there was no internet connection
Installing to new drive , still no internet
My Ethernet connects , I get ip addresses, I can ping to eg 1.1.1.1 ,but I can’t browse , thunderbird,Viber etc , also have problem . I suspect problems with dns server .
I manually set DNS on Network-Manager ,but didn’t help
Since I’m not able to provide any system info (writing from a tablet) , is there a quick and dirty way to reset all networking before clean install ?
I’ve tried random guides

sudo iptables -F INPUT
sudo iptables -F OUTPUT
sudo iptables -P INPUT ACCEPT
sudo iptables -P OUTPUT ACCEPT
sudo systemctl restart NetworkManager

Also

https://mxlinux.org/wiki/networking/static-dns/

But most guides referred to systemd-resolve ,which is not available

I use the KDE edition with systemd enabled .

Re: Live iso from snapshot , no internet

Posted: Mon Apr 28, 2025 6:35 pm
by Adrian
Run dhclient and see if solves the issue.

Re: Live iso from snapshot , no internet

Posted: Tue Apr 29, 2025 7:44 am
by korakios
Adrian wrote: Mon Apr 28, 2025 6:35 pm Run dhclient and see if solves the issue.
Unfortunately it didn't
Good news I got my old ssd and made a second snapshot
I checked the logs on the first one and for some reason there where errors regarding missing kernel modules , so something went wrong (I left the PC to make the backup iso on a ventoy usb stick and to automatically shutdown, my bad I didn't check the logs)

I made a second snapshot and still I got no internet on the live iso . Still I proceeded with installing and internet was fine .
I remembered that the live iso doesn't boot with systemd . So I went back to the original installation (from which I took the snapshot) and indeed , booting with no systemd , I can't access the web .
Is there any clue why ?

Code: Select all

Snapshot created on: 20250429_0213
System:
  Kernel: 6.1.0-17-amd64 [6.1.69-1] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/vmlinuz-6.1.0-17-amd64 root=UUID=<filter> ro quiet
    acpi_sleep=old_ordering splash init=/lib/systemd/systemd
  Desktop: KDE Plasma v: 5.27.5 wm: kwin_wayland vt: 1 dm: SDDM Distro: MX-23.6_KDE_x64 Libretto
    January 21 2024 base: Debian GNU/Linux 12 (bookworm)
Machine:
  Type: Desktop Mobo: ASUSTeK model: P5N-E SLI v: 1.XX serial: <superuser required> BIOS: Phoenix
    v: ASUS P5N-E SLI Revision 1406 date: 11/18/2009
CPU:
  Info: model: Intel Core2 Quad Q6600 bits: 64 type: MCP arch: Core2 Merom level: v1 built: 2006-09
    process: Intel 65nm family: 6 model-id: 0xF (15) stepping: 0xB (11) microcode: 0xBA
  Topology: cpus: 1x cores: 4 smt: <unsupported> cache: L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB
    L2: 8 MiB desc: 2x4 MiB
  Speed (MHz): avg: 1600 min/max: 1600/2400 scaling: driver: acpi-cpufreq governor: ondemand
    cores: 1: 1600 2: 1600 3: 1600 4: 1600 bogomips: 19200
  Flags: ht lm nx pae sse sse2 sse3 ssse3 vmx
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT disabled
  Type: mds status: Vulnerable: Clear CPU buffers attempted, no microcode; SMT disabled
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data status: Unknown: No mitigations
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass status: Vulnerable
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Retpolines, STIBP: disabled, RSB filling, PBRSB-eIBRS: Not
    affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Cedar [Radeon HD 5000/6000/7350/8350 Series] vendor: ASUSTeK driver: radeon
    v: kernel alternate: amdgpu arch: TeraScale-2 code: Evergreen process: TSMC 32-40nm
    built: 2009-15 pcie: gen: 1 speed: 2.5 GT/s lanes: 1 link-max: lanes: 16 ports: active: DVI-I-1
    empty: HDMI-A-1,VGA-1 bus-ID: 01:00.0 chip-ID: 1002:68f9 class-ID: 0300 temp: 49.0 C
  Display: wayland server: X.org v: 1.21.1.7 with: Xwayland v: 22.1.9 compositor: kwin_wayland
    driver: X: loaded: radeon unloaded: fbdev,modesetting,vesa dri: r600 gpu: radeon display-ID: 0
  Monitor-1: DVI-I-1 res: 1280x1024 size: N/A modes: N/A
  API: OpenGL v: 4.5 Mesa 24.2.8-1mx23ahs renderer: AMD CEDAR (DRM 2.50.0 / 6.1.0-17-amd64 LLVM
    15.0.6) direct-render: Yes
Audio:
  Device-1: NVIDIA MCP51 High Definition Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel
    bus-ID: 2-4:3 chip-ID: 10d6:dd00 bus-ID: 00:10.1 chip-ID: 10de:026c class-ID: 0300 class-ID: 0403
    serial: <filter>
  Device-2: AMD Cedar HDMI Audio [Radeon HD 5400/6300/7300 Series] vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 link-max: lanes: 16
    bus-ID: 01:00.1 chip-ID: 1002:aa68 class-ID: 0403
  Device-3: Actions USB Audio type: USB driver: hid-generic,snd-usb-audio,usbhid
  API: ALSA v: k6.1.0-17-amd64 status: kernel-api tools: alsamixer,amixer
  Server-1: PipeWire v: 1.0.0 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active 3: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: NVIDIA MCP51 Ethernet vendor: ASUSTeK type: network bridge driver: forcedeth v: kernel
    port: c800 bus-ID: 00:14.0 chip-ID: 10de:0269 class-ID: 0680
  IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:
  Local Storage: total: 607.05 GiB used: 56.34 GiB (9.3%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Kingston model: SV300S37A120G size: 111.79 GiB block-size:
    physical: 512 B logical: 512 B speed: 1.5 Gb/s type: SSD serial: <filter> rev: BBF0 scheme: MBR
  ID-2: /dev/sdb maj-min: 8:16 vendor: Seagate model: ST3500630AS size: 465.76 GiB block-size:
    physical: 512 B logical: 512 B speed: 3.0 Gb/s type: N/A serial: <filter> rev: D scheme: MBR
  ID-3: /dev/sdc maj-min: 8:32 type: USB vendor: Patriot model: N/A size: 29.5 GiB block-size:
    physical: 512 B logical: 512 B type: N/A serial: <filter> rev: PMAP scheme: MBR
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
  ID-1: / raw-size: 110.77 GiB size: 108.47 GiB (97.92%) used: 32.05 GiB (29.5%) fs: ext4
    dev: /dev/dm-0 maj-min: 253:0 mapped: luks-<filter>
  ID-2: /boot raw-size: 1024 MiB size: 973.4 MiB (95.06%) used: 103.8 MiB (10.7%) fs: ext4
    dev: /dev/sda1 maj-min: 8:1
Swap:
  Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -2 file: /swap/swap
  ID-2: swap-2 type: zram size: 11.46 GiB used: 1.87 GiB (16.3%) priority: 100 dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 46.0 C mobo: 34.0 C gpu: radeon temp: 49.5 C
  Fan Speeds (RPM): cpu: 1588 case-1: 1222 case-2: 1163
  Power: 12v: N/A 5v: N/A 3.3v: 3.31 vbat: N/A
Repos:
  Packages: 2583 pm: dpkg pkgs: 2548 libs: 1358 tools: apt,apt-get,aptitude,nala pm: rpm pkgs: 0
    pm: flatpak pkgs: 35
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
    1: deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/debian.list
    1: deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
    2: deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/mx.list
    1: deb http://ftp.cc.uoc.gr/mirrors/linux/mx/mx/repo/ bookworm main non-free
    2: deb http://ftp.cc.uoc.gr/mirrors/linux/mx/mx/repo/ bookworm ahs
Info:
  Processes: 239 Uptime: 52m wakeups: 0 Memory: 3.82 GiB used: 3.54 GiB (92.6%) Init: systemd
  v: 252 target: graphical (5) default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 12
  Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: BIOS (legacy, CSM, MBR)

Re: Live iso from snapshot , no internet

Posted: Tue Apr 29, 2025 8:20 am
by j2mcgreg

Code: Select all

Memory: 3.82 GiB used: 3.54 GiB (92.6%)
You are running MX KDE live on 3.82 GiB of ram and that may not be enough. A live session doesn't have access to the swap space. It would be interesting if you could try a live XFCE session and see if you can establish a connection.

Re: Live iso from snapshot , no internet

Posted: Tue Apr 29, 2025 8:41 am
by korakios
j2mcgreg wrote: Tue Apr 29, 2025 8:20 am

Code: Select all

Memory: 3.82 GiB used: 3.54 GiB (92.6%)
You are running MX KDE live on 3.82 GiB of ram and that may not be enough. A live session doesn't have access to the swap space. It would be interesting if you could try a live XFCE session and see if you can establish a connection.
My problem is no longer with the snapshot live iso , but the no internet access when booting without systemd
The specs I posted is from normal booting from my ssd (with systemd) where I have internet connection
The high ram usage is due to many tabs and apps opened , taking advantage of zram compression (normal swap is also enabled)

Edit : should I change the tittle ?

Re: Live iso from snapshot , no internet

Posted: Tue Apr 29, 2025 8:52 am
by j2mcgreg
korakios wrote: Tue Apr 29, 2025 8:41 am
j2mcgreg wrote: Tue Apr 29, 2025 8:20 am

Code: Select all

Memory: 3.82 GiB used: 3.54 GiB (92.6%)
You are running MX KDE live on 3.82 GiB of ram and that may not be enough. A live session doesn't have access to the swap space. It would be interesting if you could try a live XFCE session and see if you can establish a connection.
My problem is no longer with the snapshot live iso , but the no internet access when booting without systemd
The specs I posted is from normal booting from my ssd (with systemd) where I have internet connection
The high ram usage is due to many tabs and apps opened , taking advantage of zram compression (normal swap is also enabled)

Edit : should I change the tittle ?
In that case, I think that you should install a second NIC into your desktop because It's likely that the only driver still available for your existing NVidia network card requires SystemD.

Re: Live iso from snapshot , no internet

Posted: Tue Apr 29, 2025 8:56 am
by korakios
j2mcgreg wrote: Tue Apr 29, 2025 8:52 am
korakios wrote: Tue Apr 29, 2025 8:41 am
j2mcgreg wrote: Tue Apr 29, 2025 8:20 am

Code: Select all

Memory: 3.82 GiB used: 3.54 GiB (92.6%)
You are running MX KDE live on 3.82 GiB of ram and that may not be enough. A live session doesn't have access to the swap space. It would be interesting if you could try a live XFCE session and see if you can establish a connection.
My problem is no longer with the snapshot live iso , but the no internet access when booting without systemd
The specs I posted is from normal booting from my ssd (with systemd) where I have internet connection
The high ram usage is due to many tabs and apps opened , taking advantage of zram compression (normal swap is also enabled)

Edit : should I change the tittle ?
In that case, I think that you should install a second NIC into your desktop because It's likely that the only driver still available for your existing NVidia network card requires SystemD.
Thanks , I'd never think that scenario :) It explains the odd behavior , but while I'm typing I find it really odd because the nvidia network card gets ip4 / ip6 addresses , my issue is that DNS seems to be broken (like I said I can ping a static address on the web)

Re: Live iso from snapshot , no internet  [Solved]

Posted: Tue Apr 29, 2025 9:12 am
by timkb4cq
It's likely that the only driver still available for your existing NVidia network card requires SystemD
.That seems unlikely to me. When booting in systemd, systemd-resolved handles DNS. I don't remember what initscript handles it in sysv but I would think it more likely that's the place to look. A look at your /etc/resolv.conf file under each boot type might give a clue.

Re: Live iso from snapshot , no internet

Posted: Tue Apr 29, 2025 9:35 am
by korakios
timkb4cq wrote: Tue Apr 29, 2025 9:12 am
It's likely that the only driver still available for your existing NVidia network card requires SystemD
.That seems unlikely to me. When booting in systemd, systemd-resolved handles DNS. I don't remember what initscript handles it in sysv but I would think it more likely that's the place to look. A look at your /etc/resolv.conf file under each boot type might give a clue.
Thanks , I checked /etc/resolv.conf when booted with no systemd and indeed it was empty missing. I placed the nameservers and it works :)
Edit : On every (non systemd) reboot the file is missing so I have to create a new one . Since I boot mainly with systemd I don't mind , but I find it odd.

Re: Live iso from snapshot , no internet

Posted: Tue Apr 29, 2025 10:26 am
by Adrian
dhclient is what takes of that file on sysvinit AFAIK, I'm not familiar with systemd-resolved, it might be a configuration issue or make sure that service is enabled.