Hello there!
Thanks to a relatively old exploit (/ubus
is exported with the admin
user having full r/w/x access to everything), I was able to inject a SSH hostkey into the old Razer Sila and log in - a discontinued device with still pretty respectable stats and features! In fact, it is still my main AP.
However, considering there will never be a new firmware for it, and that it runs plain OpenWrt with a few company additions, I have been wondering if there is something better I can do with it - like using it as a SAT>IP server with the USB ports or maybe even run parts of Home Assistant there due to it's range of wifi, bluetooth and other devices that would make it an ideal smart home hub.
Now, when logged in, I can find this tidbit of version information:
root@SAP201-0003-SN1848010907-44-5e-cd-01-09-08:~# cat /etc/openwrt_release
DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='Chaos Calmer'
DISTRIB_REVISION='unknown'
DISTRIB_CODENAME='chaos_calmer'
DISTRIB_TARGET='ipq806x/generic'
DISTRIB_DESCRIPTION='OpenWrt Chaos Calmer 15.05.1'
DISTRIB_TAINTS='no-all busybox override'
I have also dumped all partitions separately using dd
just to be sure and looked at the current state of affairs in opkg; the keys are outdated.
root@SAP201-0003-SN1848010907-44-5e-cd-01-09-08:~# opkg update
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/ipq806x/generic/packages/base/Packages.gz.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/ipq806x/generic/packages/base/Packages.sig.
Signature check failed.
Remove wrong Signature file.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/ipq806x/generic/packages/alljoyn/Packages.gz.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/ipq806x/generic/packages/alljoyn/Packages.sig.
Signature check failed.
Remove wrong Signature file.
(... etc, etc, etc ...)
So I wanted to build my own packages for it and thus went digging for the image builders - and found them, too. No problem. This is the one I use, right now: https://downloads.openwrt.org/snapshots/targets/ipq806x/generic/openwrt-imagebuilder-ipq806x-generic.Linux-x86_64.tar.xz (My WSL is already setup and equipped with proper resources - I did tinker with my OLED LG TV which uses WebOS and parts of OpenWrt - so I have been tinkering with that too, as well my FriendlyElec NanoPi R6s, which runs plain OpenWrt 22.)
Question is, though, since the Sila was never added as a proper device in any documentation, how do I go about building packages now? As I have full root access, it is no problem to extract whatever information I would need out of the device et verbatim. That said; what do I actually need?
I may have overlooked it, but I was trying to find two things:
- Instructions on "onboarding" a new device
- and the maintainer for
ipq806x/generic
: https://openwrt.org/developers/ansuel
My hopes would be to be able to deploy a few updated packages to a USB drive and update some of the internals, then strip the proprietary extras out, re-introduce LuCi and basically have a neat little device to tinker with But in order to do that, I need to know how exactly I go forward building packages, if there is anything specific that I need and what not.
As an addition, here is everything installed on the Sila: https://gist.github.com/IngwiePhoenix/7fcb7b1784111ae1b01f3d36fedcddb4
Not directly related; but I would like to reconfigure uboot to see if I can make it boot off a USB drive should desaster strike. If you have a pointer for setting this up, I'd be quite thankful for that. Due to being visually impaired, soldering is not exactly something I am exactly good at... ^^;
Thanks for reading and kind regards,
Ingwie