[Solved] Can't install nodogsplash on WRT1900AC with LEDE 17.01.4

Good day to all of you,

I need your help in installing nodogsplash in my WRT1900AC router. I've installed LEDE 17.01.4 to it and I've already run opkg update but once I enter opkg install nodogsplash an error like this will appear

Unknown package 'nodogsplash'.
Collected errors:
 * opkg_install_cmd: Cannot install package nodogsplash.

Here is my configuration for the software packages.

src/gz reboot_core h t t p://downloads.lede-project.org/releases/17.01.4/targets/mvebu/generic/packages
src/gz reboot_base h t t p://downloads.lede-project.org/releases/17.01.4/packages/arm_cortex-a9_vfpv3/base
src/gz reboot_luci h t t p://downloads.lede-project.org/releases/17.01.4/packages/arm_cortex-a9_vfpv3/luci
src/gz reboot_packages h t t p://downloads.lede-project.org/releases/17.01.4/packages/arm_cortex-a9_vfpv3/packages
src/gz reboot_routing h t t p://downloads.lede-project.org/releases/17.01.4/packages/arm_cortex-a9_vfpv3/routing
src/gz reboot_telephony h t t p://downloads.lede-project.org/releases/17.01.4/packages/arm_cortex-a9_vfpv3/telephony

The spaces within h t t p are intentional for this post.

Any help would be greatly appreciated.

Thanks!

It is there in the routing repository so should not be a problem.
Are you sure you had internet access when you tried?
If all else fails you could download manually and install. Very odd.

I've connected the WRT1900AC to a switch and that switch is connected to a router. The WRT1900AC is acting as an AP and I've disabled DHCP on it. When I run opkg update, this is the output.

Downloading http://downloads.lede-project.org/releases/17.01.4/targets/mvebu/generic/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/reboot_core
Downloading http://downloads.lede-project.org/releases/17.01.4/packages/arm_cortex-a9_vfpv3/base/Packages.gz
Updated list of available packages in /var/opkg-lists/reboot_base
Downloading http://downloads.lede-project.org/releases/17.01.4/packages/arm_cortex-a9_vfpv3/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/reboot_luci
Downloading http://downloads.lede-project.org/releases/17.01.4/packages/arm_cortex-a9_vfpv3/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/reboot_packages
Downloading http://downloads.lede-project.org/releases/17.01.4/packages/arm_cortex-a9_vfpv3/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/reboot_routing
Downloading http://downloads.lede-project.org/releases/17.01.4/packages/arm_cortex-a9_vfpv3/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/reboot_telephony

But when I run opkg install nodogsplash, this happens. :frowning:

Unknown package 'nodogsplash'.
Collected errors:
 * opkg_install_cmd: Cannot install package nodogsplash.

I've also tried to install it manually.

opkg install /tmp/nodogsplash_1.0.2-1_arm_cortex-a9_vfpv3.ipk

and this is the output. :frowning:

Installing nodogsplash (1.0.2-1) to root...
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for nodogsplash:
 *      iptables-mod-ipopt *
 * opkg_install_cmd: Cannot install package nodogsplash.

Any help would be greatly appreciated.

With the warning that I have no idea what "nodogspash" is, for a manual install, you often need to download all the dependencies (and their dependencies, and ...) and install them in "reverse" order. I'd normally suggest https://openwrt.org/packages/table/start as a good place to explore the dependencies, but it seems to be down right now.

jeff@office:~$ sudo opkg find nodogsplash
nodogsplash - 1.0.2-1 - Nodogsplash offers a simple way to open a free hotspot providing
 restricted access to an internet connection.
jeff@office:~$ sudo opkg depends nodogsplash
jeff@office:~$ sudo opkg info nodogsplash
Package: nodogsplash
Version: 1.0.2-1
Depends: libc, libpthread, iptables-mod-ipopt
Status: unknown ok not-installed
Section: net
Architecture: mips_24kc
Size: 45162
Filename: nodogsplash_1.0.2-1_mips_24kc.ipk
Description: Nodogsplash offers a simple way to open a free hotspot providing
 restricted access to an internet connection.

I would want it to be installed via the terminal instead of manually downloading all the dependencies and installing them one by one.

Even

opkg find nodogsplash

doesn't display any result. Would there be something wrong in my repository settings?

@clairedoy
Nodogsplash captive portal is intended to run on a router acting as the default gateway for its LAN.
Most likely the dependencies are missing in the mode you are running your WRT1900AC in.
First reconfigure as a router and make sure it is working, then try again.
It might be quicker to do a clean reflash of 17.01.4 and go from there.
Be aware that the OpenWrt default LAN uses the 192.168.1.0 subnet and the router you are connecting to might well do the same, so change one of them to a different subnet otherwise the package install will fail for that reason.