openwrt

香橙派R1 Plus开发板使用OpenWRT镜像的操作说明

天涯浪子 提交于 2021-02-19 08:28:59
香橙派 R1 Plus 电脑开发板 采用瑞芯微RK3328 四核64位处理器,拥有1GB DDR4内存、双千兆网口、TF卡插槽、散热风扇接口等功能接口,支持openWRT等操作系统,板子其中一个千兆网口是 USB3.0 转接的,实测转发速率能达到900MB以上 , 适合作为家庭路由器使用,其中,r1plus的openwrt系统已经配置好,可以直接用作路由器。 openwrt镜像的安装和烧写 Linux 镜像的方法是一样的,大家可以参考下香橙派官方的使用手册。下文对系统的使用做简单的说明: 1、OpenWRT 版本 2、OpenWRT 系统默认登录账号和密码 使用前建议先更改一个比较安全的密码用于 web 登录和 ssh 登录。 3. 第一次启动前扩容 TF 卡中的 rootfs 1) 烧录完 OpenWRT 的镜像后,需要手动对系统 rootfs 进行扩容,才能使用 TF 卡 全部空间 2) 首先在 Ubuntu PC 上安装 gparted 3) 用读卡器将烧录好 OpenWRT 镜像的 TF 卡插入电脑,并打开 gparted,在右上角 选择你的 TF 卡,一般为/dev/sdb 4) 右键点击你要扩容的那个分区,选择“更改大小/移动” 5) 将未分配的空间全部分配给 rootfs,将滑块拖到最右边,然后点击“调整大小/ 移动” 6) 点击上方的“√”,并点击“应用

apply the patches based on openwrt package version

流过昼夜 提交于 2021-02-11 14:10:39
问题 In openwrt, as we known, usually the patches for a certain package should be put in package/[pkg]/patches and it will be applied in Makefile via $(Build/Patch). Example: package/test/0001-1.0.1.8.fix-A.patch package/test/0002-1.0.1.8.fix-B.patch When the package update to a new version, the patches sometimes also need to be updated. Example: package/test/0001-1.0.1.9.fix-A.patch package/test/0002-1.0.1.9.fix-B.patch OR package/test/0001-1.0.2.0.fix-A.patch package/test/0002-1.0.2.0.fix-B

apply the patches based on openwrt package version

守給你的承諾、 提交于 2021-02-11 14:09:23
问题 In openwrt, as we known, usually the patches for a certain package should be put in package/[pkg]/patches and it will be applied in Makefile via $(Build/Patch). Example: package/test/0001-1.0.1.8.fix-A.patch package/test/0002-1.0.1.8.fix-B.patch When the package update to a new version, the patches sometimes also need to be updated. Example: package/test/0001-1.0.1.9.fix-A.patch package/test/0002-1.0.1.9.fix-B.patch OR package/test/0001-1.0.2.0.fix-A.patch package/test/0002-1.0.2.0.fix-B

Newifi D1或 D2在Openwrt中,启用硬件NAT,启用BBR

Deadly 提交于 2021-02-09 02:08:55
Newifi D1或 D2在Openwrt中,启用硬件NAT,启用BBR 转载注明来源: 本文链接 来自 osnosn的博客 ,写于 2019-09-27. 启用 mt7621的硬件nat (Newifi D1 或 D2) newifi mini 用的是mt7620,也有硬件NAT,但不知道openwrt是否支持。 登陆路由器的网页。 Network -> Firewall -> General Settings -> Software flow offloading(勾上) -> Hardware flow offloading(勾上) -> Save&Apply(提交) <a target="_blank" href="https://img2018.cnblogs.com/blog/1641467/201909/1641467-20190927120829389-1173648656.png"><img src="https://img2018.cnblogs.com/blog/1641467/201909/1641467-20190927120829389-1173648656.png" style="width:100px;border:1px solid #000" /></a> <a target="_blank" href="https://img2018

Installing “opkg”?

 ̄綄美尐妖づ 提交于 2021-02-07 12:50:44
问题 I'm trying to install a package to my OpenWrt SDK. To do that you have to use OPKG package manager by typing: opkg update opkg install <package> However, in my case, OPKG is not installed and as a result I can't proceed. Could anybody tell me how can I install it? Thank you. I'm using Kubuntu btw: Linux ghanem-VGN-BZ31XT 3.16.0-34-generic #47-Ubuntu SMP Fri Apr 10 18:02:58 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux 回答1: Opkg doesn't really have a 'release' you can just install - that is because

