tingpan

生命不息,折腾不止!
  首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

随笔分类 -  OpenWrt

包括应用程序及Luci
摘要:添加按钮,实现页面跳转 1、在~/luci/modules/admin-full/luasrc/model/cbi/admin_network/wifi_client.lua添加 o = s:taboption("general", DummyValue, "_scan", translate("S 阅读全文

posted @ 2015-01-08 11:56 tingpan 阅读(1692) 评论(0) 推荐(0)

摘要:1、1.1 打开 /barrier_breaker/package/base-files/files/etc/init.d加入 disable_sta_mode_wifi_interfaces#!/bin/sh /etc/rc.common START=19 # just before netwo... 阅读全文

posted @ 2014-12-26 21:15 tingpan 阅读(973) 评论(0) 推荐(0)

摘要:1、 将ser2net编译进内核1.1 make menuconfig1.2 选上ser2netNetWork——>ser2net2、 烧写固件3、ser2net配置文件:修改/etc/ser2net.conf,把下面这一行2001:raw:600:/dev/ttyS0:9600 NONE 1STO... 阅读全文

posted @ 2014-12-09 11:43 tingpan 阅读(4640) 评论(0) 推荐(0)

摘要:1、接通串口,网线; 2、打开串口软件SecureCRT; 3、按复位键,不断地出现信息; 4、2秒内按任意键停下来,出现uboot> 5、输入httpd 6、打开网页,输入ip 7、开始更新,之后自动重启,ip变为默认192.168.1.1 7、更改/etc/config 的network文件, 阅读全文

posted @ 2014-12-03 20:34 tingpan 阅读(1291) 评论(0) 推荐(0)

摘要:在~/openwrt/barrier_breaker/package/base-files/files/lib/functions/ uci-defaults.sh第178行修改IP地址 阅读全文

posted @ 2014-12-02 11:40 tingpan 阅读(7619) 评论(0) 推荐(0)

摘要:1、修改dropbear配置文件找到package/network/services/dropbear/files/dropbear.config修改如下:config dropbearoption PasswordAuth 'on'option RootPasswordAuth 'on'optio... 阅读全文

posted @ 2014-12-02 11:39 tingpan 阅读(24018) 评论(0) 推荐(0)

摘要:问题: src/luci-bwc.c:35:20: fatal error: iwinfo.h: No such file or directorycompilation terminated.make[1]: *** [src/luci-bwc.o] Error 1 解决方法: 在/home/ti 阅读全文

posted @ 2014-12-01 11:34 tingpan 阅读(1177) 评论(0) 推荐(0)

摘要:一、 复制/home/tingpan/openwrt/barrier_breaker/feeds/luci/applications文件夹下的luci-samba文件,将文件中的内容samba改为mysamba, "Network Shares"改为"My Network Shares" 二、 /h 阅读全文

posted @ 2014-11-24 11:27 tingpan 阅读(195) 评论(0) 推荐(0)

摘要:一、打开以下目录/home/tingpan/openwrt/barrier_breaker/package/kernel/mac80211/files/lib/wifi找到mac80211.sh二、修改106行option disabled 0说明:可以打开编译目录:/home/tingpan/op... 阅读全文

posted @ 2014-11-21 11:23 tingpan 阅读(425) 评论(0) 推荐(0)

摘要:方法一 1、打开 /home/tingpan/openwrt/barrier_breaker/feeds/luci/modules/admin-full/luasrc/model/cbi/admin_network 下的wifi_add.lua文件 2、修改第60行为下内容: function re 阅读全文

posted @ 2014-11-21 11:18 tingpan 阅读(334) 评论(0) 推荐(0)

摘要:第一部分 共享设置一、添加编译选项network---file transfer---aria2 aria2(我没选) vsfpd ftp服务器 multiwan 多拨软件 ppp 默认 ppp-mod-pppoe 默认 samba36-server Samba共享 wpad-mini 默认 app... 阅读全文

posted @ 2014-11-20 20:00 tingpan 阅读(1199) 评论(0) 推荐(0)

摘要:一、 支持USB参考:http://wenku.baidu.com/link?url=K_uAp4QEa2cX3nPMkbc-colCAHA1yBwo1JCYsZf-qR7AVFPkmpbBVYRdpcnDS6M--A4UFG7W5N97CDwTr_RKUTETTl_DcbG_0pNQ_gQo9xW... 阅读全文

posted @ 2014-11-13 19:20 tingpan 阅读(2588) 评论(0) 推荐(0)

摘要:barrier_breaker版本的OpenWrt设置 阅读全文

posted @ 2014-11-06 11:02 tingpan 阅读(220) 评论(0) 推荐(0)

摘要:一、驱动源码#include #include #include #include #include //#include //#include //#include #include #include #include #include #include #include #define led_... 阅读全文

posted @ 2014-09-30 20:58 tingpan 阅读(780) 评论(0) 推荐(0)

摘要:使运用程序开机启动将如下代码加入 /etc/rc.local 中insmod /root/spi_gpio_ad7193.koscws 阅读全文

posted @ 2014-09-16 00:38 tingpan 阅读(213) 评论(0) 推荐(0)

摘要:1、下载源码http://downloads.openwrt.org/snapshots/trunk/x86/openwrt-x86-generic-combined-ext4.img.gz2、格式转换(1) 转换在linux系统下下载qemu-img运行命令sudo apt-get install... 阅读全文

posted @ 2014-09-12 00:45 tingpan 阅读(1466) 评论(0) 推荐(0)

摘要:scp上传bin文件到root文件夹下. 等待重启 阅读全文

posted @ 2014-09-06 20:37 tingpan 阅读(718) 评论(0) 推荐(0)

摘要:1、各类文件的书写src中的文件:hello文件夹中的Makefile文件## Copyright (C) 2010-2012 OpenWrt.org## This is free software, licensed under the GNU General Public License v2.... 阅读全文

posted @ 2014-06-27 18:53 tingpan 阅读(793) 评论(0) 推荐(0)

摘要:hello world之Makefile 阅读全文

posted @ 2014-06-26 18:58 tingpan 阅读(210) 评论(0) 推荐(0)