Ubuntu 18.04: Ethernet keeps dropping randomly for several seconds

Recently I have installed a new router because of a internet provider change and since then my previously faithful ethernet connection makes problems. Even though internet access and the network in general works, the ethernet connection fails every now and then for several seconds. It seems to happen preferably when starting large/fast downloads but will also happen while doing things not obviously network related.

Here are my hardware specs:

julian@julian-desktop:~$   lspci -nnk | grep -i net -A2 24:00.0 Network controller [0280]: Intel Corporation Dual Band Wireless-AC 3168NGW [Stone Peak] [8086:24fb] (rev 10)     Subsystem: Intel Corporation Device [8086:2110]     Kernel driver in use: iwlwifi -- 25:00.0 Ethernet controller [0200]: Intel Corporation I211 Gigabit Network Connection [8086:1539] (rev 03)     Subsystem: ASRock Incorporation I211 Gigabit Network Connection [1849:1539]     Kernel driver in use: igb     Kernel modules: igb 

And ifconfig:

julian@julian-desktop:~$   ifconfig enp37s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500         inet 192.168.178.42  netmask 255.255.255.0  broadcast 192.168.178.255         inet6 fe80::4a89:a9d2:49ca:9df4  prefixlen 64  scopeid 0x20<link>         ether 70:85:c2:a8:bb:7f  txqueuelen 1000  (Ethernet)         RX packets 333573  bytes 479511002 (479.5 MB)         RX errors 2  dropped 0  overruns 0  frame 1         TX packets 180965  bytes 14125591 (14.1 MB)         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0         device memory 0xf7500000-f751ffff    enp3s0f0u3c4i2: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500         ether 42:33:1a:65:b8:0c  txqueuelen 1000  (Ethernet)         RX packets 0  bytes 0 (0.0 B)         RX errors 0  dropped 0  overruns 0  frame 0         TX packets 0  bytes 0 (0.0 B)         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0  lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536         inet 127.0.0.1  netmask 255.0.0.0         inet6 ::1  prefixlen 128  scopeid 0x10<host>         loop  txqueuelen 1000  (Lokale Schleife)         RX packets 6415  bytes 586547 (586.5 KB)         RX errors 0  dropped 0  overruns 0  frame 0         TX packets 6415  bytes 586547 (586.5 KB)         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0  wlp36s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500         inet 10.42.0.1  netmask 255.255.255.0  broadcast 10.42.0.255         inet6 fe80::d7d4:24b5:9682:47bb  prefixlen 64  scopeid 0x20<link>         ether 3c:6a:a7:4e:40:f8  txqueuelen 1000  (Ethernet)         RX packets 104  bytes 11975 (11.9 KB)         RX errors 0  dropped 1  overruns 0  frame 0         TX packets 303  bytes 47366 (47.3 KB)         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0 

And here is the log from /var/log/syslog one of the disconnection periods:

