Troubles with AP+STA mode

udbv
 
Posts: 2
Joined: Wed Mar 14, 2018 10:12 am

Troubles with AP+STA mode

Wed Mar 14, 2018 10:27 am

Hello everyone!
Have VoCore2 Ultimate with external antenna.
Set up STA+AP as in the official instruction.It even worked before reboot.
After reboot i can`t connect to wifi and as result no ap.Even i shutdown wifi client-AP don`t start.
My settings:
root@OpenWrt:/# uci show wireless
wireless.radio0=wifi-device
wireless.radio0.type='ralink'
wireless.radio0.variant='mt7628'
wireless.radio0.country='CN'
wireless.radio0.hwmode='11g'
wireless.radio0.channel='auto'
wireless.ap=wifi-iface
wireless.ap.device='radio0'
wireless.ap.mode='ap'
wireless.ap.network='lan'
wireless.ap.ifname='ra0'
wireless.ap.ssid='AP'
wireless.ap.key='key'
wireless.ap.encryption='psk'
wireless.sta=wifi-iface
wireless.sta.device='radio0'
wireless.sta.mode='sta'
wireless.sta.network='wwan'
wireless.sta.ifname='apcli0'
wireless.sta.led='mediatek:orange:wifi'
wireless.sta.key='key'
wireless.sta.ssid='SSID'
wireless.sta.encryption='none'

Vonger
 
Posts: 672
Joined: Sun Oct 19, 2014 6:00 am

Re: Troubles with AP+STA mode

Thu Mar 15, 2018 2:57 pm

This is really weird, can you try to recover it then try again? using "firstboot -y"

udbv
 
Posts: 2
Joined: Wed Mar 14, 2018 10:12 am

Re: Troubles with AP+STA mode

Mon Mar 19, 2018 7:48 am

I try to install LEDE,firstboot -y several time.Wifi driver crashes on load,so make script for restart
uci set wireless.sta.disabled=0
uci commit
/etc/init.d/network restart
sleep 10
uci set wireless.sta.disabled=1
uci commit
.Without it i have AP,but can`t connect STA
Wired things starts after restart with script - i have 4 possible choices:
1)Vocore2 connected to wfi as wifi client,but no AP(60%)
2)Vocore2 connected to wfi as wifi client,but AP name is "OpenWrt" without encryption(in /etc/config/wireless another settings for AP)(20%)
3)Vocore2 connected to wfi as wifi client, AP worked(10%)
4)Vocore2 do not connected to wfi as wifi client, AP worked(10%)
Sometimes iwinfo return empty replay.

Vonger
 
Posts: 672
Joined: Sun Oct 19, 2014 6:00 am

Re: Troubles with AP+STA mode

Thu Mar 22, 2018 4:48 am

udbv wrote:I try to install LEDE,firstboot -y several time.Wifi driver crashes on load,so make script for restart
uci set wireless.sta.disabled=0
uci commit
/etc/init.d/network restart
sleep 10
uci set wireless.sta.disabled=1
uci commit
.Without it i have AP,but can`t connect STA
Wired things starts after restart with script - i have 4 possible choices:
1)Vocore2 connected to wfi as wifi client,but no AP(60%)
2)Vocore2 connected to wfi as wifi client,but AP name is "OpenWrt" without encryption(in /etc/config/wireless another settings for AP)(20%)
3)Vocore2 connected to wfi as wifi client, AP worked(10%)
4)Vocore2 do not connected to wfi as wifi client, AP worked(10%)
Sometimes iwinfo return empty replay.


Currently opensource mt76 driver has problem, can not use at all.
Please check vonger.cn my blog, I have compile mtk official driver, that is not opensource but works stable.

Return to VoCore2

Who is online

Users browsing this forum: No registered users and 7 guests