Hi, actually I did connect and tested without any problem. So this is why I am asking.
Are you connecting to a public ap or your own ap?
The problem that you cannot get connected as sta, mainly due to wrong encryption, password or channel. Can you double check these values?
Also there are another problems:
The first time you post your configure, you only have “wan”, no “wwan”. So I told to comment “wan”. The only thing left is to check the sta info: ssid, encryption, password and channel.
The 2nd time you posted your configure, you have “wwan”. When you create “wwan”, you need to configure it in firewall as well, i.e. change /etc/config/firewall, add “wwan” where you have “wan”. A little complicated.
the problem is bad design of ar150. i’ve connected it to 5V2A adapter which measured with multimeter give out 1.6A and attempting to use usb wifi device always result in ar150 rebooting. i had to connect it to 5V3.5A usb port on my PC to work stable.
i gave up on this and bought tp-link with baterry.
If you look at your system log (dmesg) you are certain to see the device is disconnecting and reconnecting over and over, that is why you were having the problem. It starts out as phy0 and it will just keep reconnecting like phy2, phy3… forever. The cable length will likely not fix it, it is a result of a lack of power available to the port.
You may be able to solve it by reducing the transmit power (option txpower) to something between 10 and 20. I believe it defaults to 30 and the router cannot handle that much output.
You have a few solutions…
run it from a POWERED usb hub
modify the router so the USB port power (+/-) comes directly from the 5V power supply.
Add capacitor on both the power and ground 5V USB power. It may help alleviate any surges on startup or peak power that would cause it to disconnect.
The power adapter provided is supposedly 1A, and 5W should be plenty for the device and USB adapter I would imagine, but you could try a 2A rated power supply and see what happens.