OpenWrt Forum Archive

Topic: luci enable?

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

Hello

I have flashed 2.4 Kernel openWRT to my wl-500gP v2 router.

I can telnet and ping it at 192.168.1.1
But if I enter http://192.168.1.1 in my browser I get now webpage.
What am I doing wrong? Must I enable Lucy first?

best regards

If you still can telnet your router then you may first setup a password.

tobias222 wrote:

Hello

I have flashed 2.4 Kernel openWRT to my wl-500gP v2 router.

I can telnet and ping it at 192.168.1.1
But if I enter http://192.168.1.1 in my browser I get now webpage.
What am I doing wrong? Must I enable Lucy first?

best regards

Are you using the pre compiled version or are you using the last build present in trunk?
I'm trying to use the r19530 build and I'm unable to load LuCI.
I'm getting a “HTTP 500 Internal Server Error”

I have connected with telnet and set with passwd a password.

But if I want to point my browser 192.168.1.1 I get on no webinterface.

So I think I must enable LuCi?

I am using a precompiled version. Tried the one with 2.4 kernel and 2.6 kernel. Both work and I can telnet on the router. But with both I cant get a Webinterface.

Another question about Luci:
I want to write a additional site for the webinterface or a standalone site which displayes some information about how many clients are connected and so on.
So far I saw that asp ist working and cgi with shell scripts. But where are these infos stored e.g. connected clients?

(Last edited by patrick24 on 6 Feb 2010, 00:59)

I haved tried for hours now. But there is no webinterface. can someone help please?

I have the same problem, i bought an rs ubiquiti pro, and i upgraded it from trunk. I uninstalled luci without using web interface even once, but now i change my mind and i want to reinstall it. I press opkg install luci-admin-full, and when i press /etc/init.d/lucid start, i get the following error message:

root@daemon:/# /etc/init.d/lucid start
Starting LuCId superserver: lucidlucid[920]: Failed to initialize daemon http: no sockets bound

lucid[920]: Failed to initialize daemon https: no sockets bound

.
root@daemon:/# svn
-ash: svn: not found

I have not disabled luCI. I have flashed the .trx file from here:http://downloads.openwrt.org/kamikaze/8.09.2/brcm47xx/openwrt-brcm47xx-squashfs.trx

Must I first get Luci over opkg??

But I cant get on Webinterface...

bekiaris wrote:

I have the same problem, i bought an rs ubiquiti pro, and i upgraded it from trunk. I uninstalled luci without using web interface even once, but now i change my mind and i want to reinstall it. I press opkg install luci-admin-full, and when i press /etc/init.d/lucid start, i get the following error message:

root@daemon:/# /etc/init.d/lucid start
Starting LuCId superserver: lucidlucid[920]: Failed to initialize daemon http: no sockets bound

lucid[920]: Failed to initialize daemon https: no sockets bound

.
root@daemon:/# svn
-ash: svn: not found

same here

root@OpenWrt:/# /etc/init.d/lucid restart
Stopping LuCId superserver: lucid.
Starting LuCId superserver: lucidlucid[925]: Failed to initialize daemon http: n
o sockets bound

(Last edited by microcris on 7 Feb 2010, 00:21)

Check your Luci packages in telnet via opkg list-installed | grep luci   , or try opkg list_installed | grep luci

You may have to opkg update and opkg install missing luci packages; here's a list of packages required on my router:

luci-admin-core
luci-admin-full
Luci-fastindex
luci-app-firewall (optional but needed for configuration)
luci-app-qos (optional but may need for prioritising WAN traffic)
luci-cbi
luci-core
luci-http
luci-i18n-english
luci-ipkg
luci-lmo
luci-lucid
luci-nixio
luci-px5g
luci-sgi-cgi
luci-sys
luci-theme-base
luci-theme-openwrt
luci-uci
luci-uvl
luci-web

armchair wrote:

Check your Luci packages in telnet via opkg list-installed | grep luci   , or try opkg list_installed | grep luci

You may have to opkg update and opkg install missing luci packages; here's a list of packages required on my router:

luci-admin-core
luci-admin-full
Luci-fastindex
luci-app-firewall (optional but needed for configuration)
luci-app-qos (optional but may need for prioritising WAN traffic)
luci-cbi
luci-core
luci-http
luci-i18n-english
luci-ipkg
luci-lmo
luci-lucid
luci-nixio
luci-px5g
luci-sgi-cgi
luci-sys
luci-theme-base
luci-theme-openwrt
luci-uci
luci-uvl
luci-web

