Summary: | sys-apps/netcfg: please port netcfg from Arch Linux for easier network configuration | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Pavel Volkov <ao> |
Component: | [OLD] Core system | Assignee: | Mike Gilbert <floppym> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | williamh |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Pavel Volkov
2013-01-21 06:02:22 UTC
This is a pretty simple package. I added an ebuild for this to my overlay if you would care to give it a spin. https://bitbucket.org/floppym/floppym-overlay/src/default/net-misc/netcfg 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 dependencies. 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: https://wiki.archlinux.org/index.php/Netctl 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: > https://wiki.archlinux.org/index.php/Netctl > > 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. @floppym: 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: Tarballs (FTP): ftp://ftp.archlinux.org/other/packages/netctl/ Git: https://projects.archlinux.org/netctl.git net-misc/netctl has been added to the tree. I also fixed the brctl path issue in the netctl package. |