mx-network-assistant fixes my Ethernet connection

Help for Current Versions of MX
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
User avatar
pixie
Posts: 10
Joined: Thu Nov 07, 2024 9:01 am

mx-network-assistant fixes my Ethernet connection

#1 Post by pixie »

Hello MX community,
I'm new to MX and please explain to me why this line is needed to connect with the device below in XFCE.
(nmtui says co carrier.)

Code: Select all

LANG=C lshw -disable IDE -disable SCSI -class network -json > /tmp/lshw.log 2>&1
Device-2: ASIX AX88179 Gigabit Ethernet type: USB driver: cdc_ncm
bus-ID: 2-2:3 chip-ID: 0b95:1790 class-ID: 0a00 serial: <filter>
IF: eth0 state: down mac: <filter>
Originally I found that entering into mx-network-assistant only is enough to activate my device
and seeing in terminal what commands it produces
without further investigation I put that 'lifesaving' line into a script in autostart.

User avatar
j2mcgreg
Global Moderator
Posts: 6820
Joined: Tue Oct 23, 2007 12:04 pm

Re: mx-network-assistant fixes my Ethernet connection

#2 Post by j2mcgreg »

We are going to need your computer’s complete profile before we can proceed, so you need to post the output from the QSI utility. The Quick System Info (QSI) utility is located in MX Tools and its output is automatically formatted for use here in the forum. Run the QSI utility, click “Copy for Forum” at the bottom and then just paste it here in your thread.
Forum Rules
HP 15; ryzen 3 5300U APU; 500 Gb SSD; 8GB ram
HP 17; ryzen 3 3200; 500 GB SSD; 12 GB ram
Idea Center 3; 12 gen i5; 256 GB ssd;

In Linux, newer isn't always better. The best solution is the one that works.

User avatar
davidy
Posts: 818
Joined: Sat Jul 03, 2021 1:59 pm

Re: mx-network-assistant fixes my Ethernet connection

#3 Post by davidy »

NMTUI is a cool cmd. Very serendipitous of you.
Sys76 LemurPro-mx-23.4, EliteMinis HM90-mx-21.3, Deskmini UM350-phoenixLite win10, Qnap 12tb nas, Protectli FW4C-opnsense(=゜ω゜)

zero privacy = zero security . All MX'd Up
UAP = up above people

User avatar
Adrian
Developer
Posts: 8973
Joined: Wed Jul 12, 2006 1:42 am

Re: mx-network-assistant fixes my Ethernet connection

#4 Post by Adrian »

Do you think that line enables your card? That "lshw" is just listing the devices, maybe something else enables the card...

User avatar
Kermit the Frog
Posts: 626
Joined: Mon Jul 08, 2024 8:52 am

Re: mx-network-assistant fixes my Ethernet connection

#5 Post by Kermit the Frog »

Meanwhile, the modinfo for that driver doesn't list that chip ( 0b95:1790 ), neither vendor nor product:

Code: Select all

$ modinfo cdc_ncm
filename:       /lib/modules/6.11.2-1-liquorix-amd64/kernel/drivers/net/usb/cdc_ncm.ko.zst
license:        Dual BSD/GPL
description:    USB CDC NCM host driver
author:         Hans Petter Selasky
srcversion:     D3DE83AE5D5E875CFE14D00
alias:          usb:v*p*d*dc*dsc*dp*ic02isc0Dip00in*
alias:          usb:v17E9p*d*dc*dsc*dp*ic02isc0Dip00in*
alias:          usb:v1546p1010d*dc*dsc*dp*ic02isc0Dip00in*
alias:          usb:v1519p0443d*dc*dsc*dp*ic02isc0Dip00in*
alias:          usb:v12D1p*d*dc*dsc*dp*ic02isc0Dip00in*
alias:          usb:v0930p*d*dc*dsc*dp*ic02isc0Dip00in*
alias:          usb:v413Cp*d*dc*dsc*dp*ic02isc0Dip00in*
alias:          usb:v413Cp81BCd*dc*dsc*dp*ic02isc0Dip00in*
alias:          usb:v413Cp81BBd*dc*dsc*dp*ic02isc0Dip00in*
alias:          usb:v1BC7p0036d*dc*dsc*dp*ic02isc0Dip00in*
alias:          usb:v0BDBp*d*dc*dsc*dp*ic02isc0Dip00in*
alias:          usb:v05ACp12ABd*dc*dsc*dp*ic*isc*ip*in04*
alias:          usb:v05ACp12ABd*dc*dsc*dp*ic*isc*ip*in02*
alias:          usb:v05ACp12A8d*dc*dsc*dp*ic*isc*ip*in04*
alias:          usb:v05ACp12A8d*dc*dsc*dp*ic*isc*ip*in02*
depends:        usbnet,cdc_ether
retpoline:      Y
intree:         Y
name:           cdc_ncm
vermagic:       6.11.2-1-liquorix-amd64 SMP preempt mod_unload 
parm:           prefer_mbim:Prefer MBIM setting on dual NCM/MBIM functions (bool)

