openwrt

OpenWRT - package missing dependencies when recompiling

荒凉一梦 提交于 2019-12-21 04:15:12
问题 If anybody can help me with this I would really appreciate it because it's driving me insane. When I compile an OpenWRT image from scratch including my packages, usually, everything works fine. Otherwise, when I then try to recompile, I keep getting missing dependency errors. The only solution I have found which works is to place my package into a completely clean OpenWRT environment and compile everything again. This is not helpful considering it takes over an hour to compile the entire

openwrt的一些琐事

妖精的绣舞 提交于 2019-12-20 20:56:32
1、使路由器第一次启动后默认开启WIFI 修改文件openwrt/trunk/package/mac80211/files/lib/wifi/mac80211.sh的最后部分 # REMOVE THIS LINE TO ENABLE WIFI: option disabled 1 2、如何单独编译内核模块安装包 make package/kernel/{compile, install} V=s PS:OpenWRT的kernel modules 配置文件都在这 3、添加U盘/移动硬盘支持 添加USB挂载 Base system —> <*>block-mount 添加硬盘格式支持() Kernel modules —> Filesystems —> <*> kmod-fs-ext4 (移动硬盘EXT4格式选择) Kernel modules —> Filesystems —> <*> kmod-fs-vfat (FAT16 / FAT32 格式 选择) Kernel modules —> Filesystems —> <*> kmod-fs-ntfs (NTFS 格式 选择) 添加UTF8编码,CP437编码,ISO8859-1编码 Kernel modules —> Native Language Support —> <*> kmod-nls-cp437 Kernel

Java on OpenWrt/DD-WRT

让人想犯罪 __ 提交于 2019-12-20 09:32:49
问题 I have an existing solution written in Java which I would love to run on OpenWrt routers. Will OpenWrt even run Java without installing a lot of dependencies? Anyone ever tried this? 回答1: I've never done it, but it is definitively possible. You won't be able to run the full Java VM, only specialized versions of it (JamVM, PhoneME, SableVM). Also please be aware that running a Java VM is fairly a lot overhead for this kind of machine. I won't get much in detail because others have already done

Lua https timeout is not working

大憨熊 提交于 2019-12-20 05:16:08
问题 I am using following versions of Lua and it's packets on openWRT environment: luasocket-2.0.2 luasec-0.4 lua-5.1.4 Trying to use timeout for a https.request call. Tried using https.TIMEOUT where local https = require("ssl.https") and it never time outs. I tried giving a very small timeout (I know that I won't get answer in that time and internet connection is OK) also I tried when net connection is disconnected once https.request is called. Is it a known issue? or shall I try something else

智能路由器-OpenWRT 系列一 (OpenWRT 刷机)

为君一笑 提交于 2019-12-20 03:44:18
现在没有了网络,估计大家都不知道该怎么消遣娱乐了。 电影、音乐、聊天、视频 、网络资讯,缺了网络,什么都搞不起。不过随着上网的时间越来越久,就会发现家庭网络不怎么好用,或者说是家里的路由器不怎么好用。带宽越来越快,影音下载速度飞快,下载的电影没地方放,放在电脑上占空间,而且共享给家庭中的其他设备使用也麻烦,电脑不能整天的开机吧;偶尔想科学上网,电脑上配置起来也很麻烦,同样没法共享给其他设备;做个家庭智能网关,还需要专门买个设备。路由器全天开机,应该最适合做这些事情呀。 是时候给路由器升级一下,换个系统了。好多厂商,小米、360、极路由都生产了基于OpenWRT系统的智能路由器,功能强大。除了这些路由器,OpenWRT还支持给很多路由器刷机。根据我的日常使用,整理了一系列基本的OpenWRT使用方法,第一篇先介绍如何给路由器刷OpenWRT系统。 OpenWRT是一个高度模块化、高度自动化的嵌入式Linux系统,拥有强大的网络组件和扩展性,常常被用于工控设备、电话、小型机器人、智能家居、路由器以及VOIP设备中。 同时,它还提供了100多个已编译好的软件,而且数量还在不断增加,而 OpenWrt SDK 更简化了开发软件的工序。 OpenWrt 项目由 2004 年 1 月开始, 第一个版本是基于 Linksys 提供的 GPL 源码及 uclibc 中的 buildroot 项目,

