Hi,
I am trying to compile a custom LEDE Image for GL-AR300M (NAND) with “[] Select all basic packages" and "[] Elliptic curve cryptography (ECC)” for dropbear using the new Repo: GitHub - gl-inet/lede-17.01: Cloning from https://git.lede-project.org/?p=source.git;a=summary and adding patches for GL's new devices to lede-17.01.
Also configured:
Subtarget (Generic devices with NAND flash)
Target Profile (GL-AR300M with nand flash)
But i have several issues while/after compiling.
1. Issue: wpad-mini conflicts wpad
Collected errors:
- check_data_file_clashes: Package wpad-mini wants to install file /opt/lede-1701/build_dir/target-mips_24kc_musl-1.1.16/root-ar71xx/usr/sbin/hostapd
But that file is already provided by package * wpad
- check_data_file_clashes: Package wpad-mini wants to install file /opt/lede-1701/build_dir/target-mips_24kc_musl-1.1.16/root-ar71xx/usr/sbin/wpa_supplicant
But that file is already provided by package * wpad
- check_data_file_clashes: Package wpad-mini wants to install file /opt/lede-1701/build_dir/target-mips_24kc_musl-1.1.16/root-ar71xx/usr/sbin/wpad
But that file is already provided by package * wpad
- opkg_install_cmd: Cannot install package wpad-mini.
Per default wpad-mini is selected. I have to uncheck wpad-mini in menuconfig to build successfully. Is this behavior expected?
2. Issue: strange webserver behavior:
After visiting 192.168.1.1 of my build, I get only a file download with the contents:
#!/usr/bin/lua
require “luci.cacheloader”
require “luci.sgi.cgi”
luci.dispatcher.indexcache = “/tmp/luci-indexcache”
luci.sgi.cgi.run()
Do you know which service is faulty or what went wrong? I tried to restart uhttpd, but no luck.
3. bootcount not resetting
after every NAND boot, bootcount is incrementing until it reaches 3. Then of course it will boot to NOR and i have to power cycle to get back to NAND.
Do i have to enable crond or something else to get this working?
Thanks for your help.