You are not logged in.

#1 2018-06-09 12:55:01

Noki
Member
Registered: 2018-06-08
Posts: 98

[SOLVED] Help with Arch on my Dell XPS 15 9550 (let's focus on WiFi)

Hi all, first post so please be gentle!

** edit
SOLVED Well mostly me being foolish but I have a workaround for the rare occasion I have no GUI and need to force the WiFi to work.
** end edit

I've been working through installing Arch on my Dell XPS 15 9550 (to increase my smug factor) and it seem's to be broken in interesting and unique ways. I've worked on the problem(s) and gotten some success but I'm stuck for what to do next. I used several wiki pages to help me and googled the dickens out of the issues. These wiki pages were all useful in my quest:

https://wiki.archlinux.org/index.php/Installation_guide
https://wiki.archlinux.org/index.php/EF … _Partition
https://wiki.archlinux.org/index.php/Dell_XPS_15_(9550)
https://wiki.archlinux.org/index.php/Broadcom_wireless
https://wiki.archlinux.org/index.php/NV … stallation
https://wiki.archlinux.org/index.php/Bu … stallation

So the WiFi Issue. Now the driver seemed to install itself just fine and the "lscpi -k" seemed to infer all was well. But I had to manually add blacklists for `bcm43xx` and `ath_pci` as well as this section:

remove iwlwifi \
(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
&& /sbin/modprobe -r mac80211

I stole these from an Ubuntu Live run on the same Laptop where the WiFi works just fine. Doing this only got me so far though. After this I was able to use `wifi-menu` to configure the WiFi but then it failed. I then found this post which taught me how to set it down then connect it again and boom I have WiFi!

Current Status
But it breaks again on reboot, and even when working there is no indication that it's on and working in Plasma, nothing in Settings that allow me to set this in Desktop GUI. I'm not sure what to do next, many people have used this laptop for Arch and none (or very few) are having the issue I am seeing. Many posts I read people state that it simply worked out of the box. Which makes me feel I am missing something when I build the machine. I have been making a small install list in a text file. To have a copy of what commands I need to run and in what order to make life simpler which I can share if people want to see.

I'm stuck for what to try next. The fact that it is "working" is progress but this is clearly wonky.

As a side note, I am also struggling with NVIDIA Drivers and some other things. I feel like all the issues are connected and something is fundamentally broken with my install. It should be automatically blacklisting drivers to prevent errors and updating dependencies but it doesn't seem to go all the way. I've reinstalled Ubuntu for now so I can dig through settings and conf files to see if I am missing things. I made a back of the modprobe.d folder before and after NVIDIA install so I have some guidance from a working instance. I'm going to dual boot for now so I can compare and contrast. But any and all guidance on what to do next would be greatly appreciated.

Also even registering for this forum was a pain, copy and paste wasn't working right so it took 15 minutes to get the test output I needed. Fun!

Last edited by Noki (2018-06-10 19:51:06)

Offline

#2 2018-06-09 13:09:19

Seventh
Member
Registered: 2016-08-05
Posts: 47

Re: [SOLVED] Help with Arch on my Dell XPS 15 9550 (let's focus on WiFi)

Now would be  good time to share a bit more info. You have questions and speculations but no real data on your setup.

Offline

#3 2018-06-09 13:19:00

Noki
Member
Registered: 2018-06-08
Posts: 98

Re: [SOLVED] Help with Arch on my Dell XPS 15 9550 (let's focus on WiFi)

What would be useful to know? I installed that latest version of Arch, followed by KDE Plasma. It uses a broadcom BCM43602 wifi adapter which requires the brcmfmac kernel module according to the arch wiki. I have a usb dongle to allow me to get online during the install process. Then when I unplug and try to setup wifi I see nothing in Plasma and it takes some manual conf file creation and some commands to get it to work in that instance. I would like help getting it to work consistently and show up in KDE.

I can output anything you need or might be helpful.

Offline

#4 2018-06-09 13:23:49

Seventh
Member
Registered: 2016-08-05
Posts: 47

Re: [SOLVED] Help with Arch on my Dell XPS 15 9550 (let's focus on WiFi)

Maybe try ndiswrapper-dkms

community/ndiswrapper-dkms 1.61-4
    Module for NDIS (Windows Network Drivers) drivers supplied by vendors.Use with
    DKMS

Offline

#5 2018-06-09 13:54:24

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

Re: [SOLVED] Help with Arch on my Dell XPS 15 9550 (let's focus on WiFi)

What was the output of lscpi -nnk.  and dmesg?  You are executing commands that cover three different wireless manufactures intel, broadcom and qualcomm modules.
Also what packages have you installed for wireless support if any.
@Seventh why would you suggest such a last resort option before the issue has been fully investigated?
Edit:
Also what have you configured to start the wireless connection on boot and what is its status?

Last edited by loqs (2018-06-09 13:56:12)

Offline

#6 2018-06-09 14:22:22

Seventh
Member
Registered: 2016-08-05
Posts: 47

Re: [SOLVED] Help with Arch on my Dell XPS 15 9550 (let's focus on WiFi)

@ loqs,  how is that a last resort? Possible solution to the OP's wireless issue, not a last resort.

Offline

#7 2018-06-09 14:30:26

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

Re: [SOLVED] Help with Arch on my Dell XPS 15 9550 (let's focus on WiFi)

ndis-wrapper is not maintained upstream and uses drivers intended for a different OS and has known security issues.
Noki already posted that a connection was established without requiring ndiswrapper-dkms.

Offline

#8 2018-06-09 14:39:02

Seventh
Member
Registered: 2016-08-05
Posts: 47

Re: [SOLVED] Help with Arch on my Dell XPS 15 9550 (let's focus on WiFi)

loqs wrote:

ndis-wrapper is not maintained upstream and uses drivers intended for a different OS and has known security issues.
Noki already posted that a connection was established without requiring ndiswrapper-dkms.

be that as it may, Noki is using a USB dongle and i can only assume this dongle works ootb with arch linux on that system but not the built in wifi on either the Dell? So if ndiswrapper is not maintained upstream then what is it doing in arch linux?

Last edited by Seventh (2018-06-09 14:40:45)

Offline

#9 2018-06-09 14:43:58

Noki
Member
Registered: 2018-06-08
Posts: 98

Re: [SOLVED] Help with Arch on my Dell XPS 15 9550 (let's focus on WiFi)

Yes I can force the current driver to work but requires manual config and some commands to nudge it.

I am confused as to why Plasma can't see it
Why it fails and needs to be stopped and started (or downed)
And generally why Arch seems to be struggling with devices when others have said this is a great laptop for Arch Linux.

Since this is more troublesome than anticipated I'm rebuilding the laptop currently to dual boot both Arch and Ubuntu so I can do comparisons. I am rebuilding the installation media too on another stick just to be thorough.

Offline

#10 2018-06-09 14:48:54

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

Re: [SOLVED] Help with Arch on my Dell XPS 15 9550 (let's focus on WiFi)

@Seventh you seem to be interpreting Noki's post differently to me.

Noki wrote:

I then found this post which taught me how to set it down then connect it again and boom I have WiFi!

Current Status
But it breaks again on reboot, and even when working there is no indication that it's on and working in Plasma, nothing in Settings that allow me to set this in Desktop GUI.

To me that reads that they succeeded with whatever drivers they have on the system but whatever is managing the wireless connection does not persist on reboot.
As to why ndis-wrapper is still in the repositories that is the maintainers choice and as a last resport for those without any other options it may provide functional driver support.
Just for the last six kernels it has required patching 4.11-4.17 https://git.archlinux.org/svntogit/comm … apper-dkms

Offline

#11 2018-06-09 14:51:21

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

Re: [SOLVED] Help with Arch on my Dell XPS 15 9550 (let's focus on WiFi)

@Noki without knowing what service you have configured to manage the interface and what you expect to show you the status in plasma or the status of those components how can I help you?

Last edited by loqs (2018-06-09 14:51:41)

Offline

#12 2018-06-09 14:51:33

Seventh
Member
Registered: 2016-08-05
Posts: 47

Re: [SOLVED] Help with Arch on my Dell XPS 15 9550 (let's focus on WiFi)

Noki, because Dell manufactured their hardware to work exclusively with Microsoft and their respective vendors.

Offline

#13 2018-06-09 15:06:47

Noki
Member
Registered: 2018-06-08
Posts: 98

Re: [SOLVED] Help with Arch on my Dell XPS 15 9550 (let's focus on WiFi)

Sorry, Ubuntu user trying to step up my game and getting stuck.
I've configured everything as described in the wiki articles I posted at the top. So Plasma suggested SDDM so I am using that to login. The guides and forum posts around this have all used netctl (installed as part of base) to start and stop the adaptor, is this the service you are referring to? The wired usb dongle (with Ethernet adaptor) works without any argument when I remove and add it during a session.

Something is getting the way and I've done my best to narrow it down, happy to read up on things. But in this case I think I don't know what I don't know. So need a nudge in the right direction.

Last edited by Noki (2018-06-09 15:07:39)

Offline

#14 2018-06-09 15:11:30

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

Re: [SOLVED] Help with Arch on my Dell XPS 15 9550 (let's focus on WiFi)

What is the output of

systemctl list-unit-files --state enabled

Not sure if plasma has anything graphical that would show you the status of an interface controlled by netctl but that is not my area.

Offline

#15 2018-06-09 15:14:54

Noki
Member
Registered: 2018-06-08
Posts: 98

Re: [SOLVED] Help with Arch on my Dell XPS 15 9550 (let's focus on WiFi)

Should it now be visible in System Settings under Connections?

Does it require additional components? I just found reference to "wicd" after a quick google do I need this to access Wifi via the KDE GUI.

Offline

#16 2018-06-09 15:15:29

Noki
Member
Registered: 2018-06-08
Posts: 98

Re: [SOLVED] Help with Arch on my Dell XPS 15 9550 (let's focus on WiFi)

Also I will run the command once back up and running, the new USB stick is still formatting.

Offline

#17 2018-06-09 15:20:13

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

Re: [SOLVED] Help with Arch on my Dell XPS 15 9550 (let's focus on WiFi)

Are you going to do a clean install (not suggesting you should just checking) as on a clean install no network services would be started.
Most likely you are expecting NetworkManager#KDE_Plasma.

Offline

#18 2018-06-09 15:24:16

Noki
Member
Registered: 2018-06-08
Posts: 98

Re: [SOLVED] Help with Arch on my Dell XPS 15 9550 (let's focus on WiFi)

I'm running through a clean install now with the same procedure as before, will post once done.

Offline

#19 2018-06-09 15:26:35

Seventh
Member
Registered: 2016-08-05
Posts: 47

Re: [SOLVED] Help with Arch on my Dell XPS 15 9550 (let's focus on WiFi)

Noki, check out net-tools and iw

net-tools is deprecated in arch but still a viable option, just not advanced.

https://www.mankier.com/package/net-tools

https://linux.die.net/man/8/iw

Offline

#20 2018-06-09 15:36:59

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

Re: [SOLVED] Help with Arch on my Dell XPS 15 9550 (let's focus on WiFi)

Noki theres no need to post the output of the previous command I asked for on a clean install it will not be relevant.
However do you have a wired connection to install from or do you need to use wireless during the install?

Offline

#21 2018-06-09 16:40:20

Noki
Member
Registered: 2018-06-08
Posts: 98

Re: [SOLVED] Help with Arch on my Dell XPS 15 9550 (let's focus on WiFi)

OK so I am back to where I was before. I can use "wifi-menu" in the terminal and it will scan for networks and find stuff, my networks included. I can set a profile up but now I can get them to connect at all.

If I look in KDE there is a gui app for 'Network Interfaces' which once oped shows 'lo' at all times (great) and when I unplug and plugin the USB adaptor the wired option appears correctly. I would expect my Wifi adapter to appear here also, since I can scan for networks in the terminal it must on some level work. I installed plasma-nw as suggested.

Output of "systemctl list-unit-files --state enabled"

0 unit files listed.

Output (relevant) of "lspci -k"

02:00.0 Network controller: Broadcom Limited BCM43602 802.11ac Wireless LAN SoC (rev 01)
        Subsystem: Dell BCM43602 802.11ac Wireless LAN SoC
        Kernel driver in use: brcmfmac
        Kernel modules: brcmfmac

"netctl start DCUK"

Job for netctl@DCUK.service failed because the control process exited with error code.
See "systemctl status netctl@DCUK.service" and "journalctl -xe" for details.

so from that I ran two things:

"systemctl status netctl@DCUK.service"

● netctl@DCUK.service - Networking for netctl profile DCUK
   Loaded: loaded (/usr/lib/systemd/system/netctl@.service; static; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sat 2018-06-09 16:31:28 UTC; 18s ago
     Docs: man:netctl.profile(5)
  Process: 3159 ExecStart=/usr/lib/netctl/network start DCUK (code=exited, status=1/FAILURE)
 Main PID: 3159 (code=exited, status=1/FAILURE)

Jun 09 16:31:28 ARCH-XPS systemd[1]: Starting Networking for netctl profile DCUK...
Jun 09 16:31:28 ARCH-XPS network[3159]: Profile 'DCUK' does not exist or is not readable
Jun 09 16:31:28 ARCH-XPS systemd[1]: netctl@DCUK.service: Main process exited, code=exited, status=1/FAILURE
Jun 09 16:31:28 ARCH-XPS systemd[1]: netctl@DCUK.service: Failed with result 'exit-code'.
Jun 09 16:31:28 ARCH-XPS systemd[1]: Failed to start Networking for netctl profile DCUK.

"journalctl -xe"

Jun 09 16:31:25 ARCH-XPS polkitd[565]: Registered Authentication Agent for unix-process:3150:131093 (system bus name :1.928 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_GB.UTF-8)
Jun 09 16:31:25 ARCH-XPS polkit-kde-authentication-agent-1[600]: Listener adapter polkit_qt_listener_initiate_authentication
Jun 09 16:31:25 ARCH-XPS polkit-kde-authentication-agent-1[600]: GSimpleAsyncResult: 0x5582438052e0
Jun 09 16:31:25 ARCH-XPS polkit-kde-authentication-agent-1[600]: polkit_qt_listener_initiate_authentication callback for  0x5582436586c0
Jun 09 16:31:25 ARCH-XPS polkit-kde-authentication-agent-1[600]: Initiating authentication
Jun 09 16:31:25 ARCH-XPS polkit-kde-authentication-agent-1[600]: Message of action:  "Authentication is required to start 'netctl@DCUK.service'."
Jun 09 16:31:25 ARCH-XPS polkit-kde-authentication-agent-1[600]: Action description has been found
Jun 09 16:31:25 ARCH-XPS polkit-kde-authentication-agent-1[600]: WinId of the dialog is  29360168 29360168
Jun 09 16:31:25 ARCH-XPS polkit-kde-authentication-agent-1[600]: WinId of the shown dialog is  29360168 29360168
Jun 09 16:31:25 ARCH-XPS polkit-kde-authentication-agent-1[600]: Trying again
Jun 09 16:31:25 ARCH-XPS polkit-kde-authentication-agent-1[600]: REQUEST
Jun 09 16:31:25 ARCH-XPS polkit-kde-authentication-agent-1[600]: Request:  "Password: "
Jun 09 16:31:25 ARCH-XPS polkit-kde-authentication-agent-1[600]: "Password: "
Jun 09 16:31:28 ARCH-XPS polkit-kde-authentication-agent-1[600]: Dialog accepted
Jun 09 16:31:28 ARCH-XPS polkit-kde-authentication-agent-1[600]: COMPLETED
Jun 09 16:31:28 ARCH-XPS polkit-kde-authentication-agent-1[600]: Completed:  true
Jun 09 16:31:28 ARCH-XPS polkit-kde-authentication-agent-1[600]: Finishing obtaining privileges
Jun 09 16:31:28 ARCH-XPS polkit-kde-authentication-agent-1[600]: Listener adapter polkit_qt_listener_initiate_authentication_finish
Jun 09 16:31:28 ARCH-XPS polkit-kde-authentication-agent-1[600]: polkit_qt_listener_initiate_authentication_finish callback for  0x5582436586c0
Jun 09 16:31:28 ARCH-XPS polkit-kde-authentication-agent-1[600]: Finish obtain authorization: true
Jun 09 16:31:28 ARCH-XPS polkitd[565]: Operator of unix-session:c2 successfully authenticated as unix-user:noki to gain TEMPORARY authorization for action org.freedesktop.systemd1.manage-units for system-bus-name::1.929 [systemctl start netctl@DCUK.service] (owned by unix-user:noki)
Jun 09 16:31:28 ARCH-XPS systemd[1]: Starting Networking for netctl profile DCUK...
-- Subject: Unit netctl@DCUK.service has begun start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit netctl@DCUK.service has begun starting up.
Jun 09 16:31:28 ARCH-XPS network[3159]: Profile 'DCUK' does not exist or is not readable
Jun 09 16:31:28 ARCH-XPS systemd[1]: netctl@DCUK.service: Main process exited, code=exited, status=1/FAILURE
Jun 09 16:31:28 ARCH-XPS systemd[1]: netctl@DCUK.service: Failed with result 'exit-code'.
Jun 09 16:31:28 ARCH-XPS systemd[1]: Failed to start Networking for netctl profile DCUK.
-- Subject: Unit netctl@DCUK.service has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit netctl@DCUK.service has failed.
-- 
-- The result is RESULT.
Jun 09 16:31:28 ARCH-XPS polkitd[565]: Unregistered Authentication Agent for unix-process:3150:131093 (system bus name :1.928, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_GB.UTF-8) (disconnected from bus)
Jun 09 16:31:28 ARCH-XPS plasmashell[595]: QXcbConnection: XCB error: 2 (BadValue), sequence: 17496, resource id: 48234501, major code: 142 (Unknown), minor code: 3

Last edited by Noki (2018-06-09 16:51:19)

Offline

#22 2018-06-09 17:02:17

Noki
Member
Registered: 2018-06-08
Posts: 98

Re: [SOLVED] Help with Arch on my Dell XPS 15 9550 (let's focus on WiFi)

The wifi now works as described in the first post. Only the blacklisting I mentioned does nothing. I must have been mistaken about that. Still nothing in the network interface gui within kde despite being able to ping google.com

I am really confused at this point. It worked but it's like a ghost in the machine.

Offline

#23 2018-06-09 17:17:18

Noki
Member
Registered: 2018-06-08
Posts: 98

Re: [SOLVED] Help with Arch on my Dell XPS 15 9550 (let's focus on WiFi)

OK I think I'm getting it a bit more now, this is the sequence after a fresh boot up.

"ip link" > output shows only the loopback device
"sudo ip link set wlp2s0 down" > no error output
"sudo netctl start wlp2s0-DCUK" > no error output

Then I wait for it to get going and run "ip link" again

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: wlp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DORMANT group default qlen 1000
    link/ether 44:1c:a8:e3:1a:bb brd ff:ff:ff:ff:ff:ff

So what I don't get it why does it fail? Is it simply because I haven't added this to start up when I login/boot up?

Newb so sorry if this is a dumb question.

Offline

#24 2018-06-09 18:03:56

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

Re: [SOLVED] Help with Arch on my Dell XPS 15 9550 (let's focus on WiFi)

Noki wrote:

"ip link" > output shows only the loopback device
"sudo ip link set wlp2s0 down" > no error output

If there is no interface wlp2s0 in the ip link output how can you set it down or how could it be anything other than down to start with?

Noki wrote:

"sudo netctl start wlp2s0-DCUK" > no error output

Then I wait for it to get going and run "ip link" again

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: wlp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DORMANT group default qlen 1000
    link/ether 44:1c:a8:e3:1a:bb brd ff:ff:ff:ff:ff:ff

So what I don't get it why does it fail? Is it simply because I haven't added this to start up when I login/boot up?

Yes because you have you not enabled a service you have to start it manually on boot.
If you want to use NetworkManager though NetworkManager#Enable_NetworkManager which is needed for plasma-nm.

Offline

#25 2018-06-10 18:58:38

Noki
Member
Registered: 2018-06-08
Posts: 98

Re: [SOLVED] Help with Arch on my Dell XPS 15 9550 (let's focus on WiFi)

OK Thanks for your help, this was 90% my own stupidity and 10% odd errors. None of the errors I have seem to be fatal and I have been able to configure this how it should be.

This is only a real problem if I have no GUI and need to connect to WiFi, and since I have a workaround this is fine.

As a side note I was mistaken about the device being missing, not sure how I messed up there. This is the output from after a fresh boot, you see I need to down the device before it will work successfully (Through the Terminal).

[noki@ARCH-XPS ~]$ ping bbc.com
ping: bbc.com: Temporary failure in name resolution
[noki@ARCH-XPS ~]$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: wlp2s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
    link/ether 44:1c:a8:e3:1a:bb brd ff:ff:ff:ff:ff:ff
[noki@ARCH-XPS ~]$ sudo netctl start wlp2s0-DCUK2
[sudo] password for noki: 
Job for netctl@wlp2s0\x2dDCUK2.service failed because the control process exited with error code.
See "systemctl status "netctl@wlp2s0\\x2dDCUK2.service"" and "journalctl -xe" for details.
[noki@ARCH-XPS ~]$ sudo ip link set wlp2s0 down
[noki@ARCH-XPS ~]$ sudo netctl start wlp2s0-DCUK2
[noki@ARCH-XPS ~]$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: wlp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DORMANT group default qlen 1000
    link/ether 44:1c:a8:e3:1a:bb brd ff:ff:ff:ff:ff:ff
[noki@ARCH-XPS ~]$ ping bbc.com
PING bbc.com (151.101.192.81) 56(84) bytes of data.
64 bytes from 151.101.192.81 (151.101.192.81): icmp_seq=1 ttl=52 time=28.6 ms
64 bytes from 151.101.192.81 (151.101.192.81): icmp_seq=2 ttl=52 time=28.3 ms
^C
--- bbc.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 28.351/28.477/28.603/0.126 ms

Still confused as to why I need to down it to make it work but not a big deal. Thanks again. This is solved.

Offline

Board footer

Powered by FluxBB