- okass 在版块 软件平台 中回复了话题 openwrt系统定制 3年, 9个月前 - 5. openwrt 安装第三方主题 - 以argon 主题为例  - 1> 主题安装条件 - openwrt 原生系统 及其衍生类系统, lede等都可以
- 磁盘空间充足能够访问外网
 - 2> 安装方法 - A. 通过在线安装方法安装 - # opkg update - # opkg install wget - # opkg install ca-certificates - #注意这里版本可能不是最新的,打开https://github.com/jerrykuku/luci-theme-argon/releases/可以看到最新链接 - wget –no-check-certific…[阅读更多] 
- okass 在版块 软件平台 中回复了话题 openwrt系统定制 3年, 9个月前 - 4. openwrt 如何升级安装软件包 - 1>登录SSH 
 2>更新软件列表
 3>一键更新所有软件包- opkg update 
 opkg list-upgradable | cut -f 1 -d ‘ ‘ | xargs opkg upgrade
- okass 在版块 软件平台 中回复了话题 openwrt编译固件详细步骤及常见问题汇总 3年, 9个月前 - 9. [issue] 自行编译的openwrt 无法ping通外网,无法更新软件包 - [fixed] - 请参考本章的文章: https://blog.wirelesslink.net/4840.html 对LAN口做配置。注意DNS一定要写,不然会出现无法ping通的情况 
- okass 在版块 软件平台 中回复了话题 openwrt编译固件详细步骤及常见问题汇总 3年, 9个月前 - 8.[issue] x86_64 luci 编译错误 - Fatal error: can’t create po2lmo.o: Permission denied 
 make[4]: *** [Makefile:2: po2lmo.o] Error 1
 make[4]: Leaving directory ‘/home/openwrt/feeds/luci/modules/luci-base/src’
 make[3]: *** [Makefile:45: /home/openwrt/build_dir/hostpkg/luci-base/.built] Error 2
 make[3]: Leaving directory ‘/home/openwrt/feeds/luci/modules/luci-base’
