coova / coova-chilli

CoovaChilli is an open-source software access controller for captive portal hotspots.
Other
516 stars 258 forks source link

Coova stopping boot process without internet.. Solution? #460

Closed xewonder closed 5 years ago

xewonder commented 5 years ago

Hi, ...difficult to compose question...

Just compiled our openWRT firmware and have noticed that the "preinit" (first time booting) never finishes because of coova-chilli (without internet).

Basically the system never finishes unlocking the filesystem (any changes made to the router are lost) till I either manually kill chilli or give internet to the router (and coova-chilli starts). Then: [ 241.612000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0 [ 241.628000] jffs2_build_filesystem(): unlocking the mtd device... done. [ 241.640000] jffs2_build_filesystem(): erasing all blocks after the end marker... [ 241.980000]

The system is unlocked and working!

My question is how can i deal with this? when we set up routers or send the new firmware to my customers they are normally not connected to the internet.

Thank you in advance.

DD

xewonder commented 5 years ago

.... it was our chilli file in /etc/init.d

Changing the start to =99 fixed the issue as chilli is the last hing to start allowing the boot process to complete.