Created
January 12, 2021 10:26
-
-
Save tienthanh2509/692c157e65af013852205928e5cea063 to your computer and use it in GitHub Desktop.
Enable g_ether for Raspberry Pi
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Set mac address | |
options g_ether host_addr=e6:ac:a4:6c:9c:99 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
auto usb0 | |
allow-hotplug usb0 | |
iface usb0 inet static | |
address 192.168.8.2 | |
gateway 192.168.8.1 | |
netmask 255.255.255.0 | |
dns-nameservers 8.8.8.8 8.8.4.4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On your PC set USB ethernet to IP 192.168.8.1 to access IP and share internet for PI