[CLOSED] WiFi unable to connect N 6230

[CLOSED] WiFi unable to connect N 6230

Postby ajvbun » Jun 1st, '12, 22:48

Hello,
I come from Mandriva 2011.0 and installed Mageia 2 for its Sandy Bridge support.
On Mandriva I have WiFi connections under Mageia on the same computer I have not.
Mandriva : MCC hardware shows : device 0091 and module iwlagn
lsmod : mac80211 iwglan and cfg80211 iwglan,mac80211
Mageia : MCC hardware shows : Centrino advanced-N 6230 module iwlwifi
lsmod : mac80211 iwlwifi and cfg80211 mac80211,iwlwifi
On Mageia I can see all my AP's and neighbours AP's.
However I can not connect to any WPA2 protected or unsecured access point with the same settings as I used under Mandriva or my Android phone.
Do you have a tip to get it operational? thanks.
Last edited by ajvbun on Jun 8th, '12, 00:11, edited 1 time in total.
User avatar
ajvbun
 
Posts: 8
Joined: Jun 1st, '12, 22:34
Location: Bunschoten, Netherlands

Re: WiFi unable to connect N 6230

Postby ajvbun » Jun 2nd, '12, 07:18

I have some additional information, I hope it helps to find a solution.
/var/log/messages shows:
Code: Select all
Jun  2 07:08:16 q4 draknetcenter[3094]: running: /sbin/ifdown wlan0 daemon
Jun  2 07:08:16 q4 draknetcenter[3094]: running: /sbin/ifup wlan0 daemon
Jun  2 07:08:17 q4 NetworkManager[753]:    ifcfg-rh: parsing /etc/sysconfig/network-scripts/ifcfg-wlan0 ...
Jun  2 07:08:17 q4 NetworkManager[753]: <warn> failed to allocate link cache: (-10) Operation not supported
Jun  2 07:08:17 q4 NetworkManager[753]:    ifcfg-rh:     error: Missing SSID
Jun  2 07:08:17 q4 NetworkManager[753]:    ifcfg-rh: removed /etc/sysconfig/network-scripts/ifcfg-wlan0.
Jun  2 07:08:17 q4 NetworkManager[753]:    ifcfg-rh: parsing /etc/sysconfig/network-scripts/ifcfg-wlan0 ...
Jun  2 07:08:17 q4 NetworkManager[753]: <warn> failed to allocate link cache: (-10) Operation not supported
Jun  2 07:08:17 q4 NetworkManager[753]:    ifcfg-rh:     error: Missing SSID
Jun  2 07:08:17 q4 NetworkManager[753]:    ifcfg-rh: parsing /etc/sysconfig/network-scripts/ifcfg-wlan0 ...
Jun  2 07:08:17 q4 NetworkManager[753]: <warn> failed to allocate link cache: (-10) Operation not supported
Jun  2 07:08:17 q4 NetworkManager[753]:    ifcfg-rh:     error: Missing SSID
Jun  2 07:08:49 q4 draknetcenter[3094]: ### Program is exiting ###

iwconfig wlan0 --> essid:off/any
iwconfig wlan0 essid FON_Oude_Gemeentehuis
iwconfig wlan0 --> essid:off/any I expected FON_Oude_Gementehuis

Thanks
Last edited by ajvbun on Jun 2nd, '12, 08:07, edited 1 time in total.
User avatar
ajvbun
 
Posts: 8
Joined: Jun 1st, '12, 22:34
Location: Bunschoten, Netherlands

Re: WiFi unable to connect N 6230

Postby isadora » Jun 2nd, '12, 07:32

Image

To have it visually explained, see following screencast:
http://ftp.mandrivauser.de/rpm/rpm/extr ... e_tags.ogv
..........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: 2766
Joined: Mar 25th, '11, 16:03
Location: Netherlands

Re: WiFi unable to connect N 6230

Postby doktor5000 » Jun 2nd, '12, 18:20

Please show the output of
Code: Select all
rpm -qa | grep iwlwifi
and
Code: Select all
ps -ef | grep -v grep | grep -i net
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: 18068
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: WiFi unable to connect N 6230

Postby ajvbun » Jun 2nd, '12, 19:46

Dear doctor5000,
thanks for trying to help me solving this problem.
the command rpm -qa | grep iwlwifi gives
Code: Select all
iwlwifi-agn-ucode-20120421-3.mga2.nonfree

This seems OK to me and ps -ef | grep -v grep | grep -i net shows
Code: Select all
root        32     2  0 07:58 ?        00:00:00 [netns]
root       750     1  0 07:58 ?        00:00:04 /usr/sbin/NetworkManager --no-daemon
anthony   1710  1507  0 07:58 ?        00:01:34 /usr/bin/perl /usr/bin/net_applet

I don't understand the no-daemon option as this directs log output to the controlling terminal which is not available but I do not think this is related to my problem.
User avatar
ajvbun
 
Posts: 8
Joined: Jun 1st, '12, 22:34
Location: Bunschoten, Netherlands

Re: WiFi unable to connect N 6230

Postby ajvbun » Jun 3rd, '12, 00:02