Apr 15 17:52:46 julian-desktop kernel: [ 1657.601916] igb 0000:25:00.0 enp37s0: igb: enp37s0 NIC Link is Down Apr 15 17:52:52 julian-desktop wpa_supplicant[1338]: message repeated 21 times: [ wlp36s0: CTRL-EVENT-SCAN-FAILED ret=-95 retry=1] Apr 15 17:52:52 julian-desktop NetworkManager[1320]: <info>  [1555343572.1914] device (enp37s0): state change: activated -> unavailable (reason 'carrier-changed', sys-iface-state: 'managed') Apr 15 17:52:52 julian-desktop NetworkManager[1320]: <info>  [1555343572.2074] dhcp4 (enp37s0): canceled DHCP transaction, DHCP client pid 4430 Apr 15 17:52:52 julian-desktop NetworkManager[1320]: <info>  [1555343572.2074] dhcp4 (enp37s0): state changed bound -> done Apr 15 17:52:52 julian-desktop avahi-daemon[1334]: Withdrawing address record for 192.168.178.42 on enp37s0. Apr 15 17:52:52 julian-desktop avahi-daemon[1334]: Leaving mDNS multicast group on interface enp37s0.IPv4 with address 192.168.178.42. Apr 15 17:52:52 julian-desktop avahi-daemon[1334]: Interface enp37s0.IPv4 no longer relevant for mDNS. Apr 15 17:52:52 julian-desktop avahi-daemon[1334]: Withdrawing address record for fe80::4a89:a9d2:49ca:9df4 on enp37s0. Apr 15 17:52:52 julian-desktop avahi-daemon[1334]: Leaving mDNS multicast group on interface enp37s0.IPv6 with address fe80::4a89:a9d2:49ca:9df4. Apr 15 17:52:52 julian-desktop avahi-daemon[1334]: Interface enp37s0.IPv6 no longer relevant for mDNS. Apr 15 17:52:52 julian-desktop NetworkManager[1320]: <info>  [1555343572.2104] manager: NetworkManager state is now CONNECTED_SITE Apr 15 17:52:52 julian-desktop NetworkManager[1320]: <info>  [1555343572.2111] manager: NetworkManager state is now CONNECTED_LOCAL Apr 15 17:52:52 julian-desktop dbus-daemon[1302]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.13' (uid=0 pid=1320 comm="/usr/sbin/NetworkManager --no-daemon " label="unconfined") Apr 15 17:52:52 julian-desktop whoopsie[2042]: [17:52:52] offline Apr 15 17:52:52 julian-desktop dnsmasq[1846]: lese /etc/resolv.conf Apr 15 17:52:52 julian-desktop dnsmasq[1846]: Benutze Namensserver 127.0.0.53#53 Apr 15 17:52:52 julian-desktop dnsmasq[1846]: Cache geleert Apr 15 17:52:52 julian-desktop dnsmasq[1846]: lese /etc/resolv.conf Apr 15 17:52:52 julian-desktop dnsmasq[1846]: Benutze Namensserver 127.0.0.53#53 Apr 15 17:52:52 julian-desktop dnsmasq[1846]: Cache geleert Apr 15 17:52:52 julian-desktop dnsmasq[1846]: lese /etc/resolv.conf Apr 15 17:52:52 julian-desktop dnsmasq[1846]: Benutze Namensserver 127.0.0.53#53 Apr 15 17:52:52 julian-desktop dnsmasq[1846]: Cache geleert Apr 15 17:52:52 julian-desktop dnsmasq[1846]: lese /etc/resolv.conf Apr 15 17:52:52 julian-desktop dnsmasq[1846]: Benutze Namensserver 127.0.0.53#53 Apr 15 17:52:52 julian-desktop dnsmasq[1846]: Cache geleert Apr 15 17:52:52 julian-desktop dnsmasq[1846]: lese /etc/resolv.conf Apr 15 17:52:52 julian-desktop dnsmasq[1846]: Benutze Namensserver 127.0.0.53#53 Apr 15 17:52:52 julian-desktop dnsmasq[1846]: Cache geleert Apr 15 17:52:52 julian-desktop dnsmasq[1846]: lese /etc/resolv.conf Apr 15 17:52:52 julian-desktop dnsmasq[1846]: Benutze Namensserver 127.0.0.53#53 Apr 15 17:52:52 julian-desktop dnsmasq[1846]: Cache geleert Apr 15 17:52:52 julian-desktop dnsmasq[1846]: lese /etc/resolv.conf Apr 15 17:52:52 julian-desktop dnsmasq[1846]: Benutze Namensserver 127.0.0.53#53 Apr 15 17:52:52 julian-desktop dnsmasq[1846]: Cache geleert Apr 15 17:52:52 julian-desktop dnsmasq[1846]: lese /etc/resolv.conf Apr 15 17:52:52 julian-desktop dnsmasq[1846]: Benutze Namensserver 127.0.0.53#53 Apr 15 17:52:52 julian-desktop dnsmasq[1846]: Cache geleert Apr 15 17:52:52 julian-desktop systemd[1]: Starting Network Manager Script Dispatcher Service... Apr 15 17:52:52 julian-desktop deja-dup-monito[3587]: Source ID 112 was not found when attempting to remove it Apr 15 17:52:52 julian-desktop gsd-sharing[2454]: Failed to StopUnit service: GDBus.Error:org.freedesktop.systemd1.NoSuchUnit: Unit gnome-user-share-webdav.service not loaded. Apr 15 17:52:52 julian-desktop gsd-sharing[2454]: Failed to StopUnit service: GDBus.Error:org.freedesktop.systemd1.NoSuchUnit: Unit rygel.service not loaded. Apr 15 17:52:52 julian-desktop dbus-daemon[1302]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher' Apr 15 17:52:52 julian-desktop gsd-sharing[2454]: Failed to StopUnit service: GDBus.Error:org.freedesktop.systemd1.NoSuchUnit: Unit gnome-remote-desktop.service not loaded. Apr 15 17:52:52 julian-desktop systemd[1]: Started Network Manager Script Dispatcher Service. Apr 15 17:52:52 julian-desktop nm-dispatcher: req:1 'connectivity-change': new request (1 scripts) Apr 15 17:52:52 julian-desktop nm-dispatcher: req:1 'connectivity-change': start running ordered scripts... Apr 15 17:52:52 julian-desktop nm-dispatcher: req:2 'down' [enp37s0]: new request (1 scripts) Apr 15 17:52:52 julian-desktop nm-dispatcher: req:2 'down' [enp37s0]: start running ordered scripts... Apr 15 17:52:53 julian-desktop wpa_supplicant[1338]: wlp36s0: CTRL-EVENT-SCAN-FAILED ret=-95 retry=1 Apr 15 17:52:53 julian-desktop goa-daemon[2337]: goa_http_client_check() failed: 2 — Fehler beim Auflösen von »kmu.files.cnow.at«: Der Name oder der Dienst ist nicht bekannt Apr 15 17:52:53 julian-desktop goa-daemon[2337]: /org/gnome/OnlineAccounts/Accounts/account_1547674158_0: Setting AttentionNeeded to TRUE because EnsureCredentials() failed with: Ungültiges Passwort für Benutzer »julian.fesel@inode.at« (goa-error-quark, 0): Rechnername konnte nicht aufgelöst werden (goa-error-quark, 4) Apr 15 17:52:54 julian-desktop wpa_supplicant[1338]: wlp36s0: CTRL-EVENT-SCAN-FAILED ret=-95 retry=1 Apr 15 17:52:54 julian-desktop goa-daemon[2337]: goa_http_client_check() failed: 2 — Fehler beim Auflösen von »kmu.files.cnow.at«: Der Name oder der Dienst ist nicht bekannt Apr 15 17:52:55 julian-desktop wpa_supplicant[1338]: wlp36s0: CTRL-EVENT-SCAN-FAILED ret=-95 retry=1 Apr 15 17:53:06 julian-desktop wpa_supplicant[1338]: message repeated 11 times: [ wlp36s0: CTRL-EVENT-SCAN-FAILED ret=-95 retry=1] Apr 15 17:53:06 julian-desktop NetworkManager[1320]: <info>  [1555343586.8275] device (enp37s0): carrier: link connected Apr 15 17:53:06 julian-desktop NetworkManager[1320]: <info>  [1555343586.8279] device (enp37s0): state change: unavailable -> disconnected (reason 'carrier-changed', sys-iface-state: 'managed') Apr 15 17:53:06 julian-desktop NetworkManager[1320]: <info>  [1555343586.8291] policy: auto-activating connection 'Kabelgebundene Verbindung 1' Apr 15 17:53:06 julian-desktop kernel: [ 1678.238273] igb 0000:25:00.0 enp37s0: igb: enp37s0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX Apr 15 17:53:06 julian-desktop NetworkManager[1320]: <info>  [1555343586.8307] device (enp37s0): Activation: starting connection 'Kabelgebundene Verbindung 1' (599cf1b6-92de-3ca4-a47a-a9b8f9c1b24f) Apr 15 17:53:06 julian-desktop NetworkManager[1320]: <info>  [1555343586.8310] device (enp37s0): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed') Apr 15 17:53:06 julian-desktop NetworkManager[1320]: <info>  [1555343586.8313] manager: NetworkManager state is now CONNECTING Apr 15 17:53:06 julian-desktop NetworkManager[1320]: <info>  [1555343586.8318] device (enp37s0): state change: prepare -> config (reason 'none', sys-iface-state: 'managed') Apr 15 17:53:06 julian-desktop NetworkManager[1320]: <info>  [1555343586.8325] device (enp37s0): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed') Apr 15 17:53:06 julian-desktop NetworkManager[1320]: <info>  [1555343586.8329] dhcp4 (enp37s0): activation: beginning transaction (timeout in 45 seconds) Apr 15 17:53:06 julian-desktop NetworkManager[1320]: <info>  [1555343586.8347] dhcp4 (enp37s0): dhclient started with pid 4755 Apr 15 17:53:06 julian-desktop dhclient[4755]: DHCPREQUEST of 192.168.178.42 on enp37s0 to 255.255.255.255 port 67 (xid=0x6d294be5) Apr 15 17:53:07 julian-desktop wpa_supplicant[1338]: wlp36s0: CTRL-EVENT-SCAN-FAILED ret=-95 retry=1 Apr 15 17:53:08 julian-desktop wpa_supplicant[1338]: wlp36s0: CTRL-EVENT-SCAN-FAILED ret=-95 retry=1 Apr 15 17:53:08 julian-desktop goa-daemon[2337]: goa_http_client_check() failed: 2 — Fehler beim Auflösen von »kmu.files.cnow.at«: Der Name oder der Dienst ist nicht bekannt Apr 15 17:53:08 julian-desktop avahi-daemon[1334]: Joining mDNS multicast group on interface enp37s0.IPv6 with address fe80::4a89:a9d2:49ca:9df4. Apr 15 17:53:08 julian-desktop avahi-daemon[1334]: New relevant interface enp37s0.IPv6 for mDNS. Apr 15 17:53:08 julian-desktop avahi-daemon[1334]: Registering new address record for fe80::4a89:a9d2:49ca:9df4 on enp37s0.*. Apr 15 17:53:09 julian-desktop wpa_supplicant[1338]: wlp36s0: CTRL-EVENT-SCAN-FAILED ret=-95 retry=1 Apr 15 17:53:09 julian-desktop dhclient[4755]: DHCPREQUEST of 192.168.178.42 on enp37s0 to 255.255.255.255 port 67 (xid=0x6d294be5) Apr 15 17:53:09 julian-desktop dhclient[4755]: DHCPACK of 192.168.178.42 from 192.168.178.1 Apr 15 17:53:09 julian-desktop NetworkManager[1320]: <info>  [1555343589.1435] dhcp4 (enp37s0):   address 192.168.178.42 Apr 15 17:53:09 julian-desktop NetworkManager[1320]: <info>  [1555343589.1435] dhcp4 (enp37s0):   plen 24 (255.255.255.0) Apr 15 17:53:09 julian-desktop NetworkManager[1320]: <info>  [1555343589.1435] dhcp4 (enp37s0):   gateway 192.168.178.1 Apr 15 17:53:09 julian-desktop NetworkManager[1320]: <info>  [1555343589.1435] dhcp4 (enp37s0):   lease time 864000 Apr 15 17:53:09 julian-desktop NetworkManager[1320]: <info>  [1555343589.1435] dhcp4 (enp37s0):   nameserver '192.168.178.1' Apr 15 17:53:09 julian-desktop NetworkManager[1320]: <info>  [1555343589.1435] dhcp4 (enp37s0):   domain name 'fritz.box' Apr 15 17:53:09 julian-desktop NetworkManager[1320]: <info>  [1555343589.1436] dhcp4 (enp37s0): state changed unknown -> bound Apr 15 17:53:09 julian-desktop avahi-daemon[1334]: Joining mDNS multicast group on interface enp37s0.IPv4 with address 192.168.178.42. Apr 15 17:53:09 julian-desktop avahi-daemon[1334]: New relevant interface enp37s0.IPv4 for mDNS. Apr 15 17:53:09 julian-desktop avahi-daemon[1334]: Registering new address record for 192.168.178.42 on enp37s0.IPv4. Apr 15 17:53:09 julian-desktop NetworkManager[1320]: <info>  [1555343589.1456] device (enp37s0): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'managed') Apr 15 17:53:09 julian-desktop dhclient[4755]: bound to 192.168.178.42 -- renewal in 360679 seconds. Apr 15 17:53:09 julian-desktop whoopsie[2042]: [17:53:09] Cannot reach: https://daisy.ubuntu.com Apr 15 17:53:09 julian-desktop NetworkManager[1320]: <info>  [1555343589.1466] device (enp37s0): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'managed') Apr 15 17:53:09 julian-desktop NetworkManager[1320]: <info>  [1555343589.1469] device (enp37s0): state change: secondaries -> activated (reason 'none', sys-iface-state: 'managed') Apr 15 17:53:09 julian-desktop NetworkManager[1320]: <info>  [1555343589.1471] manager: NetworkManager state is now CONNECTED_LOCAL Apr 15 17:53:09 julian-desktop NetworkManager[1320]: <info>  [1555343589.1487] manager: NetworkManager state is now CONNECTED_SITE Apr 15 17:53:09 julian-desktop NetworkManager[1320]: <info>  [1555343589.1488] policy: set 'Kabelgebundene Verbindung 1' (enp37s0) as default for IPv4 routing and DNS Apr 15 17:53:09 julian-desktop NetworkManager[1320]: <info>  [1555343589.1492] device (enp37s0): Activation: successful, device activated. Apr 15 17:53:09 julian-desktop dnsmasq[1846]: lese /etc/resolv.conf Apr 15 17:53:09 julian-desktop dnsmasq[1846]: Benutze Namensserver 127.0.0.53#53 Apr 15 17:53:09 julian-desktop dnsmasq[1846]: Cache geleert Apr 15 17:53:09 julian-desktop dnsmasq[1846]: lese /etc/resolv.conf Apr 15 17:53:09 julian-desktop dnsmasq[1846]: Benutze Namensserver 127.0.0.53#53 Apr 15 17:53:09 julian-desktop dnsmasq[1846]: Cache geleert Apr 15 17:53:09 julian-desktop dnsmasq[1846]: lese /etc/resolv.conf Apr 15 17:53:09 julian-desktop dnsmasq[1846]: Benutze Namensserver 127.0.0.53#53 Apr 15 17:53:09 julian-desktop dnsmasq[1846]: Cache geleert Apr 15 17:53:09 julian-desktop dbus-daemon[1302]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.13' (uid=0 pid=1320 comm="/usr/sbin/NetworkManager --no-daemon " label="unconfined") Apr 15 17:53:09 julian-desktop dnsmasq[1846]: lese /etc/resolv.conf Apr 15 17:53:09 julian-desktop dnsmasq[1846]: Benutze Namensserver 127.0.0.53#53 Apr 15 17:53:09 julian-desktop dnsmasq[1846]: Cache geleert Apr 15 17:53:09 julian-desktop dnsmasq[1846]: lese /etc/resolv.conf Apr 15 17:53:09 julian-desktop dnsmasq[1846]: Benutze Namensserver 127.0.0.53#53 Apr 15 17:53:09 julian-desktop dnsmasq[1846]: Cache geleert 

