2.4Ghz and 5.6Ghz Wifi Working fine


(hyh) #61

I read the page too. I sure I do it step by step. But this error still exists. The files ( cfg , firmware , bin ) in the system before I copy in.Should I rewrite them ?


(Frank W.) #62

you have to do this steps after a clean (re)boot. if something went wrong => reboot

“failed to init module” in first step can be currently ignored

if the files exist, you have not to replace them


BPI-R2 AP Mode Setup on New Ubuntu Image
(gary) #63

Can you please share me the log(getting it by running dmesg)?


(hyh) #64

Thank a lot !

I have find my mistakes. “failed to init module” and “Can’t open device node(/dev/stpwmt) error:-1” should be ignore. When I ignore it , I can create my AccessPoint.


(gary) #65

Hi hyh

Both drivers and tools for R2 onboard WIFI module are from Android system, and we don’t have time to remove unnecessary code so far. so maybe the driver is working fine but there is a few errors in log.

Thanks Gary


(Frank W.) #66

Is btif driver needed for wifi,too?

Googled around…it seems to be a kind of uart. Having actual Problems compiling it


(gary) #67

Hi Frank

The BTIF driver is required if WIFI or BT want to be supported. I think there is no problem to compile it in both kernel 4.9 and 4.4.

Thanks Gary


R2 internal Wifi/BT (MT6625L) - Kernel 4.14+
(Frank W.) #68

R2 internal Wifi/BT (MT6625L) - Kernel 4.14.x/4.16 don’t understand the errormessage (wrong code in base linux code is implausibly). also the other with undefined param, wich i fixed it quick and dirty by defining it


(Frank W.) #69

@garywang can you try to close hostapd and restarting it? in my tests the ap does not came up (hostapd says it comes up, but its not visible on cellular)


(bpi team) #70

user do some test for 2.4G & 5.8G,for reference only

5.8G test:

2.4G test:


(Prakash) #71

Hi. I am using the Ubuntu 16.04 2017-11-28 image and facing the same problem like @hyh I am unable to connect wifi with my router even by using the steps from https://github.com/BPI-SINOVOIP/BPI-R2-bsp/tree/master/vendor/mediatek/connectivity

I can see that the wlan0 is up. But the wifi is always disconnected. Also tried this steps, https://github.com/BPI-SINOVOIP/BPI-R2-bsp/issues/1 But no success.

-TIA, Prakash.


(Frank W.) #72

do you want to use R2 as AP or as Client? @hyh tries AP-Mode, here you must “echo A” and use ap0-device for hostapd


(Prakash) #73

Hi Frank. I am trying to use as client. I also tried “echo 1”. Still same issue. May I know what is the right steps to use it as client. The right top Network Manager on the desktop UI never shows the wifi devices near by R2 board.


(gary) #74

Do you connect an antenna to R2 board?


(Prakash) #75

@garywang Nop. I did not. Is it mandatory?.


(Frank W.) #76

without antenna you have very bad transmission quality…if your router does not stand next to your bpi or you have overlapping wlans connect or scanning may fail


(Prakash) #77

Hi Frank. I confirmed that I can able to connect my wifi router when I bring my BPI-R2 near to router. So its signal issue. I will use the antenna for better performance. Thanks.


(Dima) #78

Hello! Thanks everybody for facing problems with AP. Very good wrote here http://www.fw-web.de/dokuwiki/doku.php?id=en:bpi-r2:wlan#internal , as frank-w pointed. I set up AP according that reference. Now I have AP with static ip, also I need dhcp server run.


(Thomas Linke) #80

Believe it or not: I got ap0 running and I can “see” my accesspoint. But performance is poor for only a couple of meters. I believe this is an antenna issue as I still use this tiny-little-plastic-whatsoever, so can someone please recommend an antenna solution?


(Frank W.) #81

I have bought a antenna with cable on ebay…

6dbi with rp-SMA To IPEX/u-FL cable

Simply search for that…officially a 5dbi is recommended