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

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

@Jackzeng I use your image, but I can’t start wifi:

root@LEDE:/mnt# cat hostapd.conf 
interface=ap0
bridge=br-lan
ssid=hw3
driver=nl80211
country_code=CN
hw_mode=g
channel=1
max_num_sta=5
wpa=2
auth_algs=1
rsn_pairwise=CCMP
wpa_key_mgmt=WPA-PSK
wpa_passphrase=xxyyzz
logger_stdout=-1
logger_stdout_level=2
root@LEDE:/mnt# ifconfig wlan0
wlan0     Link encap:Ethernet  HWaddr 00:08:22:00:04:FC  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

root@LEDE:/mnt# hostapd -d hostapd.conf 
Configuration file: hostapd.conf
'ine 4: invalid/unknown driver 'nl80211
'ine 6: unknown hw_mode 'g
'.ne 11: invalid cipher 'CCMP
'ine 12: invalid key_mgmt 'WPA-PSK
4 errors found in configuration file 'hostapd.conf'
Failed to set up interface with hostapd.conf
Failed to initialize interface
root@LEDE:/mnt# ifconfig ap0
ap0       Link encap:Ethernet  HWaddr 02:08:22:00:04:FC  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

root@LEDE:/mnt#

Hello, Did you try here?

I am using your sysupgrade image, and above problem is in your sysupgrade image.

looks strange…have your checked your filesystem?

Btw. @jackzeng is hnat working over br-lan?

how to check filesystem, there is no fsck command.

Hello,frank, I think hnat is probably not over br-lan.

Then it also cannot work in lede where lanpprts are bridged. There is a br-section in prerouting. Here no tag is appended (wifi gets invalid) but in postrouting there are checks only for lan/wan

Can we make it work also with bridges and wifi?

@silverfox i do not know lede much,but there must be a tool for checking filesystem https://openwrt.org/docs/guide-user/storage/filesystems-and-partitions but i heard that package-install does not work correctly on some lede-images

yes, this is what I want to do, I will find time to support HNAT and Switch function on R2.

by the way, have you ever met this problem before?

Not till now,but i have only connected usb2-devices directly…i have no usb3-hub…

But you can try different kernel-versions and look if the problem happens on all. You’ll find kernel-versions 4.14,4.16,4.17 and 4.18 on my repo working so far on r2

My modified uboot allows booting different kernels (different filename)

Hello,frank,I tried kernel 4.14,it also has the same problem, usb3.0 is limited.

image

I think the next step is to check the code.

Can you try also 4.17(-main)/4.18(-rc) maybe its fixed in newer kernel

We found out the usb port of soc only support 32 endpoints, so is limited. I want to figure out how to change the endpoint.

usb-port of soc? i thought usb3 was connected via pcie

btw. do you use a powered usb-hub? is the problem also occour if no devices are connected to hub? maybe it’s a powering issue

I have put first image from this post than tried to sysupgrade to your

(tried by webgui but I cannot get 192.168.1.1 by browser)

lede-mediatek-32-bananapi,bpi-r2-sysupgrade.tar

file and after reboot I have: can’t get kernel image!

enclosed log from upgrade

finally I would like to use that image:

https://downloads.openwrt.org/releases/18.06.0/targets/mediatek/mt7623/

but I don’t know how to install it to SD

log.txt (29,4 KB)