Entware Installation on DD-WRT: Difference between revisions
No edit summary |
No edit summary |
||
| Line 66: | Line 66: | ||
</syntaxhighlight>I know I said I wouldn't explain things, but it needs to be said for the above short script. The mount command effectively replaces the DD-WRT version of the profile file (this is the BASH login script for users). The rc.unslung start command is what the Entware installation script said to add to the Startup Script. RC.UNSLUNG starts all the installed services for Entware. | </syntaxhighlight>I know I said I wouldn't explain things, but it needs to be said for the above short script. The mount command effectively replaces the DD-WRT version of the profile file (this is the BASH login script for users). The rc.unslung start command is what the Entware installation script said to add to the Startup Script. RC.UNSLUNG starts all the installed services for Entware. | ||
=== BusyBox === | ===BusyBox=== | ||
*The first useful item to install is an updated version of BusyBox (Google it). Use the below commands<syntaxhighlight lang="abap"> | *The first useful item to install is an updated version of BusyBox (Google it). Use the below commands<syntaxhighlight lang="abap"> | ||
| Line 73: | Line 73: | ||
</syntaxhighlight>One thing to keep in mind is that when a user logs in, the DD-WRT version of BusyBox is what starts things off, so it will report a different version than what Entware installs and is actively running. Just type: busybox That will display the version of BusyBox currently running. | </syntaxhighlight>One thing to keep in mind is that when a user logs in, the DD-WRT version of BusyBox is what starts things off, so it will report a different version than what Entware installs and is actively running. Just type: busybox That will display the version of BusyBox currently running. | ||
=== Other Really Useful Basic Command Additions === | === OPKG Note === | ||
Unlike yum, the OPKG command doesn't seem to allow one to install packages by using a wildcard. For instance, if one wanted to install all the PERL packages, this won't work: opkg install perl* But [https://www.linuxquestions.org/questions/linux-newbie-8/how-to-install-a-package-using-opkg-from-a-piped-search-result-4175580790/ someone] wrote this cool little script;<syntaxhighlight lang="abap"> | |||
opkg list | grep WhatEverNamePackagesBeginWith| awk '{print $1}' | xargs opkg install | |||
</syntaxhighlight> | |||
===Other Really Useful Basic Command Additions=== | |||
<syntaxhighlight lang="abap"> | <syntaxhighlight lang="abap"> | ||
opkg install coreutils-dir | opkg install coreutils-dir | ||
opkg install kmod | opkg install kmod | ||
</syntaxhighlight>The coreutils- | </syntaxhighlight>Remember, DD-WRT is designed to fit into limited storage space on routers. The key word here is 'limited'. But with a USB Drive, space isn't so much of an issue, so why not install the full version of all utilities that come with BusyBox and DD-WRT? <syntaxhighlight lang="abap"> | ||
opkg list | grep coreutils- | awk '{print $1}' | xargs opkg install | |||
</syntaxhighlight> | |||
* | * | ||