Bug 20260 - Wifi connection fails on Network & internet configuration part
Summary: Wifi connection fails on Network & internet configuration part
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: Installer (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal major
Target Milestone: ---
Assignee: Mageia tools maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-09 12:17 CET by Andrew Keens
Modified: 2017-08-06 06:52 CEST (History)
2 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Andrew Keens 2017-02-09 12:17:23 CET
Latest Cauldron build avaliable on Mageia site. Burnt on usb with rufus. Minimal install, no X, only recommended packages + docs, after installation part is finished, users and timezones are configured and such, you also get to establish the network connection. In my case it results in error "problems occured during the network connectivity test... "(link 1). TTY accountable for logging (TTY3?) records an error stating "program not found /usr/sbin/wpa_cli"(link 2). Wonder if that's what's causing it. My wireless driver is ath5k. 
Sorry it's in screenshots, i'm yet to figure out how to export installaion logs. Will be glad to provide further info! 
Thanks a lot for your hardwork
Cheers, 

Link1 http://m.imgur.com/dVYpFZF

Link2 http://m.imgur.com/4YLrrdH
Comment 1 Andrew Keens 2017-02-09 12:22:30 CET
Just to be as clear as posdible it did show avaliable networks (as is shown on the second screenshot - trying to establish that connection), just couldn't connect. 
Cheers
Comment 2 Marja Van Waes 2017-02-10 18:40:03 CET
Afaik, if you use a classical iso, any nonfree drivers that you install can only be used after installing and rebooting into your just installed system.

However, I'm amazed that you could see the available networks, so I might be wrong. Thus assigning this bug to the mageiatools maintainers.

Btw, with the Live isos it is possible to connect to the internet before installing, by setting up your network when running Live mode.

CC: (none) => marja11
Assignee: bugsquad => mageiatools

Comment 3 Andrew Keens 2017-02-10 22:48:30 CET
Thanks! 
I dont think it's a nonfree driver to tell the truth, it worked out of the box with the libre distros, it's just that it is missing by default in the RHEL 7 family - the only type of problem i had with it before. 
Great to see you guys offering that many options! I was just playing around with an ideo of building it rather minimal, so i opted for clasic iso. I had some luck in this area with Mageia 5, but i just never tried that configuring network option during the install before.
Comment 4 Frank Griffin 2017-02-11 16:05:56 CET
If you're using the nonfree iso (and if your driver is supported, which it appears to be), *and* if you're doing a net install, you should have gotten a list of NICs at the start and have been prompted for an ESSID if you chose the wireless.

Note that there is a big difference between using the nonfree iso and enabling the nonfree repositories.  The latter, as Marja says, will only affect what's available in the new system, not in the install system.

So the big question is whether your wireless worked when you booted the new system.  The packages installed on the new system are absolutely separate from those available on the install system.  Just because wpa_cli isn't available on the install system doesn't mean it won't be available on the new system.

CC: (none) => ftg

Comment 5 Andrew Keens 2017-02-11 21:59:08 CET
Thanks for yor reply! It was rather a classic installation. Internet works on reboot but i thought i'd still point out that installation isuue - it could give some discouraging first impression to see that error
Comment 6 Andrew Keens 2017-02-18 07:01:20 CET
I guess you could mark it as "not a bug" if it's more or less expected behaviour. Thanks for your time
Comment 7 Frank Griffin 2017-02-18 15:20:45 CET
It is confusing, and has its roots in history because wireless has traditionally required nonfree drivers and Linux distros had a strong slant towards providing only free software.  The attitude was "we're only going to put free stuff on the install diskette, what you do later is your own business".

In the Mandrake/Mandriva days, if you wanted anything nonfree or tainted, you went to a "rogue" site to get it.  Things loosened up with Mageia because the rogue site was hosted by Mandriva and was going away, so we got nonfree and tainted repositories, but it was still a while before the install actually gave you the option of activating them.

We finally got to the point of offering a nonfree boot ISO which would actually allow you to use nonfree support (wireless) *during* the install.
Comment 8 Andrew Keens 2017-02-18 18:03:44 CET
Do you think a fresh reinstall and appropriate log would be of any help? 
The part that sort of confuses me is taking my particular driver into account as a nonfree one. According to "Linux wireless": " Ath5k is a completely FOSS wireless driver for Atheros based wireless chipset versions AR5xxx in the Linux Kernel". Link - https://wireless.wiki.kernel.org/en/users/Drivers/ath5k

To make matters even more complicated, now that i'm thinking of it, i think i did try once connecting to the http mirror on an earlier stage of the same classic installation iso on the same hardware, and it did in fact connect to the network on that stage. I'm pretty sure it was the same pc i tried it on, but once again - i could doublecheck. So chances are high it should be on that installation media, and it connects at one point, but not at the other. 

All in all, Sorry for keeping it rather hectic on a generally speaking not that big of an issue to report on to begin with. 
Once again will be more than happy to cooperate! 
Thanks and good luck!
Comment 9 Andrew Keens 2017-02-18 18:27:58 CET
No, appearantly it was Mageia 5,sorry about that. But i'm on my way reinstalling anyway. Will try to provide that log just in case.
Comment 10 Frank Griffin 2017-02-18 20:28:38 CET
Are you using the netinstall ISO, the nonfree netinstall ISO, or the classic DVD ?  If the nonfree netinstall, you should be prompted with a list of NICs to be used, and it would be interesting to know if your wireless is in the list.

Actually, you can do this without disturbing the installed system, because the list of NICs and the connection to the network occurs before the hard disk is touched.  If you connect or don't connect to the network, you can abort right then with your test results.
Comment 11 Andrew Keens 2017-02-19 06:59:14 CET
Hey! 
So here's the fresh ddebug.log: https://www.pastiebin.com/58a93171961e3
Only this time i did go with required packages, docs plus minimal X. Same classic DVD, mageia-6-sta1-x86_64, same problems connecting to the network during the install. On the first boot internet was ready to go right away (pinged www.google.com).
Cheers,
Comment 12 Andrew Keens 2017-03-07 04:37:20 CET
Problem persists on Mageia 6 Sta 2, 32 bit, classic iso
Comment 13 Andrew Keens 2017-06-20 03:59:14 CEST
Problem persists on Mageia 6 rc, 32 bit, classic iso. Or is it a problem? I haven't made my mind...
The thing that keeps bothering me is that it detects the wireless card, scans for the networks, displays them, then doesn't connect on this stage of install, but autoconnects on the first boot. Seems a little inconsistent to me. 
pasting the fresh log files (todays install): syslog https://www.pastiebin.com/59487ff736aa3
ddebug.log https://www.pastiebin.com/59488087d67fa
Once again, the thing that mostly catches my eye is that line stating 

program not found: /usr/sbin/wpa_cli

And then there's that line saying 

No settings found for driver "ath5k" in category "network::connection::wireless"

but i'm no specialist by any means. 
Anyways, as always thanks for your hardwork, 
Cheers!
Comment 14 Andrew Keens 2017-08-06 06:52:23 CEST
still experiencing this behaviour in mageia 6 32 bit classic installer

Note You need to log in before you can comment on or make changes to this bug.