I installed the packages listed under "Offline installation" from this article: https://openwrt.org/docs/guide-user/luci/luci.essentials
But whenever I access 192.168.1.1
, I always receive:
Bad Gateway
The process did not produce any response
Tried running /www/cgi-bin/luci
and this is the output:
root@OpenWrt:~# /www/cgi-bin/luci
/usr/bin/lua: /usr/lib/lua/luci/config.lua:4: module 'luci.util' not found:
no field package.preload['luci.util']
no file './luci/util.lua'
no file '/usr/share/lua/luci/util.lua'
no file '/usr/share/lua/luci/util/init.lua'
no file '/usr/lib/lua/luci/util.lua'
no file '/usr/lib/lua/luci/util/init.lua'
no file './luci/util.so'
no file '/usr/lib/lua/luci/util.so'
no file '/usr/lib/lua/loadall.so'
no file './luci.so'
no file '/usr/lib/lua/luci.so'
no file '/usr/lib/lua/loadall.so'
stack traceback:
[C]: in function 'require'
/usr/lib/lua/luci/config.lua:4: in main chunk
[C]: in function 'require'
/usr/lib/lua/luci/cacheloader.lua:5: in main chunk
[C]: in function 'require'
/www/cgi-bin/luci:2: in main chunk
[C]: ?
root@OpenWrt:~#
What am I missing or doing wrong?