Webmin on Entware for DD-WRT: Difference between revisions

No edit summary
No edit summary
Line 10: Line 10:
I'm using a Buffalo WZR-600DHP Router with an Atheros AR7161 CPU (AKA System on a Chip) which is based on the MIPS 24Kc foundation (single CPU, not dual).  I did the installation September of 2019 and the latest version of Webmin available was 1.930
I'm using a Buffalo WZR-600DHP Router with an Atheros AR7161 CPU (AKA System on a Chip) which is based on the MIPS 24Kc foundation (single CPU, not dual).  I did the installation September of 2019 and the latest version of Webmin available was 1.930


There are no OPKG installations available, so I downloaded the TAR file and used the instructions on Webmin's Wiki site.
There are no OPKG installations available, so I downloaded the TAR file (http://www.webmin.com/download.html) and used the instructions (they refer to it as "the old fashion way", but it is the only way as there are no pre-configured packages) on Webmin's Wiki site: https://doxfer.webmin.com/Webmin/Installation  Pick your spot to untar it. To start the script, go to the untarred webmin directory and type: ./setup.sh


I modified all the paths to reflect my Entware directory (IE, the scripts default config file location was set as /etc/webmin, which for DD-WRT is a non-writable area, so that would fail, switched it to /opt/etc/webmin).
I modified all the paths to reflect my Entware directory (IE, the scripts default config file location was set as /etc/webmin, which for DD-WRT is a non-writable area, so that would fail, switched it to /opt/etc/webmin).
For me, my paths for the log file was: /opt/var/log/webmin and the path for the perl executable was: /opt/bin
I picked "Generic Linux" for the OS as Entware, Optware, DD-WRT, OpenWRT were not listed.
To get the linux kernel, use this command: uname -r


==Issues during installation==
==Issues during installation==
Line 25: Line 31:
As it turns out the opkg install command doesn't allow for wildcards, so trying the command opkg install perlbase* did not work.  After a quick bit of research, I located a webpage (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-install-a-package-using-opkg-from-a-piped-search-result-4175580790/) where a nice guy named "magische_vogel" had come up with this command;
As it turns out the opkg install command doesn't allow for wildcards, so trying the command opkg install perlbase* did not work.  After a quick bit of research, I located a webpage (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-install-a-package-using-opkg-from-a-piped-search-result-4175580790/) where a nice guy named "magische_vogel" had come up with this command;
  opkg list | grep WhatEverNamePackagesBeginWith| awk '{print $1}' | xargs opkg install
  opkg list | grep WhatEverNamePackagesBeginWith| awk '{print $1}' | xargs opkg install
opkg list | grep perlbase-| awk '{print $1}' | xargs opkg install
It worked great, and Webmin functioned after that.
It worked great, and Webmin functioned after that.