ESP32: Is it possible to make a bridge ETH-WIFI - wifi

i m using olimex esp32-poe-iso and i m trying to achieve the following:
HOME ROUTER ====== (WIFI) ====== (STA):esp32-poe-iso:(ETH) ====== (ETH cable)===== Jetson Nano
im not trying to find a piece of code here. I m just trying to be sure that it's doable.
i have been trying for days now with no luck.
All the docs and examples out there explain the opposite way around. which worked fine for me.
HOME ROUTER ====== (ETH) ====== (ETH):esp32-poe-iso:(WIFI-AP) ====== (WIFI)===== Jetson Nano
Any clue is really appreciated

You want to build a WiFi bridge which allows your wired Jetson Nano board to connect to your WiFi network? Sure, it's possible. Not simple, but definitely doable (assuming you know your networking). At least one person has source code, but googling for "esp32 wifi bridge" brings up quite a few resources.
I'm not sure that the Espressif WiFi library gives you enough control to do it transparently. So we're probably talking about building a NAT box, which requires translating the addresses for your wired client and forwarding the packets. Maybe also a DHCP server, if you don't like to assign IP-s manually. There's a sample NAT implementation here: https://github.com/martin-ger/esp32_nat_router
A more practical solution would be buying a WiFi router which can work as a bridge for Ethernet devices. Some very cheap WiFi routers have this functionality these days (I vaguely recall a TP-LINK device which cost around 20€).

Related

Requirements to access IP Camera using OpenCV

I'm new to IP cameras and I know there are quite a lot of topics about this in the forum already, but I can't find a concrete answer for my needs.
I want to access an IP camera using OpenCV in Python from a Windows PC. As I don't have a camera yet, I need to buy one and I can't figure out, what requirements this camera needs to have.
For example, there are quite cheap IP cameras (e.g. Xi****) which say they come with an Android or iOS app and are only accessible via those.
I thought you can access any IP cam via OpenCV, but now I'm not sure anymore... can anyone give me an overview, what specs an IP cam needs, to be accessed via OpenCV on Windows? I don't want to buy a camera and later realize, that I can't access the video stream.
I'm really sorry, if this has already been asked, but I can't find a satisfying answer to this question and Google doesn't seem to be very helpful...
Thanks in advance.
check for IP cam that can transmit RTSP opencv know how to work with this type of stream.

React Native - Scan Local Network for Hosts

is there any function, extension or tutorial which supports scanning of local network for hosts.
I like to scan the local networks for all Raspberry Pi computers.
Thanks for any hint.
You can use lan scan library. But currently it has support for only Android. I myself is looking for a solution to scan ip cameras on local network. Here is a link
https://github.com/Odinvt/react-native-lanscan
Also there is a objective C library if you can write binding for react.
https://github.com/mongizaidi/LAN-Scan
I have only this much knowledge on topic right now. Will post further if i find something.

Is it possible to associate single wireless network card to multiple WiFi Access Points at a time?

Is it possible to associate single wireless network interface controller (WNIC) with multiple Wireless Access Points (WAP) at a time? If not: why?
I've never heard about such a feature, so I assume it's technically impossible or fairly difficult and rarely implemented. Is it really that difficult/impossible to implement driver providing such a feature? Is it software or hardware difficulty?
I assume that TCP/IP protocols' specifications doesn't limit us at all because if I attach multiple WNICs to my computer, I can easily connect to multiple APs.
If it's software difficulty, than what's the actual problem? Does Linux/Windows kernel or WNIC's drivers limits it? Or maybe system libraries (like libc on GNU/Linux systems)?
If it's hardware difficulty, what actually limits us? Antennas? Using single radio frequency at a time? If yes, than why can't we implement frequency hopping (like Kismet does)? Because of lost packets during time spent on other channels? If yes, than can we associate WNIC with multiple routers working on the same channel (I know that channel overlapping is bad)?
Note: I'm not talking about dual band routers. I assume that we consider most common WNIC and AP which both work on 2.4GHz channels. If I have to put my question into OS context, than I choose GNU/Linux context.
Yes. The basic technique is that the client tells AP 'A' that it is going to sleep and then talks to AP 'B' while A is buffering frames for it.
Microsoft research worked this out a while ago:
http://research.microsoft.com/en-us/um/redmond/projects/virtualwifi/
Many low-level drivers support Wi-Fi interface virtualization (e.g. the BRCM wl command has options which support this).
Apple's AirDrop and MultiPeer features for OS X and iOS use a similar technique, but instead of talking to a 2nd AP they talk to a peer device.

How to capture raw signal from wireless router?

I have seen several projects now which derive novel spatial information from radio data collected from a typical wireless router:
http://wisee.cs.washington.edu/
http://www.extremetech.com/extreme/133936-using-wifi-to-see-through-walls
The idea of using a wireless router as a sort of passive radar is fantastic.
I am very interested in experimenting with data collected from a wireless router myself, but there is little information on how to go about actually interfacing with a wireless router and getting a raw stream of information collected by the device. Similar questions have been asked on here before, but I am yet to see a satisfactory answer.
I don't have the rep points necessary to link to the other questions but see:
'Capture Raw Signal from WiFi card as You Would a Sound Card'
'raw wifi “signal data” access'
I am looking for a solution that would let me use a low-cost device such as the oh so common WRT54G wireless router. If your answer involves custom radio hardware, you needn't bother posting.
As far as I know, the only option using a commodity hardware is to use Intel 5300 Wifi card. You can get the complex CSI (amplitude and phase info therein) from the three antenna on it from a sample of subcarriers (OFDM). You can take a look at this site:
http://dhalperi.github.io/linux-80211n-csitool/
If you read the wisee research paper you will find the platform they use for the system, it is USRP N210 from Ettus plus GNU radio software.
So it is not your usual WiFi AP they are using but the SDR solution this question also hints about.
WiFi devices are build to handle physical layer in silicon and the monitor mode is the best thing you can get without going the SDR path. You can get quite a lot of information from it - the radiotap header contains for example received signal strength and receiving antenna information. But if you really want to explore physical layer of WiFi then commodity hardware is not going to cut it.

IPV6 usage study

I have a pretty overview on the TCP/IPv4 stack. I am planning to get into the next version of IP which is IPV6 which is for the future I believe. I really need some valuable inputs from anyone as to which site or link or maybe I can do something practically by using some kind of simulators to learn something like atleast some UDP6 stack or TCP 6 stack.
Any valuable inputs?
See the following ipv6 site - it has links to specifications, ipv6 enabled applications and ipv6 stack implementations:
http://www.ipv6.org/
Although I am a bit late to reply but as I found this question so generally I am replying here.
The best simulation software available at the time of writing this answer is GNS3 and you can download it from GNS3.net for free.
It simulates real routers IOS images and you can create real routing packets environment and learn a lot even for IPv6 routing protocols.
I literally created my CCIE LAB environment through this fantastic software and you can also connect those GNS3 routers to your physical switches.
I also wrote some articles in my blog related to IPv6 and you may read few of the articles below
Understanding IPv6 Addressing
IPv6 configuration

Resources