lukicdarkoo/rpi-wifi

No traffic forwarded to internet

Opened this issue · 3 comments

Hi so I thought I had this working correctly but I can seem get internet traffic to pass through the AP to the internet. For example when I ssh into the RaspPi and ping outside my home network:

lombardo@raspberrypi:~ $ ping 1.1.1.1
PING 1.1.1.1 (1.1.1.1) 56(84) bytes of data.
64 bytes from 1.1.1.1: icmp_seq=1 ttl=58 time=17.8 ms
64 bytes from 1.1.1.1: icmp_seq=2 ttl=58 time=21.3 ms
64 bytes from 1.1.1.1: icmp_seq=3 ttl=58 time=19.8 ms
64 bytes from 1.1.1.1: icmp_seq=4 ttl=58 time=18.7 ms

Now if I connect my laptop to the RaspPi AP and ping from my laptops terminal:

Fedallahs-MacBook-Pro:~ lombardo$ ping 1.1.1.1
PING 1.1.1.1 (1.1.1.1): 56 data bytes
ping: sendto: No route to host
ping: sendto: No route to host
Request timeout for icmp_seq 0
ping: sendto: No route to host
Request timeout for icmp_seq 1
ping: sendto: No route to host
Request timeout for icmp_seq 2
ping: sendto: No route to host
Request timeout for icmp_seq 3
ping: sendto: No route to host
Request timeout for icmp_seq 4
--- 1.1.1.1 ping statistics ---
6 packets transmitted, 0 packets received, 100.0% packet loss

I ran the script only replacing the the following variables: MyAP myappass WifiSSID wifipass. Do you have an idea why the information is not being forwarded from the RaspPi to my home network?


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

I have same issue +1

So found there was an issue with the chrontab starting. I decided to go the way of running the script in rc.local at boot.

JLNNN commented

same here. it doesn't matter if setting the ip to my routers network (e.g. 192.168.178.69) or not.

i'm using this pull request and a rpi zero w.