I need to run a script in bash, and the only way to install bash package to OpenWrt that I have found now is opkg install bash , but I don't have Internet access for my router, for which I want to install the package, so I need a way to slove this problem, how to find the off-line package then how can I install that on the router?(Excuse me for my poor English...)
How can I install bash package to OpenWrt without access to Internet?
bash;openwrt
Check out the OPKG Package Manager documentation section on the install argument (under the heading Package manipulation)opkg can install package files from both remote and local locations, as in:opkg install http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/hiawatha_7.7-2_ar71xx.ipkopkg install /tmp/hiawatha_7.7-2_ar71xx.ipkThe latter is (I believe) what you want. This enables you to download the package file for bash on another host, put it on the local filesystem of the OpenWRT device (perhaps using ssh/scp over a direct ethernet link), and then opkg install /path/to/package.ipk, without having it need to connect to the Internet.