User avatar
Kermit the Frog
Posts: 626
Joined: Mon Jul 08, 2024 8:52 am

Re: mx-network-assistant fixes my Ethernet connection

#6 Post by Kermit the Frog »

... But it's here:

Code: Select all

$ modinfo ax88179_178a | grep 1790
alias:          usb:v0B95p1790d*dc*dsc*dp*icFFiscFFip00in*

Code: Select all

$ modinfo ax88179_178a
filename:       /lib/modules/6.11.2-1-liquorix-amd64/kernel/drivers/net/usb/ax88179_178a.ko.zst
license:        GPL
description:    ASIX AX88179/178A based USB 3.0/2.0 Gigabit Ethernet Devices
srcversion:     E4BEF6D15D44F81FF22E01D
alias:          usb:v07C9p0010d*dc*dsc*dp*icFFiscFFip00in*
alias:          usb:v07C9p000Fd*dc*dsc*dp*icFFiscFFip00in*
alias:          usb:v07C9p000Ed*dc*dsc*dp*icFFiscFFip00in*
alias:          usb:v0711p0179d*dc*dsc*dp*icFFiscFFip00in*
alias:          usb:v0930p0A13d*dc*dsc*dp*icFFiscFFip00in*
alias:          usb:v050Dp0128d*dc*dsc*dp*icFFiscFFip00in*
alias:          usb:v17EFp304Bd*dc*dsc*dp*icFFiscFFip00in*
alias:          usb:v04E8pA100d*dc*dsc*dp*icFFiscFFip00in*
alias:          usb:v0DF6p0072d*dc*dsc*dp*icFFiscFFip00in*
alias:          usb:v2001p4A00d*dc*dsc*dp*icFFiscFFip00in*
alias:          usb:v04B4p3610d*dc*dsc*dp*icFFiscFFip00in*
alias:          usb:v0B95p178Ad*dc*dsc*dp*icFFiscFFip00in*
alias:          usb:v0B95p1790d*dc*dsc*dp*icFFiscFFip00in*
depends:        usbnet,mii
retpoline:      Y
intree:         Y
name:           ax88179_178a
vermagic:       6.11.2-1-liquorix-amd64 SMP preempt mod_unload 

User avatar
Kermit the Frog
Posts: 626
Joined: Mon Jul 08, 2024 8:52 am

Re: mx-network-assistant fixes my Ethernet connection

#7 Post by Kermit the Frog »

... So, you can try forcing it load ax88179_178a and (if necessary) blacklist the other ...

User avatar
pixie
Posts: 10
Joined: Thu Nov 07, 2024 9:01 am

Re: mx-network-assistant fixes my Ethernet connection

#8 Post by pixie »

Code: Select all

System:
  Kernel: 6.11.6-1-liquorix-amd64 [6.11-10~mx23ahs] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0 parameters: audit=0
    intel_pstate=disable BOOT_IMAGE=/boot/vmlinuz-6.11.6-1-liquorix-amd64 root=UUID=<filter> ro
    quiet splash
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 info: xfce4-panel wm: xfwm v: 4.18.0 vt: 7
    dm: LightDM v: 1.26.0 Distro: MX-23.4_ahs_x64 Libretto September 15  2024 base: Debian GNU/Linux
    12 (bookworm)