I am fairly certain that the problem is ubuntu/pc related and that connection cable and router are fine. I tried using the same cable connection with another computer and there I don’t experiance any problems. I also already updated the system but it makes no difference.

I am not really a ubuntu superuser and kind of at a loss on how to solve/start solving this issue (with the exception of drastic measures like reinstalling the system). Please let me know if I can provide any additional info.

Ubuntu server KVM/QEMU two ethernet cards LAN and DMZ with vlan

I’m struggling with this…

I have a KVM/QEMU hypervisor, running Ubuntu 18.04 server. It manages various VMs, all of them in a DMZ IP class (192.168.63.0/24). All the VMs uses bridged connection br0 as Network source. The server uses two NIC cards (out of a few more):

  • eno1 is connected to our LAN, static IP 192.168.1.221, GW 192.168.1.99, ecc. (VLAN 1 default)
  • eno2 is connected to our LAN at a specific switch port, traffic has to be tagged for VLAN 63 (DMZ’s VLAN)

I have this netplan .yaml file (not working):

network:   version: 2   renderer: networkd   ethernets:     eno1:       addresses:         - 192.168.1.221/24       gateway4: 192.168.1.99       nameservers:           addresses: [8.8.8.8,192.168.1.99]     eno2:        dhcp4: no   bridges:     br0:       addresses: [ 192.168.63.221/24 ]       interfaces: [ vlan63 ]   vlans:     vlan63:       accept-ra: no       id: 63       link: eno2 

