[SOLVED] can't connect wifi even if i see networks

[SOLVED] can't connect wifi even if i see networks

Postby Maku » Aug 13th, '15, 23:48

Hi there ! I'm new here and new with Mageia (was using Ubuntu in a noob way) and i have a problem with my wifi network.


I can't connect (anymore) to wifi networks (mine, friends' or even with my phone's network sharing), but i see them on the network controller window and i was able to connect before... i did some research of course, try different things and nothing work... An idea ? I don't know what should mostly interest you on my konsole...

Thanks and cheers (sorry for my english)

Salut à tous ! Je suis nouveau ici et sur Mageia et j'ai un petit souci de connexion réseau wifi.

PAs possible de me connecter malgré que les réseaux apparaissent sur ma fenetre de Centre Réseau, que les codes soient les bons etc. Lors de l'installation y a deux semaines, javais réussi à me connecter en wifi, je ne me suis pas servi de mon ordinateur jusqu'à hier. J'ai déjà fait des recherches et des tentatives qui ce sont toutes montrées ineficace (après je veux bien entendre que je n'ai pas fait les bonnes manips). Bref, dites moi si vous avez une idée !

Merci
Last edited by Maku on Aug 21st, '15, 15:53, edited 3 times in total.
Maku
 
Posts: 5
Joined: Aug 13th, '15, 23:36

Re: can't connect wifi even if i see networks

Postby doktor5000 » Aug 15th, '15, 20:46

Hi there,

if you prefer support in french, the french forum would probably be a good idea: http://www.mageialinux-online.org/forum/
This is also linked here in Supporting communities forums

For your wireless issues, we need some more information.
Which desktop environment do you use? And please provide the output of the following commands:

Code: Select all
lspcidrake -v | grep -i -e net -e wireless -e wifi
ps -ef | grep -v grep | grep -ie net -e wpa


and, as root:
Code: Select all
ifconfig -a
rfkill list all
systemctl status network.service -a
journalctl -ab | grep -iE "fw|firmware|iwl|wifi|wire|80211"
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: can't connect wifi even if i see networks

Postby Maku » Aug 16th, '15, 21:09

Hello !

Thanks for your help.
I'm running Mageia 5 (KDE) x86... BTW i'm discovering KDE also...

I did what you ask, here we go for lspcidrake...

Code: Select all
[makumohe@localhost ~]$     lspcidrake -v | grep -i -e net -e wireless -e wifi
r8169           : Realtek Semiconductor Co., Ltd.|RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [NETWORK_ETHERNET] (vendor:10ec device:8168 subv:1558 subd:0240) (rev: 0a)
iwlwifi         : Intel Corporation|Centrino Wireless-N 2230 [NETWORK_OTHER] (vendor:8086 device:0887 subv:8086 subd:4062) (rev: c4)
[makumohe@localhost ~]$     ps -ef | grep -v grep | grep -ie net -e wpa
root        16     2  0 03:15 ?        00:00:00 [netns]
systemd+   708     1  0 03:15 ?        00:00:00 /usr/lib/systemd/systemd-networkd
makumohe  2095  1192  0 03:15 ?        00:01:43 /usr/bin/perl /usr/bin/net_applet
[makumohe@localhost ~]$


