Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Yup, it's another one of those pesky Wifi threads!
I am running a Gigabyte H370N WIFI with Intel CNVi 802.11ac Dual Band 9560 Wave2 2T2R (external split-tail antenna) WiFi.
Fortunately, I can pinpoint what I was doing when the WiFi became disabled. I had compiled the source code for Unreal Engine 4. I ran the editor, which worked fine. Then, I saved, closed, and reopened the editor. That's when I lost the WiFi. When I went to launch a test application window, the editor informed me that there was no network connection. I tried to log out to see if logging back in would fix the problem, but the OS crashed on logout. I rebooted and found that I still have no WiFi. I have done the appropriate terminal probing. Here are the results:
In the meantime I've been going through this search to try to find the answer to solve the wifi issue. This search is based on the output from modprobe wl because the 'wl mod was not found' and thought it was a good place to start. Here's my search.
I've also googled "unreal engine 4 stopped wifi" to see if that returns anything helpful. I'm trying but not getting to far.
******----------------------------------******---------------------------******--------------------------------******-----
***Anyone know how it is that the kernel driver is in use but the wl module is missing or not found?
I don't know that UE4 is the source of the problem. I don't think there is any WiFi config in that. There is a swarm feature that allows build processing to be done by multiple computers on a network. I will check and see what firmware is in the folder and I can download the one on the Intel website. I don't suppose the Bluetooth being in the kill list is connected to the issue. I did order a USB WiFi adapter that is guaranteed to work with 18.04. I figure that might allow me to bypass the issue, since it should use a different driver. Thanks for looking into it.
I don't know that UE4 is the source of the problem. I don't think there is any WiFi config in that. There is a swarm feature that allows build processing to be done by multiple computers on a network. I will check and see what firmware is in the folder and I can download the one on the Intel website. I don't suppose the Bluetooth being in the kill list is connected to the issue. I did order a USB WiFi adapter that is guaranteed to work with 18.04. I figure that might allow me to bypass the issue, since it should use a different driver. Thanks for looking into it.
Ok:-
That's good that you ordered a wifi adapter just in case this issue doesn't get solved.
I'm not sure if installing that driver will help but you can certainly try it.
Once installed reboot and see. If not you can always remove the driver.
Let me know if rolling back to an older works or not:-
I booted into the previous kernel. That didn't work. I downloaded the correct Intel driver. When I went to check the firmware folder, I found the exact same file already in there. I think I'll try to remove and reinsert the driver and reboot. UPDATE: The latter didn't work.
Last edited by GameDevGuy; 10-07-2018 at 01:01 AM.
I booted into the previous kernel. That didn't work. I downloaded the correct Intel driver. When I went to check the firmware folder, I found the exact same file already in there. I think I'll try to remove and reinsert the driver and reboot.
I had hoped that booting into a previous kernel would of helped.
Now I'm really stumped:-
I'm not sure if this is what you have going on or not. However it could (notice I said 'could') be that the kernel is too new and the driver is too old:- Something to think about.
Another thought-
Look in the dmesg log and see if the last handful entries are complaining about the wifi card.
The system is a desktop I just built. It is PC components. I'm using the Gigabyte H370N WIFI Mini ITX. I don't think it's an issue of kernel versus driver. I tried two versions of the kernel. In the firmware folder, there are actually driver versions that are newer that aren't even listed on the Intel site. They are just sitting in the folder but not being used. I found some really interesting information. Here are the results of more probing:
Code:
nm-applet &
Gtk-WARNING Can't set a parent on widget which has a parent
This made it so I could see the WiFi icon. The drop down menu showed the two ethernet connections were disabled and did not list the WiFi. I was able to look at the most recent connection, which is what I was on before it stopped working.
Code:
cat /var/log/syslog | grep etwork
Oct 7 01:00:00 computer kernel: [ 4.777266] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
Oct 7 01:00:00 computer kernel: [ 4.777993] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.4.0-k
Oct 7 01:00:00 computer kernel: [ 5.017383] igb 0000:02:00.0: Intel(R) Gigabit Ethernet Network Connection
Oct 7 01:00:00 computer kernel: [ 5.324076] e1000e 0000:00:1f.6 eth0: Intel(R) PRO/1000 Network Connection
Oct 7 01:00:00 computer kernel: [ 7.288401] audit: type=1400 audit(1538888400.441:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=684 comm="apparmor_parser"
Oct 7 01:00:00 computer kernel: [ 7.288402] audit: type=1400 audit(1538888400.441:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-helper" pid=684 comm="apparmor_parser"
Oct 7 01:00:00 computer systemd[1]: Starting Network Time Synchronization...
Oct 7 01:00:00 computer systemd[1]: Starting Network Name Resolution...
Oct 7 01:00:00 computer systemd[1]: Starting Raise network interfaces...
Oct 7 01:00:00 computer systemd[1]: Started Raise network interfaces.
Oct 7 01:00:00 computer systemd[1]: Started Network Time Synchronization.
Oct 7 01:00:00 computer systemd[1]: Started Network Name Resolution.
Oct 7 01:00:00 computer systemd[1]: Reached target Host and Network Name Lookups.
Oct 7 01:00:00 computer systemd[1]: Starting Network Manager...
Oct 7 01:00:00 computer avahi-daemon[774]: Network interface enumeration completed.
Oct 7 01:00:00 computer systemd[1]: Starting Dispatcher daemon for systemd-networkd...
Oct 7 01:00:00 computer NetworkManager[792]: <info> [1538888400.6947] NetworkManager (version 1.10.6) is starting... (for the first time)
Oct 7 01:00:00 computer NetworkManager[792]: <info> [1538888400.6949] Read config: /etc/NetworkManager/NetworkManager.conf (lib: 10-dns-resolved.conf, 20-connectivity-ubuntu.conf, no-mac-addr-change.conf) (run: 10-globally-managed-devices.conf) (etc: default-wifi-powersave-on.conf)
Oct 7 01:00:00 computer NetworkManager[792]: <info> [1538888400.6981] manager[0x55828a360060]: monitoring kernel firmware directory '/lib/firmware'.
Oct 7 01:00:00 computer NetworkManager[792]: <info> [1538888400.6982] monitoring ifupdown state file '/run/network/ifstate'.
Oct 7 01:00:00 computer networkd-dispatcher[807]: WARNING: systemd-networkd is not running, output will be incomplete.
Oct 7 01:00:00 computer systemd[1]: Started Dispatcher daemon for systemd-networkd.
Oct 7 01:00:00 computer NetworkManager[792]: <info> [1538888400.7986] hostname: hostname: using hostnamed
Oct 7 01:00:00 computer NetworkManager[792]: <info> [1538888400.7986] hostname: hostname changed from (none) to "computer"
Oct 7 01:00:00 computer NetworkManager[792]: <info> [1538888400.7988] dns-mgr[0x55828a37c140]: init: dns=systemd-resolved, rc-manager=symlink, plugin=systemd-resolved
Oct 7 01:00:00 computer NetworkManager[792]: <info> [1538888400.7993] manager[0x55828a360060]: rfkill: WiFi hardware radio set enabled
Oct 7 01:00:00 computer NetworkManager[792]: <info> [1538888400.7993] manager[0x55828a360060]: rfkill: WWAN hardware radio set enabled
Oct 7 01:00:00 computer systemd[1]: Started Network Manager.
Oct 7 01:00:00 computer systemd[1]: Reached target Network.
Oct 7 01:00:00 computer systemd[1]: Starting Network Manager Wait Online...
Oct 7 01:00:00 computer dbus-daemon[782]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.13' (uid=0 pid=792 comm="/usr/sbin/NetworkManager --no-daemon " label="unconfined")
Oct 7 01:00:00 computer systemd[1]: Starting Network Manager Script Dispatcher Service...
Oct 7 01:00:00 computer systemd[1]: Started Network Manager Script Dispatcher Service.
Oct 7 01:00:00 computer NetworkManager[792]: <info> [1538888400.8071] init!
Oct 7 01:00:00 computer NetworkManager[792]: <info> [1538888400.8072] interface-parser: parsing file /etc/network/interfaces
Oct 7 01:00:00 computer NetworkManager[792]: <info> [1538888400.8072] interface-parser: finished parsing file /etc/network/interfaces
Oct 7 01:00:00 computer NetworkManager[792]: <info> [1538888400.8072] management mode: unmanaged
Oct 7 01:00:00 computer NetworkManager[792]: <info> [1538888400.8075] devices added (path: /sys/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/net/enp2s0, iface: enp2s0)
Oct 7 01:00:00 computer NetworkManager[792]: <info> [1538888400.8075] device added (path: /sys/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/net/enp2s0, iface: enp2s0): no ifupdown configuration found.
Oct 7 01:00:00 computer NetworkManager[792]: <info> [1538888400.8075] devices added (path: /sys/devices/pci0000:00/0000:00:1f.6/net/eno1, iface: eno1)
Oct 7 01:00:00 computer NetworkManager[792]: <info> [1538888400.8075] device added (path: /sys/devices/pci0000:00/0000:00:1f.6/net/eno1, iface: eno1): no ifupdown configuration found.
Oct 7 01:00:00 computer NetworkManager[792]: <info> [1538888400.8075] devices added (path: /sys/devices/virtual/net/lo, iface: lo)
Oct 7 01:00:00 computer NetworkManager[792]: <info> [1538888400.8076] device added (path: /sys/devices/virtual/net/lo, iface: lo): no ifupdown configuration found.
Oct 7 01:00:00 computer NetworkManager[792]: <info> [1538888400.8076] end _init.
Oct 7 01:00:00 computer NetworkManager[792]: <info> [1538888400.8076] settings: loaded plugin ifupdown: (C) 2008 Canonical Ltd. To report bugs please use the NetworkManager mailing list. (/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-settings-plugin-ifupdown.so)
Oct 7 01:00:00 computer NetworkManager[792]: <info> [1538888400.8076] settings: loaded plugin keyfile: (c) 2007 - 2016 Red Hat, Inc. To report bugs please use the NetworkManager mailing list.
Oct 7 01:00:00 computer NetworkManager[792]: <info> [1538888400.8076] (-1975939904) ... get_connections.
Oct 7 01:00:00 computer NetworkManager[792]: <info> [1538888400.8076] (-1975939904) ... get_connections (managed=false): return empty list.
Oct 7 01:00:00 computer NetworkManager[792]: <info> [1538888400.8145] keyfile: new connection /etc/NetworkManager/system-connections/home (ccb40f9b-9dfa-4a94-977a-8a485f1f8b1e,"home")
Oct 7 01:00:00 computer NetworkManager[792]: <info> [1538888400.8147] get unmanaged devices count: 0
Oct 7 01:00:00 computer NetworkManager[792]: <info> [1538888400.8147] manager: rfkill: WiFi enabled by radio killswitch; enabled by state file
Oct 7 01:00:00 computer NetworkManager[792]: <info> [1538888400.8147] manager: rfkill: WWAN enabled by radio killswitch; enabled by state file
Oct 7 01:00:00 computer NetworkManager[792]: <info> [1538888400.8147] manager: Networking is enabled by state file
Oct 7 01:00:00 computer NetworkManager[792]: <info> [1538888400.8148] dhcp-init: Using DHCP client 'dhclient'
Oct 7 01:00:00 computer NetworkManager[792]: <info> [1538888400.8148] Loaded device plugin: NMBondDeviceFactory (internal)
Oct 7 01:00:00 computer NetworkManager[792]: <info> [1538888400.8148] Loaded device plugin: NMBridgeDeviceFactory (internal)
Oct 7 01:00:00 computer NetworkManager[792]: <info> [1538888400.8148] Loaded device plugin: NMDummyDeviceFactory (internal)
Oct 7 01:00:00 computer NetworkManager[792]: <info> [1538888400.8148] Loaded device plugin: NMEthernetDeviceFactory (internal)
Oct 7 01:00:00 computer NetworkManager[792]: <info> [1538888400.8148] Loaded device plugin: NMInfinibandDeviceFactory (internal)
Oct 7 01:00:00 computer NetworkManager[792]: <info> [1538888400.8148] Loaded device plugin: NMIPTunnelDeviceFactory (internal)
Oct 7 01:00:00 computer NetworkManager[792]: <info> [1538888400.8149] Loaded device plugin: NMMacsecDeviceFactory (internal)
Oct 7 01:00:00 computer NetworkManager[792]: <info> [1538888400.8149] Loaded device plugin: NMMacvlanDeviceFactory (internal)
Oct 7 01:00:00 computer NetworkManager[792]: <info> [1538888400.8149] Loaded device plugin: NMPppDeviceFactory (internal)
Oct 7 01:00:00 computer NetworkManager[792]: <info> [1538888400.8149] Loaded device plugin: NMTunDeviceFactory (internal)
Oct 7 01:00:00 computer NetworkManager[792]: <info> [1538888400.8149] Loaded device plugin: NMVethDeviceFactory (internal)
Oct 7 01:00:00 computer NetworkManager[792]: <info> [1538888400.8149] Loaded device plugin: NMVlanDeviceFactory (internal)
Oct 7 01:00:00 computer NetworkManager[792]: <info> [1538888400.8149] Loaded device plugin: NMVxlanDeviceFactory (internal)
Oct 7 01:00:00 computer NetworkManager[792]: <info> [1538888400.8171] Loaded device plugin: NMBluezManager (/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-device-plugin-bluetooth.so)
Oct 7 01:00:00 computer NetworkManager[792]: <info> [1538888400.8175] Loaded device plugin: NMWwanFactory (/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-device-plugin-wwan.so)
Oct 7 01:00:00 computer NetworkManager[792]: <info> [1538888400.8189] Loaded device plugin: NMTeamFactory (/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-device-plugin-team.so)
Oct 7 01:00:00 computer NetworkManager[792]: <info> [1538888400.8197] Loaded device plugin: NMWifiFactory (/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-device-plugin-wifi.so)
Oct 7 01:00:00 computer NetworkManager[792]: <info> [1538888400.8202] Loaded device plugin: NMAtmManager (/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-device-plugin-adsl.so)
Oct 7 01:00:00 computer NetworkManager[792]: <info> [1538888400.8207] device (lo): carrier: link connected
Oct 7 01:00:00 computer NetworkManager[792]: <info> [1538888400.8211] manager: (lo): new Generic device (/org/freedesktop/NetworkManager/Devices/1)
Oct 7 01:00:00 computer NetworkManager[792]: <info> [1538888400.8217] manager: (eno1): new Ethernet device (/org/freedesktop/NetworkManager/Devices/2)
Oct 7 01:00:00 computer NetworkManager[792]: <info> [1538888400.8223] keyfile: add connection in-memory (406acf76-2968-3690-ad4a-5bce0ea7da25,"Wired connection 1")
Oct 7 01:00:00 computer NetworkManager[792]: <info> [1538888400.8225] settings: (eno1): created default wired connection 'Wired connection 1'
Oct 7 01:00:00 computer NetworkManager[792]: <info> [1538888400.8230] device (eno1): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Oct 7 01:00:01 computer NetworkManager[792]: <info> [1538888401.0152] manager: (enp2s0): new Ethernet device (/org/freedesktop/NetworkManager/Devices/3)
Oct 7 01:00:01 computer NetworkManager[792]: <info> [1538888401.0159] keyfile: add connection in-memory (36c4c9ea-c94c-31dd-9882-d68a79dfca26,"Wired connection 2")
Oct 7 01:00:01 computer NetworkManager[792]: <info> [1538888401.0162] settings: (enp2s0): created default wired connection 'Wired connection 2'
Oct 7 01:00:01 computer NetworkManager[792]: <info> [1538888401.0165] device (enp2s0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Oct 7 01:00:01 computer NetworkManager[792]: <info> [1538888401.0485] modem-manager: ModemManager available
Oct 7 01:00:01 computer NetworkManager[792]: <info> [1538888401.0485] bluez: use BlueZ version 5
Oct 7 01:00:01 computer NetworkManager[792]: <info> [1538888401.0497] bluez5: NAP: added interface xx:xx:xx:xx:xx:xx
Oct 7 01:00:01 computer systemd[914]: Listening on GnuPG network certificate management daemon.
Oct 7 01:00:01 computer systemd[914]: Closed GnuPG network certificate management daemon.
Oct 7 01:00:01 computer systemd[997]: Listening on GnuPG network certificate management daemon.
Oct 7 01:00:07 computer NetworkManager[792]: <info> [1538888407.0425] manager: startup complete
Oct 7 01:00:07 computer systemd[1]: Started Network Manager Wait Online.
Oct 7 01:00:07 computer systemd[1]: Reached target Network is Online.
Oct 7 01:00:18 computer systemd[1226]: Listening on GnuPG network certificate management daemon.
Oct 7 01:14:24 computer NetworkManager[792]: <info> [1538889264.7076] settings-connection[0x55828a314360,ccb40f9b-9dfa-4a94-977a-8a485f1f8b1e]: write: successfully updated (keyfile: update /etc/NetworkManager/system-connections/home (ccb40f9b-9dfa-4a94-977a-8a485f1f8b1e,"home"))
Oct 7 01:14:24 computer NetworkManager[792]: <info> [1538889264.7080] audit: op="connection-update" uuid="ccb40f9b-9dfa-4a94-977a-8a485f1f8b1e" name="home" args="802-11-wireless.mode,802-11-wireless.seen-bssids,connection.autoconnect-priority,connection.timestamp,ipv6.ip6-privacy" pid=1856 uid=1000 result="success"
Last edited by GameDevGuy; 10-07-2018 at 01:55 AM.
that looks relevant.
if i'm interpreting it correctly, there's something wrong with the firmware.
not sure why it says "microcode" though.
please show us
Here is what I got. I'm not sure how to reconfigure the command:
Code:
dpkg -1 '*firmware*' '*microcode*' '*ucode*'
dpkg: error: unknown option -1
Type dpkg --help for help about installing and deinstalling packages[*];
Use 'apt' or 'aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;
Options marked[*] produce a lot of output - pipe it through 'less' or 'more' !
dpkg -Dhelp
dpkg debugging option, --debug=<octal> or -D<octal>:
Number Ref. in source Description
1 general Generally helpful progress information
2 scripts Invocation and status of maintainer scripts
10 eachfile Output for each file processed
100 eachfiledetail Lots of output for each file processed
20 conff Output for each configuration file
200 conffdetail Lots of output for each configuration file
40 depcon Dependencies and conflicts
400 depcondetail Lots of dependencies/conflicts output
10000 triggers Trigger activation and processing
20000 triggersdetail Lots of output regarding triggers
40000 triggersstupid Silly amounts of output regarding triggers
1000 veryverbose Lots of drivel about eg the dpkg/info directory
2000 stupidlyverbose Insane amounts of drivel
Debugging options can be mixed using bitwise-or.
Note that the meanings and values are subject to change.
According to Intel, if you see a message similar to the following, the firmware has probably crashed:
it's dpkg -l, that's a small letter L, not a number one!
Oops! Thanks!
Here is the correct readout:
Code:
dpkg -l '*firmware*' '*microcode*' '*ucode*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
ii amd64-microcod 3.20180524.1 amd64 Processor microcode firmware for
un atmel-firmware <none> <none> (no description available)
un firmware-amd-g <none> <none> (no description available)
un firmware-misc- <none> <none> (no description available)
ii intel-microcod 3.20180807a. amd64 Processor microcode firmware for
ii iucode-tool 2.3.1-1 amd64 Intel processor microcode tool
ii linux-firmware 1.173.1 all Firmware for Linux kernel drivers
un linux-firmware <none> <none> (no description available)
un microcode.ctl <none> <none> (no description available)
I don't feel like these are great solutions. The first one may or may not work, as far as that final post. Having to restart it every day would bug me. It should just work. On the second thread, they're just trying a bunch of "random" firmwares and hoping something sticks. That's ridiculous. Also, they are dealing with totally different hardware and firmware than I am. I'll resume work on this, tomorrow. I'll try the first solution. I mean the second idea about stopping the "correct" firmware from loading might work, but I don't know if the older or newer Intel firmware in the folder will work for my hardware. I'm definitely using the one that is recommended by Intel. Additionally, I am getting my USB WiFi adapter, tomorrow, that I ordered. I'll see if that works. I'll update this thread as soon as I get more info. Thanks.
dpkg -l '*firmware*' '*microcode*' '*ucode*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
ii amd64-microcod 3.20180524.1 amd64 Processor microcode firmware for
un atmel-firmware <none> <none> (no description available)
un firmware-amd-g <none> <none> (no description available)
un firmware-misc- <none> <none> (no description available)
ii intel-microcod 3.20180807a. amd64 Processor microcode firmware for
ii iucode-tool 2.3.1-1 amd64 Intel processor microcode tool
ii linux-firmware 1.173.1 all Firmware for Linux kernel drivers
un linux-firmware <none> <none> (no description available)
un microcode.ctl <none> <none> (no description available)
it's too bad the "Name" field is cut short.
i think the firmware required by your intel wireless should be in some sort of firmware-nonfree package - maybe the "firmware-misc-..." is the one you need to install?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.