All my VMs have static IPs, all of their network traffic should ideally be bridged to NIC eno2. Before introducing VLANs, it was working this way.

With the configuration above, from the hypervisor I can ping/ssh into VMs in the DMZ, reach Internet, have normal access to LAN. From the VMs in DMZ, no Internet access, full visibility of other VMs in DMZ.

If I change bridge’s definition to this:

  bridges:     br0:       dhcp4: no       interfaces: [ vlan63 ] 

from the hypervisor I can’t no more ping/ssh/reach VMs in the DMZ, but I can ping DMZ’s GW (192.168.63.1), accesses to Internet and LAN untouched. So I have no way to connect to my VMs.

I’m obviously doing something all wrong, and I’m not able to sort it out. Any help or guidance would be great.

Cheers, rash*

ethernet connection lost then work on localhost

So is it possible to insert data or create files if connection lost.. (Web Application (PHP)).

Example domain name test.example.com / IP 88.77.66.55

So if ethernet connection lost I can still use web application like insert data into files (PHP form data to file).

Ethernet is gone like 2hours and workers can still insert data from website (Like it working offline localhost and if ethernet connection is back then it goes online and is viewable from domain name or IP address, if it is offline then localhost IP 127.0.0.1 or just “localhost”).

Is it possible?

Can I share Ethernet internet connection through Thunderbolt cable?

