Ethernet connection doesn't work but I'm able to connect to the same network through USB tethering from phone

Hi,
I’m new to Manjaro, previously I’ve used Windows…
On Windows my networking works flawlessly but on Linux I’m never able to use the ethernet connection.
I suspect it’s something to do with my network adapter on my motherboard ( ASRock N68-GS4 FX R2.0 )

1 Like

Here is the ip addr output:

ip addr                                                                                      1 ✘ 
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host noprefixroute 
       valid_lft forever preferred_lft forever
2: enp0s7: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
    link/ether 70:85:c2:46:5b:83 brd ff:ff:ff:ff:ff:ff
5: enp0s2f1u8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 1000
    link/ether 02:50:67:68:66:66 brd ff:ff:ff:ff:ff:ff
    inet 192.168.42.86/24 brd 192.168.42.255 scope global dynamic noprefixroute enp0s2f1u8
       valid_lft 2761sec preferred_lft 2761sec
    inet6 fe80::40d0:c0cd:d208:eb0a/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever

I’m trying to use the enp0s7 connection (My ethernet connection)
When i use the enp0s2f1u8 (my USB tether to the same router) it works automatically…

Hi @nikola418, and welcome!

In order for us, or anyone for that matter, to be able to provide assistance, more information is necessary. To that end, please see:

Please also note and heed: Forum Rules - Manjaro

Hope you manage!


:bangbang: Tip: :bangbang:

To provide terminal output, copy the text you wish to share, and paste it here, surrounded by three (3) backticks, a.k.a grave accents. Like this:

```
pasted text
```

Or three (3) tilde signs, like this:

~~~
pasted text
~~~

This will just cause it to be rendered like this:

Portaest sed
elementum
cursus nisl nisi
hendrerit ac quis
sit
adipiscing
tortor sit leo commodo.

Instead of like this:

Portaest sed elementum cursus nisl nisi hendrerit ac quis sit adipiscing tortor sit leo commodo.

Alternatively, paste the text you wish to format as terminal output, select all pasted text, and click the </> button on the taskbar. This will indent the whole pasted section with one TAB, causing it to render the same way as described above.

Thereby improving legibility and making it much easier for those trying to be of assistance.


:bangbang::bangbang: Additionally

If your language isn’t English, please prepend any and all terminal commands with LC_ALL=C. For example:

LC_ALL=C bluetoothctl

This will just cause the terminal output to be in English, making it easier to understand and debug.

Please edit your post accordingly.

Thank you for your advice!
I’m new to this forum, but I’ll try to comply to best of my ability!

1 Like

Here is additional information about my system:

inxi -v7azy                                                                            ✔  23s  
System:
  Kernel: 6.6.8-2-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc available: acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-x86_64 lang=en_US keytable=us tz=UTC
    misobasedir=manjaro misolabel=MANJARO_KDE_2312 quiet systemd.show_status=1
    splash driver=nonfree nouveau.modeset=0 i915.modeset=1 radeon.modeset=1
  Desktop: KDE Plasma v: 5.27.10 tk: Qt v: 5.15.11 wm: kwin_x11 vt: 2
    dm: SDDM Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: ASRock model: N68-GS4 FX R2.0
    serial: <superuser required> BIOS: American Megatrends v: P1.00
    date: 10/05/2015
Battery:
  Message: No system battery data found. Is one present?
