First time installer here. I've happily used OpenWRT in the past, however I'm excited about LEDE. Thanks so much for your time, effort, and dedication!
I have a Buffalo WHR-HP-G300N. I've installed "SNAPSHOT, r2686-bdd2b67" according to the SSH login.
Following the instructions, I have not been able to install luci-ssl. As such I'm not able to proceed. Have I missed something?
Here is some various output (I've had to hack it up due to "Sorry, new users can only put 2 links in a post.")
root@lede:~# opkg update
Downloading hxxp://downloads.lede-project.org/snapshots/targets/ar71xx/generic/packages/Packages.gz.
Updated list of available packages in /var/opkg-lists/reboot_core.
Downloading hxxp://downloads.lede-project.org/snapshots/targets/ar71xx/generic/packages/Packages.sig.
Signature check passed.
Downloading hxxp://downloads.lede-project.org/snapshots/packages/mips_24kc/base/Packages.gz.
Updated list of available packages in /var/opkg-lists/reboot_base.
Downloading hxxp://downloads.lede-project.org/snapshots/packages/mips_24kc/base/Packages.sig.
Signature check passed.
Downloading hxxp://downloads.lede-project.org/snapshots/packages/mips_24kc/luci/Packages.gz.
Updated list of available packages in /var/opkg-lists/reboot_luci.
Downloading hxxp://downloads.lede-project.org/snapshots/packages/mips_24kc/luci/Packages.sig.
Signature check passed.
Downloading hxxp://downloads.lede-project.org/snapshots/packages/mips_24kc/packages/Packages.gz.
Updated list of available packages in /var/opkg-lists/reboot_packages.
Downloading hxxp://downloads.lede-project.org/snapshots/packages/mips_24kc/packages/Packages.sig.
Signature check passed.
Downloading hxxp://downloads.lede-project.org/snapshots/packages/mips_24kc/routing/Packages.gz.
Updated list of available packages in /var/opkg-lists/reboot_routing.
Downloading hxxp://downloads.lede-project.org/snapshots/packages/mips_24kc/routing/Packages.sig.
Signature check passed.
Downloading hxxp://downloads.lede-project.org/snapshots/packages/mips_24kc/telephony/Packages.gz.
Updated list of available packages in /var/opkg-lists/reboot_telephony.
Downloading hxxp://downloads.lede-project.org/snapshots/packages/mips_24kc/telephony/Packages.sig.
Signature check passed.
root@lede:~#
root@lede:~# opkg install luci-ssl
Unknown package 'luci-ssl'.
Collected errors:
* opkg_install_cmd: Cannot install package luci-ssl.
root@lede:~# opkg search luci
(nothing)
root@lede:~# opkg list | grep -i luci
(nothing)
root@lede:~# opkg list | grep -i ^l
lede-keyring - 2016-04-30-5c7857ee-1
libblobmsg-json - 2016-11-29-77a62937-1
libc - 1.1.15-1
libgcc - 5.4.0-1
libip4tc - 1.4.21-2
libip6tc - 1.4.21-2
libiwinfo - 2016-09-21-fd9e17be-1
libjson-c - 0.12.1-1
libjson-script - 2016-11-29-77a62937-1
libnl-tiny - 0.1-5
libpthread - 1.1.15-1
libubox - 2016-11-29-77a62937-1
libubus - 2016-10-12-312448a5-1
libuci - 2016-07-04-e1bf4356-1
libuclient - 2016-07-30-ccb314db-1
libxtables - 1.4.21-2
root@lede:~# df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 2.0M 2.0M 0 100% /rom
tmpfs 13.6M 532.0K 13.1M 4% /tmp
/dev/mtdblock5 512.0K 212.0K 300.0K 41% /overlay
overlayfs:/overlay 512.0K 212.0K 300.0K 41% /
tmpfs 512.0K 0 512.0K 0% /dev
I'm not seeing anything unusual in dmesg.
root@lede:~# cat /proc/cpuinfo
system type : Atheros AR7240 rev 2
machine : Buffalo WHR-HP-G300N
processor : 0
cpu model : MIPS 24Kc V7.4
BogoMIPS : 265.42
wait instruction : yes
microsecond timers : yes
tlb_entries : 16
extra interrupt vector : yes
hardware watchpoint : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
isa : mips1 mips2 mips32r1 mips32r2
ASEs implemented : mips16
shadow register sets : 1
kscratch registers : 0
package : 0
core : 0
VCED exceptions : not available
VCEI exceptions : not available
root@lede:~# free -m
total used free shared buffers cached
Mem: 27808 19048 8760 532 1632 5824
-/+ buffers/cache: 11592 16216
Swap: 0 0 0
I had the same issues on a wzr-hp-ag300n. Since they're (x2) my secondary routers, I don't mind bricking these boxes (they're easy to un-brick via tftp). Anyway, the 23DEC and 26DEC builds would not allow me to install luci. I then tried to reload the previous day's LEDE nightlies, but those builds wouldn't allow luci to be install. My only fix was to load the day's openwrt build.
Not too much of a biggie. The boxes still act as routers, I just can't administer them via luci.
Thanks for the reply! It's good to know that I'm not alone. Have you figured out a way to enable wireless, configure its security and what not, via the command line?
Here's part of my /etc/config/wireless file (I don't use 2.4ghz).
config wifi-device 'radio1'
option type 'mac80211'
option channel '36'
option hwmode '11a'
option path 'pci0000:00/0000:00:12.0'
option htmode 'HT40'
option txpower '13'
option country 'US'
To fix your issue, check the date/hour in the download pages of the firmware of your devices, once they are newer than the date/hour of the reverted commit above (so the new source was recompiled in a new image), do a firmware upgrade of your devices, as that's the most likely way to fix this (it seems opkg was failing to install even local packages)
This is one of the drawbacks of using snapshots from development code, sadly.
(Stable) Releases should happen sometime in january.
Thank you. I went ahead and upgraded once the image date and time was appropriate.
I am now able to attempt to install luci-ssl however the install hangs:
root@lede:~# opkg install luci-ssl
Installing luci-ssl (git-16.358.28306-df0d765-1) to root...
Downloading hxxp://downloads.lede-project.org/snapshots/packages/mips_24kc/luci/luci-ssl_git-16.358.28306-df0d765-1_all.ipk.
Installing luci (git-16.358.28306-df0d765-1) to root...
Downloading hxxp://downloads.lede-project.org/snapshots/packages/mips_24kc/luci/luci_git-16.358.28306-df0d765-1_all.ipk.
Installing uhxxpd (2016-10-25-1628fa4b-1) to root...
Downloading hxxp://downloads.lede-project.org/snapshots/packages/mips_24kc/base/uhxxpd_2016-10-25-1628fa4b-1_mips_24kc.ipk.
At this point i SSH in again and look at top. opkg is in fact using CPU, but even after waiting about 30 minutes, nothing else happens. I am coming close to, however not actually running out, of storage space.
I figured i'd try plain ol lucy instead:
root@lede:~# opkg install luci
Installing luci (git-16.358.28306-df0d765-1) to root...
Downloading hxxp://downloads.lede-project.org/snapshots/packages/mips_24kc/luci/luci_git-16.358.28306-df0d765-1_all.ipk.
Installing uhxxpd (2016-10-25-1628fa4b-1) to root...
Downloading hxxp://downloads.lede-project.org/snapshots/packages/mips_24kc/base/uhxxpd_2016-10-25-1628fa4b-1_mips_24kc.ipk.
Installing uhxxpd-mod-ubus (2016-10-25-1628fa4b-1) to root...
Downloading hxxp://downloads.lede-project.org/snapshots/packages/mips_24kc/base/uhxxpd-mod-ubus_2016-10-25-1628fa4b-1_mips_24kc.ipk.
Installing luci-mod-admin-full (git-16.358.28306-df0d765-1) to root...
Downloading hxxp://downloads.lede-project.org/snapshots/packages/mips_24kc/luci/luci-mod-admin-full_git-16.358.28306-df0d765-1_mips_24kc.ipk.
Installing luci-base (git-16.358.28306-df0d765-1) to root...
Configuring luci-mod-admin-full.
Configuring uhxxpd.
Configuring uhxxpd-mod-ubus.
Collected errors:
verify_pkg_installable: Only have 120kb available on filesystem /overlay, pkg luci-base needs 121
opkg_install_cmd: Cannot install package luci.
I see in the upgrade instructions how to clear up /tmp however not /overlay.
Then if it keeps failing while you clearly have enough space, you can add an option to opkg to have it override the free space check. I don't remember how it is called, but if you write opkg and press enter it will tell you all possible options.
I've gone ahead and done the hard reset. I set my password, did an opkg update, and then straight to opkg install luci-ssl. This results in:
root@lede:~# opkg install luci-ssl
Installing luci-ssl (git-16.358.28306-df0d765-1) to root...
Downloading hxxp://downloads.lede-project.org/snapshots/packages/mips_24kc/luci/luci-ssl_git-16.358.28306-df0d765-1_all.ipk.
Installing luci (git-16.358.28306-df0d765-1) to root...
Downloading hxxp://downloads.lede-project.org/snapshots/packages/mips_24kc/luci/luci_git-16.358.28306-df0d765-1_all.ipk.
Installing uhxxpd (2016-10-25-1628fa4b-1) to root...
Downloading hxxp://downloads.lede-project.org/snapshots/packages/mips_24kc/base/uhxxpd_2016-10-25-1628fa4b-1_mips_24kc.ipk.
Installing uhxxpd-mod-ubus (2016-10-25-1628fa4b-1) to root...
Downloading hxxp://downloads.lede-project.org/snapshots/packages/mips_24kc/base/uhxxpd-mod-ubus_2016-10-25-1628fa4b-1_mips_24kc.ipk.
Installing luci-mod-admin-full (git-16.358.28306-df0d765-1) to root...
Downloading hxxp://downloads.lede-project.org/snapshots/packages/mips_24kc/luci/luci-mod-admin-full_git-16.358.28306-df0d765-1_mips_24kc.ipk.
Installing luci-base (git-16.358.28306-df0d765-1) to root...
Downloading hxxp://downloads.lede-project.org/snapshots/packages/mips_24kc/luci/luci-base_git-16.358.28306-df0d765-1_mips_24kc.ipk.
And then it just stays there. Logging in again and running top, i see that opkg is taking about 97% cpu usage. Looking at the output of df -h, there is more than enough space in /tmp and while there isn't much in /overlay (132KB free), it's certainly not running out.
In addition, I downlaoded that luci-base_git package on another system, did a sha256sum on that, and compared it to sha256sum on the router. They indeed match.
I've watched all of this output for about 15 minutes. The amount of used / free space is not changing anywhere.
Is there anything further I can do to help the project with more information? Thankfully, having luci installed isn't a killer for me. With help here I've been able to get the wireless working just fine, change network settings, and so on.
There has been some rather large rework of opkg lately, mainly to reduce memory usage and to fix some other bugs. It would be interesting to know if the behaviour persists with current snapshot builds.
The reason for this post was that I couldn't install luci-ssl because it was not available. It's now available, I just don't have the free space for it, so I suppose we can move on from this. I also tried disabling the free space check, but it really does run out.
Thankfully, basic config is pretty easy with the various config files, so I've gotten LEDE to do what I want so far.
Keep up the great work gents, looking forward to the stable release!