2017年12月3日

kexec on openwrt - linux boots linux, kernel boots kernel on openwrt

摘要: kexec on openwrt - linux boots linux, kernel boots kernel on openwrtkexecopenwrtkernel 背景对于嵌入式设备比如路由器,每次版本升级,总是需要image的升级,所以需要烧写Flash。这种方式速度慢,并且还可能损坏Flash里的引导image,造成设备无法启动,只能返厂维修。如果能够做一个小系统,出厂时烧录到F... 阅读全文

posted @ 2017-12-03 12:07 nicephil 阅读(1265) 评论(0) 推荐(0) 编辑

2017年11月7日

OSX wifi debug tool - airport

摘要: OSX wifi debug tool - airportwifiosxairport airport analysis Backgroud一直以来MAC OSX系统中,在双频合一的SSID下,总是莫名的Roaming到2.4G,需要从OSX下看看Wifi的log.发现了一个好的命令行工具airport. Usage创建软连接sudo ln -s /System/Library/Priva... 阅读全文

posted @ 2017-11-07 14:36 nicephil 阅读(883) 评论(0) 推荐(0) 编辑

2017年10月23日

2017-10-23-awk用法

摘要: 2017-10-23-awk用法awk 多维数组awk通过将下标整体看成一个字符串来支持多维数组。本文结合例子介绍awk多维数组的赋值及遍历。多维数组awk通过将下标整体看成一个字符串来支持多维数组,实际上是一维数组,如array[5,6]=7,下标5和6连结成字符串5SUBSEP6(数字5和6被视为字符串),SUBSEP是awk内建的一个变量,默认值是\034(文件分隔符file separ... 阅读全文

posted @ 2017-10-23 16:17 nicephil 阅读(147) 评论(0) 推荐(0) 编辑

2017年9月18日

2017-9-18-how to recover ubnt-erx image

摘要: 2017-9-18-how to recover ubnt-erx imageubnt-erx Stepsload initramfs image by ubootwget http://image.oakridge.vip:8000/images/ap/ubnterx/recover-ubnt-erx.tar.tar.gztar xf recover-ubnt-erx.tar.tar.gzs... 阅读全文

posted @ 2017-09-18 15:09 nicephil 阅读(547) 评论(0) 推荐(0) 编辑

2017年9月16日

2017-9-16-MTK OpenWRT SDK Analysise for UBNT ERX

摘要: 2017-9-16-MTK OpenWRT SDK Analysise for UBNT ERXmtkopenwrt Referencemtk sdklinux3.10 - mt7621 hw nat codeubnt erx patchmt7621 hw nat patchubnt erx recover to edgeos Plan Plan APorting Linux-3.10 H... 阅读全文

posted @ 2017-09-16 20:12 nicephil 阅读(1317) 评论(0) 推荐(0) 编辑

2017-9-6-luci Analysis

摘要: 2017-9-6-luci Analysislucimodulesluci.cbiwidgetluci.model.networkAPIWebUI Process modulesluci.model.uciluci.model.networkluci.utilluci.cbiluci.templateubus call network.interface.wan status{ "up": ... 阅读全文

posted @ 2017-09-16 11:25 nicephil 阅读(636) 评论(0) 推荐(0) 编辑

2017年7月28日

how to upgrade ubnt unifi ac

摘要: how to upgrade ubnt unifi acopenwrthow to upgrade uap-ac-pro to okos imageReferenceBackgroundstepsRecovery it to UBNT ImageBackgroundSteps how to upgrade uap-ac-pro to okos image ReferenceUniFi-TFT... 阅读全文

posted @ 2017-07-28 22:38 nicephil 阅读(429) 评论(0) 推荐(0) 编辑

2017-7-27-关键20小时,快速习得任何技能

摘要: 2017-7-27-关键20小时,快速习得任何技能thinking总之,就是在有限时间内保持专注,和不断练习nicephil@gmail.com 2017-7-27 阅读全文

posted @ 2017-07-28 22:36 nicephil 阅读(229) 评论(0) 推荐(0) 编辑

2017年7月5日

syslogd analysis

摘要: syslogd analysissyslogd1. syslogd_main() 1. // parse parameters (m:n):l:Ss:b:R:LC::Df: 2. parse_syslogdcfg() // parse conf file, priority, facility 3. do_syslogd() // main loop 1.... 阅读全文

posted @ 2017-07-05 10:41 nicephil 阅读(312) 评论(0) 推荐(0) 编辑

2017年6月27日

openwrt wpa_psk_file

摘要: openwrt wpa_psk_fileopenwrtSetupNotesReferece Setupsetup the encryption in wireless configuci set wireless.ath10.encryption=psk-mixeduci del wireless.ath10.keyuci commit wirelesschange /lib/wifi/hos... 阅读全文

posted @ 2017-06-27 15:17 nicephil 阅读(650) 评论(0) 推荐(0) 编辑

导航