I am a bit further.
I think the net_applet does not configure the required files.
If I make a WiFi configuration with GUI program nm-connection-editor for an unsecured access point I have immediately a good connection.
However, my main AP has WPA & WPA2 protection and fixed IP addresses.
I am unable to configure this connection through nm-connection-editor as the edit-fields for Password and IP addresses (IPv4 - manual - add) are not accepting key entries.
The net_applet shows all AP's but now I can not disconnect from the unsecured AP.
User avatar
ajvbun
 
Posts: 8
Joined: Jun 1st, '12, 22:34
Location: Bunschoten, Netherlands

Re: WiFi unable to connect N 6230

Postby doktor5000 » Jun 3rd, '12, 18:44

You have currently the same problem as some others around here, you have two programs (the default Mageia tool, net_applet and networkmanager) compete against each other to manage your network connections. For the secure connection issue, please show the output of
Code: Select all
rpm -q wpa_supplicant
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: 18068
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: WiFi unable to connect N 6230

Postby ajvbun » Jun 4th, '12, 10:38

my wpa_supplicant version is:
Code: Select all
wpa_supplicant-0.7.3-6.mga2

Version 0.7.3 is the previous stable release, now version 1.0 is available.
The release note is : http://hostap.epitest.fi/gitweb/gitweb. ... /ChangeLog
Do you think upgrading might solve the problem or will it introduce new problems as no compatibility with net_applet?
User avatar
ajvbun
 
Posts: 8
Joined: Jun 1st, '12, 22:34
Location: Bunschoten, Netherlands

Re: WiFi unable to connect N 6230

Postby doktor5000 » Jun 5th, '12, 18:29

Well, no, rereading your report you seem to be bitten by https://bugs.mageia.org/show_bug.cgi?id=3344 where the root cause is networkmanager
So you should either decide to only use networkmanager or only net_applet to manage network connections, and maybe wipe your network connections settings clean and restart from scratch.

Which one do you like better?
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: 18068
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: WiFi unable to connect N 6230

Postby ajvbun » Jun 5th, '12, 23:22

you can ask difficult questions.
there are at least 5 related programs
1) net_applet 2) nm-applet 3) drakconnect 4) draknetcenter and 5) drakroam
I like the system tray application / icon as started by nm-applet most.
I will uninstall net_applet and check proper operation of nm_applet.
User avatar
ajvbun
 
Posts: 8
Joined: Jun 1st, '12, 22:34
Location: Bunschoten, Netherlands

Re: WiFi unable to connect N 6230

Postby ajvbun » Jun 6th, '12, 00:05

Update.
1) using MCC uninstalling drakx-net-applet
2) reboot see : error while initializing DBus
3) delete /etc/sysconfig/network-scripts/ifcfg-wlan0
4) $ nm-applet see : tray icon
5) right click tray icon - edit connections | Wireless | Add
.... SSID : <ssid of open network>
.... device MAC : <mac of wlan0>
.... save
Using nm-applet I can switch between eth0 and wlan0-open network
6) right click tray icon - edit connections | Wireless | Add
Wireless tab:
.... SSID : <ssid of protected network>
.... BSSID : <mac address of AP> (also tried with this field empty)
.... device MAC : <mac of wlan0>
Wireless security tab:
.... security : WPA & WPA2 Personal
.... password : editfield is not accepting keyboard entry
IPv4 settings
.... Method : manual
.... Addresses | Add : editfield not accepting keyboard entry
.... DNS servers : editfield not accepting keyboard entry
.
I am unable to proceed and can not make a connection to a protected AP.
Is this a known behavior as far as you know?

7) uninstall networkmanager-applet
8) reboot
9) install networkmanager-applet --> same situation - unable to enter password and / or IP settings and unable to connect

10) Start | Network Center - I can enter password and IP settings but again : connection failed to protected AP
Conclusion : I am still where I was.
User avatar
ajvbun
 
Posts: 8
Joined: Jun 1st, '12, 22:34
Location: Bunschoten, Netherlands

Re: [CLOSED] WiFi unable to connect N 6230

Postby ajvbun » Jun 8th, '12, 00:16

I tried Fedora 17 Live KDE. In F17 WiFi is also using NetworkManager and here it worked out of the box to my protected AP.
Thank you very much for all the help you provided, I appreciated this very much.
But no Wifi in Mageia is a real stopper for me. I try my luck with Fedora, but I have to say Mageia has a much cleaner KDE configuration.
Sofar I am happy with F17.
User avatar
ajvbun
 
Posts: 8
Joined: Jun 1st, '12, 22:34
Location: Bunschoten, Netherlands

Re: [CLOSED] WiFi unable to connect N 6230 works Fine

Postby ram_mar » Dec 23rd, '12, 01:58

I discover yesterday Mageia 2, thanks to God and to the who make it possible. Mandriva is dead now.
I have the some problems with this Wireless Centrino. I reinstal Mageia2 and when is prompt in first boot to erase unused files I said NO. I cancel mirror update at first boot too. Also do not plug wired network. When kde bigan I configured wireless network with drakconect and Works fine.
Then I config mirror update. After update its run Fine!!!
Mageia is Now my choice. Congratulations!!!!
Regards
Raimundo Maurício
ram_mar
 
Posts: 1
Joined: Dec 23rd, '12, 01:47


Return to Networking

Who is online

Users browsing this forum: No registered users and 1 guest