Skip to content

Instantly share code, notes, and snippets.

@EkoAdiWijayanto
Last active April 10, 2020 19:37
Show Gist options
  • Save EkoAdiWijayanto/0c2589c80509fc94f0a3fe49a514e099 to your computer and use it in GitHub Desktop.
Save EkoAdiWijayanto/0c2589c80509fc94f0a3fe49a514e099 to your computer and use it in GitHub Desktop.
Orange Pi - OTG g_ether
#add this
g_ether
allow-hotplug usb0
iface usb0 inet static
address 10.10.77.1
netmask 255.255.255.0
# 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;
}
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