12 2014 档案
摘要:接着前面写过的一篇关于 procd 的笔记. procd 在 STATE_INIT 时会运行 /etc/inittab 中描述的几个级别指定程序. ``` procd_inittab_run("respawn"); procd_inittab_run("askconsole"); procd_...
阅读全文
摘要:http://wiki.openwrt.org/doc/howto/wireless.utilities这些工具依赖于驱动的实现. ## 基于 mac80211 的驱动### iwconfigiwconfig 是一个配置工具, 基于 WEXT api. 这套 api 非常陈旧, 即将被废弃.### ...
阅读全文
摘要:```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 *...
阅读全文
摘要:``` Ralink RT2860 802.11n AP support [*] LED Support [*] WSC (W...
阅读全文
摘要:删除 openjdk 时 remove 了一大堆软件. 可能由于这个原因导致使用 git svn 命令时出现类似下面的错误. ```sam@sam-CW65S:pics$ git svn rebase Can't locate SVN/Core.pm in @INC (you may need to...
阅读全文
摘要:``` Busybox Settings ---> Busybox Library Tuning ---> [*] History saving [ ] Save histo...
阅读全文
摘要:```#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 (...
阅读全文
摘要:``` [ 147.080000] svc: failed to register lockdv1 RPC service (errno 146).[ 147.090000] lockd_up: makesock failed, error=-146[ 147.090000] CPU 0 Un...
阅读全文

浙公网安备 33010602011771号