I have a vocore2 ultimate.
I updated to last version of LEDE using https://lede-project.org/toh/hwdata/voc ... re_vocore2
Then I saw that my wireless file was:
- Code: Select all
config wifi-device 'radio0'
option type 'ralink'
option variant 'mt7628'
option country 'CN'
option channel 'auto'
option disabled '0'
option hwmode '11g'
config wifi-iface 'ap'
option device 'radio0'
option mode 'ap'
option network 'lan'
option ifname 'ra0'
option ssid 'VoCore2'
option encryption 'none'
config wifi-iface 'sta'
option device 'radio0'
option mode 'sta'
option ifname 'apcli0'
option led 'mediatek:orange:wifi'
option ssid 'UplinkAp'
option key 'SecretKey'
option disabled '1'
option encryption 'none'
config wifi-iface
option device 'radio0'
option mode 'ap'
option encryption 'none'
option ssid 'Test'
config wifi-device 'radio1'
option type 'mac80211'
option channel '11'
option hwmode '11g'
option path 'platform/10300000.wmac'
option htmode 'HT20'
option disabled '1'
config wifi-iface 'default_radio1'
option device 'radio1'
option network 'lan'
option mode 'ap'
option ssid 'LEDE'
option encryption 'none'
It was weird to have so many things, so I modified it to:
- Code: Select all
config wifi-device 'radio1'
option type 'mac80211'
option channel '11'
option hwmode '11g'
option path 'platform/10300000.wmac'
option htmode 'HT20'
option country 'GB'
option rts 'root'
config wifi-iface
option device 'radio1'
option mode 'ap'
option network 'wan'
option encryption 'psk-mixed'
option key 'blablabla'
option ssid 'Test'
That creates an AP and I am able to connect my iPhone there (I also modified the ethernet to work as a DHCP client and connected the vocore2 to my router using a cable).
However, after one or two seconds after I connect to the AP, then it disconnects automatically.
Here the log:
- Code: Select all
Sat Sep 16 20:59:30 2017 daemon.notice hostapd: wlan0: STA c0:cc:f8:ec:55:f8 IEEE 802.11: did not acknowledge authentication response
Sat Sep 16 20:59:30 2017 daemon.notice hostapd: wlan0: STA c0:cc:f8:ec:55:f8 IEEE 802.11: did not acknowledge authentication response
Sat Sep 16 20:59:36 2017 daemon.info hostapd: wlan0: STA c0:cc:f8:ec:55:f8 IEEE 802.11: disassociated
Sat Sep 16 20:59:37 2017 daemon.info hostapd: wlan0: STA c0:cc:f8:ec:55:f8 IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Sat Sep 16 20:59:48 2017 daemon.info hostapd: wlan0: STA c0:cc:f8:ec:55:f8 IEEE 802.11: authenticated
Sat Sep 16 20:59:48 2017 daemon.info hostapd: wlan0: STA c0:cc:f8:ec:55:f8 IEEE 802.11: associated (aid 1)
Sat Sep 16 20:59:48 2017 daemon.notice hostapd: wlan0: AP-STA-CONNECTED c0:cc:f8:ec:55:f8
Sat Sep 16 20:59:48 2017 daemon.info hostapd: wlan0: STA c0:cc:f8:ec:55:f8 WPA: pairwise key handshake completed (RSN)
Sat Sep 16 20:59:57 2017 daemon.info hostapd: wlan0: STA c0:cc:f8:ec:55:f8 IEEE 802.11: disconnected due to excessive missing ACKs
Sat Sep 16 20:59:57 2017 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED c0:cc:f8:ec:55:f8
Sat Sep 16 20:59:57 2017 daemon.info hostapd: wlan0: STA c0:cc:f8:ec:55:f8 IEEE 802.11: authenticated
Sat Sep 16 20:59:57 2017 daemon.info hostapd: wlan0: STA c0:cc:f8:ec:55:f8 IEEE 802.11: associated (aid 1)
Sat Sep 16 20:59:57 2017 daemon.notice hostapd: wlan0: AP-STA-CONNECTED c0:cc:f8:ec:55:f8
Sat Sep 16 20:59:57 2017 daemon.info hostapd: wlan0: STA c0:cc:f8:ec:55:f8 WPA: pairwise key handshake completed (RSN)
Sat Sep 16 21:00:00 2017 daemon.info hostapd: wlan0: STA c0:cc:f8:ec:55:f8 IEEE 802.11: disconnected due to excessive missing ACKs
Sat Sep 16 21:00:00 2017 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED c0:cc:f8:ec:55:f8
Sat Sep 16 21:00:00 2017 daemon.notice hostapd: wlan0: STA c0:cc:f8:ec:55:f8 IEEE 802.11: did not acknowledge authentication response
Sat Sep 16 21:00:00 2017 daemon.info hostapd: wlan0: STA c0:cc:f8:ec:55:f8 IEEE 802.11: associated (aid 1)
Sat Sep 16 21:00:00 2017 daemon.notice hostapd: wlan0: AP-STA-CONNECTED c0:cc:f8:ec:55:f8
Sat Sep 16 21:00:00 2017 daemon.info hostapd: wlan0: STA c0:cc:f8:ec:55:f8 WPA: pairwise key handshake completed (RSN)
Sat Sep 16 21:00:04 2017 daemon.info hostapd: wlan0: STA c0:cc:f8:ec:55:f8 IEEE 802.11: disconnected due to excessive missing ACKs
Sat Sep 16 21:00:04 2017 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED c0:cc:f8:ec:55:f8
Some questions:
Why is that disconnection happening?
What driver should I use in my wireless file?
Why do I see 2 drivers or radios in my original wireless file?
I guess that perhaps the answer to this question is that here:
https://git.lede-project.org/?p=source. ... 2ec76d0f85
says: "(don't keep old config, as the original firmware uses Ralink SDK Wi-Fi drivers and not mt76+mac80211)"
and I forgot that. Is that the reason I saw like 2 different configurations in my wireless file?
Thank you very much for your time.