and for ifconfing and rfkill
Code: Select all
[makumohe@localhost ~]$ su
Mot de passe :
[root@localhost makumohe]#     ifconfig -a
enp3s0f2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.10  netmask 255.255.255.0  broadcast 192.168.0.255
        inet6 fe80::290:f5ff:fecd:223a  prefixlen 64  scopeid 0x20<link>
        ether 00:90:f5:cd:22:3a  txqueuelen 1000  (Ethernet)
        RX packets 10342  bytes 11472378 (10.9 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 7314  bytes 839513 (819.8 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Boucle locale)
        RX packets 336002  bytes 27552140 (26.2 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 336002  bytes 27552140 (26.2 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlp2s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 68:5d:43:0d:06:01  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

[root@localhost makumohe]#     rfkill list all
0: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
[root@localhost makumohe]#     systemctl status network.service -a
● network.service - LSB: Bring up/down networking
   Loaded: loaded (/etc/rc.d/init.d/network)
   Active: active (running) since dim. 2015-08-16 03:15:38 CEST; 17h ago
  Process: 806 ExecStart=/etc/rc.d/init.d/network start (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/network.service
           ├─ 1004 /sbin/ifplugd -I -b -i enp3s0f2
           ├─ 1208 /sbin/ifplugd -I -b -i wlp2s0
           └─20176 dhclient -1 -q -lf /var/lib/dhclient/dhclient--enp3s0f2.lease -pf /var/run/dhclient-enp3s0f2.pid enp3s0f2

août 16 20:59:14 localhost.localdomain ifplugd(enp3s0f2)[1004]: Link beat detected.
août 16 20:59:15 localhost.localdomain ifplugd(enp3s0f2)[1004]: Executing '/etc/ifplugd/ifplugd.action enp3s0f2 up'.
août 16 20:59:16 localhost.localdomain dhclient[20006]: DHCPDISCOVER on enp3s0f2 to 255.255.255.255 port 67 interval 5
août 16 20:59:16 localhost.localdomain dhclient[20006]: DHCPREQUEST on enp3s0f2 to 255.255.255.255 port 67
août 16 20:59:16 localhost.localdomain dhclient[20006]: DHCPOFFER from 192.168.0.254
août 16 20:59:18 localhost.localdomain dhclient[20006]: DHCPACK from 192.168.0.254
août 16 20:59:18 localhost.localdomain NET[20175]: /sbin/dhclient-script : updated /etc/resolv.conf
août 16 20:59:18 localhost.localdomain dhclient[20006]: bound to 192.168.0.10 -- renewal in 21562 seconds.
août 16 20:59:18 localhost.localdomain ifplugd(enp3s0f2)[1004]: client: Determining IP information for enp3s0f2... done.
août 16 20:59:18 localhost.localdomain ifplugd(enp3s0f2)[1004]: Program executed successfully.
[root@localhost makumohe]#     journalctl -ab | grep -iE "fw|firmware|iwl|wifi|wire|80211"^C
[root@localhost makumohe]#



Voila voila


Thanks a lot
Last edited by isadora on Aug 17th, '15, 12:36, edited 1 time in total.
Reason: Placed command-output in between [CODE]-tags for better readability ;)
Maku
 
Posts: 5
Joined: Aug 13th, '15, 23:36

Re: can't connect wifi even if i see networks

Postby doktor5000 » Aug 17th, '15, 20:37

Maku wrote:[root@localhost makumohe]# journalctl -ab | grep -iE "fw|firmware|iwl|wifi|wire|80211"^C
[root@localhost makumohe]#


Was there really no output from that command at all? Seems like you pressed Ctrl+C to interrupt before the command completed ...
Can you please run it again and provide the complete output?

Apart from that, seems the wireless interface is not blocked by rfkill, but also not active.

To start from a clean basis, I'd suggest to remove all wireless connections, do the following as root
Code: Select all
drakconnect --del    => select all your wireless connections to remove them
rm -f /etc/sysconfig/network-scripts/wireless.d/*
systemctl stop wpa_supplicant.service
mv /etc/wpa_supplicant.conf /etc/wpa_supplicant.backup
rpm -e --nodeps wpa_supplicant
urpmi wpa_supplicant


Then try to configure your wireless connection via drakconnect.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: can't connect wifi even if i see networks

Postby Maku » Aug 17th, '15, 22:24

Hello again !

I did wait 10min and nothing came out from journalctl. So I just press Enter and that came out


Code: Select all
[root@localhost makumohe]#     journalctl -ab | grep -iE "fw|firmware|iwl|wifi|wire|80211"
août 17 18:20:18 localhost.localdomain kernel: [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored
août 17 18:20:18 localhost.localdomain kernel: psmouse serio2: synaptics: Touchpad model: 1, fw: 7.2, id: 0x1c0b1, caps: 0xd04733/0xa40000/0xa0000, board id: 0, fw id: 582762
août 17 18:20:18 localhost.localdomain kernel: psmouse serio2: synaptics: Touchpad model: 1, fw: 7.2, id: 0x1c0b1, caps: 0xd04733/0xa40000/0xa0000, board id: 0, fw id: 582762
août 17 18:20:18 localhost.localdomain kernel: cfg80211: Calling CRDA to update world regulatory domain
août 17 18:20:18 localhost.localdomain kernel: Intel(R) Wireless WiFi driver for Linux, in-tree:d
août 17 18:20:18 localhost.localdomain kernel: iwlwifi 0000:02:00.0: loaded firmware version 18.168.6.1 op_mode iwldvm
août 17 18:20:18 localhost.localdomain kernel: iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEBUG enabled
août 17 18:20:18 localhost.localdomain kernel: iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEBUGFS disabled
août 17 18:20:18 localhost.localdomain kernel: iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEVICE_TRACING disabled
août 17 18:20:18 localhost.localdomain kernel: iwlwifi 0000:02:00.0: Detected Intel(R) Centrino(R) Wireless-N 2230 BGN, REV=0xC8
août 17 18:20:18 localhost.localdomain kernel: iwlwifi 0000:02:00.0: L1 Disabled - LTR Disabled
août 17 18:20:18 localhost.localdomain kernel: ieee80211 phy0: Selected rate control algorithm 'iwl-agn-rs'
août 17 18:20:18 localhost.localdomain kernel: cfg80211: World regulatory domain updated:
août 17 18:20:18 localhost.localdomain kernel: cfg80211:  DFS Master region: unset
août 17 18:20:18 localhost.localdomain kernel: cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
août 17 18:20:18 localhost.localdomain kernel: cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
août 17 18:20:18 localhost.localdomain kernel: cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
août 17 18:20:18 localhost.localdomain kernel: cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
août 17 18:20:18 localhost.localdomain kernel: cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
août 17 18:20:18 localhost.localdomain kernel: cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
août 17 18:20:18 localhost.localdomain kernel: cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
août 17 18:20:18 localhost.localdomain kernel: cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
août 17 18:20:18 localhost.localdomain kernel: cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
août 17 18:20:18 localhost.localdomain kernel: iwlwifi 0000:02:00.0 wlp2s0: renamed from wlan0
août 17 18:20:18 localhost.localdomain kernel: cfg80211: Calling CRDA for country: FR
août 17 18:20:18 localhost.localdomain kernel: cfg80211: Regulatory domain changed to country: FR
août 17 18:20:18 localhost.localdomain kernel: cfg80211:  DFS Master region: ETSI
août 17 18:20:18 localhost.localdomain kernel: cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
août 17 18:20:18 localhost.localdomain kernel: cfg80211:   (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
août 17 18:20:18 localhost.localdomain kernel: cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
août 17 18:20:18 localhost.localdomain kernel: cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
août 17 18:20:18 localhost.localdomain kernel: cfg80211:   (5490000 KHz - 5710000 KHz @ 160000 KHz), (N/A, 2700 mBm), (0 s)
août 17 18:20:18 localhost.localdomain kernel: cfg80211:   (57000000 KHz - 66000000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
août 17 18:20:41 localhost.localdomain network[810]: Configuring wireless regulatory domain  [  OK  ]
août 17 18:20:41 localhost.localdomain kernel: iwlwifi 0000:02:00.0: L1 Disabled - LTR Disabled
août 17 18:20:41 localhost.localdomain kernel: iwlwifi 0000:02:00.0: Radio type=0x2-0x0-0x0
août 17 18:20:41 localhost.localdomain kernel: iwlwifi 0000:02:00.0: L1 Disabled - LTR Disabled
août 17 18:20:41 localhost.localdomain kernel: iwlwifi 0000:02:00.0: Radio type=0x2-0x0-0x0
août 17 18:20:41 localhost.localdomain kernel: iwlwifi 0000:02:00.0: L1 Disabled - LTR Disabled
août 17 18:20:41 localhost.localdomain kernel: iwlwifi 0000:02:00.0: Radio type=0x2-0x0-0x0
août 17 18:20:41 localhost.localdomain kernel: iwlwifi 0000:02:00.0: L1 Disabled - LTR Disabled
août 17 18:20:41 localhost.localdomain kernel: iwlwifi 0000:02:00.0: Radio type=0x2-0x0-0x0
août 17 18:20:42 localhost.localdomain network[810]: Bringing up interface wlp2s0:  Error for wireless request "Set Encode" (8B2A) :
août 17 18:20:42 localhost.localdomain ifplugd(wlp2s0)[1178]: Using interface wlp2s0/68:5D:43:0D:06:01 with driver <iwlwifi> (version: 3.19.8-desktop586-3.mga5)
août 17 18:20:55 localhost.localdomain kernel: IFWLOG: register target
août 17 18:21:36 localhost.localdomain kernel: iwlwifi 0000:02:00.0: L1 Disabled - LTR Disabled
août 17 18:21:36 localhost.localdomain kernel: iwlwifi 0000:02:00.0: Radio type=0x2-0x0-0x0
août 17 18:21:36 localhost.localdomain kernel: iwlwifi 0000:02:00.0: L1 Disabled - LTR Disabled
août 17 18:21:36 localhost.localdomain kernel: iwlwifi 0000:02:00.0: Radio type=0x2-0x0-0x0
août 17 18:21:36 localhost.localdomain kernel: iwlwifi 0000:02:00.0: L1 Disabled - LTR Disabled
août 17 18:21:36 localhost.localdomain kernel: iwlwifi 0000:02:00.0: Radio type=0x2-0x0-0x0
août 17 18:21:37 localhost.localdomain kernel: iwlwifi 0000:02:00.0: L1 Disabled - LTR Disabled
août 17 18:21:37 localhost.localdomain kernel: iwlwifi 0000:02:00.0: Radio type=0x2-0x0-0x0
août 17 18:21:37 localhost.localdomain ifplugd(wlp2s0)[2452]: Using interface wlp2s0/68:5D:43:0D:06:01 with driver <iwlwifi> (version: 3.19.8-desktop586-3.mga5)
août 17 19:01:10 localhost.localdomain kernel: iwlwifi 0000:02:00.0: RF_KILL bit toggled to enable radio.
août 17 19:01:10 localhost.localdomain kernel: iwlwifi 0000:02:00.0: L1 Disabled - LTR Disabled
août 17 19:01:10 localhost.localdomain kernel: iwlwifi 0000:02:00.0: Radio type=0x2-0x0-0x0
août 17 19:01:10 localhost.localdomain kernel: iwlwifi 0000:02:00.0: L1 Disabled - LTR Disabled
août 17 19:01:10 localhost.localdomain kernel: iwlwifi 0000:02:00.0: Radio type=0x2-0x0-0x0
août 17 22:07:11 localhost.localdomain kernel: iwlwifi 0000:02:00.0: RF_KILL bit toggled to enable radio.
août 17 22:07:11 localhost.localdomain kernel: iwlwifi 0000:02:00.0: L1 Disabled - LTR Disabled
août 17 22:07:11 localhost.localdomain kernel: iwlwifi 0000:02:00.0: Radio type=0x2-0x0-0x0
août 17 22:07:11 localhost.localdomain kernel: iwlwifi 0000:02:00.0: L1 Disabled - LTR Disabled
août 17 22:07:11 localhost.localdomain kernel: iwlwifi 0000:02:00.0: Radio type=0x2-0x0-0x0



Then i deleted my wireless connexion as you told me to and it gave me this

Code: Select all
[makumohe@localhost ~]$ su
Mot de passe :
[root@localhost makumohe]#     drakconnect --del    => select all your wireless connections to remove them
Too late to run INIT block at /usr/lib/perl5/vendor_perl/5.20.1/i386-linux-thread-multi/Glib/Object/Introspection.pm line 257.
Subroutine Gtk3::main redefined at /usr/lib/perl5/vendor_perl/5.20.1/Gtk3.pm line 296.
[root@localhost makumohe]#     rm -f /etc/sysconfig/network-scripts/wireless.d/*
[root@localhost makumohe]#     systemctl stop wpa_supplicant.service
[root@localhost makumohe]#     mv /etc/wpa_supplicant.conf /etc/wpa_supplicant.backup
[root@localhost makumohe]#     rpm -e --nodeps wpa_supplicant
attention : fichier /etc/wpa_supplicant.conf : échec de la suppression : Aucun fichier ou dossier de ce type
[root@localhost makumohe]#     urpmi wpa_supplicant


    $MIRRORLIST: media/core/release/wpa_supplicant-2.3-3.mga5.i586.rpm
installation de wpa_supplicant-2.3-3.mga5.i586.rpm depuis /var/cache/urpmi/rpms                                                                     
Préparation...                   ##################################################################################################################
      1/1: wpa_supplicant        ##################################################################################################################



Also the Drakconnect program told me it was successfull.

Now i reconfigure my wifi and come back here after.

THANKS A LOT DOKTOR5000
Last edited by doktor5000 on Aug 18th, '15, 07:05, edited 1 time in total.
Reason: added code tags
Maku
 
Posts: 5
Joined: Aug 13th, '15, 23:36

Re: can't connect wifi even if i see networks

Postby Maku » Aug 17th, '15, 22:28

OK this message is posted threw Wifi technology (yeah), it's so nice, thanks again Doktor 5000

Cheers
Maku
 
Posts: 5
Joined: Aug 13th, '15, 23:36

Re: can't connect wifi even if i see networks

Postby isadora » Aug 17th, '15, 22:56

Please use [CODE]-tags (like i did for your earlier post in this thread), to keep the forum readable?
See:
ftp://ftp5.gwdg.de/pub/linux/mandriva/m ... e_tags.ogv

And:
Please, don't forget to mark the topic [SOLVED].
You can do so, by editing the subject/title in the first message in this topic.
Write [SOLVED] to the left of subject/title, thanks ahead. ;)
..........bird from paradise..........

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
—Antoine de Saint-Exupéry
User avatar
isadora
 
Posts: 2744
Joined: Mar 25th, '11, 16:03
Location: Netherlands

Re: can't connect wifi even if i see networks

Postby Maku » Aug 21st, '15, 15:52

oh my, you did it for me, sorry, i was busy for a while...

Thanks for all your support, i change the title now.

Cheers
Maku
 
Posts: 5
Joined: Aug 13th, '15, 23:36


Return to Networking

Who is online

Users browsing this forum: No registered users and 1 guest

cron