Last active
April 10, 2020 19:37
-
-
Save EkoAdiWijayanto/0c2589c80509fc94f0a3fe49a514e099 to your computer and use it in GitHub Desktop.
Orange Pi - OTG g_ether
This file contains 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
#add this | |
g_ether |
This file contains 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
allow-hotplug usb0 | |
iface usb0 inet static | |
address 10.10.77.1 | |
netmask 255.255.255.0 |
This file contains 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
# apt-get install isc-dhcp-server | |
# /etc/default/isc-dhcp-server | |
INTERFACESv4="usb0" | |
# /etc/dhcp/dhcpd.conf | |
default-lease-time 600; | |
max-lease-time 7200; | |
authoritative; | |
log-facility local7; | |
subnet 10.10.77.0 netmask 255.255.255.0 { | |
range 10.10.77.100 10.10.77.200; | |
} |
This file contains 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
https://forum.armbian.com/index.php?/topic/1417-g_ether-driver-h3-device-as-ethernet-dongle/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment