Bug 3928 - net-applet connect reverts NEEDHOSTNAME to NO
Summary: net-applet connect reverts NEEDHOSTNAME to NO
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Olivier Blin
QA Contact:
URL:
Whiteboard: NEEDINFO
Keywords: Triaged
Depends on:
Blocks: 5015 7557
  Show dependency treegraph
 
Reported: 2011-12-29 21:37 CET by Frank Griffin
Modified: 2019-02-20 00:28 CET (History)
2 users (show)

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


Attachments

Description Frank Griffin 2011-12-29 21:37:15 CET
Whenever my wireless connection drops and I use net-applet to connect to the access point again, the ifcfg NEEDHOSTNAME value is reset to NO.

This has nothing to do with similar complaints about networkmanager forcibly setting the hostname and domain to local defaults, as the networkmanager rpm has been removed from my system.  This is pure net-applet.
Comment 1 Manuel Hiebel 2011-12-29 22:31:55 CET
Hi, thanks for reporting this bug.
Assigned to the package maintainer.

(Please set the status to 'assigned' if you are working on it)

Keywords: (none) => Triaged
Assignee: bugsquad => mageia
Source RPM: net-applet => drakx-net

Marja Van Waes 2012-03-18 20:08:38 CET

Blocks: (none) => 5015

Comment 2 Olivier Blin 2012-04-02 22:08:42 CEST
I can't reproduce, if I configure a wireless interface with NEEDHOSTNAME=yes and connect to it with net_applet, NEEDHOSTNAME is not changed.

Is it still valid?

CC: (none) => thierry.vignaud

Comment 3 Frank Griffin 2012-04-02 23:15:42 CEST
No, sorry, I had lost track of this.  This no longer occurs.

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 4 Frank Griffin 2012-05-13 19:59:50 CEST
I'm afraid this is still happening,or has started happening again. I suspect it now has to do with Network Manager running,even if the interface has NM_CONTROLLED=no.

Status: RESOLVED => REOPENED
Resolution: FIXED => (none)

Comment 5 Marja Van Waes 2012-05-26 13:03:49 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

Frank Griffin 2012-06-12 21:41:44 CEST

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

Comment 6 Marja Van Waes 2012-07-06 15:05:02 CEST
Please look at the bottom of this mail to see whether you're the assignee of this  bug, if you don't already know whether you are.


If you're the assignee:

We'd like to know for sure whether this bug was assigned correctly. Please change status to ASSIGNED if it is, or put OK on the whiteboard instead.

If you don't have a clue and don't see a way to find out, then please put NEEDHELP on the whiteboard.

Please assign back to Bug Squad or to the correct person to solve this bug if we were wrong to assign it to you, and explain why.

Thanks :)

**************************** 

@ the reporter and persons in the cc of this bug:

If you have any new information that wasn't given before (like this bug being valid for another version of Mageia, too, or it being solved) please tell us.

@ the reporter of this bug

If you didn't reply yet to a request for more information, please do so within two weeks from now.

Thanks all :-D
Comment 7 Frank Griffin 2012-07-12 13:40:14 CEST
Some more information...

I suspect this happens when the access point changes.  It's happened again to me when I have set NEEDHOSTNAME on my home access point to YES, take the laptop toanother location, connect to a different access point, then bring the laptop back home again and connect to my original access point.  At that point,I'm back to NEEDHOSTNAME=NO.  Roaming is not enabled.

It appears that net-applet is either not saving recent access point profiles, or is not honoring their NEEDHOSTNAME when it rebuilds the ifcfg the next time they are activated.
Manuel Hiebel 2012-09-23 21:29:53 CEST

Blocks: (none) => 7557

Comment 8 Frank Griffin 2012-10-01 15:53:08 CEST
This is not related to NetworkManager, which is not running.  

I can reproduce this easily by

1) running drakconnect to configure wlan0 with NEEDHOSTNAME=YES and selecting YES for "start interface now".  wlan0 comes up, and the ifcfg-wlan0 shows NEEDHOSTNAME=YES after drakconnect ends

2) opening draknetcenter, disconnecting the interface, and re-connecting.to the same interface.  The ifcfg-wlan0 now shows NEEDHOSTNAME=NO.

So, while changing the access point will cause the problem, so will disconnecting and reconnecting to the same access point with draknetcenter.  It appears that the ifcfg is being rebuilt at every connect.

I also notice that sometimes draknetcenter can re-connect to the access point, and sometimes it can't; if it fails, it will fail consistently, but then running drakconnect *or* rebooting connects just fine.  That's not part of this bug report, but it indicates that draknetcenter is not using the same code to bring up an interface as drakconnect or the boot sequence, which may be pertinent here.
Comment 9 Frank Griffin 2012-10-29 13:24:04 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 10 Frank Griffin 2012-10-29 14:16:49 CET
(In reply to comment #9)

n/a here
Comment 11 Marja Van Waes 2015-03-31 23:34:42 CEST
@ Frank

Is this bug still valid?

Please close if it isn't

Thanks :-)

CC: (none) => marja11
Whiteboard: MGA2TOO => NEEDINFO

Comment 12 Frank Griffin 2019-02-20 00:28:18 CET
Closing as OLD.

Status: REOPENED => RESOLVED
Resolution: (none) => OLD


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