BPI-R2 新镜像: Ubuntu with Linux kernel 4.14 release V1.0 2018-4-28

BPI-R2 Ubuntu with Linux kernel 4.14 source code release V1.0 2018-4-28

  1. Summary for this release;
    This release is for BPI-R2 Ubuntu OS with linux kernel 4.14 source code,you could download source code from this link:
  1. What’s new:
  • Wifi client / AP mode support
  • 4G module support
  1. Known limitations:
  • HDMI not working
  • BT/BLE not working
  1. FAQ:

    1) How to enable 4G module on R2 with kernel 4.14?

    You could see relevant info from here: How to use BPI-4G LTE module with BPI-R2 - Banana Pi BPI-R2/BPI-R64/BPI-R3 - banana pi single board computer open source project official forum BPI team

    2)How to enable wifi client?

    • wmt_loader (ignore errors)

    • stp_uart_launcher -p /etc/firmware &

    • ip link set wlan0 up

    • iw dev wlan0 scan | grep SSID

    • vim /etc/wpasupplicant/wpa_supplicant.conf

    • network={ ssid=“ssid” psk=“password” priority=1}

    • wpa_supplicant -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf

    • dhclient wlan0

3)How to enable AP mode?

  • stp_uart_launcher -p /etc/firmware &

  • echo A >/dev/wmtWifi

  • create your hostapd.conf: "vim /etc/hostapd/hostapd.conf "

    hostapd.conf (236 字节)

  • According to your network interface(can search internet) to config ap0:

    my network interface which can search internet is wan, and ip is, so I config ap0 as follows:

    “ifconfig ap0 netmask”

  • Run hostapd : “hostapd -d /etc/hostapd/hostapd.conf”

  • Config dhcp file : “vim /etc/dhcp/dhcpd.conf”

    subnet netmask {


    option domain-name-servers;

    option routers;

  • Config dhcp of ap0, then the devices which connect ap0 could get IP: "dhcpd ap0 -pf /var/run/dhcpd.pid "

  • And a bridge

    brctl addbr br0

    brctl addif br0 ap0

    brctl addif br wan

  • Config br0 : “ifconfig br0 netmask”

  • Add br0 gw as : “route add -net default netmask gw dev br0”


Thanks for every developer who contributes to this project, especially :

@garywang @frank-w.