首页
Python
Java
IOS
Andorid
NodeJS
JavaScript
HTML5
【
openwrt添加内核模块
】的更多相关文章
openwrt添加内核模块
进行目录package/kernel mkdir url-redirect cd url-redirect [zzh@KD1 url-redirect]$ tree . |-- Makefile `-- src |-- Makefile |-- line.c |-- line.h |-- proc.c |-- proc.h |-- redirect.c `-- redirect.h directory, files [zzh@KD1 url-redirect]$ cat Makefile # #…
openwrt 添加 应用(luci-application)
openwrt 添加应用的几个步骤如下: (1)在目录 ./feeds/luci/applications 下添加要增加的应用,譬如 "luci-test" (2)里面应该包含以下几个目录 hbg@root:~/trunk/feeds/luci/applications/luci-test$ tree.├── ipkg // 1.包相关│ ├── conffiles│ ├── postinst│ └── postrm├── lua…
OpenWRT添加模块 Makefile和Config.in
添加模块编译 在网上找了一下,很多关于编译Openwrt系统的资料,不过这些事情芯片厂商提供的开发包都已经办得妥妥了,但是没有找到系统介绍的资料,添加一个包的介绍有不多,其中有两个很有参考价值: http://blog.csdn.net/lj627889343/article/details/7997463 http://kamikaze.openwrt.org/docs/openwrt.html#x1-460002.1.2 详细步骤如下: 在package目录下创建模块目录my_module,…
openwrt 添加luci选项
刚刚下载的openwrt trunk版本,安装后没有luci选项,如下图 需要添加luci页面选项. 步骤如下: (1)修改配置文件 .config , 将 CONFIG_FEED_luci is not set 修改为 CONFIG_FEED_luci=y (2)执行如下命令: ./scripts/feeds update -a ./scripts/feeds install -a (3)再执行 make menuconfig, 可以查看到已经存在luci选项了…
OpenWRT 添加应用程序开机启动方法
方法一:在/etc/inid.d/目录下新建启动脚本. 方法二:直接在/etc/rc.local 中添加启动命令,如:./usr/bin/relay &…
openwrt添加自动启动项
在/etc/init.d下添加文件my-plugin #!/bin/sh /etc/rc.common # /etc/init.d/my-plugin start() { sh /root/userinfo/userinfo.sh } stop() { } 建立连接 ln -s /etc/init.d/my-plugin /etc/rc.d/S50my-plugin…
openwrt 添加 802.1x客户端njit
1.修改feed的配置文件 feeds.conf.default 添加下面两句: src-svn njit https://github.com/liuqun/openwrt-clients/trunk/njit src-svn scut https://github.com/liuqun/openwrt-clients/trunk/scut 2.执行命令 ./scripts/feeds update -a ./scripts/feeds install -a 3.在make menu…
OpenWrt添加启动脚本
1.在 /etc/init.d 目录下建立文件 vi silabs #!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org START=93 start() { # create node if needed insmod /lib/modules/silabs_fxs_3217x_drv_mod.ko } 2.在/etc/rc.d目录下建立链接文件: ln -s /etc/init.d/silabs /etc/rc.d/S93sila…
转:openwrt中luci学习笔记
原文地址:openwrt中luci学习笔记 最近在学习OpenWrt,需要在OpenWrt的WEB界面增加内容,本文将讲述修改OpenWrt的过程和其中遇到的问题. 一.WEB界面开发 LuCI是OpenWrt上的Web管理界面,LuCI采用了MVC三层架构,使用Lua脚本开发,所以开发LuCI的配置界面不需要编辑任何的Html代码,除非想自己单独去创建网页(View层),否则我们基本上只需要修改Model层就可以了. 首先我们讲述如何在web界面增加一个新的选项,如下图“Syst…
[Openwrt 扩展下篇] Openwrt搭建私有云Owncloud 9
网上很多资料讲用Linux打造owncloud构建私有云 ,花了些时间研究了下,我将之前的需求打造成了Openwrt下的Owncloud 9.其实网上还有Seafile.大家对比来看下知乎的评论,其实主要是自己用不必要那么挑剔. https://www.zhihu.com/question/23929945 软件版本: Nginx 1.4.7 PHP 5.6.17 Sqlite3 自带数据库 ,这里要说下openwrt下的mysql不能使用,版本5.1.X,而且Owncloud 7以上…