Is there a way for me to configure my wifi hotspot so that I can use apps such as IP webcam while the hotspot is the PC's only internet connection?
-
Please take a look at Can we use an Android phone as a Wi-Fi repeater? :)– IzzyCommented Oct 4, 2013 at 6:37
-
Not a dupe! See my answer– ce4Commented Oct 4, 2013 at 7:15
-
@Izzy: ipwebcam runs on the phone and acts as a network camera, it opens a tcp port on the wifi interface only, which is inaccessible in the hotspot mode– ce4Commented Oct 4, 2013 at 7:21
-
Sorry for that – it was not clear from the question. I understood it was about some IPCam in the local network the OP wanted to monitor, and thus needed to access the local WLAN from the Android device. @Jacxel: you might want to edit your question for clarification ;)– IzzyCommented Oct 4, 2013 at 10:26
1 Answer
You need an intermediate wifi AP to which both android and your laptop connect. The integrated wifi hotspot functionality won't work as it does only forward the internet connection and hides the rest (it adds a new 192.168.42/24 subnet and does NAT internally).
Technically speaking, of course, there's a way to do it. But it requires root and you would need to setup the network by hand (iptables, ip tools required) and make sure that the app does bind to the wifi hotspot standard gateway IP 192.168.42.129 and that there are no firewall rules to block it.