Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Nano Pi Neo Air] ethernet over OTG says usb0: link is not ready

Featured Replies

Hi,

 

I am using Linux nanopiair 3.4.113-sun8i distribution on my Nano Pi Neo Air and trying to get the g_ether works.

 

After using modprobe g_ether and set up the network/interfaces 

auto usb0

    iface usb0

    inet static address 192.168.0.2

    netmask 255.255.255.0

 

then edit /etc/modprobe.d/g_ether.conf:

options g_ether host_addr= 06:7b:95:4c:59:d7

 

After reboot it shows:

 

[    6.868451] usb0: MAC 06:7b:95:4c:59:d7
[    6.868475] usb0: HOST MAC 5e:5b:65:8f:94:85
[   11.484526] systemd[1]: Found device /sys/subsystem/net/devices/usb0.
[   16.249726] ADDRCONF(NETDEV_UP): usb0: link is not ready

 

in this case my PC can not recognize the usb driver when I plug my nano Pi after I set up the DHCP server on the Nano Pi. 

 

I do not know if it relates to [   16.249726] ADDRCONF(NETDEV_UP): usb0: link is not ready

 

Edited by jy824212

3 hours ago, jy824212 said:
After using modprobe g_ether and set up the network/interfaces 

auto usb0

    iface usb0

    inet static address 192.168.0.2

    netmask 255.255.255.0

 

 

I do use it for my eth0 in this way:

 

iface eth0 inet static
address 192.168.6.23

 

so try :

 

auto usb0

iface usb0 inet static
address 192.168.0.2

netmask 255.255.255.0

 

what does

ifconfig

show as output

 

or

ifconfig usb0 up

 

Did you reboot after setting up /etc/network/interfaces?

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.