-
Notifications
You must be signed in to change notification settings - Fork 79
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
Wrong IP for usb0 #185
Comments
it would be great to have a PR from you |
I haven't looked into the code much, but I realized the same issue. I wonder if this is associate with connecting the pi using USB to PC or it means the connection to a micro usb Ethernet dongle. Thanks! |
@mguilherme is gateway 192.168.2.1 your router ip? |
@AresLiCa no its not, this is related to USB connection! |
@mguilherme Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So I had to change the usb ip in order to have an internet connection with a Mac, everything is working just fine after changing
/etc/network/interfaces
to:However the Tyny Cloud is showing the wrong ip for the USB-Ethernet because the ip is hardcoded in
~/launcher/Menu/GameShell/98_TinyCloud/__init__.py
.I wrote a small function to retrieve the IP from USB0, therefor we could replace the hardcoded ip with the result of this function, if no one changes the ip, fine :) If we need to change the TynyCloud will be always updated.
The function:
Do you want me to create a PR or do you have anything to add / change?
The text was updated successfully, but these errors were encountered: