Bug 1138 - network connection fails during install due to NetworkManager option
Summary: network connection fails during install due to NetworkManager option
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Installer (show other bugs)
Version: 3
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Thierry Vignaud
QA Contact:
URL:
Whiteboard: 3alpha2 MGA2TOO
Keywords: NEEDINFO, PATCH
Depends on:
Blocks: 7557
  Show dependency treegraph
 
Reported: 2011-05-04 21:52 CEST by Filip Komar
Modified: 2013-06-08 10:48 CEST (History)
10 users (show)

See Also:
Source RPM: drakx-net
CVE:
Status comment:


Attachments
First addition of sources (140.94 KB, image/jpeg)
2011-05-26 20:30 CEST, Filip Komar
Details
Setting up connection type (108.74 KB, image/jpeg)
2011-05-26 20:30 CEST, Filip Komar
Details
Chosing ethernet card (94.01 KB, image/jpeg)
2011-05-26 20:31 CEST, Filip Komar
Details
DHCP or not (98.48 KB, image/jpeg)
2011-05-26 20:33 CEST, Filip Komar
Details
IP settings (95.23 KB, image/jpeg)
2011-05-26 20:34 CEST, Filip Komar
Details
Connection control (105.07 KB, image/jpeg)
2011-05-26 20:34 CEST, Filip Komar
Details
Connect now? (100.99 KB, image/jpeg)
2011-05-26 20:35 CEST, Filip Komar
Details
Wizard done, but connection doesn't work (112.18 KB, image/jpeg)
2011-05-26 20:38 CEST, Filip Komar
Details
disable NM by default while installing (mga#1138) (1.03 KB, patch)
2012-01-04 14:44 CET, Thierry Vignaud
Details | Diff
prevent enabling NM at install time (1.07 KB, patch)
2012-01-08 15:03 CET, Thierry Vignaud
Details | Diff

Description Filip Komar 2011-05-04 21:52:26 CEST
Description of problem:
Confusing message about network troubles but network actually works.

Version-Release number of selected component (if applicable):
beta 2 DVD 32bit

How reproducible:
This happens in Slovene language but probably others too.

Steps to Reproduce:
1. boot DVD
2. configure network (wired in my case)
3. click on connect button 
4. message says that connection was not successful but it was established already and works fine (for updates)
Thierry Vignaud 2011-05-06 14:16:42 CEST

CC: (none) => thierry.vignaud
Assignee: bugsquad => thierry.vignaud

Comment 1 Filip Komar 2011-05-26 20:30:06 CEST
Created attachment 473 [details]
First addition of sources
Comment 2 Filip Komar 2011-05-26 20:30:57 CEST
Created attachment 474 [details]
Setting up connection type
Comment 3 Filip Komar 2011-05-26 20:31:52 CEST
Created attachment 475 [details]
Chosing ethernet card
Comment 4 Filip Komar 2011-05-26 20:33:33 CEST
Created attachment 476 [details]
DHCP or not
Comment 5 Filip Komar 2011-05-26 20:34:21 CEST
Created attachment 477 [details]
IP settings
Comment 6 Filip Komar 2011-05-26 20:34:56 CEST
Created attachment 478 [details]
Connection control
Comment 7 Filip Komar 2011-05-26 20:35:41 CEST
Created attachment 479 [details]
Connect now?
Comment 8 Filip Komar 2011-05-26 20:38:09 CEST
Created attachment 480 [details]
Wizard done, but connection doesn't work

At Beta 2 I got this same confusing message but connection was established in RC it was not.
Comment 9 Filip Komar 2011-05-26 20:50:46 CEST
I tried RC Dual arch CD this time with a little different results. For better report I pictured the process.

This time message was the same about connection, but connection itself didn't work.

I tried to go back to "Setting up connection type" (sorry for guesing from Slovenian) and connection was established automatically. This could be a workaround but should be at least mentioned in Errata.
Filip Komar 2011-05-26 20:54:11 CEST

Summary: Confusing message about network configuration during install => Trouble with wired network connection during install

Filip Komar 2011-05-26 21:18:12 CEST

Severity: enhancement => normal

Thierry Vignaud 2011-05-27 10:15:14 CEST

Source RPM: (none) => drakx-net

Comment 10 Marja Van Waes 2011-10-12 20:07:55 CEST
ping?

CC: (none) => marja11

Comment 11 Filip Komar 2011-11-01 13:35:44 CET
Unfortunately I don't install as much as I did in in the past. But here is recent experience from another PC.
I'm installing Mageia 1 Dual arch CD but dd-ed to USB on eee PC 701 netbook. There is still a "confusing message about network troubles but network actually works".

CC: (none) => filip.komar

Comment 12 Filip Komar 2012-01-04 11:43:44 CET
I tried with Mageia 2 Alpha2 DVD 32bit.

Connection didn't work in setup. It didn't even work later. It did when I unchecked "Allow interface to be controled by Network Manager". See attachment 478 [details]. So it seems conected with that. I'll try to verify that.
Comment 13 Thierry Vignaud 2012-01-04 14:40:38 CET
Thanks for debugging this!

Keywords: (none) => PATCH
Status: NEW => ASSIGNED
CC: (none) => mageia
Summary: Trouble with wired network connection during install => network connection fails during install due to NetworkManager option

Comment 14 Thierry Vignaud 2012-01-04 14:44:07 CET
Created attachment 1330 [details]
disable NM by default while installing (mga#1138)

Blino, WDYT?

Attachment 473 is obsolete: 0 => 1
Attachment 474 is obsolete: 0 => 1
Attachment 475 is obsolete: 0 => 1
Attachment 476 is obsolete: 0 => 1
Attachment 477 is obsolete: 0 => 1
Attachment 479 is obsolete: 0 => 1
Attachment 480 is obsolete: 0 => 1

Comment 15 Filip Komar 2012-01-04 21:27:41 CET
(In reply to comment #13)
> Thanks for debugging this!
Thanks. I'm grateful user ;).

Connection is working but PARTIALLY if I uncheck "Allow interface to be controlled by Network Manager" during install.
How partially: I can ping DNS IP but not internet domain names. If I go back to dialog with connection choice and click "Back" it tries to start connection by itself and it then works fully.

BTW, I have wired connection to router with PPPoE over "VDSL" router.
Comment 16 Olivier Blin 2012-01-08 14:21:04 CET
NM should not be checked by default during install, that's weird.
Thierry: your patch will override the user choice by always disabling NM when writing the file from install
Comment 17 Filip Komar 2012-01-08 14:46:21 CET
NM is unchecked by default during install. I only wanted to say that if NM is checked network doesn't work at all under any other combination of check boxes.

Sorry for not being clear enough.

What is strange that it works partially as described in Comment 15.
Comment 18 Thierry Vignaud 2012-01-08 15:03:42 CET
Created attachment 1347 [details]
prevent enabling NM at install time

side effect: in order to enable NM, one has to wait rebooting in the installed system.
Best way would be to alter /etc/sysconfig/network-scripts/network-functions so that NM_CONTROLLED would not be enabled when DURING_INSTALL is set

Attachment 1330 is obsolete: 0 => 1

Comment 19 Thierry Vignaud 2012-01-08 15:04:28 CET
Which means we'll need to handle in systemd eventually when shell script will eventually get killed...

CC: (none) => mageia

Comment 20 Andrew Willson 2012-02-25 15:39:44 CET
I found this same issue after a clean install of an x64 system, the problem no long occures NM_Controlled was set to false. Loading dhcpcd manually would also load the network. The defaul choice, dhclient, would not load at all.

CC: (none) => lazerousz

Comment 21 Filip Komar 2012-03-19 16:07:45 CET
As I was afraid there is another issue connected with this bug.

I tried fresh install of M2B2 on HD.

Connection is working PARTIALLY during install. I can ping DNS IP but not internet domain names. If I go back to dialog with connection choice and click "Back" it tries to start connection by itself and it then works fully.

BTW, I have wired connection to router with PPPoE over "VDSL" router.
Comment 22 Thierry Vignaud 2012-03-19 17:04:57 CET
but???
Comment 23 Filip Komar 2012-03-19 17:38:46 CET
(In reply to comment #22)
> but???
Sorry Thierry, I don't understand your question. Did you read full comment #21? If install logs are needed to debug this more I can provide them. Would it help if I try loading dhcpcd manually as Andrew suggests in comment #20? I plan another test install. This time will be upgrade with copied /home. I'll report if there will be any difference or new info.

I agree that this is not a show stopper because user can update on reboot. Another workaround is already mentioned in comment #21. But in these days we don't expect wired network trouble. Maybe we could mention that on errata?
Comment 24 Thierry Vignaud 2012-03-19 17:50:45 CET
Sorry your answer was truncated in the email I read and I though your answer wasn't complete
Comment 25 Filip Komar 2012-03-25 19:38:27 CEST
I tried upgrade install of M2b2 but unfortunately it was even worse. NM and all other flags were checked so network didn't work at all. After unchecking NM it was the same as described in comment #21.

I also tried with dhcpcd from GUI with the same results.
Comment 26 Filip Komar 2012-05-01 18:46:22 CEST
Unfortunately bug title no longer reflect one left issue:

I tried many times unsuccessfully and repeatably with in Mageia 2 Beta3 DVD Europe1.

Connection is working PARTIALLY after adding sources in install. I can ping DNS IP but not internet domain names. If I go back to dialog with connection choice and click "Back" it tries to start connection by itself and it then works fully. Unfortunately before downloading updates installer tries to start network again despite that it worked during installation of packages and connection is lost again.

Strange thing is that LIVE CD works.

I discovered this in dmesg just after message "link is up...":
"netlink: 33 bytes leftover after parsing attributes"
It seems connected with this issue.

Module used is tg3. Network card is:
Dell (by Broadcom) / NetXtreme BCM5751 Gigabit Ethernet PCI Express (see attachment 475 [details]).
Comment 27 Dave Hodgins 2012-05-16 03:19:53 CEST
This bug is still present in the second version of the final dvd iso for
Mageia 2.

CC: (none) => davidwhodgins

Comment 28 Marja Van Waes 2012-05-26 13:06:16 CEST
Hi,

This bug was filed against cauldron, but we do not have cauldron at the moment.

Please report whether this bug is still valid for Mageia 2.

Thanks :)

Cheers,
marja

Keywords: (none) => NEEDINFO

Comment 29 Marja Van Waes 2012-06-16 19:11:49 CEST
(In reply to comment #27)
> This bug is still present in the second version of the final dvd iso for
> Mageia 2.

so 99,999% chance it is still valid

Keywords: NEEDINFO => (none)
Whiteboard: (none) => MGA2TOO

Comment 30 Juergen Harms 2012-10-03 13:18:12 CEST
Still valid in Mageia3 alpha2:

Hitting the checkbutton after configuring the network still creates a very long timeout and then displays a false failed message.

CC: (none) => juergen.harms
Whiteboard: MGA2TOO => 3alpha2 MGA2TOO

Manuel Hiebel 2012-10-03 13:58:03 CEST

Blocks: (none) => 7557

Comment 31 Juergen Harms 2012-10-03 21:07:59 CEST
In a discussion in the QA discuss ML, mention was made of two bugs on related issues (both closed now):

- #5772 on a false failure report during install WHEN A NEW ONLINE MEDIUM is declared

- #5830 on a false failure report BY DRAKCONNECT WHEN AT INSTALL-TIME NO NETWORK HAD BEEN AVAILBLE.

#1183 is on the failure of the network test during installation WITH AN AVAILABLE NETWORK CONNECTION AT THAT TIME.

The initial description of the present bug does not explicitely mention that the system is connected to a network while the install is going on, but the comments make clear that this is the case. And I confirm, I have this problem with an active network connection during install (and the system boots immediately after install with a fully functional network interface configured).

I think to remember that this problem has been observed by other users and discussed in the forum, but forum search is at present not available.
Comment 32 Derek Jennings 2012-10-15 17:47:07 CEST
It is working for me with Mageia3Alpha2

Test Procedure -
Using MGA3A2 DVD - i586, boot in VBox

After partitioning stage when asked is additional media available select ftp.
After installing base software network dialogue appears. Regardless whether the NM checkbox is selected or not, the network test succeeds without a delay.

2nd Test -
Using MGA3A2 DVD - i586, boot in VBox

Complete install without declaring additional media and at the Summary near the end of installation select 'Network-Configure'  Select the NM checkbox in the network dialogue.
Once again network test succeeds without a delay.

CC: (none) => derekjenn

Comment 33 Juergen Harms 2012-10-15 23:50:03 CEST
This problem evidently happens on some machines and on some others not. I reproducibly have the problem on my x86-64 Dell desktop (a fast dual-core machine).

The problem is not present on my Dell D820 laptop, a rather slow i586 machine. Will tomorrow install Alpha2 on the i586 machine of my wife and post the result.
Comment 34 Frank Griffin 2012-10-29 13:24:05 CET
Please refer to the discussion in bug#7873 and bug#2160 and see if your problems with NM go away if you either allow GNOME (if you have it installed) to activate it or you install plasma-network-management under KDE, add it to your panel, and use it to configure your SSID.

For NM to handle wireless correctly, it needs to create SSID-specific files of its own by parsing the ifcfg files produced by drakconnect.  GNOME's nm-applet does this automatically, since it has no option to *not* use NM, but since NM isn't the default yet for other desktops, it doesn't happen automatically there.  

You'll need to install NM and let it start, and recreate your wireless interface with drakconnect specifying "Allow NM to control this interface".

Please test and post your results, as whether NM works for all the chips involved when it's properly configured will have a significant impact on how it needs to be handled for non-GNOME desktops in MGA3.
Comment 35 Frank Griffin 2012-10-29 14:24:26 CET
(In reply to comment #34)

n/a here.

CC: (none) => ftg

Comment 36 Juergen Harms 2012-10-29 15:20:58 CET
Taking this as a reminder: I have now also installed Alpha 2 on my fast x86-64 desktop (wired ethernet, fixed IP address.

Result: the network comes up smoothly, the problem is not there any more. For me, the problem has been resolved sometime during Alpha2 development.

Re comment #34: n/a here
Comment 37 Manuel Hiebel 2012-10-29 18:19:06 CET
(for filip)

Keywords: (none) => NEEDINFO

Comment 38 Filip Komar 2012-11-18 19:51:58 CET
I tested Mageia-3-alpha3-i586-DVD once and unfortunately I still experienced ONLY PARTIALLY working connection during install. I can ping DNS IP but not internet domain names. There is a change in the install process as it's not possible to select type of connection again when going back. Before downloading updates installer tries to start network again but IIRC without success. I'll try some more and report.

BTW on both LIVE media network worked as expected.
Comment 39 Juergen Harms 2012-11-19 08:09:01 CET
I happen to precisely look at this issue when I installed Alpha3 x86-64 on a Dell Latitude 6530: works like a charm. For me, the problem has been solid in the past and now has gone away.

Is it possible to get more evidence on the specific environment that makes the difference between working and not working?
Comment 40 Filip Komar 2013-06-08 10:48:26 CEST
Clean install of Mageia-3-i586-DVD.iso didn't showed such symptoms so I'm closing this bug as no one seems to experience it.

Version: Cauldron => 3
Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED


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