Failed to authenticate w/ Google Authenticator when configuring OpenVPN on OpenWRT

半腔热情 提交于 2021-01-29 19:41:54
问题 I'm quite new to OpenWRT and I'm facing some problems here. I set up the OpenVPN server on a Ubuntu using OpenVPN Access Server web GUI, and correspondingly I got the client profile client.ovpn . Also I enabled "Google Authenticator Multi-Factor Authentication". When I configured as a client using client.ovpn , it worked perfectly on my phone, my other PC, but it just failed when I tried to start a client on OpenWRT on my router. According to https://openvpn.net/vpn-server-resources

Why $(INSTALL_BIN) and $(INSTALL_DATA) always remove softlink when installation files in Makefile

北慕城南 提交于 2021-01-28 13:36:44
问题 In OpenWrt package Makefile, at install section, the following code will remove the softlink from a lib* file and copy instance to $(1) In Build/Compile Section, we built out 3 libs under ${PKG_BUILD_DIR} ${PKG_BUILD_DIR}/libapi.so // -> libapi.so.1.0 ${PKG_BUILD_DIR}/libapi.so.1.0 // -> libapi.so.1.0.1 ${PKG_BUILD_DIR}/libapi.so.1.0.1 In Build/Installdev and Package/api/install Section, if $(INSTALL_BIN)/$(INSTALL_DATA) is used to copy these 3 libs from ${PKG_BUILD_DIR} to $(1)/usr/lib/, the

Why $(INSTALL_BIN) and $(INSTALL_DATA) always remove softlink when installation files in Makefile

不羁的心 提交于 2021-01-28 13:35:40
问题 In OpenWrt package Makefile, at install section, the following code will remove the softlink from a lib* file and copy instance to $(1) In Build/Compile Section, we built out 3 libs under ${PKG_BUILD_DIR} ${PKG_BUILD_DIR}/libapi.so // -> libapi.so.1.0 ${PKG_BUILD_DIR}/libapi.so.1.0 // -> libapi.so.1.0.1 ${PKG_BUILD_DIR}/libapi.so.1.0.1 In Build/Installdev and Package/api/install Section, if $(INSTALL_BIN)/$(INSTALL_DATA) is used to copy these 3 libs from ${PKG_BUILD_DIR} to $(1)/usr/lib/, the

Banana Pi BPI-W2 开源硬件,RTD1296方案设计

时光毁灭记忆、已成空白 提交于 2021-01-05 20:40:37
Banana PI BPI-W2是一个高度集成的多媒体网络路由器,可用于高无线性能、家庭娱乐、家庭自动化等… BPI-W2集成了一个四核ARM cortex- a53 MPcore,运行到1.5 ghz,路由器还包括各种外设,包括HDMI RX/ TX,Mini DP,PCIe2.0,pcie1.1 & sdio,M.2接口、USB2.0 USB3.0端口,SATA端口,2 Gbps端口千兆以太网端口,也支持802.11 ac / n WLAN连接通过PCI-e接口连接,BPI-W2可以运行Android6.0。它还可以运行OpenWRT,Debian linux,Ubuntu linux,Raspbian和其他操作系统。它还可以运行OpenWRT,Debian linux,Ubuntu linux,Raspbian和其他操作系统。 BPI-W2的大小与BPI-R2的尺寸大小相同,它可以很容易的运行它支持1080P高清视频输出,GPIO与Raspberry PI 3 兼容。 主要硬件规格: Realtek RTD1296, Quad-core ARM Cortex-A53 Mali T820 MP3 GPU 2G DDR4 SDRAM PCIE 2.0 interface.PCEe 1.1&SDIO support 2 SATA interface MicroSD slot

openwrt 串口console释放作为普通串口

拟墨画扇 提交于 2020-12-05 21:18:20
mt7688作为IOT Gateway模式时只有2个uart可以使用,默认是有一个控制台用于显示日志和调试。有时业务需要使用2个uart则需要把console释放为普通uart。 1.设置日志等级 设置控制台打印等级和内核打印等级,修改的文件在openwrt/package/base-files/files/bin/config_generate 2.屏蔽控制台输入功能 在文件openwrt/target/linux/ramips/base-files/etc/inittab中屏蔽输入功能 来源: oschina 链接: https://my.oschina.net/lgg/blog/4776363