Hi,
I’ve finally got my hands on an MT300N-V2, but I’m having trouble getting it to connect to WiFi networks at all (which is necessary for my use case - I don’t need it to act as an access point simultaneously or anything, just a client).
I first tried with the clean firmware, but that appeared to be actually missing some parts of the WiFi system, so I then tried with the full 2.263 firmware. That doesn’t seem to be missing anything, but it still won’t work.
I’ve tried to connect from LuCI, which is able to scan for WiFi networks ok, but trying to join one causes a LuCI error (on a page which is blank apart from the error message):
/usr/lib/lua/luci/dispatcher.lua:460: Failed to execute arcombine dispatcher target for entry '/admin/network/wireless/mt7628.network1'. The called action terminated with an exception: /usr/lib/lua/luci/i18n.lua:42: bad argument #1 to 'format' (integer expected, got nil) stack traceback: [C]: in function 'assert' /usr/lib/lua/luci/dispatcher.lua:460: in function 'dispatch' /usr/lib/lua/luci/dispatcher.lua:141: in function </usr/lib/lua/luci/dispatcher.lua:140>If I then go back into LuCI, I find that it has actually created what looks like the correct configuration changes, it just hasn't applied them (see below with actual network details removed):
wireless.mt7628 wireless.mt7628.channel=6 wireless.mt7628.disabled=0wireless.cfg053579=wifi-iface
wireless.cfg053579.bssid=
wireless.cfg053579.device=mt7628
wireless.cfg053579.encryption=psk2
wireless.cfg053579.key=
wireless.cfg053579.mode=sta
wireless.cfg053579.network=wwan
wireless.cfg053579.ssid=network.wwan=interface
network.wwan.proto=dhcpfirewall.cfg04dc81
firewall.cfg04dc81.network=lanfirewall.cfg06dc81
firewall.cfg06dc81.network=wan wan6 wwan
So if I apply the config changes, it seems like it should then connect, but it still doesn’t. It creates a new interface apcli0, which shows in ifconfig along with the existing ra0, but neither of these ever gets an IP address.
I’ve also tried manually editing the uci wireless config instead of using LuCI (after resetting the firmware back to defaults), and tried adjusting a few of the config settings which seem to be specific to the mt7628 driver, but none of this has made any difference (and part of the problem is that I can’t find any documentation of the settings for this driver). When I check the log of the WiFi router that I’m attempting to connect to, there is no sign of the device ever attempting to associate with it at all (let alone getting as far as requesting an IP address etc).
What am I doing wrong? And is there any documentation of the uci wireless config options for the mt7628 driver available anywhere?
Thanks