Machine:
  Type: Laptop System: LENOVO product: 81W8 v: Lenovo IdeaPad S145-15IIL
    serial: <superuser required> Chassis: type: 10 v: Lenovo IdeaPad S145-15IIL
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: NO DPK serial: <superuser required> UEFI: LENOVO v: DKCN54WW
    date: 01/27/2022
Battery:
  ID-1: BAT0 charge: 23.6 Wh (99.2%) condition: 23.8/30.0 Wh (79.3%) volts: 8.4 min: 7.6
    model: LGC L17L2PF1 type: Li-poly serial: <filter> status: not charging cycles: 64
CPU:
  Info: model: Intel Core i3-1005G1 bits: 64 type: MT MCP arch: Ice Lake gen: core 10 level: v4
    note: check built: 2019-21 process: Intel 10nm family: 6 model-id: 0x7E (126) stepping: 5
    microcode: 0xC6
  Topology: cpus: 1x cores: 2 tpc: 2 threads: 4 smt: enabled cache: L1: 160 KiB
    desc: d-2x48 KiB; i-2x32 KiB L2: 1024 KiB desc: 2x512 KiB L3: 4 MiB desc: 1x4 MiB
  Speed (MHz): avg: 1252 high: 1301 min/max: 400/1201 boost: enabled scaling:
    driver: acpi-cpufreq governor: ondemand cores: 1: 1300 2: 1301 3: 1260 4: 1147 bogomips: 9523
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: gather_data_sampling mitigation: Microcode
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed mitigation: Enhanced IBRS
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Enhanced / Automatic IBRS; IBPB: conditional; RSB filling;
    PBRSB-eIBRS: SW sequence; BHI: SW loop, KVM: SW loop
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel Iris Plus Graphics G1 vendor: Lenovo driver: i915 v: kernel arch: Gen-11
    process: Intel 10nm built: 2019-21 ports: active: HDMI-A-1,eDP-1 empty: none bus-ID: 00:02.0
    chip-ID: 8086:8a56 class-ID: 0300
  Device-2: Chicony Integrated Camera type: USB driver: uvcvideo bus-ID: 1-5:2 chip-ID: 04f2:b624
    class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org v: 1.21.1.7 compositor: xfwm v: 4.18.0 driver: X:
    loaded: modesetting unloaded: fbdev,vesa dri: iris gpu: i915 display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 3520x1080 s-dpi: 96 s-size: 931x285mm (36.65x11.22") s-diag: 974mm (38.33")
  Monitor-1: HDMI-A-1 mapped: HDMI-1 pos: right model: Philips FTV serial: <filter> built: 2013
    res: 1600x900 hz: 60 dpi: 64 gamma: 1.2 size: 640x360mm (25.2x14.17") diag: 734mm (28.9")
    ratio: 16:9 modes: max: 1600x900 min: 640x480
  Monitor-2: eDP-1 pos: primary,left model: ChiMei InnoLux 0x15f5 built: 2017 res: 1920x1080
    hz: 60 dpi: 142 gamma: 1.2 size: 344x193mm (13.54x7.6") diag: 394mm (15.5") ratio: 16:9
    modes: 1920x1080
  API: OpenGL v: 4.6 Mesa 24.2.2-1~mx23ahs renderer: Mesa Intel UHD Graphics (ICL GT1)
    direct-render: Yes
Audio:
  Device-1: Intel Ice Lake-LP Smart Sound Audio vendor: Lenovo driver: snd_hda_intel v: kernel
    alternate: snd_soc_avs,snd_sof_pci_intel_icl bus-ID: 00:1f.3 chip-ID: 8086:34c8 class-ID: 0403
  API: ALSA v: k6.11.6-1-liquorix-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: pipewire-alsa type: plugin 4: pw-jack type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Realtek RTL8822CE 802.11ac PCIe Wireless Network Adapter vendor: Lenovo
    driver: rtw_8822ce v: N/A modules: rtw88_8822ce,wl pcie: gen: 1 speed: 2.5 GT/s lanes: 1
    port: 4000 bus-ID: 01:00.0 chip-ID: 10ec:c82f class-ID: 0280
  IF: wlan0 state: down mac: <filter>
  Device-2: ASIX AX88179 Gigabit Ethernet type: USB driver: cdc_ncm bus-ID: 2-2:3
    chip-ID: 0b95:1790 class-ID: 0a00 serial: <filter>
  IF: eth0 state: up speed: 1000 Mbps duplex: half mac: <filter>
