Getting Ethernet working with Banana Pi M2 Zero

I was very excited by this post.. The instructions were lacking, so here is how I got things working.

I used an image with the legacy kernel. I haven’t gotten it to work with mainline yet. That’s up next. I had a computer crash recently, so I’m not which exact image, but I think it’s this one.

After I booted up, eth0 showed up.

I wired the four pins between the OTG and DC_IN microUSB jacks to a keystone jack. The following is the wire to keystone connector chart:

banana%20pi%20m2%20zero%20ethernet

Works great!

I hope this helps everyone out.

Banana%20Pi%20M2-Zero%20Ethernet

1 Like

You can try out this: https://github.com/avafinger/bananapi-zero-ubuntu-base-minimal

It has eth0 enabled, maybe it works.

Updated to mainline kernel 4.17.4 and tested eth0 wired this way, it works! eth0, wlan0 and i2c working.

eth0      Link encap:Ethernet  HWaddr 02:42:62:ff:37:0b  
          inet addr:192.168.254.100  Bcast:192.168.255.255  Mask:255.255.0.0
          inet6 addr: fe80::42:62ff:feff:370b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2093 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1858 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:159415 (159.4 KB)  TX bytes:362419 (362.4 KB)
          Interrupt:40 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:160 errors:0 dropped:0 overruns:0 frame:0
          TX packets:160 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:11840 (11.8 KB)  TX bytes:11840 (11.8 KB)

wlan0     Link encap:Ethernet  HWaddr cc:b8:a8:a9:e5:66  
          inet addr:192.168.254.102  Bcast:192.168.255.255  Mask:255.255.0.0
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:13 errors:0 dropped:0 overruns:0 frame:0
          TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1658 (1.6 KB)  TX bytes:2620 (2.6 KB)

It works great. I have eth0 & i2c working as well as wlan0. I have an spi device coming, so I’ll be able to test that too.

The power management is amazing on this build. This is the first time I haven’t been able to fry an egg on my m2z!

I assume it is view from the top of the Banana Zero PCB? And the corresponding numbers are being count on the RJ-45 plug from the metal connectors side? Thanks

Are you looking for speedy paper reviews? Lots of real customer reviews on using a popular academic writing service are collected in a single place.

Hiya!

I thought I already had an account here, but can’t find it. ANYWAY! :sweat_smile:

Just a quick question, no expectation or entitlement felt toward getting an answer, but thought I’d ask, none-the-less.

If we assume my gateway is 192.168.0.1, would this be a half decent config for the eth0? ( USERCTL will be turned off once I’ve setup pihole )

DEVICE=eth0
HWADDR=ASSUME_I_GOT_THIS_RIGHT
ONBOOT=yes
IPADDR=192.168.1.253
BROADCAST=192.168.0.255
NETMASK=255.255.255.0
NETWORK=192.168.0.0
SEARCH="startpage.com"
BOOTPROTO=static
GATEWAY=192.168.0.1
DNS1=192.168.0.1
DNS2=192.168.0.1
TYPE=Ethernet
USERCTL=yes
IPV6INIT=no