Ubuntu Mate - No Network Connection on N2

Post Reply
punyelroo
Posts: 3
Joined: Fri May 31, 2019 4:29 pm
languages_spoken: english
ODROIDs: N2
Has thanked: 0
Been thanked: 0
Contact:

Ubuntu Mate - No Network Connection on N2

Unread post by punyelroo » Sun Jul 07, 2019 3:37 pm

Hi,

Just tried to install the currently posted build of Ubuntu Mate on an N2 but the network connection (wired) does not come up - no physical layer even.. ie no link lights at all - the interface is not initialised. I can install Armbian in the same device (100%) and its fine so its not HW, cabling or switch port etc..
ifconfig does not even show a MAC Address to enter it manually

Anyone know how to get it enabled ?

Cheers

Andrew

User avatar
tobetter
Posts: 3688
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Location: Paju, South Korea
Has thanked: 28 times
Been thanked: 116 times
Contact:

Re: Ubuntu Mate - No Network Connection on N2

Unread post by tobetter » Sun Jul 07, 2019 4:18 pm

punyelroo wrote:
Sun Jul 07, 2019 3:37 pm
Hi,

Just tried to install the currently posted build of Ubuntu Mate on an N2 but the network connection (wired) does not come up - no physical layer even.. ie no link lights at all - the interface is not initialised. I can install Armbian in the same device (100%) and its fine so its not HW, cabling or switch port etc..
ifconfig does not even show a MAC Address to enter it manually

Anyone know how to get it enabled ?

Cheers

Andrew
Can you boot with SPI, Petitboot, after toggling the boot select switch?
Once you get SPI, you can exit to shell prompt and run command ifconfig eth0 and see if you have onboard NIC.
For sure, I suggest updating Petitboot with the recent version.
viewtopic.php?f=182&t=33873&p=261451&hi ... ot#p261451

punyelroo
Posts: 3
Joined: Fri May 31, 2019 4:29 pm
languages_spoken: english
ODROIDs: N2
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu Mate - No Network Connection on N2

Unread post by punyelroo » Sun Jul 07, 2019 4:21 pm

Thanks for the idea - I just got about it though ...
Had a USB WiFi adapter - plugged that in and got the WiFi up ... upgraded ... now the Ethernet comes up fine. Must be a bug in the current posted version which is quite old.
Cheers

etcetera
Posts: 10
Joined: Fri Feb 15, 2019 11:31 pm
languages_spoken: english, german
ODROIDs: 3 x N2
Location: Switzerland
Has thanked: 9 times
Been thanked: 1 time
Contact:

Re: Ubuntu Mate - No Network Connection on N2

Unread post by etcetera » Tue Jul 09, 2019 11:42 pm

Dear Readers


Yesterday I did sudo apt update and sudo apt upgrade on one of my Odroid-N2 after returning from my holidays. After rebooting the network eth0 did not come up.

Today using wlan0 I did sudo apt update and sudo apt upgrade again with the same result.

After powering up the Odroid-N2 the yellow/orange led on the ethernet connector begins to flash. It keeps flashing for some seconds when the blue system led starts to blink. Then it stops flashing.

Code: Select all

$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 00:1e:06:42:06:da brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 40:a5:ef:f3:9a:b4 brd ff:ff:ff:ff:ff:ff
    inet 192.168.12.143/24 brd 192.168.12.255 scope global dynamic noprefixroute wlan0
       valid_lft 85462sec preferred_lft 85462sec
    inet6 fe80::3a00:5dd7:cf6c:48a3/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever

Code: Select all

$ sudo ip link set eth0 up
RTNETLINK answers: Cannot allocate memory
Petitboot (dev.20190417) shows the following (typed, copy paste not possible):

Code: Select all

/ # ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:00:00:00:00:00
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:21
Any Ideas? Thank you kindly.


Regards
etcetera
Last edited by etcetera on Wed Jul 10, 2019 12:00 am, edited 2 times in total.

User avatar
tobetter
Posts: 3688
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Location: Paju, South Korea
Has thanked: 28 times
Been thanked: 116 times
Contact:

