| Summary: | baselayout-1.8.8: patch to enable iproute2 style network config | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Dean Bailey <alron> |
| Component: | [OLD] baselayout | Assignee: | Gentoo's Team for Core System packages <base-system> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | CC: | georgeb |
| Priority: | High | Keywords: | InVCS |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
baselayout-1.8.8 patch to allow iproute2 usage.
baselayout-1.8.8: patch to enable iproute2 style network config - fixed forward ported Dean's patch to baselayout-1.9.1 forward ported Dean's patch to baselayout-1.9.1 revised |
||
|
Description
Dean Bailey
2004-04-12 19:38:35 UTC
Created attachment 29178 [details, diff]
baselayout-1.8.8 patch to allow iproute2 usage.
Appears I had a typo in the first patch. Attaching a fixed version. Created attachment 29181 [details, diff]
baselayout-1.8.8: patch to enable iproute2 style network config - fixed
Updated patch, there was a typo in the first one.
You put a lot of work into this! I'll work on getting it merged... post-2004.1. Thanks! I found another typo on my part. I also have built a net.wlan0 script based on the net.eth0 script I worked on. The net.wlan0 script is of course for wireless connections. Expect a patch update from me later tonight. Dean, I haven't forgotten about this, I still plan to get it in :-) Does Gentoo plan to keep backward compatibility with old-style iface and ifconfig settings? It's pretty obvious from the patch that you cannot convert old-stype iface/ifconfig settings to the new iproute2 settings format; so if Gentoo keeps backward compatibility you will not be able to remove the dependency on net-tools (I'm not sure you want that either...) Will iproute2 become a prerequisite for baselayout? If so, would it not make sense to use the /sbin/ip utility for status_IFACE too? Created attachment 31244 [details, diff]
forward ported Dean's patch to baselayout-1.9.1
Don't know if this helps in any way, but I needed this patch forward-ported to
baselayout-1.9.1 (rc-scripts-1.4.12) so I did this myself; if it helps
development, here it is;
Created attachment 31247 [details, diff]
forward ported Dean's patch to baselayout-1.9.1 revised
I introduced a typo in the last patch;
I made some MAJOR modifications to this patch so that ifconfig is completely unneeded for an iproute2-based configuration. Nonetheless, thanks a TON for your patches. You gave this a serious boost. Now committed to rc-scripts cvs. Will show up in the next baselayout :-) baselayout-1.10 is now in portage. It's package.masked at the moment but will be unmasked shortly. |