Core 165 testing on BananaPi

No USB-ethernet device is usable. I’ve tried USB 1.1, 2.0 & 3.0 devices. Relevant modules are loaded, according to lsmod, but setup is unable to find any usable device to use as the second ethernet.

A USB storage device is found and working.

Nanopi R1, which uses an internal USB-ethernet device, is working OK

Sorry I cannot reproduce this on my bananapi with the current master image
https://nightly.ipfire.org/master/2022-03-15%2017:53:40%20+0000-e41bb76c/armv6l/

Setting hostname to bananapi-m1.localdomain...                         [  OK  ]
Setting up firewall                                                    [  OK  ]
INIT: Entering runlevel: 3
Mounting vnstat ramdisk...                                             [  OK  ]
Starting vnstatd...                                                    [  OK  ]
Starting kernel log daemon...                                          [  OK  ]
Starting system log daemon...                                          [  OK  ]
Saving Bootlog...                                                      [  OK  ]
Starting Unbound DNS Proxy...                                          [  OK  ]
Starting ACPI daemon...                                                [  OK  ]
Enabling S.M.A.R.T.:                                                   [  OK  ]
Bringing up the green0 interface...
Adding IPv4 address 192.168.35.1 to the green0 interface...            [  OK  ]
Bringing up the blue0 interface...
Adding IPv4 address 192.168.36.1 to the blue0 interface...             [  OK  ]
Bringing up the red0 interface...
Starting dhcpcd on the red0 interface...                               [  OK  ]
           DHCP Assigned Settings for red0:
           IP Address:      192.168.15.46
           Hostname:        bananapi-m1
           Subnet Mask:     255.255.255.0
           Default Gateway: 192.168.15.1
           DNS Server:      192.168.15.1
Error: ipv4: FIB table does not exist.
Flush terminated
RTNETLINK answers: No such file or directory
Adding static routes...                                                [  OK  ]
Adding static routes...                                                [  OK  ]
Mounting network file systems...                                       [  OK  ]
Starting the Cyrus SASL Server...                                      [  OK  ]
Setting time on boot...                                                [  OK  ]
Starting ntpd...                                                       [  OK  ]
Mounting RRD ramdisk...                                                [  OK  ]

Loading Sensor Modules:                                                [  OK  ]
Starting Collection daemon...                                          [  OK  ]
Starting DHCP Server...                                                [  OK  ]
Starting Unbound DHCP Leases Bridge...                                 [  OK  ]
Starting Apache daemon...                                              [  OK  ]
Starting fcron...                                                      [  OK  ]

IPFire v2.27 - www.ipfire.org
===============================
bananapi-m1.localdomain running on Linux 5.15.23-ipfire armv7l
bananapi-m1 login: root
Password: 
Last login: Wed Mar 16 10:44:55 +0100 2022 on /dev/console.
No mail.
[root@bananapi-m1 ~]# cat /proc/device-tree/model 
LeMaker Banana Pi[root@bananapi-m1 ~]# 
[root@bananapi-m1 ~]# lsusb
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0bda:8153 Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[root@bananapi-m1 ~]# 

The red interface is the Realtek USB Adapter.
https://fireinfo.ipfire.org/profile/51faf4be088d998401981d2804528da654f61c81

Have you used the correct power connector and a sufficient power supply?

I’m running the onboard NIC as red0, with static addressing from a modem/router and the USB-ethernet as green0. Similar setup working OK on x86_64 mini-PC with core 165 testing.

Bananpi is powered by a 2.1 A USB supply, via a micro-USB charging cable. I’ll try swapping supplies and cables.

Upgrade was done approximately 02:00 UTC, 16 Mar, so I assume it was Index of /master/2022-03-15 17:53:40 +0000-e41bb76c/armv6l, but can’t confirm, in absence of WUI. Also can’t get well presented output from “screen”, in the absence of WUI. Attaching a PNG.

There is a message “Command line is not complete” associated with attempt to bring up green0. Perhaps I should try fresh install of the nightly build to another SD card.

[root@briarbpi ~]# cat /proc/device-tree/model
LeMaker Banana Pi[root@briarbpi ~]#

[root@briarbpi ~]# lsusb
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 0781:5567 SanDisk Corp. Cruzer Blade
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

usbnet module is no longer being loaded. Device currently plugged is an AX88772A, which is found on other Linux machines, as well as by IPFire on x86_64 mini-PC.

Thanks for the suggestions.

I re-installed, using the latest https://nightly.ipfire.org/master/2022-03-16%2016:01:50%20+0000-6b10e08a/ That made no difference.

I then replace the 5V power supply with a new, 3A unit, having fixed cable. That resolved the issue. I suspect that the charger cable I was using had too much voltage drop to power a 5V device. That requires further investigation.

The asix AX88772A still does not work, but it does not on a Tumbleweed laptop either. I’ve seen other reports of issues with asix adapters. Other USB-ethernet adapters are working.

1 Like