I do not want to use WiFi, but need to share my iMacs internet connection (with incoming ethernet) to my MacBook Pro, using a Thunderbolt cable.

I have connected the two in Network/sharing settings, can share files/screens etc, but the MBP does not pick up any internet connection.

I switched on internet sharing on the iMac, ethernet>thunderbolt, but no joy – any ideas? Thanks!

Ubuntu 18 command to turn on and off a USB ethernet card

I have a USB ethernet card that works well with Ubuntu 18.04. Now I need to find a way to turn it on and off with command.

I tried the command sudo ip l s dev enx00249b450d4d down (enx00249b450d4d is the name of the interface), but nothing changes.

I also installed net-tools and tried the command sudo ifconfig enx00249b450d4d down, but had no luck either.

I searched the internet but the information about Ubuntu 18 is still scarce. Any idea?

WiFi & Ethernet connection repeatedly silently drops out [Ubuntu 18.04]

I’m running a dual boot with Windows 10 & Ubuntu 18.04. My PC is an Acer Aspire V 15 Nitro with a QCA6174 wireless adapter.

Since setting up my dual boot with a clean installation of Ubuntu 18.04, I’ve been plagued with connection problems. My WiFi will connect (I’ve tried this on 3 different networks) but after a while the connection will silently drop out. I’m using this dual boot to run my malware analysis work – I’ve found this issue seems to come in to play when I run Cuckoo Sandbox on my machine, however it isn’t limited to the execution of this program. I also tried using an ethernet connection but the same issue occurs.