Re: Ubuntu Mate - No Network Connection on N2

Unread post by tobetter » Tue Jul 09, 2019 11:50 pm

etcetera wrote:
Tue Jul 09, 2019 11:42 pm
Dear Readers


Yesterday I did sudo apt update and sudo apt upgrade on one of my Odroid-N2 after returning from my holidays. After rebooting the network eth0 did not come up.

Today I did sudo apt update and sudo apt upgrade again with the same result using wlan0.

After powering up the Odroid-N2 the yellow/orange led on the ethernet connector begins to flash. It keeps flashing for some seconds when the blue system led starts to blink. Then it stops flashing.

Code: Select all

$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 00:1e:06:42:06:da brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 40:a5:ef:f3:9a:b4 brd ff:ff:ff:ff:ff:ff
    inet 192.168.12.143/24 brd 192.168.12.255 scope global dynamic noprefixroute wlan0
       valid_lft 85462sec preferred_lft 85462sec
    inet6 fe80::3a00:5dd7:cf6c:48a3/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever

Code: Select all

$ sudo ip link set eth0 up
RTNETLINK answers: Cannot allocate memory
Petitboot (dev.20190417) shows the following (typed, copy paste not possible):

Code: Select all

/ # ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:00:00:00:00:00
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:21
Any Ideas? Thank you kindly.


Regards
etcetera
Would you please update Petitboot with recent one and run the same command again ifconfig eth0?
viewtopic.php?f=182&t=33873&p=261812&hi ... ot#p261451
These users thanked the author tobetter for the post:
etcetera (Thu Jul 11, 2019 4:14 pm)

etcetera
Posts: 10
Joined: Fri Feb 15, 2019 11:31 pm
languages_spoken: english, german
ODROIDs: 3 x N2
Location: Switzerland
Has thanked: 9 times
Been thanked: 1 time
Contact:

Re: Ubuntu Mate - No Network Connection on N2

Unread post by etcetera » Wed Jul 10, 2019 1:43 am

Dear tobetter


Thank you for your assistance.

I have installed the new Petitboot using spiboot-201907-rc1.img as you suggested.

After that I do the following steps:
  1. I boot the new Petitboot and the screen remains black. I see no menu. So I can not post a ifconfig eth0. Did I oversee something?
  2. I boot Ubuntu Mate on eMMC and the network eth0 is up and running. Now I attach one USB hub with 7 disks. Everything seems to be ok.
  3. Then I boot again with the 7 USB disks and the network eth0 does not come up :-( This has worked until the recent upgrade.

Regards
etcetera

etcetera
Posts: 10
Joined: Fri Feb 15, 2019 11:31 pm
languages_spoken: english, german
ODROIDs: 3 x N2
Location: Switzerland
Has thanked: 9 times
Been thanked: 1 time
Contact:

Re: Ubuntu Mate - No Network Connection on N2

Unread post by etcetera » Sun Jul 14, 2019 11:59 pm

The system now boots again with eth0 coming up and the disks attached. This is what I did.

I did sudo apt update and sudo apt upgrade again today (installing linux-odroid-n2 4.9.184-37). This did not yet help, no eth0 after booting with 7 disks attached.

I added usb-storage.quirks=0bc2:3312:u,0bc2:3320:u,0bc2:3321:u,0bc2:ab38:u to bootargs in file /media/boot/boot.ini. Explanation: the quirks disappeared before while upgrading as described in viewtopic.php?f=177&t=35606#p261820. At this moment I did not care about boot.ini and forgot about the quirks.

Having added the quirks again today the system is now booting properly with the disks attached and the network connection eth0 is coming up :-)

In order to document the case I include some lines from syslog where problems are logged. It seems that the 8TB Disk called Seagate Backup+ Hub is causing the problems — without quirks. To my knowledge this did not occur before. Hope it may help.

Code: Select all

