
openwrt
d9394952
这个作者很懒,什么都没留下…
展开
-
openwrt用WEB刷固件型号不对问题强行处理
参照这里:https://blog.youkuaiyun.com/caoshunxin01/article/details/79355602原机是一块mt7620A的通板,之前刷了一个叫WE826型号的固件,发现有点问题,想刷回联想的y1型号固件,通过web刷固件时会报:The uploaded image file does not contain a supported format. Make su...原创 2019-02-01 15:51:44 · 2331 阅读 · 0 评论 -
OpenWrt上搭建纯L2TP服务器[ZT]
转自:http://www.openwrt.pro/post-389.html 纯L2TP(l2tp + ppp,无IPSec)首先安装xl2tpd软件包 opkg update opkg install xl2tpd 编辑/etc/xl2tpd/xl2tpd.conf,配置l2tp服务器端 [global] port = 1701 ...转载 2019-02-23 21:20:29 · 12567 阅读 · 1 评论 -
openwrt从18.0.1降级回到17.0.6遇到的问题
因为觉得openwrt的18的配置检查功能很费时,特别是遇到ar93xx慢的真可以,所以决定从18.0.1降回到17.0.6上先把18.0.1的配置backup出来,然后刷17.0.6,再把backup导入回去,结果路由器能起来,但就是LAN无法上网,各种检查后发现原来18导出来的文件中/etc/sysctl.conf里面是空的,需要手工在17.0.6上补回去:kernel.panic=...原创 2019-02-24 10:49:11 · 1117 阅读 · 0 评论 -
使用PandoraBox时的软件源配置
src/gz 18.12_core http://downloads.pangubox.com:6380/pandorabox/18.12/targets/ralink/mt7621/packagessrc/gz 18.12_base http://downloads.pangubox.com:6380/pandorabox/18.12/packages/mipsel_1004kc_dsp/ba...原创 2019-03-03 21:17:51 · 23312 阅读 · 1 评论 -
记号:一个软件源镜像很多的站
http://mirrors.ustc.edu.cn/连lede的都有,不错在openwrt中改为以下源,下载速度会快很多:src/gz openwrt_core http://mirrors.ustc.edu.cn/lede/releases/18.06.2/targets/ar71xx/generic/packagessrc/gz openwrt_base http://mir...原创 2019-03-10 18:17:56 · 980 阅读 · 0 评论 -
折腾newifi3 d2笔记
1、忘记密码,恢复出厂通电开机,等正常运行后,长按RESET大约6~8秒,见所有灯开始一起慢闪,可松手等重启就是出厂状态了,出厂IP是:192.168.99.12、免拆机刷breed首先要打开ssh功能:http://192.168.99.1/newifi/ifiwen_hss.html然后ssh:root@192.168.99.1下载刷breed工具:wget http://...原创 2019-03-16 22:07:55 · 4954 阅读 · 0 评论 -
nginx stream module on mt7621(newifi3 d2) with openwrt 18.06.2
因为需要使用nginx的stream模块,专门编译了一个nginx安装包,适用于openwrt 18.06.2版本,mt7621平台顺便记录一下编译的笔记:1、修改feeds/packages/net/nginx/Makefile找到configure一段,添加一句:--with-stream \需要去掉的一句:--without-http_upstream_zone_...原创 2019-03-26 22:22:52 · 865 阅读 · 0 评论 -
在openwrt 17.01上编译最新nginx 1.14.2的笔记
openwrt 17.01源码对应的nginx版本是1.10.2,有些新功能没有,所以需要升级到nginx 1.14.2最新的稳定版https://github.com/macports/macports-ports/blob/09603eacd0424538f0321e2ce04f5295f987571a/www/nginx/files/patch-src-ngx_http_lua_head...原创 2019-03-28 10:40:04 · 923 阅读 · 0 评论 -
csdr Makefile for openwrt(纯粹笔记,暂未成功)
1、自已学着写的Makefile给csdr在openwrt平台上使用参照:https://blog.youkuaiyun.com/lvshaorong/article/details/54668220include $(TOPDIR)/rules.mkPKG_NAME:=csdrPKG_VERSION:=0.1PKG_RELEASE:=1PKG_SOURCE_PROTO:=gitP...原创 2019-03-29 11:52:27 · 293 阅读 · 0 评论 -
openwrt双机热备
转自:https://oldwiki.archive.openwrt.org/doc/recipes/high-availability先记号一下,有空再仔细研究。--------------------------------------------------------High availabilityHigh availability is a term that can ...转载 2019-04-16 10:56:58 · 1549 阅读 · 0 评论 -
openwrt配置strongswan对接hillstone ipsec的笔记
一、主要参考资料:https://openwrt.org/docs/guide-user/services/vpn/ipsec/strongswan/roadwarriorhttps://openwrt.org/docs/guide-user/services/vpn/ipsec/strongswan/basichttps://openwrt.org/docs/guide-user/s...原创 2019-06-01 22:52:29 · 9348 阅读 · 6 评论 -
openwrt使用3G拔号的实践笔记
参照文档:https://soha.moe/post/make-4g-wifi-ap-with-openwrt.html步骤:1、安装必要的包:opkg updateopkg install chat comgt kmod-usb-serial kmod-usb-core kmod-usb2 libusb-1.0 luci-proto-3g usbutils libpthrea...原创 2019-06-29 19:58:53 · 767 阅读 · 0 评论 -
在openwrt上使用autossh(已放弃)
用了一天后发现,这东西真不靠谱,还不如自已写的SHELL检测重连来的精准和方便,放弃中参考文章:https://my.oschina.net/umu618/blog/849345https://segmentfault.com/a/1190000000636636官风的使用说明(英文):https://www.harding.motd.ca/autossh/README.txt...原创 2019-06-30 23:26:34 · 1369 阅读 · 0 评论 -
将 DNSCrypt 部署到 Openwrt 路由器上+ DNSmasq 解析国内域名用本地 DNS[ZT+实践]
原文地址:1、https://typcn.com/legacy/blog/posts/openwrt-dnscypt.html2、http://www.openwrt.pro/post-376.html下面红字部份为本人实践的笔记之前一直用的是 ChinaDNS-C 结果发现解析速度奇慢无比,访问一个网站需要等 30 秒左右的主机解析时间,大概是到 Google DNS 的线...转载 2019-02-23 21:18:19 · 3479 阅读 · 0 评论 -
关于openwrt使用web升级提示固件版本不对的处理方法
参考资料:https://blog.youkuaiyun.com/caoshunxin01/article/details/79355602当openwrt使用web升级提示固件版本不对:The uploaded image file does not contain a supported format. Make sure that you choose the generic image forma...原创 2019-02-11 15:51:41 · 5219 阅读 · 0 评论 -
bcrelay广播包转发器
https://www.mankier.com/8/bcrelayPPTP原是基于PPP的三层通信协议,加入bcrelay后可以将二层的广播包转发到PPTP的client端在openwrt中实现的方法:修改/etc/pptpd.conf加入一行:bcrelay br-lan然后重启pptpd服务:/etc/init.d/pptpd restart注:在openwrt中,只有安装了pp...原创 2019-02-22 10:23:05 · 470 阅读 · 0 评论 -
两台openwrt 间的免登陆ssh
参考文档:http://www.360doc.com/content/13/1013/21/3884271_321222563.shtmlhttp://blog.youkuaiyun.com/u011007991/article/details/54378998http://www.xuebuyuan.com/1624349.htmlssh过程:1、首先,在client端生成一对密钥:...原创 2019-02-22 10:21:31 · 368 阅读 · 0 评论 -
openwrt中防暴力破解shell的脚本
原文:http://www.right.com.cn/forum/thread-124429-1-1.html原理:1. snort做入侵检测是很好,但是太大太复杂,我们需要轻量化的操作。当对方进行SSH 端口的穷举攻击的时候,dropbear会在系统log中记录下特定信息如:Login attempt for nonexistent userBad password attempt for...转载 2019-02-21 21:08:03 · 2501 阅读 · 0 评论 -
关于新版OPENWRT拔PPTP的619错或PPTPD无法连接问题笔记
旧版的openwrt要安装kmod-ipt-nethelper这个包对于新版,如3.18或4.xx内核的ROM,要安装kmod-nf-nathelper-extra这个包原创 2019-02-21 21:12:31 · 2555 阅读 · 0 评论 -
openwrt手动wifi设成client模式[笔记]
说明:刚刷好的OPENWRT,默认是不带luci-web管理的,所以得手工SSH或TELNET上去改WIFI模式,以便通过WIFI连到现有的ROUTER去下载安装luci...: root@OpenWrt:/etc/config# cat wirelessconfig wifi-device 'radio0' option type 'mac80211' ...原创 2019-02-21 21:16:24 · 4343 阅读 · 0 评论 -
openwrt多wan限上下行速脚本,基于qosv4,imq模块替换成ifb模块[ZT]
转自: http://www.right.com.cn/forum/thread-169414-1-1.html ,本人未经测试,转来自已备用由于树莓派2装openwrt官方没有imq模块, 好像说ifb比较有优势,优势对于普通玩家来说,没用~.百度翻遍各种文档,总算凑合起来可以用.有问题再提出来讨论,欢迎测试.有些参数是写死在脚本里面,因为暂时设了htb的带宽不可借用的,所以大小好像没关系...转载 2019-02-21 21:18:06 · 883 阅读 · 0 评论 -
OpenWRT平台搭建及简单应用[转帖]+华为HG255D编译实践(20190323更新)
转自:http://www.cnblogs.com/zmkeil/archive/2013/04/17/3027385.html对于HG255D参照这里:http://www.right.com.cn/forum/forum.php?mod=viewthread&tid=131349这里也可以参考:http://blog.youkuaiyun.com/eldn__/article/details/97...原创 2019-02-21 21:22:57 · 1015 阅读 · 0 评论 -
自行编译mwan加入openwrt里
参考源文:http://www.right.com.cn/forum/thread-124449-1-1.html本例以 opoenwrt 12.09正式版为例,原软件来自openwrt 英文论坛: https://forum.openwrt.org/viewtopic.php?id=390520. 编译安装:修改编译根目录的 feeds.conf.default增加:src-git m...原创 2019-02-21 21:24:08 · 835 阅读 · 0 评论 -
openwrt手工配置pptpd
官方wiki:http://wiki.openwrt.org/doc/howto/vpn.server.pptpd#prerequisites20190220更新:PPTP VPN协议已经被 IOS 10及以后的版本取消了前提是用opkg安装的pptpd#######/etc/config/pptpd######config service 'pptpd' option ...原创 2019-02-21 21:26:20 · 3394 阅读 · 0 评论 -
OPENWRT路由3G拔号实验
以下摘自:http://www.right.com.cn/forum/thread-155168-1-1.html 首先下载 Barrier Breaker 14.07 固件配置好网络,可以访问到internetopkg updateopkg install comgt kmod-usb-serial kmod-usb-serial-option kmod-usb-serial-ww...原创 2019-02-21 21:27:43 · 399 阅读 · 0 评论 -
HG255D刷机OPENWRT笔记
1、按网上的办法如下:(http://www.right.com.cn/forum/thread-143721-1-1.html)自已编译了OPENWRT,然后拆开外壳接上TTL线,通电启动然后用超级终端连接COM口,57600速率通电启动后按4停下来setenv serverip 192.168.1.100tftpboot 0x80100000 tftpd-uboot.b...原创 2019-02-21 21:28:51 · 5331 阅读 · 2 评论 -
OpenWRT交叉编译非官方软件sshpass(笔记)
参考文章http://www.111cn.net/sys/linux/54377.htm编译环境可参照上面原文,亦可参照之前的BLOG配置,此处略下载sshpass原码并解压到/openwrt/package/sshpass/src:mkdir -p /openwrt/package/sshpasswget http://sourceforge.net/projects/ss...转载 2019-07-18 16:51:49 · 1155 阅读 · 0 评论