You are not logged in.

#1 2019-08-12 20:29:35

justaguybeingadude
Member
Registered: 2019-08-11
Posts: 9

Wifi issues with both NetworkManager and Wifi-Menu

Hello all,

After doing a bare install of arch I cannot seem to get my wifi working. When going through the install I was able to connect to the wifi using wifi-menu and set everything up and was planning on using NetworkManager. However when I enabled the service my computer wouldn't boot properly and was having weird hangups. I have since reinstalled thinking i had screwed something up and instead of weird hangups it now won't boot with NetworkManager enabled and states

--[end Kernal panic - not syncing: Fatal exception in inerrupt ]--

I have tried using both wpa_supplicant and iwd and run into issues either way. With NetworkManager disabled the system boots fine. In addition when I boot into arch with NetworkManager disabled and run wifi-menu I get a screen full of gibberish (to me) and it says no networks found. I am still able to use wifi-menu with the bootable usb and chroot into my system. If it helps my computer is the Dell Vostro 7590.

Last edited by justaguybeingadude (2019-08-13 22:31:18)

Offline

#2 2019-08-12 20:38:48

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Wifi issues with both NetworkManager and Wifi-Menu

Please edit your thread title to actually describe your issue: https://wiki.archlinux.org/index.php/Co … ow_to_post


Then, work through this page methodically, and post the exact commands and output when you hit a snag: https://wiki.archlinux.org/index.php/Wi … figuration


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2019-08-13 22:54:42

justaguybeingadude
Member
Registered: 2019-08-11
Posts: 9

Re: Wifi issues with both NetworkManager and Wifi-Menu

I have updated my post title, I hope this one is better. As to posting the exact code, I haven't moved past a basic install due to this issue and can't ssh into the my computer as my other computer throws up an error saying port 22: connection refused. How should I go about getting the code? Should I set up a windows manager through the wifi with a bootable usb and paste it in?

Offline

#4 2019-08-13 22:58:09

loqs
Member
Registered: 2014-03-06
Posts: 17,323

Re: Wifi issues with both NetworkManager and Wifi-Menu

You can use the tip box from List_of_applications#Pastebin_clients.  As the system has network functionality from the boot media,  save the commands and their outputs to a file then you can post the file to the pastebin.
If starting networkmanager after boot triggers a kernel panic please post the journal from that boot.

Offline

#5 2019-08-14 00:48:39

justaguybeingadude
Member
Registered: 2019-08-11
Posts: 9

Re: Wifi issues with both NetworkManager and Wifi-Menu

Okay I figured out how to use the pastebin client, thanks for letting me know how to get the outputs up!

Anyways I'll list the commands I put and the outputs below

systemctl list-unit-files --state=enabled
http://dpaste.com//2KN6SAB

journalctl -b-1
http://dpaste.com//292NJB9

lspci -k
http://dpaste.com//0GV3C41

I have no clue what the command I put in after looking back through the wiki page about network configuration however I named this systemstatus if that helps.
http://dpaste.com//09VHA53

