12 2014 档案

摘要:接着前面写过的一篇关于 procd 的笔记. procd 在 STATE_INIT 时会运行 /etc/inittab 中描述的几个级别指定程序. ``` procd_inittab_run("respawn"); procd_inittab_run("askconsole"); procd_... 阅读全文
posted @ 2014-12-25 18:07 sammei 阅读(1533) 评论(0) 推荐(0)
摘要:http://wiki.openwrt.org/doc/howto/wireless.utilities这些工具依赖于驱动的实现. ## 基于 mac80211 的驱动### iwconfigiwconfig 是一个配置工具, 基于 WEXT api. 这套 api 非常陈旧, 即将被废弃.### ... 阅读全文
posted @ 2014-12-17 17:47 sammei 阅读(490) 评论(0) 推荐(0)
摘要:```void procd_inittab(void){#define LINE_LEN 128 FILE *fp = fopen(tab, "r"); struct init_action *a; regex_t pat_inittab; regmatch_t matches[5]; char *... 阅读全文
posted @ 2014-12-17 10:38 sammei 阅读(5730) 评论(1) 推荐(0)
摘要:``` Ralink RT2860 802.11n AP support [*] LED Support [*] WSC (W... 阅读全文
posted @ 2014-12-17 10:29 sammei 阅读(1791) 评论(0) 推荐(0)
摘要:删除 openjdk 时 remove 了一大堆软件. 可能由于这个原因导致使用 git svn 命令时出现类似下面的错误. ```sam@sam-CW65S:pics$ git svn rebase Can't locate SVN/Core.pm in @INC (you may need to... 阅读全文
posted @ 2014-12-05 11:30 sammei 阅读(886) 评论(0) 推荐(0)
摘要:``` Busybox Settings ---> Busybox Library Tuning ---> [*] History saving [ ] Save histo... 阅读全文
posted @ 2014-12-04 17:55 sammei 阅读(499) 评论(0) 推荐(0)
摘要:```#include #include int main(void){ char s[] = "aa,bb,cc.11,22,33"; char *delim = ",."; char *s1 = s; for (;;) { char *t = strsep(&s1, delim); if (... 阅读全文
posted @ 2014-12-04 15:18 sammei 阅读(499) 评论(0) 推荐(0)
摘要:``` [ 147.080000] svc: failed to register lockdv1 RPC service (errno 146).[ 147.090000] lockd_up: makesock failed, error=-146[ 147.090000] CPU 0 Un... 阅读全文
posted @ 2014-12-04 11:33 sammei 阅读(1166) 评论(0) 推荐(0)