Ok, it works...thanks!

Since 4 days, firms compiled with luci ok but luci doesn't work:

---------------------------------------------------------------------------
root@OpenWrt:~# opkg list-installed | grep luci
luci-admin-core - 0.9+svn5662-1
luci-admin-full - 0.9+svn5662-1
luci-app-ddns - 0.9+svn5662-1
luci-app-firewall - 0.9+svn5662-1
luci-app-ntpc - 0.9+svn5662-1
luci-app-upnp - 0.9+svn5662-1
luci-app-ushare - 0.9+svn5662-1
luci-cbi - 0.9+svn5662-1
luci-core - 0.9+svn5662-1
luci-http - 0.9+svn5662-1
luci-i18n-english - 0.9+svn5662-1
luci-i18n-spanish - 0.9+svn5662-1
luci-ipkg - 0.9+svn5662-1
luci-lucid - 0.9+svn5662-1
luci-nixio - 0.9+svn5662-1
luci-px5g - 0.9+svn5662-1
luci-sys - 0.9+svn5662-1
luci-theme-base - 0.9+svn5662-1
luci-theme-openwrt - 0.9+svn5662-1
luci-uci - 0.9+svn5662-1
luci-uvl - 0.9+svn5662-1
luci-web - 0.9+svn5662-1
root@OpenWrt:~# /etc/init.d/lucid restart
Stopping LuCId superserver: lucid.
Starting LuCId superserver: lucidlucid[908]: Failed to initialize daemon http: no sockets bound  ???????

.
root@OpenWrt:~# ps -e
  PID USER       VSZ STAT COMMAND
    1 root      1368 S    init
    2 root         0 SW<  [kthreadd]
    3 root         0 SW<  [ksoftirqd/0]
    4 root         0 SW<  [events/0]
    5 root         0 SW<  [khelper]
    8 root         0 SW<  [async/mgr]
   36 root         0 SW<  [kblockd/0]
   63 root         0 SW   [pdflush]
   64 root         0 SW   [pdflush]
   65 root         0 SW<  [kswapd0]
   66 root         0 SW<  [aio/0]
   67 root         0 SW<  [crypto/0]
   87 root         0 SW<  [mtdblockd]
  234 root         0 SWN  [jffs2_gcd_mtd3]
  244 root      1360 S    /bin/sh /etc/init.d/rcS S boot
  246 root      1360 S    logger -s -p 6 -t sysinit
  248 root      1368 S    init
  260 root      1372 S    syslogd -C16
  262 root      1352 S    klogd
  276 root       772 S    /sbin/hotplug2 --override --persistent --set-worker /
  348 root      1364 S    udhcpc -t 0 -i eth0 -b -p /var/run/eth0.pid -O rootpa
  482 root         0 SW<  [cfg80211]
  530 root         0 SW<  [phy0]
  543 root       828 S    /usr/sbin/ntpclient -i 600 -s -l -D -p 123 -h 0.openw
  798 root      1144 S    /usr/sbin/dropbear -p 22 -P /var/run/dropbear.1.pid
  811 root      1200 S    /usr/sbin/dropbear -p 22 -P /var/run/dropbear.1.pid
  838 nobody     904 S    /usr/sbin/dnsmasq -K -D -y -Z -b -E -s lan -S /lan/ -
  846 root      1352 S    watchdog -t 5 /dev/watchdog
  849 root      1372 S    -ash
  904 root      1356 S    /usr/sbin/httpd -p 80 -h /www -r OpenWrt
  913 root      2316 S    lua -lluci.lucid -e luci.lucid.start()
  914 root      1360 R    ps -e
root@OpenWrt:~#
------------------------------------------------------

Result webpage:
404 Not Found
The requested URL was not found

Platform if it's need: bcrm63xxx (r19543)

I don't know what happen because before this days I could compile without any problem with Luci.

root@OpenWrt:~# /etc/init.d/lucid start
Starting LuCId superserver: lucidlucid[6870]: Failed to initialize daemon http: no sockets bound

lucid[6870]: Failed to initialize daemon https: Encryption requested, but no TLS context given

.
root@OpenWrt:~#

help?

The discussion might have continued from here.