OpenWrt mt7620n dual SSID implementation principle

Disclaimer: This article is a blogger original article, shall not be reproduced without the consent of bloggers. https://blog.csdn.net/qianguozheng/article/details/37574373

Please indicate the source: [ Qian Guozheng column http://blog.csdn.net/qianguozheng/article/details/37574373 ]


Foreword


In order to meet customer needs. We need to establish private dedicated SSID, and have a shared common SSID, which need to use dual SSID.


principle


Wireless LAN Driver supports multiple SSID, the SSID of the different users can be divided into different ranges, the SSID but different measurement bandwidth, the same performance needs sophisticated.


Technical difficulties


Multi-SSID could have been difficult. But for a novice, there are still some challenges, especially for going to openwrt on a new platform, using qdk in the source code on github. This could have been very good, but the course of discovery. Firstboot system at the time of the second SSID not start properly.

There will be a problem no matter what after factory reset.


Solution


The analysis revealed that, openwrt system through the / sbin / procd start some in the process of starting, init, askfirst, ubus, ubox and other operational start-up process. Among the script will initialize wireless wifi detect driving-related information. And there will be done after the script switch2jffs this link points to mount_root. Ubox compiled from the inside out, to mount a root file system / file system is jffs, / ROM is squashfs partition, enabling the file system read and write functions. At first, followed by the star switch2jffs when the process might get stuck or broken script appears. The thing I can not completely understand now, still need further study.

My suspicion is that this process has caused. Wireless drive to find dat file when an error or an error occurs during use.

Establish direct file /etc/Wireless/RT2860/RT2860.dat to achieve this aim, so that when restoring factory settings. Wireless drive on the up.


Windfall


Through this testing, I found luci page by / etc / config / wireless file exists to determine whether a wireless configuration page.


to sum up


The problem I spent three days, plus dual SSID, in fact not so difficult to imagine this problem, just use the process need to be the main driver of each program or dependency, I've tried to transplant the latest openwrt official website the relevant information about the start and found not. Finally in the thought system startup or commissioning wireless driver when they are need to use console, or really difficult to discern where the problem lies.

Although still can not enter, but I still have a lot of information needs to see.


Please indicate the source: [ Qian Guozheng column http://blog.csdn.net/qianguozheng/article/details/37574373 ]

Guess you like

Origin www.cnblogs.com/mqxnongmin/p/10941986.html