Client won't connect to internet #76
Comments
Give me the output of the following commands:
The ping also run it on the client. |
|
The setup looks correct. |
I'm getting the same issue on a laptop. It might be worth noting that letting the client connect to a proxy like squid pretty much solves the issue, which makes it only half the dealbreaker. |
Checkout 4d654b7 and try again. Does it work? |
4d654b7 does not seem to change anything (the module is loaded). Neither does |
Can you use wireshark on the client and the server to confirm that the packets are sent from client to server and then routed to the ethernet? Also, check for the replies, if the IP is correct. If the TTL is not expired etc. |
Also, give me your |
I found a solution to this issue. See https://bugs.freedesktop.org/show_bug.cgi?id=89509 for details. |
Cool thanks. It's strange that I didn't find this problem before. Anyway, I just checked the code of systemd that enables the forwarding and I found that it just enables 2 kernel flags through procfs (create_ap enables only one).
Please let me know if this makes it to work or not. |
Can confirm that |
Thanks! I will add this in create_ap tomorrow, I'm a bit busy now. |
Fixed. Try it and let me know if you have any problems. Thanks! |
Not quite sure what I'm doing wrong, so I would like to request some guidance.
Creating the hotspot seems to work fine. The device (Nexus 4) is able to connect to it but is unable to reach anything but the local network.
The command I'm using to run the hotspot is
/usr/bin/create_ap wlp5s0 enp5s1 FreeInternet
.Some outputs as asked in other issues:
ip addr
ip route
iptables -L
iptables -t nat -L
The text was updated successfully, but these errors were encountered: