BPI-R2 new image: BPI-R2 OpenWrt(LEDE) Souce code : 2018-05-09

Scripts in ini.d are needing a symlink in /etc/rc* created by update-rc.d but maybe this does not work with systemd

Could you show me the log? and I will check it later.

Thank you. Here:

BusyBox v1.26.2 () built-in shell (ash)

     _________
    /        /\      _    ___ ___  ___
   /  LE    /  \    | |  | __|   \| __|
  /    DE  /    \   | |__| _|| |) | _|
 /________/  LE  \  |____|___|___/|___|                      lede-project.org
 \        \   DE /
  \    LE  \    /  -----------------------------------------------------------
   \  DE    \  /    Reboot (SNAPSHOT, r4772-5c84ada)
    \________\/    -----------------------------------------------------------

root@LEDE:~# wmt_loader &
root@LEDE:~# init combo device
Opened combo device
get device id : 30243
set device id : 30243
do module init: 30243
failed to init module 
stp_uart_launcher -p /etc/firmware &
[1]-  Done(255)                  wmt_loader
root@LEDE:~# open device node succeed.(Node:/dev/stpwmt, fd:3) 
chip id is 0x7623
chiId:0x7623, setting to property((null))
chiId:0x7623
run SOC chip flow
create pwr on thread ok
enter power on connsys flowpatch name pre-fix:ROMv2_lm_patch
fwVersion:0x8a00
/etc/firmware/ROMv2_lm_patch_1_0_hdr.bin
fw Ver in patch: 0x8a00
read patch info:0x22,0x00,0x06,0x00
gpatchnum = [2]
gdwonseq = [2]
/etc/firmware/ROMv2_lm_patch_1_1_hdr.bin
fw Ver in patch: 0x8a00
read patch info:0x21,0x00,0x0e,0xf0
gdwonseq = [1]
cmd(srh_patch) resp(ok)
root@LEDE:~# echo A > /dev/wmtWifi &
root@LEDE:~# nano hostapd.conf
[1]+  Done                       echo A 1>/dev/wmtWifi
root@LEDE:~# hostapd -d hostapd.conf
Configuration file: hostapd.conf
Line 4: invalid/unknown driver 'nl80211'
1 errors found in configuration file 'hostapd.conf'
Failed to set up interface with hostapd.conf
Failed to initialize interface

do you see ap0-device in when you call “ip a”?

this was what i meant.

Hello, this is my .config, you can have a look, you can also use sysupgrade to update your openwrt. I have test it, enjoy it.

Yes

ap0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 02:08:22:14:22:47 brd ff:ff:ff:ff:ff:ff

Thank you. I will check it out.

Then it seems to be hostapd which does not support the (standard) driver nl80211

Can something else be used to start wifi?

imho not, but maybe you can replace your hostapd with hostapd-binaries from ubuntu/debian

https://packages.debian.org/us/jessie/armhf/hostapd/filelist

here you see depencies which you maybe need also (for armhf): https://packages.debian.org/us/jessie/hostapd

after you make menuconfig to choose nl80211, you will build the driver to image when you are compiling.

openwrt will download code, when compile.

At this point i had continuously errors, guess server was not available for download. @nomadbeni i cannot testing until the TP-Link that i ordered arrived, cause bpi is now with alpinelinux my AP. @Jackzeng could you upload the sysupgrage somewhere else ? From Baidu i have always interrupts, its not possible to download from Europe… Thanks…

Hello , here is the google drive: https://drive.google.com/open?id=1UPDwVauZ59K5A83ydHH9x4gbeiq-nffi

1 Like

Thank you. I installed this, and managed to start wifi. I also installed LuCI and a new Wireless menu appeared. In it there are couple of radios and default wifi networks. I can search other wifi networks, but the access points that I enable from LuCI are not working. It says: Wireless is disabled or not associated

If I start the wifi using SSH it works, and when I close the SSH connection wifi still works. Also every time I start the wireles from SSH a new radio shows up in LuCI.

Hi Jack. I create wifi with your command. And it work.

But for some reason i don’t know. All devices disconnect a few minute later.
And hostapd print this:

ap0: STA (private MAC address) WPA: sending 1/4 msg of 4-Way Handshake
ap0: STA (private MAC address) WPA: EAPOL-Key timeout
ap0: STA (private MAC address) WPA: sending 1/4 msg of 4-Way Handshake
ap0: STA (private MAC address) WPA: EAPOL-Key timeout
ap0: STA (private MAC address) WPA: sending 1/4 msg of 4-Way Handshake
ap0: STA (private MAC address) WPA: EAPOL-Key timeout
ap0: STA (private MAC address) WPA: sending 1/4 msg of 4-Way Handshake
ap0: STA (private MAC address) WPA: EAPOL-Key timeout
ap0: STA (private MAC address) WPA: PTKSTART: Retry limit 4 reached
ap0: STA (private MAC address) WPA: event 3 notification
ap0: STA (private MAC address) IEEE 802.1X: unauthorizing port
ap0: STA (private MAC address) MLME: MLME-DEAUTHENTICATE.indication((private MAC address), 2)
ap0: STA (private MAC address) MLME: MLME-DELETEKEYS.request((private MAC address))
ap0: STA (private MAC address) IEEE 802.11: disassociated
ap0: STA (private MAC address) WPA: event 2 notification
ap0: STA (private MAC address) IEEE 802.1X: unauthorizing port

What’s the problem? Could you help me?

Hello, I still don’t find the solution for this problem,but I find we can limit the speed to avoid this problem, here is my test command:

Thx Jack.

BTW. On my devices, stateless Ipv6 doesn’t work. Do you have same problem?

Hello, Could you tell me how do you config stateless ipv6?

I use ipv6 ping other device , it works fine

image

emm…

Our stateless ipv6 is config by an Ruijie S12010 switch.
Here is the config

ipv6 address (private Ipv6 address)::1/64
ipv6 enable
no ipv6 nd suppress-ra

So… I don’t know how it work. But other except R2.
I catch some packages and upload them in this topic
maybe it can help you