- 博客(102)
- 收藏
- 关注
转载 openwrt 编译 Restart config...
需要make kernel_menuconfig 保存.config配置转载于:https://www.cnblogs.com/listenerln/p/11364580.html
2019-08-16 16:08:00
1064
转载 PDF转Word
点这里:smallpdf.com主页如下: 支持各种PDF的操作, 在线转换下载转载于:https://www.cnblogs.com/listenerln/p/11181218.html
2019-07-13 16:48:00
215
转载 用 pc 抓取 vlan tag 的数据包 [转]
具体步骤:1.打开“运行”,输入regedit,进入注册表 2.找到注册表中的 HKEY_LOCAL_MACHINE 3.在注册表 HKEY_LOCAL_MACHINE——SYSTEM下找到CurrentControlSet4.在CurrentControlSet下找到Control5.在Control下找到Class 6.在Class下搜索 {4D36E972-...
2019-07-09 11:25:00
675
转载 openwrt 一个接口多IP, 多协议配置 (alias)
config interface 'lan' option type 'bridge' option ifname 'eth0.1' option proto 'static' option ipaddr '192.168.1.1' option netmask '255.255.255.0'...
2019-06-28 11:08:00
3668
转载 linux所有版本下载链接
http://mirrors.ustc.edu.cn/kernel.org/linux/kernel/转载于:https://www.cnblogs.com/listenerln/p/10693961.html
2019-04-12 09:09:00
181
转载 ipv6 for openwrt odhcpd
openwrt中ipv6的RA服务器 odhcpd配置:配置文件/etc/config/dhcp 1 # router.c -> send_router_advert() 2 config dhcp 'lan' 3 option interface 'lan' 4 5 # 使用 ra服务器模式...
2019-03-27 12:25:00
1237
转载 openwrt package Makefile
ppp 添加ipv6菜单项# ppp目录 package/network/services/ppp/Makefile# 定义子菜单项 pppipv6define Package/pppipv6# 对应父菜单$(call Package/ppp/Default) DEPENDS:=@(PACKAGE_ppp||PACKAGE_ppp-multilink)...
2019-03-22 17:47:00
232
转载 openwrt 中个网络接口协议说明[转]
openwrt 中个网络接口协议说明ref: https://blog.csdn.net/u011641885/article/details/46650099openwrt中的接口协议:( /etc/config/network 中的 proto 选项)协议描述static静态ip...
2019-03-16 22:31:00
756
转载 openwrt Package aircrack-ng is missing dependencies for the following libraries:
Package aircrack-ng is missing dependencies for the following libraries:libnl-3.so.200libnl-genl-3.so.200解决方法:feeds/packages/net/aircrack-ng/Makefile添加define Package/aircrack-ng...
2019-01-24 13:48:00
524
转载 linux kernel 从cmdline 提取值
1 // 从cmdline 提取 rootfsname= 的值到 val_buf 2 char val_buf[64]; 3 #define ROOTFS_CMDLINE "rootfsname=" 4 5 static void __init gluebi_read_cmdline...
2019-01-19 16:33:00
618
转载 js 上传文件进度条 [uboot使用]
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2 <html...
2019-01-14 16:00:00
115
转载 printk打印级别 [转]
kernel/printk.c1、查看当前控制台的打印级别cat /proc/sys/kernel/printk4 4 1 7其中第一个“4”表示内核打印函数printk的打印级别,只有级别比他高的信息才能在控制台上打印出来,既 0-3级别的信息2、修改打印echo "新的打印级别 4 1 7" >/proc/sys/kerne...
2019-01-05 15:09:00
136
转载 linux c 宏定义
#if 1#define DEBUGP(fmt, ...) printf("%s(%d): "fmt"\n", __func__, __LINE__, ##__VA_ARGS__)#else#define DEBUGP(fmt, ...)#endif将宏的值转换为字符串#define __STR__(s) #s#define STR(s) __STR__(s)...
2019-01-05 10:17:00
170
转载 uboot 开发记录
环境变量:filesize : 传输文件完成后会自动设置这个值, 表示文件大小md $loadaddr 查看loadaddr的内存数据loady : 使用 Ymodem方式接从串口收文件, 网卡驱动失败可以使用转载于:https://www.cnblogs.com/listenerln/p/10189437.html...
2018-12-28 11:19:00
148
转载 SecureCRT 遇到一个致命的错误且必须关闭
解决SecureCRT报错的问题SercureCRT 报错内容:SecureCRT 遇到一个致命的错误且必须关闭。一个崩溃转储文件已创建于:C:\Documents and Settings\Administrator\Application Data\SecureCRT.dmp1.在网上查了一下,说是将该路径中VanDyke文件夹内的东西删除掉就...
2018-12-27 10:32:00
1417
转载 hostapd源代码分析[转载]
ref: https://blog.csdn.net/tmwiajdhostapd源代码分析(一):网络接口和BSS的初始化最近在做一个基于OpenFlow 协议的无线AP 的项目,于是就分析了hostapd 的源代码,并在原有的基础上添加上我们的代码。经过近半个月的调试和分析,算是基本上搞清楚了hostapd 的运作机制。鉴于网上对于hostapd 的具体资料甚是稀...
2018-12-12 10:51:00
1199
转载 C 结构体
1 static const struct blobmsg_policy pol[] = { 2 [FOO_MESSAGE] = { 3 .name = "message", 4 .type = BLOBMSG_TYPE_STRING, 5 }, 6 [FOO_LIST] = { 7 ....
2018-12-11 16:50:00
146
转载 datatables
这个错误是因为 数据格式不对,数据格式: data{ "data": [ { "proto" : "HTTP", "purate": "10", "pdrate": "100", "tx": "80", "rx": "1000" }, { ...
2018-06-20 16:42:00
116
转载 Linux C语言中sscanf 的详细用法[转载]
sscanf() -从一个字符串中读进与指定格式相符的数据.1 函数原型: 2 3 Int sscanf( string str, string fmt, mixed var1, mixed var2 ... ); 4 5 int scanf( const char *format [,argument]... ); 说明:sscan...
2018-06-15 10:44:00
271
转载 html 开发者工具使用教程
F12打开开发者工具元素选择器: 鼠标点击后可以选择页面的元素, 下面页面部分会主动将对应源码标识出来console: 终端, 可以执行js脚本, 显示日志信息source: 显示源码, 可以修改, 调试页面url没有指明要访问的页面, 默认就是inde, 所以(index) 这个页面是浏览器虚拟显示出来network: 查看访问的网...
2018-06-12 17:30:00
634
转载 http 安全
HSTS:响应头中包含 Strict-Transport-Security: max-age=31536000;表示 使用http访问时, 要求浏览器强制转换为https当用户已经安全的登录开启过htst功能的网站 (支持hsts功能的站点会在响应头中插入:Strict-Transport-Security) 之后,支持htst的浏览器(比如chrome. fi...
2018-06-12 17:23:00
172
转载 Makefile
# 编译静态/动态库GCC = gccAR = arCFLAGS += -Wall -g -fPICLIB += -ljson-cLIB += -lcrypto#OBJ = libweb.aOBJ = libweb.soall: $(OBJ)libweb.so: auth....
2018-06-12 16:24:00
95
转载 http 回应格式
HTTP/1.1 200 OK\r\nSet-Cookie: fsm_login=21232f297a57a5a743894a0e4a801fc3; path=/\r\ncontent-type:application/json\r\nContent-Length: 80\r\n\r\n{"hwid":"6cda2df5b71cf8d3d24515fd308a7b...
2018-06-07 11:33:00
343
转载 isc-dhcp 自定义option 配置, option 43, option 60
本文为原创, 转载请注明出处配置选项对应的指令列表:isc-dhcp-ipv4/dhcp-4.2.4/common/tables.c私有编号:1. 定义:# 配置文件有声明的编号 会在接收的时候 替换成类似new_acip1=value 形式# 声明一个私有编号名字: acip1, 编号: 234, 值类型: string#...
2018-05-30 15:08:00
3262
转载 javascript
alert(JSON.stringify(obj, null, 2));将对象转换为stringalert(JSON.stringify(JSON.parse(str), null, 2));将字符串转换为json对象, 再转换为string毫秒时间格式化输出 var date = new Date(timeval * 1000);return date.format("y...
2018-05-18 15:59:00
82
转载 layer iframer子页面传值
父页面: 调用子页面函数 1 function ifvlan_add(title,url, w){ 2 //layer_show(title,url,w,510); 3 layer.open({ 4 type: 2, 5 area: ['900px', '510px'], 6 ...
2018-05-17 16:49:00
113
转载 jQuery 选择器
选择器: ref:http://www.w3school.com.cn/jquery/jquery_selectors.asp$(this)当前 HTML 元素$("p")所有 <p> 元素$("p.intro")所有 class="intro" 的 <p> 元素$(".intro")所有 cl...
2018-05-16 17:45:00
103
转载 pf_ring 编译移植
下载地址:http://sourceforge.net/projects/ntop/files/PF_RING/编译模块:cdkernel/pf_ring.ko编译libpcapcd userland/libpcap-1.7.4 ./configure --target=mips-openwrt-linux --host=mips-openwrt-l...
2018-04-17 09:30:00
346
转载 Android wifi 扫描机制
https://blog.csdn.net/h784707460/article/details/79658950https://blog.csdn.net/h784707460/article/details/79702275转载于:https://www.cnblogs.com/listenerln/p/8809261.html
2018-04-12 17:43:00
381
转载 wifi 万能钥匙协议
https://www.cnblogs.com/dee0912/p/5473299.htmlhttps://www.cnblogs.com/uestcbutcher/p/7250446.htmlhttps://www.cnblogs.com/www-vnote-net/p/6077810.htmlhttps://www.cnblogs.com/jiaoxiake/p/6798...
2018-04-03 16:13:00
340
转载 linux下CJson使用
ref: https://blog.csdn.net/taiyang1987912/article/details/49862141转载于:https://www.cnblogs.com/listenerln/p/8708646.html
2018-04-03 15:14:00
193
转载 libxml -- 解析 XML 文档
ref:http://www.360doc.com/content/10/1210/16/4384349_76816020.shtml参考XML介绍:XML 和 DOMlibxml介绍数据类型 — xmlChar数据结构创建 XML 文档解析 XML 文档修改 xml 文档Xpath — 处理大型 XML 文档lib...
2018-03-23 16:20:00
137
转载 关闭浏览器复制行为
document.body.oncopy=null;转载于:https://www.cnblogs.com/listenerln/p/8630961.html
2018-03-23 16:17:00
249
转载 Ubuntu 语言设置
默认语言/etc/default/locale安装的语言转载于:https://www.cnblogs.com/listenerln/p/8276544.html
2018-01-12 16:38:00
132
转载 Socket编程之非阻塞connect
非阻塞connect:在一个 TCP 套接字被设置为非阻塞之后调用 connect ,connect 会立即返回EINPROGRESS错误,表示连接操作正在进行中,但是仍未完成,与此同时 TCP 三次握手操作会同时进行。在这之后,我们可以通过调用 select 来检查这个链接是否建立成功。非阻塞connect有三种用途:1.我们可以在 TCP 三次握手的同时做一些其它的处理...
2017-11-16 17:01:00
239
转载 ssh 公共秘钥
创建秘钥[root@ubuntu tmp]$ ssh-keygen -t rsaGenerating public/private rsa key pair.Enter file in which to save the key (/root/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Ente...
2017-11-14 15:50:00
418
转载 Linux Shell脚本中对IP、子网掩码和网关的有效性判断[转]
以下示例只是提供一些思路和简易的方法。请参考使用。以下代码在bash中验证通过,如果使用其它shell请自行调整。1:IP格式效性判断1 #return 1(failure) invalid ip,0(success) valid ip 2 is_valid_ip_format() 3 { 4 if [[ "$1" =~ ^[0-9]{1,...
2017-10-26 11:08:00
275
转载 常用AT指令
AT+CREG 网络注册。获得手机的注册状态send "at+cimi^m"判断该SIM卡属于哪个运营商,前3为表示国家,如460表示中国,接下来的2位是运营商代码,00表示中国移动,01表示中国联通使用方法:参考脚本:获取当前信号,comgt -d /dev/ttyUSB2 -s getstrength.gcomAT+CSQ+CSQ: 11,99...
2017-10-17 17:18:00
269
转载 panic[转]
简介在内存发生panic时,需要把panic的日志保存下来。以方便日后进行分析。目前有三种记录的方式: kdump; mtdoops; crashlog大家对kdump比较了解。它主要使用于x86系统。因为它使用占用大量内存和硬盘。mtdoops和crashlog主要用于嵌入式的环境。也只是记录文本日志。mtdoop功能在发生oops时,把msg区写入特定的m...
2017-10-12 16:33:00
210
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人