Jul 14 15:01:20 odroid2 kernel: [    9.093815@2] usb 2-1.3.1.4: new SuperSpeed USB device number 11 using xhci-hcd
Jul 14 15:01:20 odroid2 kernel: [    9.093935@0] xhci-hcd xhci-hcd.0.auto: ERROR Transfer event for disabled endpoint or incorrect stream ring
Jul 14 15:01:20 odroid2 kernel: [    9.093940@0] xhci-hcd xhci-hcd.0.auto: @00000000cf6128f0 00000000 00000000 1b000000 0f038000
Jul 14 15:01:20 odroid2 kernel: [    9.094120@0] sd 5:0:0:0: [sdd] Optimal transfer size 268431360 bytes
Jul 14 15:01:20 odroid2 kernel: [    9.143911@1] systemd[1]: System time before build time, advancing clock.
Jul 14 15:01:20 odroid2 kernel: [    9.148826@2] usb 2-1.3.1.4: New USB device found, idVendor=0bc2, idProduct=ab45
Jul 14 15:01:20 odroid2 kernel: [    9.148829@2] usb 2-1.3.1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jul 14 15:01:20 odroid2 kernel: [    9.148830@2] usb 2-1.3.1.4: Product: Backup+ Hub
Jul 14 15:01:20 odroid2 kernel: [    9.148832@2] usb 2-1.3.1.4: Manufacturer: Seagate
Jul 14 15:01:20 odroid2 kernel: [    9.148834@2] usb 2-1.3.1.4: SerialNumber: XXXXXXXXXXXX
Jul 14 15:01:20 odroid2 kernel: [    9.151829@2] hub 2-1.3.1.4:1.0: USB hub found
Jul 14 15:01:20 odroid2 kernel: [    9.152106@2] hub 2-1.3.1.4:1.0: 3 ports detected
Jul 14 15:01:20 odroid2 kernel: [    9.174674@1]  sdd: sdd1
Jul 14 15:01:20 odroid2 kernel: [    9.175938@1] sd 5:0:0:0: [sdd] Attached SCSI disk
Jul 14 15:01:20 odroid2 kernel: [    9.249644@0] NET: Registered protocol family 10
Jul 14 15:01:20 odroid2 kernel: [    9.253810@2] ip_tables: (C) 2000-2006 Netfilter Core Team
Jul 14 15:01:20 odroid2 kernel: [    9.255954@3] cgroup: cgroup2: unknown option "nsdelegate"
Jul 14 15:01:20 odroid2 kernel: [    9.274026@0] systemd[1]: systemd 237 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
Jul 14 15:01:20 odroid2 kernel: [    9.290537@0] systemd[1]: Detected architecture arm64.
Jul 14 15:01:20 odroid2 kernel: [    9.310405@0] systemd[1]: Set hostname to <odroid2>.
Jul 14 15:01:20 odroid2 kernel: [    9.445969@2] usb 2-1.3.1.4.1: new SuperSpeed USB device number 12 using xhci-hcd
Jul 14 15:01:20 odroid2 kernel: [    9.470806@2] usb 2-1.3.1.4.1: New USB device found, idVendor=0bc2, idProduct=ab38
Jul 14 15:01:20 odroid2 kernel: [    9.472751@2] usb 2-1.3.1.4.1: New USB device strings: Mfr=2, Product=3, SerialNumber=1
Jul 14 15:01:20 odroid2 kernel: [    9.480750@2] usb 2-1.3.1.4.1: Product: Backup+ Hub BK
Jul 14 15:01:20 odroid2 kernel: [    9.485844@2] usb 2-1.3.1.4.1: Manufacturer: Seagate
Jul 14 15:01:20 odroid2 kernel: [    9.490786@2] usb 2-1.3.1.4.1: SerialNumber: XXXXXXXX
Jul 14 15:01:20 odroid2 kernel: [    9.502744@3] systemd[1]: File /lib/systemd/system/systemd-journald.service:36 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
Jul 14 15:01:20 odroid2 kernel: [    9.504185@2] uas: probe of 2-1.3.1.4.1:1.0 failed with error -12
Jul 14 15:01:20 odroid2 kernel: [    9.504237@2] usb 2-1.3.1.4.1: Unsupported device

Code: Select all

