您尚未登录。

楼主 # 2022-04-15 11:11:48

lonerwolf
会员
注册时间: 2020-09-02
已发帖子: 59
积分: 56.5

有人了解openwrt wifi配置吗?

RT,V3S,使用了openwrt,使能了网口和wifi。(RTL8189ES RTL8723DS)
问题:在系统启动后,没插网线状态,wifi wlan0接口只能在混杂监听模式,无法启动为ap模式。只有eth0插网线使能后wifi才能用。(把wifi接口换个新的就没问题,不和eth0在同一虚拟桥接网络下就行)

希望达到目标:网线没插,wifi照样能作为ap,手机等可以接入,作为lan网络一部分

网络配置/etc/config/network wireless

config device
        option name 'br-lan'
        option type 'bridge'
        list ports 'eth0'

config interface 'lan'
        option device 'br-lan'
        option proto 'static'
        option ipaddr '192.168.1.1'
        option netmask '255.255.255.0'
        option ip6assign '60'
config wifi-device 'radio0'
        option type 'mac80211'
        option path 'platform/soc/1c0f000.mmc/mmc_host/mmc0/mmc0:0001/mmc0:0001:1'
        option channel '1'
        option band '2g'
        option htmode 'NOHT'
        option disabled '0'

config wifi-iface 'default_radio0'
        option device 'radio0'
        option network 'lan'
        option mode 'ap'
        option ssid 'test'
        option encryption 'psk-mixed'
        option key '12345678'
[   53.821408] br-lan: port 1(eth0) entered blocking state
[   53.826705] br-lan: port 1(eth0) entered disabled state
[   53.832347] device eth0 entered promiscuous mode
[   57.993295] br-lan: port 2(wlan0) entered blocking state
[   57.998634] br-lan: port 2(wlan0) entered disabled state
[   58.004419] device wlan0 entered promiscuous mode
[   58.328699] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   58.335429] br-lan: port 2(wlan0) entered blocking state
[   58.340781] br-lan: port 2(wlan0) entered forwarding state
[   58.407922] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready

离线

楼主 #1 2022-04-15 14:46:44

lonerwolf
会员
注册时间: 2020-09-02
已发帖子: 59
积分: 56.5

Re: 有人了解openwrt wifi配置吗?

此贴终结。。。。SDIO线太长。。。。。

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn