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

hello, please use my .config, and build it by yourself, my Image have tc command.

1.search what’s the package you need, and “make menuconfig” to choose it

2.after you built it, these package(xxxx.ipk) will be generated in “/bin/packages/arm_cortex-a7_neon-vfpv4/packages/”

3.then copy the xxxx.ipk to your R2, and “opkg install xxxx.ipk”

Great. Thanks for help

Would you be able to put up a google drive link for Image link 2 (With hard float instructions) - would be greatly appreciated

Hi, How did you install Lucy? Where can I find the package?

Hello, please see here:

Hello,

I’ve used the provided config to build the image, however, I’ve problems when adding cfg80211 module. The logs are shown as follows,

root@LEDE:/# modprobe cfg80211
[   37.288988] Loading modules backported from Linux version wt-2017-01-31-0-ge882dff19e7f
[   37.296955] Backport generated by backports.git backports-20160324-13-g24da7d3c
[   37.307131] cfg80211: exports duplicate symbol __cfg80211_alloc_event_skb (owned by kernel)
1 module could not be probed
- cfg80211
root@LEDE:/# modprobe mac80211
[  159.601281] cfg80211: exports duplicate symbol __cfg80211_alloc_event_skb (owned by kernel)
2 modules could not be probed
- cfg80211
- mac80211

I’m trying to integrate mt76 driver into this image but cannot get it to work, because both cfg80211 and mac80211 are the dependencies of mt76.

Is there any way to solve this issue? Thank you.

The expected output of lsmod | grep mt76 I would like to have is something as the following

cfg80211              241664  5 mt76x2e,mt7603e,mt76,mac80211
mac80211              430080  3 mt76x2e,mt7603e,mt76
mt76                   28672  2 mt76x2e,mt7603e
mt7603e                36864  0 
mt76x2e                53248  0 

but how can we instal LuCi GUI on you image? its only SSH access, and a “opkg-update” and install command wont work because of internal network issues with ipv4 /ipv6…i get a error:

but device have still network, ping and nslookup over SSH to downloads.lede-project.org works fine but only ipv4 available on my ISP…but it resolves IPv6 adresses xD and i think, opkg will use ipv6 connections - and a ping of the ipv6 adress of downloads.lede-project.org dont work.

but how can i force opkg to use only ipv4?

maybe only dns-setting and/or default-route is wrong/missing?

weird…when i conntect my PC direct to my router i can ping fine the ipv6 adress of downloads.lede-project.org. but when my router is connectet to the wan port of the Pi R2 i cannot anymore ping ipv6 adresses :frowning: on ssh i get an “permission denied” ->

root@LEDE:/# ping downloads.lede-project.org PING downloads.lede-project.org (148.251.78.235): 56 data bytes 64 bytes from 148.251.78.235: seq=0 ttl=54 time=23.514 ms 64 bytes from 148.251.78.235: seq=1 ttl=54 time=23.699 ms — downloads.lede-project.org ping statistics — 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max = 23.514/23.606/23.699 ms root@LEDE:/# ping downloads.lede-project.org -6 PING downloads.lede-project.org (2a01:4f8:202:43ea::3): 56 data bytes ping: sendto: Permission denied

my router have a dhcp service on it…and my Pi R2 is an DHCP client on WAN Port:

config interface ‘loopback’ option ifname ‘lo’ option proto ‘static’ option ipaddr ‘127.0.0.1’ option netmask ‘255.0.0.0’ config interface ‘lan’ option type ‘bridge’ option ifname ‘lan0 lan1 lan2 lan3’ option proto ‘static’ option ipaddr ‘192.168.1.11’ option netmask ‘255.255.255.0’ option ip6assign ‘60’ config interface ‘wan’ option ifname ‘wan’ option proto ‘dhcp’

but why getting iam a permission denied? when my pc is connected to eth1 - the pc can’t also reach any ipv6 adresses :frowning:

Is ipv6 enabled on r2? I see no v6-config on it…

is there is not getting automaticly over dhcp?

Basicly ipv6 stack has to be enabled…

Starts with v6-kernelmodule (if build as such) enabled

modprobe ipv6

and system has to be enabled (don’t know how it’s done in lede,debian uses sysctl)

If your interface has ipv6-capabilities (you see fe80-linklocal-address in ip a) it can use dhcpv6/radv

ok, i added an option proto ‘dhcpv6’ to wan port - and now, ipv6 is working fine…on R2. ipv4 is not working anymore xD but i have made an opkg-update and instal luci - and it works like a charme :slight_smile:luci gui is instaled and i delete the dhcpv6 sting so the r2 routing fine and i have a gui…

ssh console is nothing for me :frowning:

but i cant enable ipv6 dhcp and ipv4 dhcp at same on wan interface :-/ and so - i cant instal any software anymore, i getting network issues at all, in the LUCI gui when i will do a software list update :frowning:

Just post your config…in debian 2 iface lines are needed for dual-stack,i guess on lede it’s similar

which config do you mean? where can i get this?

a question on the edge…is this forum here a german forum? i see all in german? i mean - iam also a german :smiley:

I mean your network-config where you have changed dhcpv6…i expect that you need 2 proto-lines to have dualstack…something like

config interface 'wan'
  option proto 'dhcp'
  option proto 'dhcpv6'

Maybe a standard v4 config with this:

option ipv6 ‘auto’

This is official chinese forum for posting international - english.

Forum-software detects that your client uses german language so it loads german language files for displaying static content.

ah ok :slight_smile: here is my config file https://drive.google.com/open?id=164ejQpsWgMsvfhuq0phzFNyHSY8GV1C9 i have added that what you post, but then, only ipv6 works and no ipv4 anymore :frowning: so i have update with opkg and instal luci - and after that, i have delete the option proto ‘dhcpv6’ string

Try with auto-line i’ve added in edit

Trying to build image in Ubuntu 18 First error I encountered was:

freadahead.c: In function 'freadahead':
freadahead.c:92:3: error: #error "Please port gnulib freadahead.c to your platform! Look at the definition of fflush, fread, ungetc on your system, then report this to bug-gnulib."

So it failed to build toolchain. I tried to replace toolchain/ and tools/ with ones from https://github.com/openwrt/openwrt/tree/lede-17.01 but it still fail to build. Is there a way to build this image in Ubuntu 18?