Skip to content

Can't connect in Wifi mode: Firewall problem? #1643

Answered by frankozland
ckl67 asked this question in Q&A
Discussion options

You must be logged in to vote

try resetting your iptables and restarting hotspot
sudo iptables -P INPUT ACCEPT
sudo iptables -P FORWARD ACCEPT
sudo iptables -P OUTPUT ACCEPT
sudo iptables -t nat -F
sudo iptables -t mangle -F
sudo iptables -F
sudo iptables -X

then try again.
https://www.digitalocean.com/community/tutorials/how-to-list-and-delete-iptables-firewall-rules

also - check your wifi channel and country code on raspap.
to diagnose i sometimes drop to 802.11 to test connection.

log into raspap and see if you have outside access (ping www.google.com or ping 8.8.8.8)

run "ip a" on raspberry at command prompt and confirm the wireless device has a carrier an ip address and its up.

run iwconfig and make sure its show…

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ckl67
Comment options

Answer selected by ckl67
Comment options

You must be logged in to vote
2 replies
@ckl67
Comment options

@billz
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants