What's new

Safest way to replace firmware unix utils?

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

SnakeByte

Regular Contributor
Is there an entware package that includes a more beefy version of netstat or a package that contains the ss utility?

Oddly, these exists:
https://github.com/RMerl/asuswrt-merlin/blob/master/release/src/router/iproute2-3.x/man/man8/ss.8
https://github.com/RMerl/asuswrt-merlin/blob/master/release/src/router/iproute2-3.x/misc/ss.c

Does that mean there's a way to compile the utility I need and somehow include it?

Or barring that, is there a way to expose the tcp/ip protocol statistics on an asuswrt router?
 
Last edited:
Look at the various net-tools-* packages on Entware.

Code:
admin@Stargate88:/tmp/home/root# opkg find net-*
net-tools-arp - 1.60-3 - Program arp from net-tools. Manipulate kernel's ARP cache.
 Add, delete an entry, or to dump the entire cache.
net-tools-hostname - 1.60-3 - Program hostname from net-tools.
 Reports or sets the name of the current host system.
net-tools-ifconfig - 1.60-3 - Program ifconfig from net-tools.
 Configure network interfaces.
net-tools-ipmaddr - 1.60-3 - Program ipmaddr from net-tools.  Adds,
 deletes and shows an interface's multicast addresses.
net-tools-iptunnel - 1.60-3 - Program iptunnel from net-tools.
 Adds, changes, deletes and shows an interface's tunnels.
net-tools-mii-tool - 1.60-3 - Program mii-tool from net-tools.  Checks or sets
 the status of a network interface's Media Independent
 Interface (MII) unit.
net-tools-nameif - 1.60-3 - Program nameif from net-tools
 Trivial File Transfer Protocol server.
net-tools-netstat - 1.60-3 - Program netstat from net-tools. Report network
 connections, routing tables, and interface statistics.
net-tools-nisdomainname - 1.60-3 - Program nisdomainname from net-tools.
 Same as domainname.
net-tools-plipconfig - 1.60-3 - Program plipconfig from net-tools.  Fine tune the
 PLIP device parameters, to improve its performance.
net-tools-rarp - 1.60-3 - Program rarp from net-tools.
 Manipulate the kernel's RARP table.
net-tools-slattach - 1.60-3 - Program slattach from net-tools.  Attaches a
 network interface to a serial line. This allows
 to use normal terminal lines for point-to-point
 links to other computers.
net-tools-ypdomainname - 1.60-3 - Program route from net-tools.
 Same as domainname.
admin@Stargate88:/tmp/home/root# opkg find net-tools*
net-tools-arp - 1.60-3 - Program arp from net-tools. Manipulate kernel's ARP cache.
 Add, delete an entry, or to dump the entire cache.
net-tools-hostname - 1.60-3 - Program hostname from net-tools.
 Reports or sets the name of the current host system.
net-tools-ifconfig - 1.60-3 - Program ifconfig from net-tools.
 Configure network interfaces.
net-tools-ipmaddr - 1.60-3 - Program ipmaddr from net-tools.  Adds,
 deletes and shows an interface's multicast addresses.
net-tools-iptunnel - 1.60-3 - Program iptunnel from net-tools.
 Adds, changes, deletes and shows an interface's tunnels.
net-tools-mii-tool - 1.60-3 - Program mii-tool from net-tools.  Checks or sets
 the status of a network interface's Media Independent
 Interface (MII) unit.
net-tools-nameif - 1.60-3 - Program nameif from net-tools
 Trivial File Transfer Protocol server.
net-tools-netstat - 1.60-3 - Program netstat from net-tools. Report network
 connections, routing tables, and interface statistics.
net-tools-nisdomainname - 1.60-3 - Program nisdomainname from net-tools.
 Same as domainname.
net-tools-plipconfig - 1.60-3 - Program plipconfig from net-tools.  Fine tune the
 PLIP device parameters, to improve its performance.
net-tools-rarp - 1.60-3 - Program rarp from net-tools.
 Manipulate the kernel's RARP table.
net-tools-slattach - 1.60-3 - Program slattach from net-tools.  Attaches a
 network interface to a serial line. This allows
 to use normal terminal lines for point-to-point
 links to other computers.
net-tools-ypdomainname - 1.60-3 - Program route from net-tools.
 Same as domainname.

Asuswrt only uses the "tc" and "ip" tools from iproute2. The rest is from Busybox.
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top