Git Product home page Git Product logo

Comments (6)

pcarranzav avatar pcarranzav commented on August 25, 2024

(as mentioned on gitter)
Hi @samouds - looks like something might be going wrong with the DNS server. The IP in db.catchall shouldn't affect much since we're also using iptables rules to forward the packets.
Could you check (with ps -Af on a terminal) whether the DNS is running? And check if the iptables rules are in place? (iptables -t nat -L)
(with the AP running)

from wifi-connect.

curcuz avatar curcuz commented on August 25, 2024

related to #33

from wifi-connect.

danielbh avatar danielbh commented on August 25, 2024

@pcarranzav

I have same problem. on raspberry pi 3. Output of ps

UID        PID  PPID  C STIME TTY          TIME CMD                                                                                                
root         1     0  0 12:22 ?        00:00:01 /bin/sh -c ./start                                                                                 
root        22     1  0 12:22 ?        00:00:00 udevd                                                                                              
root        25     1  0 12:22 ?        00:00:00 /bin/bash ./start                                                                                  
root        26    25  1 12:22 ?        00:00:04 npm                                                                                                
root        58    26  0 12:22 ?        00:00:00 sh -c cd src && node app.js                                                                        
root        59    58  1 12:22 ?        00:00:05 node app.js                                                                                        
root        83     1  0 12:22 ?        00:00:00 hostapd -B wlan0-hostapd.conf                                                                      
root        90     1  0 12:22 ?        00:00:00 udhcpd wlan0-udhcpd.conf                                                                           
root        92    59  0 12:22 ?        00:00:00 named -f                                                                                           
root       108     0  0 12:28 ?        00:00:00 /bin/bash                                                                                          
root       131   108  0 12:28 ?        00:00:00 ps -Af   

output of iptables

Chain PREROUTING (policy ACCEPT)                                                                                                                   
target     prot opt source               destination                                                                                               
DOCKER     all  --  anywhere             anywhere             ADDRTYPE match dst-type LOCAL                                                        
TETHER     all  --  anywhere             anywhere                                                                                                  

Chain INPUT (policy ACCEPT)                                                                                                                        
target     prot opt source               destination                                                                                               

Chain OUTPUT (policy ACCEPT)                                                                                                                       
target     prot opt source               destination                                                                                               
DOCKER     all  --  anywhere            !loopback/8           ADDRTYPE match dst-type LOCAL                                                        

Chain POSTROUTING (policy ACCEPT)                                                                                                                  
target     prot opt source               destination                                                                                               
MASQUERADE  all  --  172.17.0.0/16        anywhere                                                                                                 

Chain DOCKER (2 references)                                                                                                                        
target     prot opt source               destination                                                                                               
RETURN     all  --  anywhere             anywhere                                                                                                  

Chain TETHER (1 references)                                                                                                                        
target     prot opt source               destination                                                                                               
DNAT       tcp  --  anywhere             anywhere             tcp dpt:http to:192.168.42.1:8080                                                    
DNAT       tcp  --  anywhere             anywhere             tcp dpt:https to:192.168.42.1:8080                                                   
DNAT       udp  --  anywhere             anywhere             udp dpt:domain to:192.168.42.1:53  

(edited for formatting)

from wifi-connect.

danielbh avatar danielbh commented on August 25, 2024

Also I should note im running rpi3-rebased branch.

from wifi-connect.

danielbh avatar danielbh commented on August 25, 2024

Forgetting AP seems to fix this. I wonder why?

from wifi-connect.

petrosagg avatar petrosagg commented on August 25, 2024

resin-wifi-connect is no longer based on iptables. Please re-open if you still have the issue

from wifi-connect.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.