davesteele / comitup

Bootstrap Wifi support over Wifi
https://davesteele.github.io/comitup/
GNU General Public License v2.0
320 stars 54 forks source link

BUG Comitup browser page show when connected to eth0 #92

Closed mrsstaceyseigle closed 4 years ago

mrsstaceyseigle commented 4 years ago

I am using comitup for wifi connection interface via web browser. I am also using a web server on the same raspberry pi.

Issue: Let say that I connect the raspberry pi to ethernet port to the router for internet which on my Pi is registered as eth0. when Iooking on another device I can see comitup as a network. I do not connect to it because I already have internet from the eth port. If I browsers to raspberrypi.local I like to access my web server however it shows me comitup network connection page. If I go ahead and connect to a wifi network then once connected and I go to raspberrypi.local then it will show me my webserver pages that I want to see.

how do I fix it where if I am connected to a eth0 port comitup will not show its web page unless we connect to a wifi network

davesteele commented 4 years ago

If I understand this, you want to take advantage of the automatic hotspot, but you are not interested in an upstream wifi connection, and you want to use your own web service.

You could do this by modifying the comitupweb source to run on a different port other than 80 (or change the ip address from "0.0.0.0" to "10.41.0.1", and run your web service only on other addresses). Also, don't define the comitup.conf web-service.

mrsstaceyseigle commented 4 years ago

Thank you!