Configure OpenWrt to provide HTTP authentication [closed]

大憨熊 提交于 2019-12-18 04:19:37
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 years ago . I need to configure an "Accton MR3201A" access point running OpenWrt. I want it to provide an open WiFi with an HTTP authentication webpage on which users must provide a username & password before being able to access the internet. Is there an existing package (http://downloads.openwrt.org/snapshots/trunk/ar71xx

TP-link WR703N, OpenWrt, Mentohust

ε祈祈猫儿з 提交于 2019-12-17 02:03:25
最近笔记本电脑的有线网卡坏了,具体怎么坏的,我也不清楚,很可能是老化了(但我的才两年,并且我很少听人说网卡这么快老化),也有可能下雨打雷天我没有拔网线。不过很久以前,我的笔记本网口灯无论有没有接网线,开机之后它都一直亮着,不知道什么原因,电脑型号是宏基4738ZG。 坏了一个有线网卡不打紧,但我们学校的联网需要用有线+锐捷认证,我有三种解决方案,第一种是我买个USB有线网卡,第二种是修主板上的有线网卡,第三种就是构建寝室的无线网。第一种加个有线网卡太麻烦了,而去USB网卡发热量都挺大,电脑总共三个USB口,或许可以加个USB拓展的,但那岂不是更麻烦;第二种太贵,据说都是200¥往上走的价格;第三种,其实我老早就想实现了,半年省下的网费基本就够我买一个无线路由器了。 路由器选择 我想找到OpenWrt官方支持的路由器, 小吴 向我推荐了TP-link WR703N,我的确觉得它挺漂亮,不过看着它娇小的体型,还是有点担心它能力不足,而且有更便宜的路由器。犹豫了一会,最后还是买了,因为觉得它太漂亮了。 刷路由器 OpenWrt && 配置 刷机对于WR703N来说是件非常容易的事,为了能够图文说明,参考了 这篇文章 。 下载固件, 小吴 以自身经历跟我说明刷错固件的后果,我觉得比较有必要注意需下载的固件,在 OpenWrt Downloads 的attitud

Linux shell: save input line from Serial Port each minute and send to remote server

倖福魔咒の 提交于 2019-12-13 08:46:12
问题 I have Arduino connected to computer over RS-232 (only TxD, RxD and GND). Arduino only send data to computer and computer receive it. Computer do not transmit anything to Arduino. Computer is WiFi router with OpenWrt linux with 16MB RAM and 4MB flash for system. I do not have free enough space for "good tool" like python (I have the same working program on x86 PC written in python). Arduino send data to PC +- each 60 seconds. Data has following format: SENSOR1;12.34;95.47 ABC245;34.5;75.1 2

GCC can't find curl library

家住魔仙堡 提交于 2019-12-13 05:43:32
问题 I have a Dragino Yun Shield (it's an Arduino Yun basically, running OpenWRt Linino) and I have installed GCC on it as explained here: http://www.sniff.org.uk/2014/05/building-gcc-for-yun-in-12-not-easy.html The compiler seems to work fine for my needs (except for some floating point warnings) but I run into a problem. My C program requires the curl library and it can't be found by the linker: gcc -shared -fPIC kii_cloud.c kii_custom.c kii_prv_utils.c -L jansson -I curl -I jansson -l jansson

UCI C API - How to work with list options

时光总嘲笑我的痴心妄想 提交于 2019-12-12 18:18:18
问题 Using UCI we can retrieve entire lists with the following command: $ uci get system.ntp.server This would read the kind of configuration below: config system option hostname 'OpenWrt' option timezone 'UTC' config timeserver 'ntp' list server '0.openwrt.pool.ntp.org' list server '1.openwrt.pool.ntp.org' list server '2.openwrt.pool.ntp.org' list server '3.openwrt.pool.ntp.org' option enabled '1' option enable_server '0' That returns all the ntp servers in one long string fine. 0.openwrt.pool