vobo70 Posted August 1, 2019 Posted August 1, 2019 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
Charly Posted September 16, 2019 Posted September 16, 2019 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
Igor Posted September 16, 2019 Posted September 16, 2019 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
Charly Posted September 16, 2019 Posted September 16, 2019 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
Charly Posted September 20, 2019 Posted September 20, 2019 Here a small set of rules i use with the precedent script Rule can be easy enable and disable with set or reset executable status off file rule firewall.d.tar.bz2
Charly Posted September 20, 2019 Posted September 20, 2019 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
Igor Posted September 21, 2019 Posted September 21, 2019 .... first a bridge mode has to be enables back, solve problems, test, test, test implement your ruleset with possible adjustments and test, test, test. I am unable to make big changes ATM. Can only review at best. Wrote on mobile
Charly Posted September 22, 2019 Posted September 22, 2019 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 ?
Cioby Posted January 3, 2020 Posted January 3, 2020 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.
Igor Posted January 3, 2020 Posted January 3, 2020 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.
Cioby Posted January 3, 2020 Posted January 3, 2020 Thanks for information. I have ordered one piece of this wifi card.
Recommended Posts