Jul 14 15:01:43 odroid2 kernel: [   33.709222@0] usb 2-1.3.1.4: new SuperSpeed USB device number 11 using xhci-hcd
Jul 14 15:01:43 odroid2 kernel: [   33.732301@0] usb 2-1.3.1.4: New USB device found, idVendor=0bc2, idProduct=ab45
Jul 14 15:01:43 odroid2 kernel: [   33.732307@0] usb 2-1.3.1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jul 14 15:01:43 odroid2 kernel: [   33.732310@0] usb 2-1.3.1.4: Product: Backup+ Hub
Jul 14 15:01:43 odroid2 kernel: [   33.732312@0] usb 2-1.3.1.4: Manufacturer: Seagate
Jul 14 15:01:43 odroid2 kernel: [   33.732315@0] usb 2-1.3.1.4: SerialNumber: XXXXXXXXXXXX
Jul 14 15:01:43 odroid2 kernel: [   33.751281@0] hub 2-1.3.1.4:1.0: USB hub found
Jul 14 15:01:43 odroid2 kernel: [   33.751608@0] hub 2-1.3.1.4:1.0: 3 ports detected
Jul 14 15:01:43 odroid2 mtp-probe: checking bus 2, device 8: "/sys/devices/platform/ff500000.dwc3/xhci-hcd.0.auto/usb2/2-1/2-1.3/2-1.3.1/2-1.3.1.2"
Jul 14 15:01:43 odroid2 mtp-probe: bus: 2, device: 8 was not an MTP device
Jul 14 15:01:43 odroid2 mtp-probe: checking bus 2, device 6: "/sys/devices/platform/ff500000.dwc3/xhci-hcd.0.auto/usb2/2-1/2-1.3/2-1.3.1/2-1.3.1.1"
Jul 14 15:01:43 odroid2 mtp-probe: bus: 2, device: 6 was not an MTP device
Jul 14 15:01:43 odroid2 mtp-probe: checking bus 2, device 10: "/sys/devices/platform/ff500000.dwc3/xhci-hcd.0.auto/usb2/2-1/2-1.3/2-1.3.1/2-1.3.1.3"
Jul 14 15:01:43 odroid2 mtp-probe: bus: 2, device: 10 was not an MTP device
Jul 14 15:01:43 odroid2 kernel: [   33.933092@0] .
Jul 14 15:01:43 odroid2 kernel: [   34.037226@0] usb 2-1.3.1.4.1: new SuperSpeed USB device number 12 using xhci-hcd
Jul 14 15:01:43 odroid2 kernel: [   34.058435@0] usb 2-1.3.1.4.1: New USB device found, idVendor=0bc2, idProduct=ab38
Jul 14 15:01:43 odroid2 kernel: [   34.058448@0] usb 2-1.3.1.4.1: New USB device strings: Mfr=2, Product=3, SerialNumber=1
Jul 14 15:01:43 odroid2 kernel: [   34.058456@0] usb 2-1.3.1.4.1: Product: Backup+ Hub BK
Jul 14 15:01:43 odroid2 kernel: [   34.058463@0] usb 2-1.3.1.4.1: Manufacturer: Seagate
Jul 14 15:01:43 odroid2 kernel: [   34.058470@0] usb 2-1.3.1.4.1: SerialNumber: XXXXXXXX
Jul 14 15:01:43 odroid2 kernel: [   34.112666@0] uas: probe of 2-1.3.1.4.1:1.0 failed with error -12
Jul 14 15:01:43 odroid2 kernel: [   34.112776@0] usb 2-1.3.1.4.1: Unsupported device
Jul 14 15:01:43 odroid2 mtp-probe: checking bus 2, device 12: "/sys/devices/platform/ff500000.dwc3/xhci-hcd.0.auto/usb2/2-1/2-1.3/2-1.3.1/2-1.3.1.4/2-1.3.1.4.1"
Jul 14 15:01:43 odroid2 mtp-probe: bus: 2, device: 12 was not an MTP device
Thank you.


Regards
etcetera

Post Reply

Return to “Ubuntu”

Who is online

Users browsing this forum: No registered users and 2 guests