Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 160347 - net-misc/networkmanager needs better postinstall instructions
Summary: net-misc/networkmanager needs better postinstall instructions
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Other
: High enhancement (vote)
Assignee: Steev Klimaszewski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-05 17:23 UTC by Xake
Modified: 2008-02-19 17:20 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xake 2007-01-05 17:23:24 UTC
To start with: this should go as elog (the command) instead of einfo.

The following message is pretty fuzzy:

To use NetworkManager disable all entries on runlevels
net.***X and run /etc/init.d/NetworkManager
you can add to runlevels writing on your terminal
rc-update add NetworkManager default

And for wired dhcp-interface it just seems to need:
echo modules_eth0=( "dhclient" ) >> /etc/conf.d/net && eselect rc add NetworkManager
Comment 1 Luis Medinas (RETIRED) gentoo-dev 2007-01-06 19:27:58 UTC
Ok i accept the idea but can you explain better what you are thinking ? About the eselect thingy you are talking about a switcher between baselayout net and NM ? Patches are welcome :).
Comment 2 Xake 2007-01-06 20:19:43 UTC
What I mean is that baselayout uses by default dhcpcd as its dhcp-client, but you can specify your own with modules_name-of-interface in /etc/conf.d/net and by specify dhclient as mine dhcp-client for my interfaces I have avoided all troubles associated with disabling net.* (for examples some other services like sshd acted strangely for me).
And when dhcdbd starts up it seems to take control over the already running dhclient instead of (like many have complained over) starting it's own sided with dhcpcd.
This works for wired-networks at least, but I have not had the ability trying it out with wireless.

The eselect-thing is just me using 'eselect rc' instead of 'rc-update'.

When it comes to the message in the ebuild: currently it is very unclear what it means at all. It may be a placeholder until you are sure how to handle NetworkManager within gentoo but in its current form it is just plain confusing.
Do you mean something like:

"To use NetworkManager you have to disable all net.***X and run /etc/init.d/NetworkManager. To start NetworkManager at boot enter the command 'rc-update add NetworkManager default'."
Comment 3 Todd Partridge 2008-02-16 02:29:16 UTC
I updated the GLW on NetworkManager this should ... help.

http://gentoo-wiki.com/NetworkManager
Comment 4 Steev Klimaszewski (RETIRED) gentoo-dev 2008-02-19 17:20:00 UTC
Well, dhcdbd requires dhcp, not dhcpcd or anything else, this is from upstream, nothing that we can do about it.  I still don't understand what you are meaning by the postinstall instructions.  The postinstall is simply a quick pointer, not a README.