Posted: Mon Aug 13, 2018 10:18 Post subject: Kong 36440 & 36070 problems...
Hi,
My Router Netgear R7000.
Long time dd-wrt user.
I would like to report some issues I did encounter with these Kong's builds 36070M & 36440M:
1. when I try to run "opkg" I do get "permission denied" error (both builds).
2. Similarly, when I try to run /opt/usr/sbin/iptables -v
-sh: /opt/usr/sbin/iptables: Permission denied
These opt iptables used to work, it was ver 1.42.x or something.
Similarly with ip6tables.
Permission to these files are set as 0755 or 0777, so they are executable.
With build 36440M no modules load at all (lsmod lists only 1 module loaded), while in ver 36070M a large number of them are lsmod listed, despite large number present in lib directories of both builds.
Does anyone know what is happening here?
Thanks for any constructive info.
Sincerely,
P-B _________________ Netgear R7000
Joined: 18 Mar 2014 Posts: 12883 Location: Netherlands
Posted: Mon Aug 13, 2018 11:35 Post subject:
Just some thoughts: assuming you have /opt on an attached USB stick, have you set the permissions on the USB setup page to read/write?
Regarding opkg, have you started with the bootstrap command to get the package?
I am using Kong's latest and have no problem with opkg (just checked and installed Iptables (which is now at version 1.4.21, instead of the default iptables which is at 1.3.7)
However at my setup files are located in /opt/sbin and not in /opt/usr/sbin )
Thanks egc for your quick answer.
Bootstrap command resolved opkg issue.
I have been using Kong builds and opkg for years, so I do not know what happened to that "bootstrap(-ing)" (whatever it does).
I have the same USB HDD attached since the very beginning. USB permissions are set to read/write, and I do not have any problems accessing it from anywhere, including dd-wrt.
Anyway, there are still issues with opkg packages.
When listed, they show up, but when I try to execute some packages (eg iptables or ip6tables) I still get "permission denied" errors:
/opt/usr/sbin/iptables -v
-sh: /opt/usr/sbin/iptables: Permission denied
root@dd-wrt:~# opkg install ip6tables
Package ip6tables (1.4.21-2) installed in root is up to date.
So, what could this be caused by.
Once again, I the past I did not have such issues, everything was working as it should, on the same exactly equipment.
Thanks egc.
I will try to re-format my USB drive (it is a standard 200 Gb HDD, and not a pen-drive), and re-install opkg packages, and I will see if this will remedy the issue.
FYI, I did remove and re-install one opkg pkg and it re-installed again in /opt/usr/sbin sub-dir.
Thanks again.
P-B _________________ Netgear R7000