Hardware environment:Development Board for RT5053F3G module for ZTE MC2176 Telecom EditionHere are the steps to do
Add vid, PIDThe method of obtaining the VID and PID is to plug the device into the computer and run the LSUSB command under Linux.or follow the Wireless module driver manual to add the product support IDs to the Option.c fileopenwrt-1407 in the following location: Build_dir/target-mipsel_24kec+dsp_uclibc-0.9.33.2/linux-ramips_mt7620n/linux-3.10.49/drivers /usb/serial/option.c
Brief introductionUbus is a message bus introduced by the new OpenWrt, and the main role is to implement information interaction between different applications.Ubus runs the UBUSD process in the background after startup, and the process listens for a UNIX socket to communicate with other applications. Other applications can communicate with each other based on the interface provided by Libubox (or its own implementation).The main ways to use Ubus are:
Embedded file System general user perform SU root switch root user will prompt errorSu:must is suid to work properlyis due to BusyBox permissions, you need to change the permissions of BusyBox to 4755.In OpenWrt, it is not possible to modify the BusyBox under the staging_dir/target-mipsel_24kec+dsp_glibc-2.21/root-ramips/bin/directly, because it is overwritten after the re-make. The workaround is to select the desired command in BusyBox, then move the
Current SituationOpenWrt Default user name is root, but the default is no password, so SSH is not turned on by default, but Telnet is used without password, when the root password is set, then ssh on, telnet off. And the convenience of SSH is more than telnet,telnet in the case of product testing and use, so there is no way to let the two coexist?Step OneModify the Telnet self-launch script to remove the password and SSH-related judgments, as followsstart() {# if ( ! has_ssh_pubkey \#
First of all, what is OpenWrt?In fact, it is also a kind of embedded, mainly used in the routing aspect, the function is very powerful, can develop their own required functions, and so on. This is not listed here, the concrete implementation of the following to elaborate. Below send the degree Niang link one can do simple understanding: http://baike.baidu.com/link?url=dfqeNsWPiJFOXF6CvUZwih7H_ K9ucojfeomllajij1oikk50ojmy3ue-bigiec5gibzb_bvwro2vo6phbxl
need to install Libffi,python-mini,python. libffi and Python-mini need to be installed before python ???? If some of the packages are different, you can Web background search, before searching opkg UpdateOpkg installlDownload setuptoolshttp://pypi.python.org/packages/2.6/s/setuptools/setuptools-0.6c11-py2.6.egg#md5=bfa92100bd772d5a213eedd356d64086If the version is different, you can find it yourself at the following URLhttp://pypi.python.org/packages/Installing Easy_installSH Setuptools-0.6c1
fastcgi is working, the page displays "No input file specified".Solution: Looking for a variety of solutions on the Web, I will write some of my useful articles and share them with you:(1) Fastcgi_param script_filename/scripts$fastcgi_script_name; SwitchFastcgi_param script_filename $document _root$fastcgi_script_name; #经测试无效.Then change: Fastcgi_param script_filename /mnt/sda3/www/$fastcgi _script_name; #/mnt/sda3/www The working directory for the site(2) fastcgi:9000 port does not open proper
The openwrt/lib/functions/procd.sh script will listen to the HotPlug implementation after the/SBIN/PROCD process is started, and when there is a HotPlug event, Hotplug.json will be used to execute/ etc/hotplug.d/the script file that corresponds to the event
[Root@pandorabox:/lib/functions] #cat/lib/functions/procd.sh # PROCD API: # # Procd_open_service (name, [script]): # Ini Tialize a new PROCD command message containing a service with one or more
A problem was encountered when compiling openwrt, as shown in the following figure:
According to the above description, the makefile file is not found in the truck/build_dir/host/patch-2.7.1, actually entering this directory can be found that this directory is empty. The files in this directory should be from TRUNK/DL/PATCH-2.7.1.TAR.XZ, because the system does not have the tools to decompress the XZ format (the installation of XZ is not explained h
First, go to OpenWrt's official page, jump to OpenWrt firmware (Firmware) download page.Second, select the type of processor to use (General home processor Select x86 or x86-64) and download the image file.Download and install the Starwindconverter, convert the img file to VMware virtual hard disk image (IDE format), and import to VMware. Iv. turning on the power supply V. Page loading complete pressing the ENTER key will show this此时输入passwd修改root密码,
)
strlcpy (data, p, min ((int) L, command_line_size));
p = Of_get_flat_dt_prop (node, "Bootargs-append", l);
if (P!= NULL L > 0)
Strlcat (data, p, min (strlen (data) + (int) L, command_line_size));
Bootargs in PROM.C has been successfully read out, why here still want to continue to toss it?-_-| |
Suddenly realize that this code is reading the attribute value in DTS.
Find the Mt7620n.dtsi inside the Target/linux/ramips/dts, and find that there is such a definition:
chosen {
Boo
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.