What I’ve tried:

  • Re-installing/updating my firmware (Following https://wireless.wiki.kernel.org/en/users/Drivers/ath10k/firmware)

  • Uninstalling the standard Network Manager and replacing it with WICD

  • The bug described at https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1743279 seems to be along the lines of the problem I’m having. I followed the suggested fix just in case:

    sudo wget https://github.com/kvalo/ath10k-firmware/raw/master/QCA6174/hw3.0/4.4.1/firmware-6.bin_WLAN.RM.4.4.1-00051-QCARMSWP-1 -O /lib/firmware/ath10k/QCA6174/hw3.0/firmware-6.bin

but no luck. The version of firmware I am running is a later one and should be patched now anyway.

Relevant logs/outputs:

lspci -nnk | grep -iA2 net; dmesg | grep ath10k 

Gives: https://pastebin.com/mGvp06Cb

dmidecode | more 

Gives: https://pastebin.com/73nZY5JJ

sudo lshw -C network 

Gives:https://pastebin.com/TuxJ4baw

ifconfig 

Gives: https://pastebin.com/viBc3NeE

lspci -nn 

Gives: https://pastebin.com/mHdqcHV2

$   uname -r 

Gives: 4.18.0-16-generic

sudo rfkill list all Gives:

0: hci0: Bluetooth     Soft blocked: yes     Hard blocked: no 1: acer-wireless: Wireless LAN     Soft blocked: no     Hard blocked: no 2: phy0: Wireless LAN     Soft blocked: no     Hard blocked: no 

lsusb

Gives:

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 004: ID 04f2:b573 Chicony Electronics Co., Ltd Bus 001 Device 003: ID 04ca:3016 Lite-On Technology Corp. Bus 001 Device 002: ID 093a:2521 Pixart Imaging, Inc. Optical Mouse Bus 001 Device 007: ID 0480:0900 Toshiba America Inc Bus 001 Device 006: ID 04f3:0c03 Elan Microelectronics Corp. Bus 001 Device 005: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub 

Hopefully this is enough information to get some headway. I’m reasonably new to Ubuntu and not knowledgeable with the networking side of things so forgive me if I’ve missed anything out.

Any suggestions would be greatly welcomed.

connect a laptop to a desktop via Ethernet cable (both offline)

I have a laptop and a desktop

Two computers have Ubuntu 16.04 and connected through Ethernet cable, but two are offline, so no internet. I wanna make the laptop as the main computer and I want to use the desktop by the laptop. Is is possible to control the desktop by using the laptop?

I am not sure if I could use SSH in terminal.. Could you guys explain me if there is ways? or please give a hint or keyword so I can find a way.

Thank you

Ubuntu Bionic Server edition + Netplan: Not getting static IP on a ethernet connection

Problem: I cannot get a static IP on the ethernet port.

Aim: Trying to setup a static IP on the Realtek built-in ethernet (enp3s0) port so I can connect the server to my desktop via a crossover cable. At the moment, there is no cable connected between the 2.

Setup: Ubuntu Bionic server edition with Intel WiFi card and a Reaktek ethernet port. During installation, I had to connect the ethernet port to my modem/router as the Ubuntu installer cannot recognize my WiFi card.


Things I’ve tried:

  1. I disabled my WiFi card and then I’ve tried using just “dchp4: true” and then connected a cable from the port to my modem/router. No issues getting an IP and pinging a site.

  2. I’ve tried with and without “renderer: networkd”, no difference.

  3. I’ve tried with and without “dhcp4″ false”, no difference.

  4. I’ve tried with and without gateway4, no difference.

  5. I’ve tried with and without nameservers, no difference.

  6. sudo netplan –debug apply doesn’t show any errors

  7. I looked at the generated config inside /run/systemd/network (included below) and looks ok.

  8. Debugged systemd-networkd as suggested by this page (https://wiki.ubuntu.com/DebuggingSystemd) and I can see this line: “enp3s0: Link is not managed by us”. That doesn’t seemed right as I don’t have anything else managing my interfaces and as I said in no.1, using DHCP worked.

Here’s my current config:


>cat /etc/netplan/01-wireless.yaml network:   version: 2   renderer: networkd   wifis:     wlp2s0:       dhcp4: true       access-points:         "insert-access-point-here":           password: "insert-password-here"  >cat /etc/netplan/02-ethernet.yaml network:   version: 2   renderer: networkd   ethernets:     enp3s0:       dhcp4: no       dhcp6: yes       addresses: [192.168.100.40/24]       gateway4: 192.168.100.1       nameservers:         addresses: [8.8.8.8,8.8.4.4]   >cat /run/systemd/network/10-netplan-wlp2s0.network  [Match] Name=wlp2s0 [Network] DHCP=ipv4 LinkLocalAddressing=ipv6 [DHCP] UseMTU=true RouteMetric=600  >cat /run/systemd/network/10-netplan-enp3s0.network  [Match] Name=enp3s0 [Network] LinkLocalAddressing=ipv6 Address=192.168.2.1/24 Gateway=192.168.2.254 

Results of netplan –debug apply

sudo netplan --debug apply                       ** (generate:13784): DEBUG: 03:16:37.754: Processing input file /etc/netplan/01-wireless.yaml.. ** (generate:13784): DEBUG: 03:16:37.755: starting new processing pass ** (generate:13784): DEBUG: 03:16:37.755: wlp2s0: adding wifi AP 'myhotspot' ** (generate:13784): DEBUG: 03:16:37.755: Processing input file /etc/netplan/02-ethernet.yaml.. ** (generate:13784): DEBUG: 03:16:37.755: starting new processing pass ** (generate:13784): DEBUG: 03:16:37.755: wlp2s0: setting default backend to 1 ** (generate:13784): DEBUG: 03:16:37.755: enp3s0: setting default backend to 1 ** (generate:13784): DEBUG: 03:16:37.755: Generating output files.. ** (generate:13784): DEBUG: 03:16:37.755: wlp2s0: Creating wpa_supplicant configuration file run/netplan/wpa-wlp2s0.conf ** (generate:13784): DEBUG: 03:16:37.755: Creating wpa_supplicant service enablement link /run/systemd/system/multi-user.target.wants/netplan-wpa@wlp2s0.service ** (generate:13784): DEBUG: 03:16:37.755: NetworkManager: definition wlp2s0 is not for us (backend 1) ** (generate:13784): DEBUG: 03:16:37.755: NetworkManager: definition enp3s0 is not for us (backend 1) DEBUG:netplan generated networkd configuration exists, restarting networkd DEBUG:no netplan generated NM configuration exists DEBUG:wlp2s0 not found in {} DEBUG:enp3s0 not found in {} DEBUG:Merged config: network:   bonds: {}   bridges: {}   ethernets:     enp3s0:       addresses:       - 192.168.100.40/24       dhcp4: false       dhcp6: true       gateway4: 192.168.100.1       nameservers:         addresses:         - 8.8.8.8         - 8.8.4.4   vlans: {}   wifis:     wlp2s0:       access-points:         insert-access-point-here:           password: insert-password-here       dhcp4: true  DEBUG:Skipping non-physical interface: lo DEBUG:device wlp2s0 operstate is up, not changing DEBUG:{} DEBUG:netplan triggering .link rules for lo DEBUG:netplan triggering .link rules for enp3s0 DEBUG:netplan triggering .link rules for wlp2s0 

Results of systemd networkd debugging:


>sudo SYSTEMD_LOG_LEVEL=debug /lib/systemd/systemd-networkd  Failed to read $  container of PID 1, ignoring: Permission denied Found container virtualization none. Bus n/a: changing state UNSET → OPENING Bus n/a: changing state OPENING → AUTHENTICATING Failed to open configuration file '/etc/systemd/networkd.conf': No such file or directory timestamp of '/etc/systemd/network' changed timestamp of '/run/systemd/network' changed Ignoring /run/systemd/network/10-netplan-enp3s0.network, because it's not a regular file with suffix .netdev. Ignoring /run/systemd/network/10-netplan-wlp2s0.network, because it's not a regular file with suffix .netdev. Ignoring /lib/systemd/network/99-default.link, because it's not a regular file with suffix .netdev. Ignoring /lib/systemd/network/80-container-ve.network, because it's not a regular file with suffix .netdev. Ignoring /lib/systemd/network/80-container-vz.network, because it's not a regular file with suffix .netdev. Ignoring /lib/systemd/network/80-container-host0.network, because it's not a regular file with suffix .netdev. Ignoring /lib/systemd/network/99-default.link, because it's not a regular file with suffix .network. wlp2s0: Flags change: +UP +LOWER_UP +RUNNING +MULTICAST +BROADCAST wlp2s0: Link 3 added wlp2s0: udev initialized link wlp2s0: Saved original MTU: 1500 enp3s0: Flags change: +UP +MULTICAST +BROADCAST enp3s0: Link 2 added enp3s0: udev initialized link enp3s0: Saved original MTU: 1500 lo: Flags change: +LOOPBACK +UP +LOWER_UP +RUNNING lo: Link 1 added lo: udev initialized link lo: Saved original MTU: 0 wlp2s0: Adding address: fe80::3613:e8ff:fe41:a078/64 (valid forever) wlp2s0: Gained IPv6LL lo: Adding address: ::1/128 (valid forever) wlp2s0: Adding address: 192.168.1.2/24 (valid forever) lo: Adding address: 127.0.0.1/8 (valid forever) rtnl: received address with invalid family 129, ignoring Enumeration completed Bus n/a: changing state AUTHENTICATING → HELLO Sent message type=method_call sender=n/a destination=org.freedesktop.DBus path=/org/freedesktop/DBus interface=org.freedesktop.DBus member=Hello cookie=1 reply_cookie=0 signature=n/a error-name=n/a error-message=n/a Sent message type=method_call sender=n/a destination=org.freedesktop.DBus path=/org/freedesktop/DBus interface=org.freedesktop.DBus member=RequestName cookie=2 reply_cookie=0 signature=su error-name=n/a error-message=n/a Sent message type=method_call sender=n/a destination=org.freedesktop.DBus path=/org/freedesktop/DBus interface=org.freedesktop.DBus member=AddMatch cookie=3 reply_cookie=0 signature=s error-name=n/a error-message=n/a Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/network1/link/_33 interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=4 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/network1/link/_32 interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=5 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/network1/link/_31 interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=6 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/network1/link/_33 interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=7 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/network1/link/_33 interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=8 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/network1 interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=9 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a wlp2s0: Link state is up-to-date wlp2s0: found matching network '/run/systemd/network/10-netplan-wlp2s0.network' enp3s0: Link is not managed by us lo: Link is not managed by us LLDP: Started LLDP client wlp2s0: Started LLDP. wlp2s0: Acquiring DHCPv4 lease DHCP CLIENT (0x8f3ad0c0): STARTED on ifindex 3 wlp2s0: Discovering IPv6 routers NDISC: Started IPv6 Router Solicitation client Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/network1/link/_33 interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=10 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/network1/link/_33 interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=11 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/network1/link/_33 interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=12 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a NDISC: Sent Router Solicitation, next solicitation in 3s Got message type=method_return sender=org.freedesktop.DBus destination=:1.12 path=n/a interface=n/a member=n/a cookie=1 reply_cookie=1 signature=s error-name=n/a error-message=n/a Bus n/a: changing state HELLO → RUNNING DHCP CLIENT (0x8f3ad0c0): DISCOVER Got message type=signal sender=org.freedesktop.DBus.Local destination=n/a path=/org/freedesktop/DBus/Local interface=org.freedesktop.DBus.Local member=Connected cookie=4294967295 reply_cookie=0 signature=n/a error-name=n/a error-message=n/a Got message type=signal sender=org.freedesktop.DBus destination=:1.12 path=/org/freedesktop/DBus interface=org.freedesktop.DBus member=NameAcquired cookie=2 reply_cookie=0 signature=s error-name=n/a error-message=n/a Got message type=signal sender=org.freedesktop.DBus destination=:1.12 path=/org/freedesktop/DBus interface=org.freedesktop.DBus member=NameAcquired cookie=3 reply_cookie=0 signature=s error-name=n/a error-message=n/a Got message type=method_return sender=org.freedesktop.DBus destination=:1.12 path=n/a interface=n/a member=n/a cookie=4 reply_cookie=2 signature=u error-name=n/a error-message=n/a Successfully acquired requested service name. Got message type=method_return sender=org.freedesktop.DBus destination=:1.12 path=n/a interface=n/a member=n/a cookie=5 reply_cookie=3 signature=n/a error-name=n/a error-message=n/a Match type='signal',sender='org.freedesktop.login1',path='/org/freedesktop/login1',interface='org.freedesktop.login1.Manager',member='PrepareForSleep' successfully installed. enp3s0: Link state is up-to-date enp3s0: found matching network '/run/systemd/network/10-netplan-enp3s0.network' lo: Link is not managed by us wlp2s0: Link does not request DHCPv6 prefix delegation LLDP: Started LLDP client enp3s0: Started LLDP. Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/network1/link/_32 interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=13 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a lo: Link state is up-to-date No virtualization found in DMI No virtualization found in CPUID Virtualization XEN not found, /proc/xen does not exist This platform does not support /proc/device-tree No virtualization found in /proc/cpuinfo. This platform does not support /proc/sysinfo Found VM virtualization none lo: Unmanaged Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/network1/link/_31 interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=14 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a wlp2s0: Removing address: 192.168.1.2/24 (valid forever) Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/network1/link/_33 interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=15 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/network1 interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=16 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a DHCP CLIENT (0x8f3ad0c0): OFFER DHCP CLIENT (0x8f3ad0c0): REQUEST (requesting) DHCP CLIENT (0x8f3ad0c0): ACK wlp2s0: DHCPv4 address 192.168.1.2/24 via 192.168.1.1 wlp2s0: Updating address: 192.168.1.2/24 (valid forever) Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/network1/link/_33 interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=17 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/network1 interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=18 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a wlp2s0: DHCP error: could not get routes: No data available wlp2s0: Configured Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/network1/link/_33 interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=19 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a NDISC: Sent Router Solicitation, next solicitation in 7s NDISC: Sent Router Solicitation, next solicitation in 14s NDISC: No RA received before link confirmation timeout NDISC: Invoking callback for 't'.