openwrt STA+AP共存模式
来源:互联网 发布:网络机顶盒的价格 编辑:程序博客网 时间:2024/05/29 21:31
改用MT7688板子,跟RT5350区别还是很大!尤其是在无线wifi方面。
2、ap+sta共存模式,修改如下配置文件vi /etc/config/wireless
[root@2c56de0481b6 openwrt_widora]# cat package/base-files/files/etc/config/wireless //这个是制作rootfs
config wifi-device radio0
option type ralink
option variant mt7628
option country TW
option hwmode 11g
option htmode HT40
option channel auto
option disabled 0
config wifi-iface ap //AP配置项
option device radio0
option mode ap
option network lan
option ifname ra0
option ssid Widora
option encryption none
config wifi-iface sta //STA配置项
option device radio0
option mode sta
option network wan
option ifname apcli0
option led mediatek:orange:wifi
option ssid Netcore //要连接的ssid
option key 55556666 //要连接的password
option encryption psk2 //加密方式,wpa2
option disabled 1
[root@2c56de0481b6 openwrt_widora]#
要在rc.local中启动一个脚本:
cat package/base-files/files/etc/rc.local
# Put your custom commands here that should be executed once
# the system init finished. By default this file does nothing.
echo Congradulations!!! Openwrt Welcome you!
#sleep 8
#sh /etc/checkwifi.sh
#remark, ssid passwd
connect2ap Netcore 55556666 //启动连接上级router。如果不成功,则只有AP可用。
sleep 5
FMServer & //流媒体server。
exit 0
- openwrt STA+AP共存模式
- 路由器AP 和 STA模式共存
- OpenWRT(四)AP、STA、中继模式
- ap与sta共存
- ap与sta共存
- ap与sta共存
- ap与sta共存
- ap与sta共存
- ap与sta共存
- ap与sta共存
- ap与sta共存
- openwrt系统设置STA模式或AP模式
- OpenWrt无线AP+STA配置
- android 实现sta+ap完美共存
- OpenWrt Wireless STA连接AP脚本
- openwrt-mt7688 中继调试<ap+sta>
- wifi中的ap、sta、ap+sta模式的含义
- 概念积累:AP模式和STA模式
- Java中的数组和方法
- solr 的commit, soft commit等
- win7下安装 Ubuntu双系统(直接硬盘安装)错误问题完美解决,卡屏,无法启动
- log4j按不同级别输出到日志文件
- BottomSheet
- openwrt STA+AP共存模式
- 套接字socket
- angularJS常用的表单验证指令
- Unity3d AssetPostprocessor简单用法
- Android WebView JS交互 混淆打包需要注意的问题
- iOS 相册使用过程中的 状态选择 PHAuthorizationStatus
- Linux Oracle下sqlplus无法使用命令退格删除和历史记录的解决方法(使用rlwrap)(转)
- Meta标签详解
- EditText 失去焦点