Tue Nov 7 08:30:49 2017 daemon.notice hostapd: wlan0: AP-ENABLED
Tue Nov 7 08:31:14 2017 daemon.info hostapd: wlan0: STA 74:8d:08:1b:61:f1 IEEE 802.11: authenticated
Tue Nov 7 08:31:14 2017 daemon.info hostapd: wlan0: STA 74:8d:08:1b:61:f1 IEEE 802.11: associated (aid 1)
Tue Nov 7 08:31:14 2017 daemon.notice hostapd: wlan0: AP-STA-POSSIBLE-PSK-MISMATCH 74:8d:08:1b:61:f1
Tue Nov 7 08:31:15 2017 daemon.notice hostapd: wlan0: AP-STA-POSSIBLE-PSK-MISMATCH 74:8d:08:1b:61:f1
Tue Nov 7 08:31:16 2017 daemon.notice hostapd: wlan0: AP-STA-POSSIBLE-PSK-MISMATCH 74:8d:08:1b:61:f1
Tue Nov 7 08:31:17 2017 daemon.notice hostapd: wlan0: AP-STA-POSSIBLE-PSK-MISMATCH 74:8d:08:1b:61:f1
Tue Nov 7 08:31:23 2017 daemon.info hostapd: wlan0: STA 74:8d:08:1b:61:f1 IEEE 802.11: deauthenticated due to local deauth request
Tue Nov 7 08:31:38 2017 daemon.info hostapd: wlan0: STA 74:8d:08:1b:61:f1 IEEE 802.11: authenticated
Tue Nov 7 08:31:38 2017 daemon.info hostapd: wlan0: STA 74:8d:08:1b:61:f1 IEEE 802.11: associated (aid 1)
Tue Nov 7 08:31:38 2017 daemon.notice hostapd: wlan0: AP-STA-CONNECTED 74:8d:08:1b:61:f1
Tue Nov 7 08:31:38 2017 daemon.info hostapd: wlan0: STA 74:8d:08:1b:61:f1 WPA: pairwise key handshake completed (RSN)
Tue Nov 7 08:36:50 2017 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED 74:8d:08:1b:61:f1
Tue Nov 7 08:36:50 2017 daemon.info hostapd: wlan0: STA 74:8d:08:1b:61:f1 IEEE 802.11: disassociated
Tue Nov 7 08:36:51 2017 daemon.info hostapd: wlan0: STA 74:8d:08:1b:61:f1 IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Tue Nov 7 08:36:52 2017 daemon.info hostapd: wlan0: STA 74:8d:08:1b:61:f1 IEEE 802.11: authenticated
Tue Nov 7 08:36:52 2017 daemon.info hostapd: wlan0: STA 74:8d:08:1b:61:f1 IEEE 802.11: associated (aid 1)
Tue Nov 7 08:36:52 2017 daemon.notice hostapd: wlan0: AP-STA-CONNECTED 74:8d:08:1b:61:f1
Tue Nov 7 08:36:52 2017 daemon.info hostapd: wlan0: STA 74:8d:08:1b:61:f1 WPA: pairwise key handshake completed (RSN)
Tue Nov 7 10:20:12 2017 daemon.info hostapd: wlan0: STA 80:e6:50:06:03:74 IEEE 802.11: authenticated
Tue Nov 7 10:20:13 2017 daemon.info hostapd: wlan0: STA 80:e6:50:06:03:74 IEEE 802.11: associated (aid 2)
I also tried with
uci set wireless.@wifi-iface[0].disassoc_low_ack=0
uci set wireless.@wifi-iface[0].max_inactivity=86401
uci set wireless.@wifi-iface[0].skip_inactivity_poll=1
uci set wireless.@wifi-iface[0].wpa_group_rekey=0
uci commit wireless
and lowering txpower to 20 (I read somewhere it has to do with heat),
Less issues, but very very constant too.
On the other hand, stock 840v4 and 840v5 (MT7628) work fantastic.
I've compiled lede 17.01 form source and added your mt7628 driver for 4.4.102 I get the kernel panic enclosed.
As an afterthough I think it's normal because we don't use the same toolchain (you for your module, and me for my kernel), and modules should be compiled with the exact same compiler as kernel. Isn't it?
@nossiac: Thanks for these drivers! I use them for a Linkit Smart 7688 device and they seem to perform better than the opensource mt76 driver. I successfully used the ap and station modes, but only using wpa2. I would now like to connect to an EAP network, but I don't understand how to configure this in the .dat configuration file. Do you know if it that's possible using this driver?
Thanks! I tried already to configure wpa-eap using the mtk luci plugin, but this seems to be only possible for an acces-point setup. For a client (sta) setup I could not set any radius related options.
This is the config I use with the opensource mt76 driver:
The drivers I put on github do not work with openwrt's uci config directly, they all use a configuration file named mt76xx.dat, usually referred as "wifi profile", usually you can find it at /etc/wireless/mt76xx/mt76xx.dat. to make the profile work, you should:
ifconfig down -> modify the profile -> ifconfig up
There are 2 ways to integrate the driver with openwrt:
first one is to use luci-app-mtk, it's an independent wifi configuration page for luci, it uses lua script to manipulate the wifi profile, recommended because it's quite easy to extend, potentially powerful.
the second choice is uci2dat, which is a small app that translates openwrt's /etc/config/wireless into mt76xx.dat. thus you may use openwrt's wifi page to configure those drivers.
Hello. So I built it with Buildroot, and booted up 840nv5
It does not see wlan0 nor ra0, it boots up fine.
I do get the following errors on logread... Never mind the initial date, it was before nmap had connected to the timeserver.
Tue Nov 7 14:22:07 2017 user.err kernel: [ 2.436312] kmodloader: failed to mmap /lib/modules/4.9.58/mt7628.ko
Tue Nov 7 14:22:07 2017 user.err kernel: [ 9.270573] kmodloader: failed to mmap /lib/modules/4.9.58/mt7628.ko
Tue Jan 9 14:28:55 2017 daemon.err modprobe: failed to mmap /lib/modules/4.9.58/mt7628.ko
Tue Jan 9 14:28:55 2017 daemon.err modprobe: failed to mmap /lib/modules/4.9.58/mt7628.ko
Tue Jan 9 14:28:57 2017 daemon.err modprobe: failed to mmap /lib/modules/4.9.58/mt7628.ko
Tue Jan 9 14:28:57 2017 daemon.err modprobe: failed to mmap /lib/modules/4.9.58/mt7628.ko
Tue Jan 9 14:30:00 2017 cron.info crond[967]: USER root pid 1122 cmd /usr/bin/vnstat-cron
Tue Jan 9 14:36:03 2017 daemon.err modprobe: failed to mmap /lib/modules/4.9.58/mt7628.ko
Tue Jan 9 14:36:03 2017 daemon.err modprobe: failed to mmap /lib/modules/4.9.58/mt7628.ko
Tue Jan 9 14:36:07 2017 daemon.err modprobe: failed to mmap /lib/modules/4.9.58/mt7628.ko
Tue Jan 9 14:36:07 2017 daemon.err modprobe: failed to mmap /lib/modules/4.9.58/mt7628.ko
It seems stable, even if we need to do more tests.
But this repo does not include mt76 driver which is free software and included by default in lede, and still very unstable
I includes a leaked version of the proprietary drive source code (mt7628.ko), therefore It's not very legal. But also it's not a standart linux wifi driver. It has it's own config file, will not work with hostapd or wpad-mini, and will only work in AP mode.