Memory:
  System RAM: total: 8 GiB available: 7.74 GiB used: 3.48 GiB (44.9%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: AMD FX-8350 bits: 64 type: MT MCP arch: Piledriver level: v2
    built: 2012-13 process: GF 32nm family: 0x15 (21) model-id: 2 stepping: 0
    microcode: 0x6000852
  Topology: cpus: 1x cores: 8 smt: enabled cache: L1: 384 KiB
    desc: d-8x16 KiB; i-4x64 KiB L2: 8 MiB desc: 4x2 MiB L3: 8 MiB desc: 1x8 MiB
  Speed (MHz): avg: 4018 min/max: N/A cores: 1: 4018 2: 4018 3: 4018 4: 4018
    5: 4018 6: 4018 7: 4018 8: 4018 bogomips: 64313
  Flags: 3dnowprefetch abm aes aperfmperf apic arat avx bmi1 clflush cmov
    cmp_legacy constant_tsc cpb cpuid cr8_legacy cx16 cx8 de decodeassists
    extapic extd_apicid f16c flushbyasid fma fma4 fpu fxsr fxsr_opt ht
    hw_pstate ibpb ibs lahf_lm lbrv lm mca mce misalignsse mmx mmxext monitor
    msr mtrr nodeid_msr nonstop_tsc nopl npt nrip_save nx osvw pae pat
    pausefilter pclmulqdq pdpe1gb perfctr_core perfctr_nb pfthreshold pge pni
    popcnt pse pse36 rdtscp rep_good sep skinit ssbd sse sse2 sse4_1 sse4_2
    sse4a ssse3 svm svm_lock syscall tbm tce topoext tsc tsc_scale vmcb_clean
    vme vmmcall wdt xop xsave
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed mitigation: untrained return thunk; SMT vulnerable
  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: Retpolines, IBPB: conditional, STIBP:
    disabled, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Oland PRO [Radeon R7 240/340 / Radeon 520] vendor: Hightech
    Information System driver: radeon v: kernel alternate: amdgpu arch: GCN-1
    code: Southern Islands process: TSMC 28nm built: 2011-20 pcie: gen: 1
    speed: 2.5 GT/s lanes: 8 link-max: gen: 3 speed: 8 GT/s ports:
    active: HDMI-A-1 empty: DVI-D-1,VGA-1 bus-ID: 02:00.0 chip-ID: 1002:6613
    class-ID: 0300 temp: 31.0 C
  Device-2: KYE Systems (Mouse Systems) FaceCam 1000X
    driver: snd-usb-audio,uvcvideo type: USB rev: 2.0 speed: 480 Mb/s lanes: 1
    mode: 2.0 bus-ID: 1-4:4 chip-ID: 0458:708f class-ID: 0102
  Display: x11 server: X.Org v: 21.1.10 compositor: kwin_x11 driver: X:
    loaded: radeon unloaded: modesetting alternate: fbdev,vesa dri: radeonsi
    gpu: radeon display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93")
  Monitor-1: HDMI-A-1 mapped: HDMI-0 model: 24MT600BF serial: <filter>
    built: 2020 res: 1920x1080 hz: 60 dpi: 92 gamma: 1.2
    size: 531x299mm (20.91x11.77") diag: 611mm (24.1") ratio: 16:10 modes:
    max: 1920x1080 min: 720x400
  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
    device: 1 drv: swrast gbm: drv: kms_swrast surfaceless: drv: radeonsi x11:
    drv: radeonsi inactive: wayland
  API: OpenGL v: 4.5 vendor: amd mesa v: 23.1.9-manjaro1.1 glx-v: 1.4
    direct-render: yes renderer: OLAND ( LLVM 16.0.6 DRM 2.50 6.6.8-2-MANJARO)
    device-ID: 1002:6613 memory: 1.95 GiB unified: no
  API: Vulkan Message: No Vulkan data available.
Audio:
  Device-1: NVIDIA MCP61 High Definition Audio vendor: ASRock
    driver: snd_hda_intel v: kernel bus-ID: 00:05.0 chip-ID: 10de:03f0
    class-ID: 0403
  Device-2: AMD Oland/Hainan/Cape Verde/Pitcairn HDMI Audio [Radeon HD 7000
    Series] vendor: Hightech Information System driver: snd_hda_intel v: kernel
    pcie: gen: 1 speed: 2.5 GT/s lanes: 8 link-max: gen: 3 speed: 8 GT/s
    bus-ID: 02:00.1 chip-ID: 1002:aab0 class-ID: 0403
  Device-3: KYE Systems (Mouse Systems) FaceCam 1000X
    driver: snd-usb-audio,uvcvideo type: USB rev: 2.0 speed: 480 Mb/s lanes: 1
    mode: 2.0 bus-ID: 1-4:4 chip-ID: 0458:708f class-ID: 0102
  API: ALSA v: k6.6.8-2-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 1.0.0 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: NVIDIA MCP61 Ethernet vendor: ASRock 939NF6G-VSTA Board
    type: network bridge driver: forcedeth v: kernel port: d080 bus-ID: 00:07.0
    chip-ID: 10de:03ef class-ID: 0680
  IF: enp0s7 state: down mac: <filter>
  IF-ID-1: enp0s2f1u8 state: unknown speed: -1 duplex: half mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  WAN IP: <filter>
Bluetooth:
  Device-1: Samsung GT-I9070 (network tethering USB debugging enabled)
    driver: rndis_host v: kernel type: USB rev: 2.1 speed: 480 Mb/s lanes: 1
    mode: 2.0 bus-ID: 1-8:12 chip-ID: 04e8:6864 class-ID: 0a00 serial: <filter>
  Report: This feature requires one of these tools: hciconfig/bt-adapter
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 2.15 TiB used: 0 KiB (0.0%)
  ID-1: /dev/sda maj-min: 8:0 vendor: Kingston model: DataTraveler 3.0
    size: 115.5 GiB block-size: physical: 512 B logical: 512 B type: USB rev: 2.1
    spd: 480 Mb/s lanes: 1 mode: 2.0 tech: N/A serial: <filter> fw-rev: PMAP
    scheme: MBR
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-2: /dev/sdb maj-min: 8:16 vendor: Seagate model: ST2000DM006-2DM164
    size: 1.82 TiB block-size: physical: 4096 B logical: 512 B speed: 3.0 Gb/s
    tech: HDD rpm: 7200 serial: <filter> fw-rev: CC26 scheme: MBR
  ID-3: /dev/sdc maj-min: 8:32 vendor: SanDisk model: EMTEC X150 240GB
    size: 223.57 GiB block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 61.3 scheme: MBR
  Message: No optical or floppy data found.
Partition:
  Message: No partition data found.
Swap:
  Alert: No swap data was found.
Unmounted:
  ID-1: /dev/sda1 maj-min: 8:1 size: 3.64 GiB fs: iso9660
  ID-2: /dev/sda2 maj-min: 8:2 size: 4 MiB fs: vfat label: MISO_EFI
    uuid: AB1E-DC8C
  ID-3: /dev/sdb1 maj-min: 8:17 size: 1.82 TiB fs: ntfs label: hard-drive
    uuid: A438F25D38F22E44
  ID-4: /dev/sdc1 maj-min: 8:33 size: 500 MiB fs: ntfs label: System Reserved
    uuid: DE00E8A700E887BB
  ID-5: /dev/sdc2 maj-min: 8:34 size: 222.57 GiB fs: ntfs label: N/A
    uuid: 9804F20004F1E164
  ID-6: /dev/sdc3 maj-min: 8:35 size: 521 MiB fs: ntfs label: N/A
    uuid: 2EEC0358EC0319AB
USB:
  Hub-1: 1-0:1 info: full speed or root hub ports: 10 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 1-4:4 info: KYE Systems (Mouse Systems) FaceCam 1000X
    type: video,audio driver: snd-usb-audio,uvcvideo interfaces: 4 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 500mA
    chip-ID: 0458:708f class-ID: 0102
  Device-2: 1-7:5 info: Kingston DataTraveler 100 G3/G4/SE9 G2/50 Kyson
    type: mass storage driver: usb-storage interfaces: 1 rev: 2.1
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 300mA
    chip-ID: 0951:1666 class-ID: 0806 serial: <filter>
  Device-3: 1-8:12 info: Samsung GT-I9070 (network tethering USB debugging
    enabled) type: bluetooth,CDC-data driver: rndis_host interfaces: 3 rev: 2.1
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 64mA
    chip-ID: 04e8:6864 class-ID: 0a00 serial: <filter>
  Hub-2: 2-0:1 info: full speed or root hub ports: 10 rev: 1.1
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 chip-ID: 1d6b:0001
    class-ID: 0900
  Device-1: 2-1:2 info: Kingston HX-KB4BL1-US [HYPERX Alloy FPS Pro]
    type: keyboard,mouse,HID driver: hid-generic,usbhid interfaces: 3 rev: 2.0
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 480mA
    chip-ID: 0951:16d2 class-ID: 0300
  Device-2: 2-2:3 info: A4Tech USB Device type: keyboard,mouse,HID
    driver: hid-generic,usbhid interfaces: 3 rev: 1.1 speed: 12 Mb/s (1.4 MiB/s)
    lanes: 1 mode: 1.1 power: 100mA chip-ID: 09da:71b0 class-ID: 0300
Sensors:
  System Temperatures: cpu: 42.1 C mobo: N/A gpu: radeon temp: 31.0 C
  Fan Speeds (rpm): N/A
Info:
  Processes: 214 Uptime: 41m wakeups: 0 Init: systemd v: 254 default: graphical
  tool: systemctl Compilers: gcc: 13.2.1 clang: 16.0.6 Packages: pm: pacman
  pkgs: 1210 libs: 325 tools: pamac pm: flatpak pkgs: 0 Shell: Zsh v: 5.9
  default: Bash v: 5.2.21 running-in: konsole inxi: 3.3.31

Also I should mention why I think that the issue is related to my system and not specifically to Manjaro is because I can’t get ethernet connection on any Linux distribution I’ve tried (Ubuntu 18 or 20, Manjaro, Debian, Fedora…)

Well, I tend to think it’s your system as well, especially because the driver seem to be loaded, you have a very recent kernel:

…and from what I can see on this page the device tends to work just fine. And since it also doesn’t work in other distributions, I lean toward a problematic adapter…

Edit:

Although, upon checking that website with the driver again, I noticed it only working, or being tested, or whatever, up to kernel version 6.3. So perhaps you should try Version 6.1, which is the previous LTS version?

Connection using ethernet and connection using tethering is two different methods.

The first is wired - the second is wireless - at least from the phone to the network.

The most likely cause is your cable connection points.

You can check in Network Settings whether the connection is enabled or not.

Possibly enable it manually

sudo ip link set enp0s7 up
1 Like

Well forcedeth is reversed-engineered driver for nforce network cards. That means, they developed it through trail&error, since there is no support from nvidia.

It looks like your model is an MCP61:

Probably try this:

  1. Unplug cable.
  2. Unload the driver:
sudo modprobe -rv forcedeth
  1. Then load it again with these options:
sudo modprobe -v forcedeth msi=0 msix=0
  1. Plugin the cable and try to connect. Maybe restart the NetworkManager:
sudo systemctl restart NetworkManager

Does it work?

1 Like

The whole system freezes when i try to run

sudo modprobe -rv forcedeth

Well then try stopping Networkmanager before and start it after loaded again:

sudo systemctl stop NetworkManager
sudo systemctl start NetworkManager

However… no idea why your whole system freeze. Normally it shouldn’t.

Hi guys, I just wanted to bring you up to date on the matter.
I have solved the issue…
I found the solution which worked for me here:
https://bbs.archlinux.org/viewtopic.php?pid=1551149#p1551149
The solution was to add this line to mkinitcpio.conf:

FILES="/etc/modprobe.d/forcedeth.conf"

and this into /etc/modprobe.d/forcedeth.conf:

options forcedeth msi=0 msix=0

then run:

sudo mkinitcpio -p linux66 

(linux66 instead of linux)
and finally reboot the system.

Next time I’ll make sure to invest into a better motherboard since the problem seems to be solely related to the firmware.

Thank you everyone for trying to help!!
I have encountered this issue on many Linux distributions I have tried to run on this system… finally I decided to ditch Windows for good since trying to develop anything on it is pure hell, and was successful.

2 Likes

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.