Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No traffic forwarded to internet #19

Open
ddrum2000 opened this issue Jun 18, 2020 · 3 comments
Open

No traffic forwarded to internet #19

ddrum2000 opened this issue Jun 18, 2020 · 3 comments

Comments

@ddrum2000
Copy link

ddrum2000 commented Jun 18, 2020

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.

@doug62
Copy link

doug62 commented Jun 27, 2020

I have same issue +1

@ddrum2000
Copy link
Author

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
Copy link

JLNNN commented Nov 24, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants