Comments (4)
Focus on the first two paragraphs.
To "bridge" you need two networks to build a bridge between - but it's just the "structure". The WiFi adapter can only be one type of network mode (see above). You can't build a bridge between an Ad Hoc mode network on the same adapter as a Master/Managed mode network - as you can't run both on the same adapter.
A "gateway" is a connection from one network to another bigger network. Think of this like an on-ramp from a city street to a freeway. If you want to go a long distance quickly, you want to end up on a super-highway with as few stops as possible (i.e. the internet).
A "firewall" is a rule enforcer. Think of this like traffic police standing at your end of the bridge, letting some people cross (ACCEPT), not letting some people pass by throwing them in the river (DROP), and then sending some people to a boarder office for further inspection (FILTER), putting tourists who come from a certain place on a bus to their destination (NAT), and people who belong to your country and have a passport straight across and into the secure city (VPN).
To connect between two networks (two sides of a river), you need to build the foundation for the bridge by physically having a place to connect a bridge from/to - most of the instructions in this guide are for getting the mesh network up (it's like you're building an island). Then you make the connection from your island to the shore of some other network by creating a bridge. Then you can tell people on your island that they can get to other places faster without as many hops by using the gateway (freeway on-ramp) to the larger network (internet).
So, for clarity, your gateway must have two network adapters (either use the built-in WiFi as your mesh and the ethernet as your gateway internet connection - or use an additional WiFi dongle to connect to the internet as a standard client).
from wifimeshraspberrypi.
A WiFi adapter can generally do one thing at a time (Master mode as an "AP", Managed mode as a "Client", Ad Hoc as a "Mesh", or Monitor mode as a no-TX "traffic sniffer").
You need a second radio to act as a client to another AP before it can act as a wireless gateway (and hopefully on a different frequency/band, to reduce interference) - the alternative is to have your gateway drone fly with a really long network cable to use the ethernet port be your uplink.
Don't laugh... need a temporary antenna mast 40' above your house to reach over an obstacle like a tree for a Yagi? It doesn't take much imagination to realize that a DJI uses about 120Watts to fly, and most of that is due to battery weight - meaning you could ground tether a drone and use Type4 PoE (100W), or a hacky PoE injector with a high DC voltage (350-ish, need to be careful to use 600V rated cable!!) to keep it airborne as long as the motors don't overheat. 4-pairs of 23gauge can support just shy of 3Amps max, but you'd have about 1K-Ohm of loss from the Cat-6 round-trip, which is why the voltage needs to be so high. Then replace the battery with a step down regulator...
from wifimeshraspberrypi.
A WiFi adapter can generally do one thing at a time (Master mode as an "AP", Managed mode as a "Client", Ad Hoc as a "Mesh", or Monitor mode as a no-TX "traffic sniffer").
You need a second radio to act as a client to another AP before it can act as a wireless gateway (and hopefully on a different frequency/band, to reduce interference) - the alternative is to have your gateway drone fly with a really long network cable to use the ethernet port be your uplink.
Don't laugh... need a temporary antenna mast 40' above your house to reach over an obstacle like a tree for a Yagi? It doesn't take much imagination to realize that a DJI uses about 120Watts to fly, and most of that is due to battery weight - meaning you could ground tether a drone and use Type4 PoE (100W), or a hacky PoE injector with a high DC voltage (350-ish, need to be careful to use 600V rated cable!!) to keep it airborne as long as the motors don't overheat. 4-pairs of 23gauge can support just shy of 3Amps max, but you'd have about 1K-Ohm of loss from the Cat-6 round-trip, which is why the voltage needs to be so high. Then replace the battery with a step down regulator...
No offense and thank you for taking the time but I dont know what does this have to do with my inquiry, I just need that error to be solved
from wifimeshraspberrypi.
Focus on the first two paragraphs.
To "bridge" you need two networks to build a bridge between - but it's just the "structure". The WiFi adapter can only be one type of network mode (see above). You can't build a bridge between an Ad Hoc mode network on the same adapter as a Master/Managed mode network - as you can't run both on the same adapter.
A "gateway" is a connection from one network to another bigger network. Think of this like an on-ramp from a city street to a freeway. If you want to go a long distance quickly, you want to end up on a super-highway with as few stops as possible (i.e. the internet).
A "firewall" is a rule enforcer. Think of this like traffic police standing at your end of the bridge, letting some people cross (ACCEPT), not letting some people pass by throwing them in the river (DROP), and then sending some people to a boarder office for further inspection (FILTER), putting tourists who come from a certain place on a bus to their destination (NAT), and people who belong to your country and have a passport straight across and into the secure city (VPN).
To connect between two networks (two sides of a river), you need to build the foundation for the bridge by physically having a place to connect a bridge from/to - most of the instructions in this guide are for getting the mesh network up (it's like you're building an island). Then you make the connection from your island to the shore of some other network by creating a bridge. Then you can tell people on your island that they can get to other places faster without as many hops by using the gateway (freeway on-ramp) to the larger network (internet).
So, for clarity, your gateway must have two network adapters (either use the built-in WiFi as your mesh and the ethernet as your gateway internet connection - or use an additional WiFi dongle to connect to the internet as a standard client).
really nice explanation, I have already set up the gateway with two networks (mobile hotspot and a usb dongle), but when i try to implement whats in part 2 "wifi bridge" , I dont know where to go further from there, how to connect the gateway to the bridge i.e connect the two drones together, also why the WLAN list doesnt appear in order to connect via hotspot
from wifimeshraspberrypi.
Related Issues (17)
- How to send/recieve data through the network HOT 3
- NEED HELP WIFI BRIDGE PART 2 HOT 1
- WIFI BRIDGE USING USB DONGLE AS IN PART 2 (URGENT) HOT 8
- WIFI GATEWAY USING HOTSPOT DOESNT SHOW WLAN 1 HOT 1
- Trouble getting nodes communicating
- "interface bat0 is not present" - expected on gateway if no other nodes? HOT 1
- Wifi AP on gateway HOT 1
- URGENT HOT 1
- Issue with Bridge Node HOT 18
- problem with part2 HOT 2
- mtu value of 1532 on host adapter instead of MTU 1468 on bat0 interface HOT 3
- Multiple Access points, using same SSID HOT 2
- "sudo batctl if" command on gateway node results in "wlan0: <error reading status>" HOT 16
- Remove "sudo batctl gw_mode client" for bridged mesh with no gateway server as it stops DHCP requests working. HOT 1
- KERNEL 5.10: Error - interface bat0 is not present or not a batman-adv interface HOT 1
- l --version HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wifimeshraspberrypi.