New to Manjaro: everything works but connecting to wifi sometimes doesn't


#1

Hello everyone. I’m new to Manjaro but not to the linux world. I’ve been running Ubuntu for a while, but I got a new laptop recently, a Lenovo X220. I chose Manjaro with i3wm for this machine, because I wanted a lightweight enviroment that I could build specifically for this laptop (expecially for its small 12" screen) and I literally fell in love for this window manager and what it allows you to do with just keyboard shortcuts.
So I installed the system and started using and customizing it. Everything works (including audio, for which I had to use pulseaudio though), except for the WiFi.

It usually connects to my network with no problems, but sometimes something goes wrong for no apparent reason: the nm-applet icon shows the “working” animated icon as if it was trying to connect, but it just won’t connect and I get a notification that says “Disconnected”. And then this repeats again and again, until I click on the nm-applet icon and click “Disconnect”. If I try to connect again, the same happens. I used to solve this by removing my Wifi network profile with “sudo rm /etc/netctl/myprofile” and then rebooting (reloading the NetworkManager service and nm-applet doesn’t seem to work) and trying to connect again, but this morning it happened again and this file doesn’t even exist now! So I was about to reboot, when it just connected by itself without me touching anything. Also, if I click on the nm-applet icon and select my WiFi network, I can see it has 3 different profiles stored!

This is very annoying, especially considering that it makes me fear that the system won’t connect to the internet when I’m maybe at the university or somewhere else where I need it to quickly access the internet.
Hope you can help me figure out the issue


#2

give us the terminal ouput of the command inxi -N


#3

sure

Network: Card-1: Intel 82579LM Gigabit Network Connection (Lewisville) driver: e1000e
Card-2: Intel Centrino Advanced-N 6205 [Taylor Peak] driver: iwlwifi


#4

Use nmcli for dealing with network troubles. I always find that a CLI is usually much more effective and helpful when you’re working with anything related to networking.


#5

I’m sorry but I don’t know how to use nmcli :confused:
Anyway, this evening the whole thing has happened again: the system booted and the Wifi was off (I didn’t turn it off the last time I shut the computer off, it just happens randomly). I turned it on and then the whole story repeated. I tried wifi-menu too, but it just said “Connection Failed”. I rebooted the machine and it worked, but again, this is very annoying. Any suggestions?


#6

might want to check loaded modules (lsmod) and see if sometimes it is loading an incorrect one.
Or maybe if bluetooth is blocking ?


#7

Hello
I have bluetooth disabled via rfkill, so that it doesn’t suck battery juice, since I rarely use it (so I plan to enable it when needed).

This is instead the output of lsmod

Module Size Used by
ctr 16384 4
ccm 20480 2
fuse 98304 3
cdc_mbim 16384 0
cdc_ncm 32768 1 cdc_mbim
usbnet 36864 2 cdc_mbim,cdc_ncm
mii 16384 1 usbnet
cdc_acm 32768 0
cdc_wdm 20480 1 cdc_mbim
uvcvideo 86016 0
videobuf2_vmalloc 16384 1 uvcvideo
videobuf2_memops 16384 1 videobuf2_vmalloc
videobuf2_v4l2 20480 1 uvcvideo
videobuf2_core 36864 2 uvcvideo,videobuf2_v4l2
videodev 151552 3 uvcvideo,videobuf2_core,videobuf2_v4l2
media 32768 2 uvcvideo,videodev
joydev 20480 0
mousedev 20480 0
intel_rapl 20480 0
iTCO_wdt 16384 0
iTCO_vendor_support 16384 1 iTCO_wdt
arc4 16384 2
mei_wdt 16384 0
x86_pkg_temp_thermal 16384 0
intel_powerclamp 16384 0
coretemp 16384 0
kvm_intel 192512 0
iwldvm 176128 0
kvm 524288 1 kvm_intel
mac80211 688128 1 iwldvm
irqbypass 16384 1 kvm
crct10dif_pclmul 16384 0
crc32_pclmul 16384 0
crc32c_intel 24576 0
ghash_clmulni_intel 16384 0
aesni_intel 167936 4
aes_x86_64 20480 1 aesni_intel
lrw 16384 1 aesni_intel
gf128mul 16384 1 lrw
glue_helper 16384 1 aesni_intel
ablk_helper 16384 1 aesni_intel
cryptd 20480 3 ablk_helper,ghash_clmulni_intel,aesni_intel
evdev 24576 14
iwlwifi 192512 1 iwldvm
intel_cstate 16384 0
input_leds 16384 0
intel_rapl_perf 16384 0
nls_iso8859_1 16384 1
mac_hid 16384 0
i2c_i801 24576 0
psmouse 131072 0
pcspkr 16384 0
nls_cp437 20480 1
i2c_smbus 16384 1 i2c_i801
cfg80211 520192 3 iwlwifi,mac80211,iwldvm
snd_hda_codec_hdmi 49152 1
vfat 20480 1
fat 65536 1 vfat
snd_hda_codec_conexant 24576 1
snd_hda_codec_generic 69632 1 snd_hda_codec_conexant
lpc_ich 24576 0
snd_hda_intel 36864 4
i915 1204224 5
snd_hda_codec 106496 4 snd_hda_intel,snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hda_codec_generic
snd_hda_core 65536 5 snd_hda_intel,snd_hda_codec_conexant,snd_hda_codec,snd_hda_codec_hdmi,snd_hda_codec_generic
snd_hwdep 16384 1 snd_hda_codec
snd_pcm 90112 4 snd_hda_intel,snd_hda_codec,snd_hda_core,snd_hda_codec_hdmi
thinkpad_acpi 77824 1
snd_timer 28672 1 snd_pcm
shpchp 32768 0
drm_kms_helper 126976 1 i915
nvram 16384 1 thinkpad_acpi
snd 69632 17 snd_hda_intel,snd_hwdep,snd_hda_codec_conexant,snd_hda_codec,snd_timer,thinkpad_acpi,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_pcm
thermal 20480 0
wmi 16384 0
soundcore 16384 1 snd
drm 294912 5 i915,drm_kms_helper
rfkill 20480 4 thinkpad_acpi,cfg80211
intel_gtt 20480 1 i915
syscopyarea 16384 1 drm_kms_helper
e1000e 229376 0
sysfillrect 16384 1 drm_kms_helper
sysimgblt 16384 1 drm_kms_helper
fb_sys_fops 16384 1 drm_kms_helper
i2c_algo_bit 16384 1 i915
battery 20480 0
ac 16384 0
fjes 28672 0
mei_me 36864 0
ptp 20480 1 e1000e
mei 86016 3 mei_me,mei_wdt
pps_core 16384 1 ptp
video 36864 2 thinkpad_acpi,i915
button 16384 1 i915
tpm_tis 16384 0
tpm_tis_core 20480 1 tpm_tis
tpm 36864 2 tpm_tis,tpm_tis_core
sch_fq_codel 20480 6
crypto_user 16384 0
ip_tables 24576 0
x_tables 28672 1 ip_tables
ext4 528384 1
crc16 16384 1 ext4
jbd2 90112 1 ext4
fscrypto 24576 1 ext4
mbcache 16384 2 ext4
sd_mod 36864 3
serio_raw 16384 0
atkbd 24576 0
libps2 16384 2 atkbd,psmouse
ahci 36864 2
libahci 28672 1 ahci
libata 212992 2 ahci,libahci
scsi_mod 159744 2 sd_mod,libata
sdhci_pci 28672 0
sdhci 40960 1 sdhci_pci
ehci_pci 16384 0
led_class 16384 4 sdhci,input_leds,thinkpad_acpi,iwldvm
ehci_hcd 73728 1 ehci_pci
mmc_core 126976 2 sdhci,sdhci_pci
usbcore 208896 8 usbnet,uvcvideo,cdc_mbim,ehci_hcd,cdc_acm,cdc_ncm,cdc_wdm,ehci_pci
usb_common 16384 1 usbcore
i8042 28672 0
serio 20480 7 serio_raw,atkbd,psmouse,i8042


#8

nmcli has a man page. To get you started, you can simply run the command. To list available connections, run nmcli device wifi list. To connect to a connection that you’ve already connected to, run nmcli connection up <name>. These are basically all I find that I need.


#9

Seems easy, I can try this in the future if the normal method won’t work


#10

this issue happen with me too, connect to portable hotspot of my android phone. For workaround I have to turn off my portable hotspot and turn on again to fix my issue.


#11

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.