After I switched from XFCE4 to KDE5 Plasma, I am having networking issues.
My network interface is down upon startup and I am no longer able to see WiFi networks in the Networks Widget after starting the network interface.
I am using the following script to start my network interface and attach to a known WiFi by SSID:
# Can use another network interface as well that can be found from command:
# `ip link`
# If need to add new network:
# sudo wpa_passphrase <ESSID> <PWORD> | sudo tee -a /etc/wpa_supplicant.conf
sudo ip link set wlp1s0 up
sudo wpa_supplicant -B -c /etc/wpa_supplicant.conf -i wlp1s0
sudo dhclient wlp1s0
Here is some info
>>> inxi -Fxxxz
System:
Host: errc-pc Kernel: 5.6.5-arch1-1-surface x86_64
bits: 64 compiler: gcc v: 9.3.0
Desktop: KDE Plasma 5.18.4 tk: Qt 5.14.2
wm: kwin_wayland dm: LightDM 1.30.0, SDDM
Distro: Manjaro Linux
Machine:
Type: Laptop System: Microsoft
product: Surface Book 2 v: D:0B:08K:1F:5C:10P:38
serial: <filter> Chassis: type: 9 serial: <filter>
Mobo: Microsoft model: Surface Book 2
serial: <filter> UEFI: Microsoft v: 388.2119.769
date: 02/07/2018
Network:
Device-1: Marvell 88W8897 [AVASTAR] 802.11ac
Wireless
driver: mwifiex_pcie v: 1.0 port: efa0
bus ID: 01:00.0 chip ID: 11ab:2b38
IF: wlp1s0 state: up mac: <filter>
Device-2: Marvell Bluetooth and Wireless LAN
Composite Device
type: USB driver: btusb bus ID: 1-6:6
chip ID: 1286:204c serial: <filter>
IF-ID-1: br-00f47cee78de state: down mac: <filter>
IF-ID-2: br-458674d9a7b1 state: down mac: <filter>
IF-ID-3: br-d8613fa6e84b state: down mac: <filter>
IF-ID-4: br-f1ef521dda7e state: down mac: <filter>
IF-ID-5: br-fe2c3bab424c state: down mac: <filter>
IF-ID-6: docker0 state: down mac: <filter>
IF-ID-7: virbr0 state: down mac: <filter>
IF-ID-8: virbr0-nic state: down mac: <filter>
>>> lsmod
Module Size Used by
nvidia 20504576 0
ipmi_devintf 20480 0
ipmi_msghandler 73728 2 ipmi_devintf,nvidia
rfcomm 90112 4
nf_conntrack_netlink 57344 0
nfnetlink 16384 2 nf_conntrack_netlink
xfrm_user 45056 1
xfrm_algo 16384 1 xfrm_user
xt_addrtype 16384 2
br_netfilter 28672 0
cmac 16384 10
algif_hash 16384 5
algif_skcipher 16384 5
af_alg 32768 22 algif_hash,algif_skcipher
bnep 28672 2
btusb 65536 0
btrtl 24576 1 btusb
btbcm 20480 1 btusb
btintel 32768 1 btusb
xt_CHECKSUM 16384 1
bluetooth 675840 33 btrtl,btintel,btbcm,bnep,btusb,rfcomm
xt_MASQUERADE 20480 9
xt_conntrack 16384 7
ipt_REJECT 16384 2
nf_reject_ipv4 16384 1 ipt_REJECT
ecdh_generic 16384 1 bluetooth
ecc 36864 1 ecdh_generic
xt_tcpudp 20480 9
ip6table_mangle 16384 1
ip6table_nat 16384 1
iptable_mangle 16384 1
iptable_nat 16384 1
nf_nat 57344 3 ip6table_nat,iptable_nat,xt_MASQUERADE
nf_conntrack 172032 4 xt_conntrack,nf_nat,nf_conntrack_netlink,xt_MASQUERADE
nf_defrag_ipv6 24576 1 nf_conntrack
nf_defrag_ipv4 16384 1 nf_conntrack
libcrc32c 16384 2 nf_conntrack,nf_nat
ebtable_filter 16384 0
ebtables 40960 1 ebtable_filter
ip6table_filter 16384 1
ip6_tables 36864 3 ip6table_filter,ip6table_nat,ip6table_mangle
iptable_filter 16384 1
tun 57344 1
bridge 233472 1 br_netfilter
overlay 135168 0
stp 16384 1 bridge
llc 16384 2 bridge,stp
input_leds 16384 0
hid_sensor_gyro_3d 20480 0
hid_sensor_rotation 20480 0
hid_sensor_als 20480 0
hid_sensor_accel_3d 20480 0
hid_sensor_trigger 20480 9 hid_sensor_gyro_3d,hid_sensor_als,hid_sensor_accel_3d,hid_sensor_rotation
industrialio_triggered_buffer 16384 4 hid_sensor_gyro_3d,hid_sensor_als,hid_sensor_accel_3d,hid_sensor_rotation
kfifo_buf 16384 1 industrialio_triggered_buffer
hid_sensor_iio_common 20480 5 hid_sensor_gyro_3d,hid_sensor_trigger,hid_sensor_als,hid_sensor_accel_3d,hid_sensor_rotation
industrialio 94208 7 industrialio_triggered_buffer,hid_sensor_gyro_3d,hid_sensor_trigger,kfifo_buf,hid_sensor_als,hid_sensor_accel_3d,hid_sensor_rotation
snd_soc_skl 180224 0
intel_ishtp_loader 24576 0
snd_soc_sst_ipc 20480 1 snd_soc_skl
intel_ishtp_hid 28672 0
cros_ec_ishtp 20480 0
snd_soc_sst_dsp 40960 1 snd_soc_skl
cros_ec 20480 1 cros_ec_ishtp
snd_hda_codec_realtek 126976 1
joydev 28672 0
x86_pkg_temp_thermal 20480 0
intel_powerclamp 20480 0
snd_hda_codec_generic 94208 1 snd_hda_codec_realtek
battery 24576 0
mousedev 24576 0
snd_hda_ext_core 36864 1 snd_soc_skl
snd_soc_acpi_intel_match 40960 1 snd_soc_skl
coretemp 20480 0
snd_soc_acpi 16384 2 snd_soc_acpi_intel_match,snd_soc_skl
ledtrig_audio 16384 2 snd_hda_codec_generic,snd_hda_codec_realtek
mac_hid 16384 0
kvm_intel 327680 0
snd_soc_core 299008 1 snd_soc_skl
kvm 827392 1 kvm_intel
iTCO_wdt 16384 0
irqbypass 16384 1 kvm
iTCO_vendor_support 16384 1 iTCO_wdt
ipts 20480 0
snd_compress 28672 1 snd_soc_core
ac97_bus 16384 1 snd_soc_core
snd_pcm_dmaengine 16384 1 snd_soc_core
crct10dif_pclmul 16384 1
mei_hdcp 24576 0
8250_dw 16384 0
squashfs 69632 4
intel_rapl_msr 20480 0
i915 2502656 29
snd_hda_intel 57344 3
crc32_pclmul 16384 0
ghash_clmulni_intel 16384 0
snd_intel_dspcfg 28672 2 snd_hda_intel,snd_soc_skl
gpio_keys 20480 0
snd_hda_codec 163840 3 snd_hda_codec_generic,snd_hda_intel,snd_hda_codec_realtek
mwifiex_pcie 49152 0
surface_sam_sid_perfmode 16384 0
surface_sam_sid_gpelid 20480 0
aesni_intel 368640 15
mwifiex 323584 1 mwifiex_pcie
crypto_simd 16384 1 aesni_intel
snd_hda_core 106496 6 snd_hda_codec_generic,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_soc_skl
nls_iso8859_1 16384 1
i2c_algo_bit 16384 1 i915
nls_cp437 20480 1
cryptd 24576 7 crypto_simd,ghash_clmulni_intel
glue_helper 16384 1 aesni_intel
snd_hwdep 16384 1 snd_hda_codec
drm_kms_helper 241664 1 i915
snd_pcm 143360 6 snd_hda_intel,snd_hda_codec,snd_soc_core,snd_soc_skl,snd_hda_core,snd_pcm_dmaengine
vfat 24576 1
intel_cstate 16384 0
fat 86016 1 vfat
cfg80211 884736 1 mwifiex
fuse 139264 3
cec 65536 2 drm_kms_helper,i915
snd_timer 40960 1 snd_pcm
loop 40960 8
intel_uncore 147456 0
snd 110592 15 snd_hda_codec_generic,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,snd_soc_core,snd_pcm
ipu3_cio2 40960 0
intel_rapl_perf 16384 0
ipu3_imgu 225280 0
pcspkr 16384 0
v4l2_fwnode 32768 1 ipu3_cio2
i2c_i801 36864 0
rc_core 61440 1 cec
soundcore 16384 1 snd
videobuf2_dma_sg 16384 2 ipu3_cio2,ipu3_imgu
videobuf2_memops 20480 1 videobuf2_dma_sg
videobuf2_v4l2 28672 2 ipu3_cio2,ipu3_imgu
videobuf2_common 57344 3 ipu3_cio2,videobuf2_v4l2,ipu3_imgu
rfkill 28672 9 bluetooth,cfg80211
drm 565248 16 drm_kms_helper,i915
videodev 270336 5 v4l2_fwnode,ipu3_cio2,videobuf2_v4l2,videobuf2_common,ipu3_imgu
mei_me 45056 2
intel_gtt 24576 1 i915
mei 122880 5 mei_hdcp,mei_me,ipts
agpgart 53248 2 intel_gtt,drm
syscopyarea 16384 1 drm_kms_helper
intel_ish_ipc 28672 0
processor_thermal_device 20480 0
sysfillrect 16384 1 drm_kms_helper
sysimgblt 16384 1 drm_kms_helper
fb_sys_fops 16384 1 drm_kms_helper
intel_ishtp 61440 4 cros_ec_ishtp,intel_ishtp_hid,intel_ish_ipc,intel_ishtp_loader
intel_xhci_usb_role_switch 16384 0
intel_rapl_common 32768 2 intel_rapl_msr,processor_thermal_device
intel_lpss_pci 20480 2
intel_lpss 16384 1 intel_lpss_pci
roles 16384 1 intel_xhci_usb_role_switch
intel_soc_dts_iosf 20480 1 processor_thermal_device
idma64 20480 0
tpm_crb 20480 0
intel_pch_thermal 16384 0
mc 61440 5 videodev,ipu3_cio2,videobuf2_v4l2,videobuf2_common,ipu3_imgu
evdev 24576 24
surfacebook2_dgpu_hps 16384 0
tpm_tis 16384 0
tpm_tis_core 32768 1 tpm_tis
surfacepro3_button 20480 0
tpm 73728 3 tpm_tis,tpm_crb,tpm_tis_core
surface_sam_hps 28672 0
rng_core 16384 1 tpm
dptf_power 16384 0
surface_sam_dtx 16384 1
int3403_thermal 16384 0
int3400_thermal 20480 0
int340x_thermal_zone 16384 2 int3403_thermal,processor_thermal_device
acpi_thermal_rel 16384 1 int3400_thermal
acpi_tad 16384 0
ac 16384 0
surface_sam_sid 20480 0
soc_button_array 20480 0
uinput 20480 0
crypto_user 16384 0
ip_tables 36864 3 iptable_filter,iptable_nat,iptable_mangle
x_tables 53248 13 ebtables,ip6table_filter,xt_conntrack,iptable_filter,xt_tcpudp,xt_addrtype,xt_CHECKSUM,ip6_tables,ipt_REJECT,ip_tables,ip6table_mangle,xt_MASQUERADE,iptable_mangle
ext4 794624 2
crc32c_generic 16384 0
crc16 16384 2 bluetooth,ext4
mbcache 16384 1 ext4
jbd2 139264 1 ext4
xhci_pci 20480 0
crc32c_intel 24576 5
xhci_hcd 290816 1 xhci_pci
surface_sam_vhf 20480 0
surface_sam_san 20480 1 surface_sam_hps
surface_sam_ssh 36864 5 surface_sam_sid_perfmode,surface_sam_hps,surface_sam_vhf,surface_sam_dtx,surface_sam_san
hid_multitouch 32768 0
usbhid 65536 0
hid_generic 16384 0
i2c_hid 32768 0
hid_sensor_hub 24576 6 hid_sensor_gyro_3d,hid_sensor_trigger,hid_sensor_iio_common,hid_sensor_als,hid_sensor_accel_3d,hid_sensor_rotation
hid 147456 7 i2c_hid,surface_sam_vhf,usbhid,hid_multitouch,hid_sensor_hub,intel_ishtp_hid,hid_generic
>>> hwinfo --netcard --wlan --bluetooth | grep -Ei "model\:|drive\:|status\:|cmd\:|file\:|detected\:" |grep -v "Config Status"
Model: "Marvell 88W8897 [AVASTAR] 802.11ac Wireless"
Device File: wlp1s0
Link detected: yes
Driver Status: mwifiex_pcie is active
Driver Activation Cmd: "modprobe mwifiex_pcie"
Model: "Marvell Bluetooth and Wireless LAN Composite Device"
Driver Status: btusb is active
Driver Activation Cmd: "modprobe btusb"