Orange Pi Zero Plus as an ethernet gadget


mondalex
 Share

1 1

Recommended Posts

Armbian is a community driven open source project. Do you like to contribute your code?

6 hours ago, Igor said:

Armbian uses g_serial by default with a modern kernel. With old, I lost track. I assume you only need to exchange it with g_ether? /etc/modules 

I'm actually very new to all these so can you please point out how I can exchange g_serial with g_ether?

Link to post
Share on other sites

change your /etc/network/interfaces file to look like:

auto eth0
iface eth0 inet static
    address 192.168.100.1
    netmask 255.255.255.0

 

and type

sudo ifdown eth0 && ifup eth0

 

With that you should be able to ssh into the device using ssh USER@192.168.100.1

Link to post
Share on other sites

10 hours ago, MitchD said:

change your /etc/network/interfaces file to look like:


auto eth0
iface eth0 inet static
    address 192.168.100.1
    netmask 255.255.255.0

 

and type


sudo ifdown eth0 && ifup eth0

 

With that you should be able to ssh into the device using ssh USER@192.168.100.1

I think - you have to replace here eth0 with usb0 :)
The following page is for the Raspberry, but could also help your OPi with the /etc/network/interfaces or the configuration within windows:
https://learn.adafruit.com/turning-your-raspberry-pi-zero-into-a-usb-gadget/ethernet-gadget

Link to post
Share on other sites

Guest
This topic is now closed to further replies.
 Share

1 1