Bluetooth:
  Device-1: Realtek Bluetooth Radio type: USB driver: btusb v: 0.8 bus-ID: 1-10:4
    chip-ID: 0bda:c02f class-ID: e001 serial: <filter>
  Report: hciconfig ID: hci0 rfk-id: 3 state: down bt-service: N/A rfk-block: hardware: no
    software: yes address: <filter>
  Info: acl-mtu: 1021:6 sco-mtu: 255:12 link-policy: rswitch hold sniff park
    link-mode: peripheral accept
Drives:
  Local Storage: total: 1.37 TiB used: 7.57 GiB (0.5%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital model: PC SN520 SDAPMUW-512G-1101
    size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 15.8 Gb/s lanes: 2 type: SSD
    serial: <filter> rev: 20240001 temp: 44.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Leven model: JAJS300M240C size: 223.57 GiB block-size:
    physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 5A0 scheme: GPT
  ID-3: /dev/sdb maj-min: 8:16 type: USB vendor: A-Data model: ED600 size: 465.76 GiB block-size:
    physical: 4096 B logical: 512 B type: N/A serial: <filter> rev: 0204 scheme: GPT
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
  ID-4: /dev/sdc maj-min: 8:32 type: USB vendor: Samsung model: Flash Drive FIT size: 119.51 GiB
    block-size: physical: 512 B logical: 512 B type: SSD serial: <filter> rev: 1100 scheme: MBR
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
  ID-5: /dev/sdd maj-min: 8:48 type: USB vendor: Samsung model: Flash Drive FIT size: 119.51 GiB
    block-size: physical: 512 B logical: 512 B type: SSD serial: <filter> rev: 1100 scheme: MBR
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
  ID-1: / raw-size: 76.67 GiB size: 74.92 GiB (97.71%) used: 7.55 GiB (10.1%) fs: ext4
    dev: /dev/sdb6 maj-min: 8:22
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) used: 18.4 MiB (6.1%) fs: vfat
    dev: /dev/sdb1 maj-min: 8:17
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 43.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Repos:
  Packages: pm: dpkg pkgs: 2122 libs: 1052 tools: apt,apt-get,aptitude,nala,synaptic pm: rpm
    pkgs: 0 pm: flatpak pkgs: 0
  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 https://quantum-mirror.hu/mirrors/pub/mx-linux/packages/mx/repo/ bookworm main non-free
    2: deb https://quantum-mirror.hu/mirrors/pub/mx-linux/packages/mx/repo/ bookworm ahs
Info:
  Processes: 228 Uptime: 8m wakeups: 2 Memory: 7.33 GiB used: 2.08 GiB (28.4%) Init: SysVinit
  v: 3.06 runlevel: 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: UEFI

User avatar
pixie
Posts: 10
Joined: Thu Nov 07, 2024 9:01 am

[SOLVED] mx-network-assistant fixes my Ethernet connection

#9 Post by pixie »

Meanwhile I've installed the AHS version. I do not see any change.
So upgraded and the minimal script that activates the wired connection during startup
cat ./eth0.sh

Code: Select all

#!/bin/sh
LANG=C lshw -disable IDE -disable SCSI -class network -json > /tmp/lshw.log 2>&1
It's strange. The friendlier way is to start mx-network-assistant
and close the window by ALT+F4 or Super+Q as I modified.
Murphy is alive, or..
Baseus Lite Series USB - RJ45 Gigabit Ethernet Adapter
The behavior is the same in different kernels and with Fluxbox as well.

Post Reply

Return to “MX Help”