OpenWrt Forum Archive

Topic: Luci error network config

The content of this topic has been archived on 5 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi all,

I have a RSpro with latest prebuilt image from /snapshots/trunk/ar71xx/. I have used the jffs version, it works fine except a couple of issues with Luci
network configuration. When I click -->network-->interfaces I got
/usr/lib/lua/luci/cbi.lua:319: Unable to read UCI data: network
stack traceback:
    [C]: in function 'error'
    /usr/lib/lua/luci/cbi.lua:319: in function '__init__'
    /usr/lib/lua/luci/util.lua:70: in function 'Map'
    ...usr/lib/lua/luci/model/cbi/admin_network/network.lua:21: in function 'func'
    /usr/lib/lua/luci/cbi.lua:91: in function 'load'
    /usr/lib/lua/luci/dispatcher.lua:663: in function 'target'
    /usr/lib/lua/luci/dispatcher.lua:727: in function 'target'
    /usr/lib/lua/luci/dispatcher.lua:363: in function 'dispatch'
    /usr/lib/lua/luci/dispatcher.lua:129: in function </usr/lib/lua/luci/dispatcher.lua:128>
Network-->wifi work fine
Network-->switch gives the same error
Network-->dhcp and hostnames works as well
Network-->route produces the same error.
I have the following Luci components installed
Everything is version 0.9+svn5661-1
luci-admin-core
luci-admin-full   
luci-app-ntpc   
luci-cbi
luci-core
luci-http
luci-i18n-english
luci-ipkg
luci-lmo
luci-luanet
luci-lucid
luci-nixio
luci-px5g
luci-sgi-cgi
luci-sys
luci-theme-base
luci-theme-openwrt
luci-uci
luci-uvl
luci-web

I guess that its some simple mistake I have done somewhere but bear with me since I'm new to Openwrt and luci

Best regards

Lelle

trunk is not always stable, try to use 8.09.2 instead...

Sounds like your /etc/config/network is corrupt, check it carefully for syntax errors.

Thats it, I removed wifi from wan and lan in the network script and added it via luci.

Thanks for your help

best regards

Lelle

The discussion might have continued from here.