Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Banana Pi R2 - wifi hotspot - best practices

Featured Replies

Hello,

I have Banana Pi R2 with armbian bionic. Have two wlan cards both USB, both works. 

But earlier when I used openwrt on x86 my both wlan and lan were bridged and had one IP - which was router IP.

Here with armbian wlan hotspot get other IP than armbian itself. Is there any way to change it to bridge?
Or best practices is to leave it as is?

regards,

Maciek

For hotspots, there are 3 modes :
Bridge : Wifi IP address are in same range as your network and it's your DHCP deliver wifi IP address
Routing : Wifi IP address are not in the same range as your network, wifi IP address are deliver per the hotspot ; your network must be "informed" the range IP of wifi ( routing table )
NAT : The wifi is full managed per the hotspot ; on your network you see only connection initiated per the hotspot
Each mode have advantages and inconvenient, that depending your wifi using

2 hours ago, Charly said:

Bridge : Wifi IP address are in same range as your network and it's your DHCP deliver wifi IP address


We used to have both, but maintaining both become too much when there is little help ... I would like to see both + some basic firewall config, but don't know when :) 
https://github.com/armbian/config/blob/master/debian-config-jobs#L513

I done some thing no bad on my 2 hotspot in routing mode with a script to manage IPTABLES rules

The script firewall_rules.sh in /etc/init.d/ load pre-defined rules in /etc/firewall.d/

firewall_rules.sh

On 9/16/2019 at 7:11 PM, Igor said:


We used to have both, but maintaining both become too much when there is little help ... I would like to see both + some basic firewall config, but don't know when :) 
https://github.com/armbian/config/blob/master/debian-config-jobs#L513

I think with my firewall script it is possible to do different set of rules ( Bridge, Routing, NAT ) can be enable according to desired mode

I don't understand the mounting/mapping/bridging of ethernet ports on Banana Pi R2 : eth0, br0, wan, lan1-2-3-4
br0 is the bridge but in eth0, br0, wan, lan1-2-3-4 what is physical interface or logical interface ?

Does anyone know or tested if this WiFi card Compex WLE600VX  Mini PCIe Module QCA9882 802.11AC 867Mbps can use used on the Banana Pi R2 device ?

Here on the Armbian page for BananaPi R2 https://www.armbian.com/bananapi-r2/ I see an image with this card inserted into the mPCIE slot but I do not find any other information related to it.

1 hour ago, Cioby said:

Does anyone know or tested if this WiFi card Compex WLE600VX  Mini PCIe Module QCA9882 802.11AC 867Mbps can use used on the Banana Pi R2 device ?


I tested it. It worked - on our images which are sadly not supported for this board. No time / resources to proceed. If wireless module doesn't show up, you only need to install firmware, probably

apt install armbian-firmware-full

will do.

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.