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

Make internet over usb possible #2

Open
53645714n opened this issue Mar 7, 2021 · 3 comments
Open

Make internet over usb possible #2

53645714n opened this issue Mar 7, 2021 · 3 comments

Comments

@53645714n
Copy link

Great tutorial, implemented it in my farmlapse project. I have one major issue, which isn't an bug or anything, but I want to update my software but can't because it is not connected to the internet anymore. I am able to login via usb and make an ethernet connection, but sudo apt-get update keeps redirecting to 192.168.4.1. Even after I undid all steps. Is there a way to make the ethernet function work together with the hotspot?

@TomHumphries
Copy link
Owner

Does re-commenting the line net.ipv4.ip_forward=1 in /etc/sysctl.conf allow you to run an update over ethernet?
That should reverse this routing step.
It's been a while since I looked at this project though so I can't say if it'll work!

@53645714n
Copy link
Author

Nope, pinging google.nl gets me:
64 bytes from 192.168.4.1 (192.168.4.1): icmp_seq=1 ttl=64 time=0.374 ms
Even deleting the iptables rules gets me nowhere..

@53645714n
Copy link
Author

The problems start right after dhcpcd, but get worse down the line. Removing dhcpcd.conf works at first, but later on I get packets filtered etc.

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

2 participants