Modify

Opened 4 years ago

Closed 4 years ago

#17026 closed defect (wontfix)

Including minimal iproute2 within busybox for default network management tasks

Reported by: ama_alif@… Owned by: developers
Priority: normal Milestone: Chaos Calmer 15.05
Component: base system Version: Trunk
Keywords: busybox, iproute2 Cc:

Description

Hi developers.
As Linux is now using iproute2 for network configuration, it's better for OpenWRT to use iproute2 for it. I don't mean to replace OpenWRT netifd automated network configuration. Here is my explanation.
Busybox compiled within default makefile is still using ifconfig for manual network configuration. Net-tools (ifconfig) has become obsolete and no longer works on modern network interface, for example some Android phone.
I wonder if Busybox will include minimal version of iproute2 instead of the legacy ifconfig. Ifconfig should be dropped from busybox and replaced by minimal version of iproute2.
I know for sure. To install iproute2, package ip need to be selected from OpenWRT build configuration (menuconfig).
This standalone iproute costs a lot of disk usage, around 150 kB in my case with OpenWRT trunk compiled for TP Link MR3220 which only has 4MB of flash.
If minimal version of iproute2 could be part of busybox, this will greatly save disk space and will adhere to Linux networking standard.
I've posted this subject on forum. https://forum.openwrt.org/viewtopic.php?pid=239680#p239680.

Attachments (0)

Change History (3)

comment:1 Changed 4 years ago by swalker

  • Resolution set to wontfix
  • Status changed from new to closed

comment:2 Changed 4 years ago by anonymous

  • Resolution wontfix deleted
  • Status changed from closed to reopened

Ignoring the problem in the meanwhile is not a solution: There are still a lot of packages, that use scripts that invoke either ip or ifconfig. Providing this tools until netifd - or package interfaces to netifd - support it, will use up space unnessarily.
I plea for dropping full or minimal iproute2 and ifconfig completely and to resemble their functionality by busybox-ip (+all extensions) and to use a wrapper for ifconfig to talk to either netifd directly or to translate the calls to ip * commands.

BTW: Networking/Utils/iproute2 is referenced by some (wrongfully depending) packages without checking for +BUSYBOX_CONFIG_IP:ip

comment:3 Changed 4 years ago by jow

  • Resolution set to wontfix
  • Status changed from reopened to closed

Please don't reopen tickets to enforce discussions. Use the development mailing lists for that.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.