0

I have such a question I found a great @Ingo tutorial from this forum. Access point as WiFi router/repeater with additional WiFi-dongle Therefore, I have a question. I have an IP camera that creates a wifi hostspot at 192.168.43.1 Is it possible to connect to this camera as client wifi on wlan0 and then make a repeater on wlan1. So that I could connect to wlan1 by phone and make the stream application work. Everywhere on the network there are descriptions of making APs in a different subnet. I care about the same subnet so that the android application works. Unless you have some other idea how to redirect network traffic to 192.168.43.1 and traffic from camera to phone via wlan1 so that the original camera application works. Thank you in advance for all the answers.

1 Answer 1

2

That you only have found solutions with different subnets for the WiFi client connection and the access point has a reason. To have only one subnet, or also called one broadcast domain, you need to bridge the interface for the WiFi client connection with the interface for the access point. This must be supported by the hardware of the WiFi device, but the on-board WiFi device of a Raspberry Pi doesn't do it. So you can only use routing with different subnets. For further information about this you can have a look at Raspberry Pi WiFi to Ethernet Bridge for a server?. But as you can read there, fortunately we have a workaround for this problem. You can use proxy arp as described at Workaround for a wifi bridge on a Raspberry Pi with proxy arp. The static configuration should best fit to your use case.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.