dmesg -w (this was in the bootable usb but it has many of the error messages that occoured while in the booted system so I thought I'd save this and throw it up there)
http://dpaste.com//3FN1D7D

rfkill
Showed it wasn't hard or soft blocked, didn't copy

If there's another command that would be helpful for you guys to help me just let me know.

Offline

#6 2019-08-14 06:00:48

seth
Member
Registered: 2012-09-03
Posts: 51,042

Re: Wifi issues with both NetworkManager and Wifi-Menu

The journal runs less than a second and shows no traces of any network interface or activity.
The dmesg suggests you succesfully associated w/ wifi-menu, because that's the archiso.

We have still no data on your network trouble…

Disable networkmanager, boot the installed system, try to connect w/ wifi-menu.
Then dump the outputs of

ip a
ip r
ping 8.8.8.8 # this one might time out
sudo journalctl -b

Online

#7 2019-08-14 23:17:55

justaguybeingadude
Member
Registered: 2019-08-11
Posts: 9

Re: Wifi issues with both NetworkManager and Wifi-Menu

When I run ip a, my computer times out and won't let me stop the program, I have to reboot to regain control of the computer.

I have attached journalctl -b below after running wifi-menu however.

http://dpaste.com//3NC2TW4

Last edited by justaguybeingadude (2019-08-14 23:24:41)

Offline

#8 2019-08-14 23:19:17

loqs
Member
Registered: 2014-03-06
Posts: 17,323

Re: Wifi issues with both NetworkManager and Wifi-Menu

If you check the journal for the boot where ip failed to finish is there anything relating to the error?

Offline

#9 2019-08-14 23:25:13

justaguybeingadude
Member
Registered: 2019-08-11
Posts: 9

Re: Wifi issues with both NetworkManager and Wifi-Menu

I just realized I should have done that originally and updated the previous reply.

Offline

#10 2019-08-14 23:33:47

loqs
Member
Registered: 2014-03-06
Posts: 17,323

Re: Wifi issues with both NetworkManager and Wifi-Menu

If you add the kernel parameter iommu=soft does that work around the issue?

Offline

#11 2019-08-14 23:54:07

justaguybeingadude
Member
Registered: 2019-08-11
Posts: 9

Re: Wifi issues with both NetworkManager and Wifi-Menu

Well after adding that kernel parameter the system now boots fine even with NetworkManager enabled, and when I run wifi-menu I am able to call up the dialog and enter the info however it states the connection has failed. It did list some text that I tried putting into a .txt file however it didn't work properly so I'm simply typing it out as it's just 5 lines.

locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Scanning for networks.. nl80211: Could not set interface 'p2p-dev-wlo1' UP
p2p-dev-wlo1: Failed to initialize driver interface

I checked and my locale files were generated if that is relevant.

If this is an issue with grub in particular should I maybe try to use systemd-boot considering this works fine with the bootable usb which uses that?

Last edited by justaguybeingadude (2019-08-14 23:56:06)

Offline

#12 2019-08-15 06:33:13

seth
Member
Registered: 2012-09-03
Posts: 51,042

Re: Wifi issues with both NetworkManager and Wifi-Menu

with NetworkManager enabled, and when I run wifi-menu

Did you stop NM beforehand?

Also fix your locale, https://wiki.archlinux.org/index.php/Locale

Online

#13 2019-08-15 21:04:32

justaguybeingadude
Member
Registered: 2019-08-11
Posts: 9

Re: Wifi issues with both NetworkManager and Wifi-Menu

Whenever I have NetworkManager started I get the extra stuff

nl80211: Could not set interface 'p2p-dev-wlo1' UP
p2p-dev-wlo1: Failed to initialize driver interface

which does not occour with NetworkManager stopped. I have attached the journalctl -b from that session.

http://dpaste.com//36X1KZW

Offline

#14 2019-08-16 08:02:29

seth
Member
Registered: 2012-09-03
Posts: 51,042

Re: Wifi issues with both NetworkManager and Wifi-Menu

seth wrote:

Did you stop NM beforehand?

Aug 15 16:54:27 arch systemd[1]: Starting Networking for netctl profile wlo1-Ours...
Aug 15 16:54:27 arch network[794]: Starting network profile 'wlo1-Ours'...
Aug 15 16:54:27 arch network[794]: The interface of network profile 'wlo1-Ours' is already up
Aug 15 16:54:27 arch systemd[1]: netctl@wlo1\x2dOurs.service: Main process exited, code=exited, status=1/FAILURE
Aug 15 16:54:27 arch systemd[1]: netctl@wlo1\x2dOurs.service: Failed with result 'exit-code'.
Aug 15 16:54:27 arch systemd[1]: Failed to start Networking for netctl profile wlo1-Ours.
…
Aug 15 16:54:58 arch systemd[1]: Stopping Network Manager...
Aug 15 16:54:58 arch NetworkManager[696]: <info>  [1565902498.2906] caught SIGTERM, shutting down normally.
Aug 15 16:54:58 arch NetworkManager[696]: <info>  [1565902498.2930] device (p2p-dev-wlo1): state change: disconnected -> unmanaged (reason 'removed', sys-iface-state: 'removed')
Aug 15 16:54:58 arch wpa_supplicant[571]: nl80211: Failed to open /proc/sys/net/ipv4/conf/p2p-dev-wlo1/drop_unicast_in_l2_multicast: No such file or directory
Aug 15 16:54:58 arch wpa_supplicant[571]: nl80211: Failed to set IPv4 unicast in multicast filter
Aug 15 16:54:58 arch wpa_supplicant[571]: nl80211: Failed to open /proc/sys/net/ipv4/conf/p2p-dev-wlo1/drop_unicast_in_l2_multicast: No such file or directory
Aug 15 16:54:58 arch wpa_supplicant[571]: nl80211: Failed to set IPv4 unicast in multicast filter
Aug 15 16:54:58 arch wpa_supplicant[571]: nl80211: deinit ifname=p2p-dev-wlo1 disabled_11b_rates=0
Aug 15 16:54:58 arch dbus-daemon[473]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.12' (uid=0 pid=696 comm="/usr/bin/NetworkManager --no-daemon ")
Aug 15 16:54:58 arch NetworkManager[696]: <info>  [1565902498.3068] exiting (success)
Aug 15 16:54:58 arch systemd[1]: NetworkManager.service: Succeeded.
Aug 15 16:54:58 arch systemd[1]: Stopped Network Manager.
Aug 15 16:54:58 arch audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Aug 15 16:54:58 arch systemd[1]: Starting Network Manager Script Dispatcher Service...
Aug 15 16:54:58 arch kernel: audit: type=1131 audit(1565902498.315:40): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Aug 15 16:54:58 arch dbus-daemon[473]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Aug 15 16:54:58 arch systemd[1]: Started Network Manager Script Dispatcher Service.
Aug 15 16:54:58 arch audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Aug 15 16:54:58 arch kernel: audit: type=1130 audit(1565902498.325:41): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Aug 15 16:54:58 arch wpa_supplicant[571]: nl80211: deinit ifname=wlo1 disabled_11b_rates=0
Aug 15 16:55:08 arch systemd[1]: NetworkManager-dispatcher.service: Succeeded.

"No"… this will expectably fail.
First stop NM, then try wifi-menu. Or disable NM again.

p2p-dev-wlo1 is a virtual device for ad-hoc networks, it's hopefully not related to your problems, certainly not to the wifi-menu failure.

Online

#15 2019-08-16 13:15:14

justaguybeingadude
Member
Registered: 2019-08-11
Posts: 9

Re: Wifi issues with both NetworkManager and Wifi-Menu

I had run wifi-menu with both NetworkManager started and stopped. The p2p-dev-wlo1 only occoured when I ran wifi-menu with NetworkManager started. I don't remember if I messed around with it being enabled or disabled, although I ran wifi-menu with the service both started and stopped.

Offline

#16 2019-08-16 14:22:16

seth
Member
Registered: 2012-09-03
Posts: 51,042

Re: Wifi issues with both NetworkManager and Wifi-Menu

Ah, the first wifi-menu run was after stopping NM, the 2nd one in parallel…
The NIC is still up, though. There's also https://bbs.archlinux.org/viewtopic.php … 6#p1858866 where NM doesn't seem to release the NIC either.
=> disable the NM service(s), reboot, try wifi-menu. There might be a bug in NM.

Online

#17 2019-08-16 17:07:23

justaguybeingadude
Member
Registered: 2019-08-11
Posts: 9

Re: Wifi issues with both NetworkManager and Wifi-Menu

Well doing that got wifi-menu working! Any idea what would be the bug in NetworkManager and how to work around it or would you recommend looking into another networking service?

Also, for learnings sake, what tipped you off to put iommu=soft in the grub config? And how could you tell that the NIC was still up?

Offline

#18 2019-08-16 17:14:16

loqs
Member
Registered: 2014-03-06
Posts: 17,323

Re: Wifi issues with both NetworkManager and Wifi-Menu

From the journal you posted

kernel BUG at drivers/iommu/intel-iommu.c:3738!

Looked like an IOMMU issue and a common fix for that is to disable hardware IOMMU by switching it to soft or off or pt.

Offline

#19 2019-08-16 19:27:56

seth
Member
Registered: 2012-09-03
Posts: 51,042

Re: Wifi issues with both NetworkManager and Wifi-Menu

netctl tells you "The interface of network profile 'wlo1-Ours' is already up".

No idea what's wrong w/ NM - if it doesn't go away: https://gitlab.freedesktop.org/NetworkM … ger/issues

Online

Board footer

Powered by FluxBB