Comments (8)
You have to compile OpenWrt by yourself and enable the required kernel modules in the firmware.
Otherwise, some kernel modules may cause issues.
Sources for the OpenWrt 19.07 are located here: https://github.com/openlumi/openwrt/tree/lumi-19.07
from openlumi.github.io.
On my router:
$ uname -a
Linux home 4.14.167 #0 SMP Wed Jan 29 16:05:35 2020 mips GNU/Linux
gives
$ lsmod | egrep '(wire|tunnel)'
ip6_udp_tunnel 1600 1 wireguard
udp_tunnel 2432 1 wireguard
wireguard 90560 0
so all the required kernel modules already do exist in this firmware.
It's a matter of some missing kernel feature. I believe select DST_CACHE
should go ( mentioned https://lore.kernel.org/patchwork/patch/880428/ )
I can not afford building the world. May some be interested.
from openlumi.github.io.
The modules that exist in firmware depends on the config for building.
It may include some modules, may not.
We tried to keep the image small and did not include most of the kernel modules that are not required for basic gateway usage.
Here is the config I used for the build: https://github.com/openlumi/openwrt/blob/lumi-19.07/config_xiaomi_lumi
from openlumi.github.io.
I see.
Look at what we've got:
$ modinfo wireguard
module: /lib/modules/4.14.221/wireguard.ko
intree: Y
alias: net-pf-16-proto-16-family-wireguard
alias: rtnl-link-wireguard
license: GPL v2
depends: udp_tunnel,ip6_udp_tunnel
$ modinfo udp_tunnel
module: /lib/modules/4.14.221/udp_tunnel.ko
license: GPL
depends:
$ modinfo ip6_udp_tunnel
module: /lib/modules/4.14.221/ip6_udp_tunnel.ko
license: GPL
depends:
So I conclude that the missing symbols are to be in the shipped kernel per se.
from openlumi.github.io.
@devbis Am I right that the following will give me exact config that you have?
git clone --depth 1 -b lumi-19.07 https://github.com/openlumi/openwrt
cd openwrt
./scripts/feeds update -a
./scripts/feeds install -a
cp config_xiaomi_lumi .config
ln -s files_xiaomi_lumi files
make menuconfig
from openlumi.github.io.
Built, sysupgrade
-d, got a brick... )
Suspecting WiFi drivers
from openlumi.github.io.
Oh, you've missed one essential step.
files_xiaomi_lumi should be renamed to files or make a symlink with files name.
You could try to restore availability by copying the content to /lib/* files through serial console.
from openlumi.github.io.
Thank you. Revived. That comment ^^^ should go to readme imho.
from openlumi.github.io.
Related Issues (20)
- Python build without Bluetooth support HOT 2
- Problem installing snapclient on Openwrt version 21.02 HOT 3
- I delete /etc/inittab HOT 2
- Problem after root HOT 2
- Error 255 HOT 2
- Stuck after rebooting HOT 2
- DGNWG05LM welding issue on PCB board HOT 1
- Restored Stock is Not HomeKit Compatible
- The ssh server won't start. HOT 8
- Error on rooting HOT 5
- DGNWG05LM - No wireless extensions HOT 1
- Gateway seems to crash after booting HOT 3
- After intall OpenWRT 21 Xiaomi Hub DGNWG05LM not booting HOT 12
- wifi problem HOT 2
- there is no wifi_start.sh in the rc.local file HOT 2
- Support to ZHWG20LM HOT 1
- Wifi connection lost
- Zigbee Router Mode HOT 1
- Gateway does not connect to wi-fi after reboot
- MacOs Ventura HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openlumi.github.io.