An error occurred while compiling the Hello demo in the OpenWrt SDK:Package Hello was missing dependencies for the following libraries:libc.so.6The discovery could have been compiled before, but now it's strange.Later on the Internet to find the reason, some say change libc.provides add libc.so.6This makes it an error to install the compiled IPK into the OpenWrt runtime.Finally, I found the problem:I'll do
Add Module compilationFound on the internet, a lot of information about compiling OPENWRT system, but these things chip manufacturers to provide the development package has been completed, but did not find the system introduced the information, add a package of introduction there are not many, of which there are two very valuable reference:http://blog.csdn.net/lj627889343/article/details/7997463http://kamikaze.openwrt.org/docs/openwrt.html#x1-460002.1
"Reprint Please specify Source: Changuo column http://blog.csdn.net/qianguozheng/article/details/37666829"The OPENWRT system has already joined the Crond by default, simply not configuring the default configuration parameters, which causes the service to not come up.Main steps:1. Change the startup script/etc/ini.d/cron/etc/rc.d/s50cron links for/etc/ini.d/cron2. Join the default startup program/etc/crontabs/rootFile name is: usernameContent format: n
Following the previous two articles: OpenWrt Luci Web Manager Add New menu and OpenWrt Luci Web Manager Add new menu (ii)This extension is to implement a login interface, and the login interface to parse the input content into a configuration fileStep One:To modify the /usr/lib/lua/luci/model/cbi/admin_myapp/Cbi_tab.lua file: --Copyright fulinux Step Two:Modify the/etc/config/login configuration file (the f
] 0x000000170000-0x000000180000: "0:art"[1.500384] 0x000000180000-0x000000190000: "Config"[1.505436] 0x000000190000-0x0000001a0000: "Pot"[1.510249] 0x0000001a0000-0x0000001b0000: "Data"[1.515434] 0x0000001b0000-0x000001fc0000: "0:hlos"[1.520486] 0x000000540000-0x000001fc0000: "Rootfs"//No. 12th partition[1.525471] Mtd:device (ROOTFS) set to is root filesystem[1.530832] 1 squashfs-split partitions found on MTD device Rootfs[1.536393] 0x000001130000-0x000001fc0000: "Rootfs_data"
After executing t
The development environment is Ubuntu. First build the environment of compilation.sudo apt-get install gcc g++ binutils patch bzip2 Flex bison make autoconf gettext texinfo unzip sharutils subversion libn Curses5-dev ncurses-term zlib1g-dev gawk asciidoc libz-dev git-core build-essential Libssl-devThe following is the download source code, the source is divided into two, one is the latest version but unstable, is the trunk version, a relatively stable version, backfire versionTrunk version downl
Now the core problem: solve the USB rootfs problem.
Find this article: http://macbruins.com/2011/09/01/easy-live-usb-for-x86-openwrt/
The inside says:
Why booting from USB fails A Desktop Linux system typically boots up in these steps:a bootloader, usually Grub, loads Linux kernel and initial ROOTF s image into memory and starts kernel execution. From initial Rootfs Kernel starts a initialization program, usually "/init", to set up essenti
OpenWrt after the brush is complete, it does not automatically turn on the wireless function, need to manually modify the configuration file, and then restart the Network service. The configuration file for managing wireless features is:/etc/config/wirelessThe content is composed of two parts: config wifi-device and config wifi-iface. The former configuration of the wireless network card operating mode, channel, MAC address, which antennas used (gener
PrefaceIt has been built in MacOS under the OpenWrt of the compilation environment, did not expect to update to the latest official trunk, the nightmare began. A record of the thinking process and the coping methods are now made.Background KnowledgeOpenWrt recommends using MacPorts to build relevant tools in MacOS. MacOS comes with GCC with the following version information:Configured with:--prefix=/applications/xcode.app/contents/developer/usr--with-
first, the basic concept
Lan:local Area Network's abbreviation, i.e. LANour computers and our routes are connected to this port .
Wan:wide Area network abbreviation, the WANthe network cable that the operator pulls in is connected to the mouth.
The Chinese name of the VLAN (virtual local area network) isVLANs are typically subdivided into several network segments logically in a local area network to form a VLAN. A local area network can be divided into more than n VLANs, so that VLANs cannot co
By setting up a provioxy proxy server on the vro, the author filters the webpage through it and embeds corresponding ads.
If you don't talk nonsense, go directly to the experiment:
Step 1: Prepare the firmware
Compile openwrt firmware-select Privoxy
Step 2: modify the configuration file
Configure the user. filter, user. Action, and config files.
In the config file, you must specify the listening address and port number.
[emailprotected]:/etc/privoxy#
OpenWRT is added to crontab and started by default.
Crond has been added to the OpenWRT system by default, but the number of shards is not configured by default, resulting in service downtime.
Main steps:
1. Modify the startup script/etc/ini. d/cron.
/Etc/rc. d/S50cron:/etc/ini. d/cron Link
#! /Bin/sh/etc/rc. common# Copyright (C) 2006-2011 OpenWrt.org
START = 50
SERVICE_USE_PID = 1
Start (){Logleve
-Openwrt wireless drivers use the open-source version wireless.kernel.org, backports.
-We use the open-source qdk version (the wireless driver is transplanted from the ralink driver ).
Summary of various problems encountered during the period:
1. UI problems, no station is displayed, channel cannot be set, encryption is added by ourselves.
2. Due to the ralink driver problem, a dual SSID is created and located under different VLANs. Multiple s
Add the usb driver and related scripts to OpenWrt and openwrtusbStep 1: Add Kernel support
Openwrt compilation supports the USB automatic mount FunctionMake menuconfig
1) Add USB support
Kernel modules-> USB Support-> Kernel modules-> USB Support-> Kernel modules-> USB Support-> Kernel modules-> USB Support-> Kernel modules-> USB Support-> Kernel modules-> USB Support->
2) Add SCSI support
Kernel modules->
The OpenWrt version I used was barrier breaker 14.07, and the hardware was Netgear WNDR4300.The purpose of my custom firmware is to expand the root partition of the firmware to the maximum (100MB, total Flash is 128MB), tried to compile the source code, but also succeeded, but can not install the official source of the kernel module, must install their own compiled, for online installation software inconvenient. Later know can use the official Image B
OpenWrt settingsUnder OpenWrt The main is to set the/etc/config/network,/etc/config/wireless these two files, the other is the default LAN and WAN mode./etc/config/network, turn off the VLAN (enable_valn=0), set the LAN interface to static and remove the bridge (the default is ' option Type bridge ', WiFi is usually automatically bridged to the LAN interface), The WAN removes the ' option ifname ' option (t
A foolish man is tired from his work.With OpenWrt for more than a year, the data transmission has been used wget from the external webserver take. This way I personally think it's easy.But debugging more, write large-scale program, always this is a bit of trouble.The same is true for installing software.A few days ago inadvertently saw opkg.conf, think this can let less input some address.Change the opkg.conf file such as the following [emailprotected
Reference Link: http://blog.csdn.net/kingvenll/article/details/27545221A talk about the directory structure and function of OpenWrt (including the files generated after compilation)My level is limited, is a small white one, the level of lack please forgive me.--bin Compiled bin firmware storage directory, including many IPK files, is the package directory software rules generated packages, can be used on the route opkg install XXX.IPK installation--bu
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.