用不到的v2ray
Network->Web Servers/Proxies->v2ray-plugin,取消勾选
用不上的geoview
1
2
3
4
5
|
make[3]: *** [Makefile:51: /mnt/openwrt/x86/build_dir/target-x86_64_musl/geoview-0.1.2/.built] Error 1
make[3]: Leaving directory '/mnt/openwrt/x86/feeds/packages/net/geoview'
time: package/feeds/packages/geoview/compile#0.17#0.09#180.33
ERROR: package/feeds/packages/geoview failed to build.
make[2]: *** [package/Makefile:116: package/feeds/packages/geoview/compile] Error 1
|
Netowork->IP Addresses and Names->geoview,取消勾选
也可以尝试:
1
2
3
|
export GOPROXY=https://mirrors.aliyun.com/goproxy/
或者
export GOPROXY=https://goproxy.cn
|
创建不了venv
1
2
3
4
5
6
7
8
9
10
|
*** Ouch! ***
Python's ensurepip module is not found.
It's normally part of the Python standard library, maybe your distribution packages it separately?
Either install ensurepip, or alleviate the need for it in the first place by installing pip and setuptools for '/mnt/openwrt/x86/staging_dir/host/bin/python3'.
(Hint: Debian puts ensurepip in its python3-venv package.)
ERROR: python venv creation failed
|
sudo apt install python3-venv
mt76无法编译
1
|
ERROR: module '/mnt/openwrt/x86/build_dir/target-x86_64_musl/linux-x86_64/mt76-2024-04-04-8f301a5c/mt76-connac-lib.ko' is missing.
|
参考 https://github.com/coolsnowwolf/lede/issues/13130
使用这个 80211 https://github.com/sbwml/package_kernel_mac80211
使用 openwrt 上游最新的 mt76 https://github.com/openwrt/openwrt/tree/openwrt-24.10/package/kernel/mt76
加上这两个 patch https://github.com/sbwml/r4s_build_script/tree/master/openwrt/patch/mt76/patches
如果立即编译会遇到
1
2
3
4
5
6
7
|
Collected errors:
* pkg_hash_check_unresolved: cannot find dependency wifi-scripts for kmod-cfg80211
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-cfg80211 found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package kmod-cfg80211.
* satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-mac80211:
* wifi-scripts
* opkg_install_cmd: Cannot install package kmod-mac80211.
|
无效的解决方法:
找个地方
git clone https://github.com/openwrt/openwrt.git
clone完把package/network/config/wifi-scripts复制到lede里
cp -R openwrt/package/network/config/wifi-scripts x86/package/network/config/
还会缺ucode
cp -R openwrt/package/util/ucode x86/package/util/ucode
还会报错
1
2
3
4
5
6
7
8
9
10
11
|
Collected errors:
* check_data_file_clashes: Package wifi-scripts wants to install file /mnt/openwrt/x86/build_dir/target-x86_64_musl/root-x86/lib/netifd/netifd-wireless.sh
But that file is already provided by package * netifd
* check_data_file_clashes: Package wifi-scripts wants to install file /mnt/openwrt/x86/build_dir/target-x86_64_musl/root-x86/sbin/wifi
But that file is already provided by package * base-files
* opkg_install_cmd: Cannot install package kmod-cfg80211.
* check_data_file_clashes: Package wifi-scripts wants to install file /mnt/openwrt/x86/build_dir/target-x86_64_musl/root-x86/lib/netifd/netifd-wireless.sh
But that file is already provided by package * netifd
* check_data_file_clashes: Package wifi-scripts wants to install file /mnt/openwrt/x86/build_dir/target-x86_64_musl/root-x86/sbin/wifi
But that file is already provided by package * base-files
* opkg_install_cmd: Cannot install package wifi-scripts.
|
废了,解决不完根本
我认为直接删掉mac80211 makefile中的+wifi-script让它不要检测这个依赖比较合理,要不然它是真冲突啊
如下图,删了编译出来也驱动不了MT7922,测试7921一样死
最终换官方源码了,不用lede啥事没有=-=