netcfg's homepage: https://www.archlinux.org/netcfg/
This is a pretty simple package.
I added an ebuild for this to my overlay if you would care to give it a spin.
Or just layman -a floppym.
I will move it to the tree once it has been tested a bit; your feedback is appreciated.
This is actually working, awesome.
I've set up an Ethernet connection (IPv4 DHCP and IPv6 static) and another one (IPv6 static with SKIP_NOCARRIER="yes").
Also I think there should be USE flags for pulling dhcpcd, ppp etc. in the future.
(In reply to comment #4)
I'm not a big fan of use flags for optional runtime dependencies. I will probably add a post install message.
I also have an interest in this package, so after speaking with Mike, I
am signing on as a co-maintainer.
I also agree that we shouldn't add use flags for optional runtime
Since sys-power/upower won't depend on pm-utils in the next release (as said in bug 457706), pm-utils will probably get removed in some systems.
Then there's no need for netcfg to install /usr/lib/pm-utils/sleep.d/50netcfg (and I propose a USE flag for installing this file).
I should mention there's another tool called netctl aimed to replace netcfg:
I'd love to have it in Gentoo too, once it gets stable in Arch.
I was experimenting with network namespaces and found out that 'bridge' profile is broken:
netcfg scripts look for 'brctl' in /usr/sbin while in Gentoo it is in /sbin.
(In reply to comment #8)
> I should mention there's another tool called netctl aimed to replace netcfg:
> I'd love to have it in Gentoo too, once it gets stable in Arch.
(In reply to comment #9)
> I was experimenting with network namespaces and found out that 'bridge'
> profile is broken:
> netcfg scripts look for 'brctl' in /usr/sbin while in Gentoo it is in /sbin.
In that case, I would vote for removing netcfg and focusing on netctl.
What do you think? If you don't get to it, I can look into writing an ebuild for netctl, if not today, sometime tomorrow.
Makes sense. Here is the info for netctl:
net-misc/netctl has been added to the tree. I also fixed the brctl path issue in the netctl package.