Discussion:
[OpenWrt-Users] Luci install but not create /etc/config/luci
Emiliano Vazquez
2014-06-12 14:19:18 UTC
Permalink
Hi guys.

I'm installing openwrt on a TL-WR740N and i try to install luci to get a
more easy way of configuration.
I only change IP address using vi to 192.168.0.1 because my working
network is on 192.168.1.x

Following the guide [1] i do:

# opkg update && opkg install luci && /etc/init.d/uhttpd start

But when i go to the web i get this error:

/usr/lib/lua/luci/dispatcher.lua:211: /etc/config/luci seems to be corrupt, unable to find section 'main'
stack traceback:
[C]: in function 'assert'
/usr/lib/lua/luci/dispatcher.lua:211: in function 'dispatch'
/usr/lib/lua/luci/dispatcher.lua:195: in function </usr/lib/lua/luci/dispatcher.lua:194>


I read about a basic configuration of /etc/config/luci [2]

|this is the config
config 'uhttpd' 'main'
option 'listen_http' '80'
option 'home' '/www'


this is the error:
/usr/lib/lua/luci/dispatcher.lua:219: attempt to index field 'languages' (a nil value)
stack traceback:
/usr/lib/lua/luci/dispatcher.lua:219: in function 'dispatch'
/usr/lib/lua/luci/dispatcher.lua:195: in function </usr/lib/lua/luci/dispatcher.lua:194>


|
Please let me know if you need more information.

Best regards.
Emiliano.

[1] http://wiki.openwrt.org/doc/howto/luci.essentials

[2] http://wiki.openwrt.org/doc/uci/uhttpd
--
Emiliano Vazquez | PcCentro Informatica & CCTV
Office: +54 (11) 4635-3218 y Rotativas
Movil: 011-15-6253-7165
Mail: emilianovazquez at gmail.com
Web: http://www.pccentro.com.ar

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openwrt.org/pipermail/openwrt-users/attachments/20140612/b3d9202d/attachment.html>
Jo-Philipp Wich
2014-06-12 14:20:46 UTC
Permalink
See https://dev.openwrt.org/ticket/16775#comment:1

~ Jow

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openwrt.org/pipermail/openwrt-users/attachments/20140612/65b55bdc/attachment.sig>
Emiliano Vazquez
2014-06-12 14:48:00 UTC
Permalink
Seehttps://dev.openwrt.org/ticket/16775#comment:1
~ Jow
Thanks Jow!

Problem solved

Emiliano
--
Emiliano Vazquez | PcCentro Informatica & CCTV
Office: +54 (11) 4635-3218 y Rotativas
Movil: 011-15-6253-7165
Mail: emilianovazquez at gmail.com
Web: http://www.pccentro.com.ar
Emiliano Vazquez
2014-06-12 15:05:26 UTC
Permalink
Seehttps://dev.openwrt.org/ticket/16775#comment:1
~ Jow
Hi again.

This works OK, but now when i go to Wireless there is only a blank screen.

Thanks!
--
Emiliano Vazquez | PcCentro Informatica & CCTV
Office: +54 (11) 4635-3218 y Rotativas
Movil: 011-15-6253-7165
Mail: emilianovazquez at gmail.com
Web: http://www.pccentro.com.ar
Jo-Philipp Wich
2014-06-12 15:06:49 UTC
Permalink
Sounds like an unrelated issue, likely a segfault in libiwinfo.

Is this a clean build? On what kind of device?

~ Jow

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openwrt.org/pipermail/openwrt-users/attachments/20140612/a4b9f5ce/attachment.sig>
Emiliano Vazquez
2014-06-12 15:16:35 UTC
Permalink
Post by Jo-Philipp Wich
Sounds like an unrelated issue, likely a segfault in libiwinfo.
Ok. i will reinstall libiwinfo
Post by Jo-Philipp Wich
Is this a clean build? On what kind of device?
It's clean build. It's a tl-wr740n version 4.23
I donwload it [1] from the web of OpenWRT [2]

Please let me know if i can do something else. I'm using it for testing
purposes and can be used for every idea you have.

Best regards.
Post by Jo-Philipp Wich
~ Jow
[1]
http://downloads.openwrt.org/attitude_adjustment/12.09-beta/ar71xx/generic/openwrt-ar71xx-generic-tl-wr740n-v4-squashfs-factory.bin
[2] http://wiki.openwrt.org/toh/tp-link/tl-wr740n
--
Emiliano Vazquez | PcCentro Informatica & CCTV
Office: +54 (11) 4635-3218 y Rotativas
Movil: 011-15-6253-7165
Mail: emilianovazquez at gmail.com
Web: http://www.pccentro.com.ar

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openwrt.org/pipermail/openwrt-users/attachments/20140612/e653933e/attachment.html>
Emiliano Vazquez
2014-06-12 15:30:24 UTC
Permalink
Post by Jo-Philipp Wich
Sounds like an unrelated issue, likely a segfault in libiwinfo.
Is this a clean build? On what kind of device?
~ Jow
I reinstall libiwinfo and know works!

You're the man Jow!!!

Thanks for your time.

Emiliano.
--
Emiliano Vazquez | PcCentro Informatica & CCTV
Office: +54 (11) 4635-3218 y Rotativas
Movil: 011-15-6253-7165
Mail: emilianovazquez at gmail.com
Web: http://www.pccentro.com.ar
Loading...