
Openwrt
中下游国外我
这个作者很懒,什么都没留下…
展开
-
Openwrt编译Vmware虚拟机上运行的版本
首先是得到openwrt的源代码。 在Ubuntu下,首先安装上svn工具: sudo apt-get install subversion 然后装上各种依赖关系包: sudo apt-get install gcc g++ binutils patchbzip2 flex bison make autoconf gettext texinfo unzip shar转载 2014-04-30 16:55:41 · 3378 阅读 · 0 评论 -
基于OpenWrt添加ubus支持的示例分享
http://blog.youkuaiyun.com/hbl0307106015/article/details/48249585写作说明发布声明: 本文发布于2015年9月6日,内容为原创,转载请说明出处,多谢合作,Linux有GPL协议,那么博客应用也类似,希望大家遵循“GPL”开源精神平台:OpenWrt 14.07 + 一台路由器需求:为一个守护进程添加ubus支持,使之能转载 2016-04-25 10:06:01 · 1945 阅读 · 1 评论 -
ubus数据结构和接口介绍
http://www.faceye.net/search/160382.html#bottom-adlibubus数据结构struct ubus_event_handler {struct ubus_object obj;ubus_event_handler_t cb;};struct ubus_context {struct list_head reques转载 2016-04-25 10:04:55 · 9474 阅读 · 0 评论 -
Openwrt开启debug功能
当需要对linux系统进行debug时,需要做如下配置:注意:开启Compile packages with debugging info选项时,每个package(包括library)都会生成很大的文件,这样编译链接过程会很慢,所以不需要的话不推荐开启该选项。原创 2015-12-07 14:03:08 · 2578 阅读 · 0 评论 -
openwrt中使用ubus实现进程通信
http://blog.youkuaiyun.com/jasonchen_gbd/article/details/45627967ubus为openwrt平台开发中的进程间通信提供了一个通用的框架。它让进程间通信的实现变得非常简单,并且ubus具有很强的可移植性,可以很方便的移植到其他linux平台上使用。本文描述了ubus的实现原理和整体框架。ubus源码可通过git库 git://转载 2016-01-22 11:31:40 · 1821 阅读 · 0 评论 -
openwrt initramfs配置
配置make menuconfig1、选择Target ImagesOpenWrt Configuration->TargetImages --->[*] ramdisk --->Compression(gzip) --->() Use external cpio make kernel_menuconfig1、配置RAM block devicesupp原创 2015-12-09 19:11:26 · 4653 阅读 · 0 评论 -
Openwrt内部工具链改为外部工具链:kernel panic - not syncing: No init found. Try passing init= option to kernel.
一、环境:openwrt+linux 2.6.311、内部toolchainmake menuconfig 内部toolchain配置如下: [*] Advanced configuration options (for developers) ---> [*] Toolchain Options --->编出的toolchain为:staging_dir/toolc原创 2015-10-15 18:59:52 · 7134 阅读 · 0 评论 -
Openwrt下安装Python3.5运行出现异常:Fatal Python error: Py_Initialize: Unable to get the locale encoding
环境说明:Openwrt + Python 3.5依赖的库:libbz2, expat, libopenssl, libpthread, zlib, libffi, libcrypto, libncurses, libpanel 使用说明:之前已经安装过python2.7.3,运行很正常。后来需要使用Python3版本,所以需要升级。经过一番移植、修改,终于安装成功了。结果原创 2015-10-22 13:39:18 · 17363 阅读 · 1 评论 -
Openwrt添加python3 package出现错误:提示缺少对libssl的依赖
在Openwrt中添加python3 package时出现错误:Package python3-light is missing dependencies for the following libraries:libcrypto.so.1.0.0libssl.so.1.0.0分析:Makefile:define Package/python3-base$(cal原创 2015-10-20 15:58:55 · 4616 阅读 · 0 评论 -
Openwrt编译python3时出现错误:No rule to make target `package//host/compile'
步骤:1、在package目录下添加python3,包含Makefile,files和相关patches文件2、执行make package/python3/compile V=s...make[1]: *** No rule to make target `package//host/compile', needed by `package/python3/compile'.原创 2015-10-20 15:50:35 · 8297 阅读 · 0 评论 -
OpenWRT的包依赖 package DEPEND
http://blog.chinaunix.net/uid-27057175-id-5011775.htmlOpenWRT平台的package管理有自己的Makefile,不同于gcc的Makefile,这个Makefile是作为OpenWRT强大的package管理的关键组件。要想往OpenWRT添加自己的package,就得按照它的方式去写个pack依赖。有了这个,ta转载 2015-10-16 17:07:23 · 4320 阅读 · 0 评论 -
创建运行Openwrt镜像的虚拟机
作者:Cappie 简介本文为本人学习玩OpenWrt时候的经验分享,旨在分享如何用VMware虚拟机安装OpenWrt并搭建出一个可联网的OpenWrt虚拟机环境 操作1. 下载OpenWrt的虚拟盘镜像,下载地址:http://backfire.openwrt.org/10.03.1-rc4/x86/openwrt-x86-generic-combined转载 2014-04-30 17:09:46 · 1763 阅读 · 0 评论 -
OpenWRT开发--Build SDK
http://my.oschina.net/hevakelcj/blog/410633 OpenWRT开发之——创建软件包(有更新)目录[-]试验步骤第一步:生成SDK第二步:安装SDK第三步:创建helloworld项目第四步:创建helloworld包第五步:试验helloworld总结求关注试验转载 2016-05-10 09:38:26 · 5234 阅读 · 1 评论