- okass 在版块 软件平台 中回复了话题 openwrt编译固件详细步骤及常见问题汇总 3年, 9个月前 - 8.[issue] x86_64 平台编译时错误 
 time: package/feeds/packages/golang/host-compile#0.38#0.16#8.50
 ERROR: package/feeds/packages/golang [host] failed to build.
 make[2]: *** [package/Makefile:114: package/feeds/packages/golang/host/compile] Error 1
 make[2]: Leaving directory ‘/home/openwrt’
 make[1]: *** [package/Makefile:110: /home/openwrt…[阅读更多]
- okass 在版块 软件平台 中回复了话题 openwrt系统定制 3年, 9个月前 - 3. 安装luci主题 - 标准的openwrt编译完成后,基本进入不了后台,此时需要安装luci主题来完成 - 安装Web管理界面LuCY; - 1.打开显示的路由器Linux终端中,输入“opkg update”,开始下载Packages.gz并更新; 
 2.输入“opkg install luci”,安装LuCY主体,先开始自动下载各种关联库,下载完会自动安装配置。
 3.输入“/etc/init.d/uhttpd enable”回车,打开uhttpd服务;
 4.输入“/etc/init.d/uhttpd start”回车,让uhttpd自启动;
 5.在电脑端的浏览器中输入“xxx.xxx.xxx.xxx”,可访问路由器就表示LuCY安装成功;
- okass 在版块 软件平台 中回复了话题 openwrt编译固件详细步骤及常见问题汇总 3年, 9个月前 - 7. [issue] 编译过程中出现如下错误 - SHELL= flock /home/xxx/openwrt/openwrt/tmp/.linux-firmware-20211216.tar.xz.flock -c ‘ /home/xxx/openwrt/openwrt/scripts/download.pl “/home/xxx/openwrt/openwrt/dl” “linux-firmware-20211216.tar.xz” “eeddb4e6bef31fd1a3757f12ccc324929bbad97855c0b9ec5ed780f74de1837d” “” “@KERNEL/linux/kernel/firmware” ‘ 
- okass 在版块 软件平台 中回复了话题 openwrt编译固件详细步骤及常见问题汇总 3年, 9个月前 - 6. 编译意外中断或者需要重新编译 - 先清理一下之前的编译产物,但是config配置不变,再继续编译 - # make clean - # make menuconfig (如果需要增删配置,没有则跳过) - # make -j$(($(nproc) + 1)) V=s 
- okass 在版块 Linux平台 中回复了话题 Linux常见问题问题合集汇总 3年, 9个月前 - 12. Ubuntu提示根分区/root空间不足 - 执行 - # sudo apt-get install gparted - 安装硬盘分区管理器,并执行sudo gparted打开软件 
 调整home分区的大小,比如压缩100G,可以看到在最后有100G分区…[阅读更多]
- okass 在版块 软件平台 中回复了话题 openwrt编译固件详细步骤及常见问题汇总 3年, 9个月前 - 如果仍然无法解决,可以考虑使用chown命令将文件(夹)拥有者改为当前用户 - 1> 使用ll 命令查看openwrt目录的拥有者,可以看到属于root用户 - # ll - drwxrwxr-x 9 Ubuntu Ubuntu 4096 10月 10 10:50 ./ 
 drwxr-xr-x 38 Ubuntu Ubuntu 4096 10月 10 12:20 ../
 drwxrwxr-x 17 root Ubuntu 4096 10月 10 12:16 openwrt/
 -rwxrwxrwx 1 Ubuntu Ubuntu 1768 10月 10 10:22 readme*- 2> 使用chown 修改用户权限 - # sudo chow…[阅读更多] 
- okass 在版块 软件平台 中回复了话题 openwrt系统定制 3年, 9个月前 - 2. openwrt修改默认后台IP地址及DNS网关 - openwrt源码默认的IP地址为192.168.1.1,这个一般会与网络中的其他设备Ip产生冲突,比如光猫路由器等 - 源码中关于网络配置的地方在这里 - 1>修改默认的后台ip地址 - # cd openwrt - # vim package/base-files/files/bin/config_generate - 搜索”ipaddr”字段,大概是99行左右。修改成自己想要的ip地址即可 
- okass 在版块 软件平台 中回复了话题 openwrt系统定制 3年, 9个月前 - 1. openwrt文件系统架构详解 - 1> 文件系统的目录树  - [备注] - 蓝色部分是源码自带的默认目录
- 绿色部分是编译后生成的目录架构
 - 2> 原始目录架构解释 - config ,存放着整个系统的配置文件。
- include ,openwrt 的 Makefile 都存放在这里,文件名为 *.mk 。这里的文件是在 Makefile 里被 include 的,类似于库文件。这些文件定义了编译过程。
- package,存放了 openwrt 系统中适用的软件包,包含针对各个软件包的 Makefile。openwrt定义了一套 Makefile 模板,各软件参照这个模板定义了自己的信息,如软件包的版本、下载地址、编译方式、安装地址等…
 
- okass 在版块 软件平台 中发起了话题 openwrt系统定制 3年, 9个月前 - 如下话题包含了openwrt系统定制部分的内容 
- okass 在版块 软件平台 中回复了话题 openwrt系统编译基础知识点 3年, 9个月前 - 2. [question]. WebRTC编译系统之GYP,gn和ninja you哪些区别 - ninja 的官网在这里: https://ninja-build.org/ 
 要完整编译 WebRTC ,只要在 src 目录执行下列命令:
 -C 选项告诉 ninja ,进入 out/Release 目录来编译。所以,它等同于:
 要编译某个模块,可以在 ninja 命令后跟模块名字(build.ninja文件中定义的构建目标,就像 Makefile 中的构建目标一样)。比如:- gn 和 gni 文件都在源码树中,比如 src 目录。当执行 gn gen 时,gn 工具根据 gn 和 gni 生成 ninja 文件并将这些 nin…[阅读更多] 
- okass 在版块 软件平台 中回复了话题 openwrt系统编译基础知识点 3年, 9个月前 - 1. [question] make config,make menuconfig,make oldconfig,make xconfig,make defconfig,make gconfig? - 在进行内核配置,或者是对一些软件的配置和编译中,常常会遇到: - make config - make menuconfig - make oldconfig - make xconfig - make defconfig - make gconfig - ————————————————————————————— - 1、make config - 是文本式,对话式,基于命令行的一…[阅读更多] 
- okass 在版块 软件平台 中发起了话题 openwrt系统编译基础知识点 3年, 9个月前 - 这里是openwrt 编译过程中的基础知识点 
- okass 在版块 软件平台 中回复了话题 openwrt编译固件详细步骤 3年, 9个月前 - 5. [issue] openwrt使用root用户权限才能编译,普通用户编译不通过 - 方案1:使用普通用户无权限编译失败 
 原因:用普通用户编译失败原因是普通用户没有对openwrt里文件操作的权限,可以通过ubuntu文件夹观看,所有文件都有锁。
 解决:- 用sudo chmod -R 777 openwrt 更改文件夹及里边嵌套的文件的使用权限。 - 方案2:使用root编译报错 
 原因:因为openwrt不建议用root编译
 解决:
 Export FORCE_UNSAFE_CONFIGURE=1
 Export FORCE=1- 或修改 include/prereq-build.mk。最新的版本已去掉这个限制。 
- okass 在版块 软件平台 中回复了话题 openwrt编译固件详细步骤 3年, 9个月前 - 4. 编译错误: cannot change permissions of /openwrt/staging_dir/host/bin’: Operation not permitted 
- okass 在版块 软件平台 中回复了话题 openwrt编译固件详细步骤 3年, 9个月前 - 3. 编译时错误ERROR: tools/ninja failed to build - 要安装 - apt-get install ninja-build,就可以了。 
- okass 在版块 软件平台 中回复了话题 openwrt编译固件详细步骤 3年, 9个月前 - [question] make config,make menuconfig,make oldconfig,make xconfig,make defconfig,make gconfig? - 在进行内核配置,或者是对一些软件的配置和编译中,常常会遇到: - make config - make menuconfig - make oldconfig - make xconfig - make defconfig - make gconfig - ————————————————————————————— - 1、make config - 是文本式,对话式,基于命令行的一…[阅读更多] 
- 读取更多



 
 
