#2285 closed (fixed)

BusyBox missing needed functions r17967 wzr-hp-ag300h

Reported by: KingJL Owned by:
Keywords: Cc:

Description (last modified by KingJL)

Busybox has not been enabled for needed functions (e.g. find). These functions are needed by different optware packages. They were working in r17461 and previous releases. Find will also need the -m option enabled. Also, you cannot execute any executable or shell script (needed for optware). The only commands/executables that can be executed are those which are links to busybox.

edit: The commands/executeables issue may have to do with the shell script not beginning with "#!/bin/sh". I have since reverted to 17461. The missing 'find' (also enabling the -m option) command is still a significant issue.

I have confirmed that the shell script execution issue was the '#!/bin/sh'.

The find command is definitely not defined in busybox (see comment below) for this release. As near as I can tell, 'find' is the only commonly used command that is not defined in busybox for this release but was defined in previous all previous releases (17461 and previous).

hardware: wzr-hp-ag300h fw:DD-WRT v24-sp2 std (c) 2011 NewMedia?-NET GmbH Release: 12/07/11 (SVN revision: 17967)

Change History (8)

comment:1 Changed 18 months ago by KingJL

  • Description modified (diff)

comment:2 Changed 18 months ago by facsi

?????????

Why not install busybox then? ipkg install busybox....

comment:3 follow-up: Changed 18 months ago by Sash

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

also ipkg is NOT officially supported!

comment:4 in reply to: ↑ 3 Changed 18 months ago by KingJL

Replying to Sash:

also ipkg is NOT officially supported!

Sash: Let's see... Busybox supported these commands in rlease 17461 and all previous releases for this router; Busybox (as shipped in release 17967) does not support them now; ipkg is NOT officially supported (and thus cannot be depended on); and the status is 'wontfix'. Have I got that right? What are we to expect release to release?

I think I am forwarding this on to dd-wrt management... chris are you listening?!?!

comment:5 Changed 18 months ago by KingJL

  • Resolution wontfix deleted
  • Status changed from closed to reopened

comment:6 Changed 18 months ago by KingJL

  • Description modified (diff)

output from 'busybox':

root@AG300H_DD-WRT:~# busybox BusyBox? v1.19.3 (2011-12-07 03:12:10 CET) multi-call binary. Copyright (C) 1998-2011 Erik Andersen, Rob Landley, Denys Vlasenko and others. Licensed under GPLv2. See source distribution for full notice.

Usage: busybox [function] [arguments]...

or: busybox --list[-full] or: function [arguments]...

BusyBox? is a multi-call binary that combines many common Unix utilities into a single executable. Most people will create a link to busybox for each function they wish to use and BusyBox? will act like whatever it was invoked as.

Currently defined functions:

[, [[, arp, ash, awk, basename, bash, cat, chmod, cmp, cp, cut, date, dc, dd, df, dirname, dmesg, dnsdomainname, du, echo, egrep, env, expr, false, fgrep, free, getopt, grep, halt, hdparm, head, hexdump, hostname, id, ifconfig, insmod, install, ip, ipaddr, iplink, iproute, iprule, iptunnel, kill, killall, klogd, less, ln, logger, login, logread, ls, lsmod, md5sum, mkdir, mkfifo, mknod, mkswap, more, mount, mv, nc, nslookup, pidof, ping, ping6, poweroff, printf, ps, pwd, reboot, rm, rmdir, rmmod, route, run-parts, rx, sed, sendmail, sh, sleep, strings, stty, swapoff, swapon, sync, syslogd, tail, tar, telnet, telnetd, test, time, top, touch, tr, traceroute, traceroute6, true, umount, uname, uniq, uptime, usleep, vconfig, vi, wc, wget, which, xargs, yes

comment:7 Changed 18 months ago by KingJL

  • Description modified (diff)

comment:8 Changed 13 months ago by Sash

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

upgrade and recheck

Note: See TracTickets for help on using tickets.