[OS] Debian Jessie

User avatar
meveric
Posts: 10490
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2
Has thanked: 17 times
Been thanked: 134 times
Contact:

Re: [OS] Debian Jessie

Unread post by meveric » Sat Dec 09, 2017 5:32 pm

hmm I've updated the image recently.. let me try it and I'll report back if I can reproduce it or not.
Did it work anytime since last month for you or was it always like this?
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

shit's'cool
Posts: 17
Joined: Thu Jul 31, 2014 1:18 am
languages_spoken: english
ODROIDs: U3
Has thanked: 0
Been thanked: 0
Contact:

Re: [OS] Debian Jessie

Unread post by shit's'cool » Sat Dec 09, 2017 6:09 pm

I've looked at /var/log/history
It did update, quite at the beginning.

brab
Posts: 1
Joined: Wed Dec 13, 2017 6:57 pm
languages_spoken: english
ODROIDs: odroid U3+
Has thanked: 0
Been thanked: 0
Contact:

Re: [OS] Debian Jessie

Unread post by brab » Wed Dec 13, 2017 7:41 pm

Thanks a lot for this image. As I've been having issues with upgrading it to stretch, but I have found a way, here is a quick post. (A typical symptom of this problem is to have apt update stuck at "working". For some reason it does not report /usr/lib/apt/methods/https has crashed.)

Install from scratch works well, and at this point /usr/lib/apt/methods/https also works. Updating the packages using jessie also works.

If I replace jessie by stretch in the apt/sources.list (and subdirectories), after the update /usr/lib/apt/methods/https segfaults. It's interesting to see that the upgrade to apt-transport-https is held back, but doing a dist-upgrade does not fix it, it still segfaults.

To get it back to working, I did this:

Code: Select all

apt remove apt-transport-https
apt autoremove
apt install apt-transport-https
I now can update from the repository.

shit's'cool
Posts: 17
Joined: Thu Jul 31, 2014 1:18 am
languages_spoken: english
ODROIDs: U3
Has thanked: 0
Been thanked: 0
Contact:

Re: [OS] Debian Jessie

Unread post by shit's'cool » Wed Dec 20, 2017 3:36 am

meveric wrote:hmm I've updated the image recently.. let me try it and I'll report back if I can reproduce it or not.
Did it work anytime since last month for you or was it always like this?
Maybe I grabbed the wrong one. When did you upgrade and where exactly do I get the proper image?

User avatar
meveric
Posts: 10490
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2
Has thanked: 17 times
Been thanked: 134 times
Contact:

Re: [OS] Debian Jessie

Unread post by meveric » Wed Dec 20, 2017 7:27 am

To be honest I'm not so sure anymore.
I've updated the XU3/XU4 image, but maybe not the other images.
I still haven't had time to test it yet, but the latest image should always be on the first post for downloading.
I'm also not sure if I will be able to update the image this month, as Christmas is around the corner and I will be visiting my parents for a while.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

actodea
Posts: 1
Joined: Mon Mar 11, 2019 5:11 am
languages_spoken: english
ODROIDs: U3, C2
Has thanked: 0
Been thanked: 0
Contact:

Re: [OS] Debian Jessie

Unread post by actodea » Mon Mar 11, 2019 5:13 am

Thank you so much! I was about to give up on my U3 and order a new board and then I found this image.
Worked like a charm!
Thanks again!

User avatar
meveric
Posts: 10490
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2
Has thanked: 17 times
Been thanked: 134 times
Contact:

Re: [OS] Debian Jessie

Unread post by meveric » Mon Mar 11, 2019 8:12 am

glad you like it.. there's tons of software available for the U3 available for that image.
try apt-cache search odroid to see what i'm talking about.
If you have issues with the image let me know.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

jonB
Posts: 1
Joined: Sat Mar 23, 2019 5:53 am
languages_spoken: english, italian, brazilian portuguese
ODROIDs: U3
Has thanked: 0
Been thanked: 0
Contact:

Re: [OS] Debian Jessie

Unread post by jonB » Sat Mar 23, 2019 6:10 am

Hey meveric

Kudos for this Jessie image. I'm into Debian and its derivatives (trying to avoid Ubuntu as much as I can as I prefer minimal stuff) and thanks to you I got my U3 on Jessie which I managed to upgrade to Stretch. It's quite a shame that there's no more support for the U3 which has such interest (judging by the posts online and also the number of posts in the Hardkernel forums).

Not sure what the implications of running Stretch on the U3 with the old kernel 3.8.13.30 rather than 4.x really are in terms of security & performance... But looking at the attempts by many it seems like it is a tough task to get new kernels working on this good old board.

Cheers & Keep Up the good work... Hardkernel should give you a medal! ;)

User avatar
meveric
Posts: 10490
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2
Has thanked: 17 times
Been thanked: 134 times
Contact:

Re: [OS] Debian Jessie

Unread post by meveric » Sat Mar 23, 2019 6:48 am

I still supply software for Debian Jessie, which should run fine on the ODROID U3.
So it's not entirely dead yet.
Debian Stretch normally requires Kernel 3.16 at minimum as there are some syscalls that will not work without it and you will see many entries in /var/log/syslog cause of the missing syscall with Kernel 3.8.
I know there are some people already using Kernel 4.x (or even 5.x) for the Exynos 4 series of ODROIDs.
But I haven't had time to investigate.
Wished I had, as the board Exynos 4 series is still one of my favorite boards, and some of them I still use today.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

srdz
Posts: 30
Joined: Sat Jun 07, 2014 8:10 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: [OS] Debian Jessie

Unread post by srdz » Fri May 17, 2019 6:22 am

hello. I used win32diskimager-odroid to install this image on a micro sd card. unfortunately, the system does not want to start. can u help me? the card has 16 gb, and the mini partition tool (windows tool) shows 2 partitions after uploading the image on the card: boot and debian 500 mb. the rest of the space is undeveloped. thanks

User avatar
meveric
Posts: 10490
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2
Has thanked: 17 times
Been thanked: 134 times
Contact:

Re: [OS] Debian Jessie

Unread post by meveric » Fri May 17, 2019 3:16 pm

and you have an ODROID U2/U3 where you try to run this on?
Have you made sure you picked the correct image for your board?
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

srdz
Posts: 30
Joined: Sat Jun 07, 2014 8:10 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: [OS] Debian Jessie

Unread post by srdz » Fri May 17, 2019 6:20 pm

i have odroid u3 and img from the first msg in this topic

the same problem with 18.04, also does not start
viewtopic.php?f=77&t=31765

micro sd class 4 16 gb

is it normal that the partition with debian is 500 mb and the remaining part of the card is unused?

User avatar
meveric
Posts: 10490
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2
Has thanked: 17 times
Been thanked: 134 times
Contact:

Re: [OS] Debian Jessie

Unread post by meveric » Fri May 17, 2019 7:17 pm

Yes that is correct.
There is a script in place that will enlarge the partition to the full size of the SD card after the first boot.

It's odd though that is not booting. Do you have an UART to check the output of the boot sequence?
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

srdz
Posts: 30
Joined: Sat Jun 07, 2014 8:10 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: [OS] Debian Jessie

Unread post by srdz » Fri May 17, 2019 11:22 pm

Unfortunately I do not have. android is booting, I remember that I also used to work 14.04 once, but not every version. is there any other way to put it on the card? I remember that when 14.04 was required to expand the partition.
I will try on a different card.
all my cards: kingston 8 or 16 gb sdhc
before write the image to micro sd, I delete partitions, create exFat and put in. wrong ?

User avatar
meveric
Posts: 10490
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2
Has thanked: 17 times
Been thanked: 134 times
Contact:

Re: [OS] Debian Jessie

Unread post by meveric » Sat May 18, 2019 2:58 am

you don't need to create any partition.. the .img houses serveral partitions itself.
If you write the .img file to the exFat partition, then yes, that is the problem, do not write it to the exfat, do write it to the entire drive.

In fact I suggest abandon win32diskimager all together and instead use Etcher to flash the image, this is probably far more productive.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

srdz
Posts: 30
Joined: Sat Jun 07, 2014 8:10 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: [OS] Debian Jessie

Unread post by srdz » Sat May 18, 2019 2:50 pm

finally it works :D thanks for cover :) I've noticed interesting things in your footer ;]

User avatar
meveric
Posts: 10490
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2
Has thanked: 17 times
Been thanked: 134 times
Contact:

Re: [OS] Debian Jessie

Unread post by meveric » Sat May 18, 2019 4:15 pm

There might still be quite some manual steps involved to get everything working.
Not sure if the image already uses HTTPS and you also need to update setup-odroid since Jessie is now in LTS support only.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

ralph_DE
Posts: 6
Joined: Tue Nov 01, 2016 12:54 am
languages_spoken: german english
ODROIDs: U3
Has thanked: 0
Been thanked: 0
Contact:

Re: [OS] Debian Jessie

Unread post by ralph_DE » Thu Jun 20, 2019 2:49 am

I installed the latest image, updated all packages and could also install Mythtv with all components.
But now I need to compile a kernel module for a usb v4l stick which is supported from kernel 3.19 onwards. The kernel here is still
3.8.13.30. The needed driver is part of the v4l media_build package. Though all dev tools and progs are installed, all compilation attempts fail with quite a lot of warnings and eventually the Error 2 saying "recipe for target 'all' failed". Alright, it's Debian on arm71 but shouldn't it be possible to compile drivers from media_build ? Any hints?

User avatar
meveric
Posts: 10490
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2
Has thanked: 17 times
Been thanked: 134 times
Contact:

Re: [OS] Debian Jessie

Unread post by meveric » Thu Jun 20, 2019 2:53 am

as you already stated, your module is for Kernel 3.19 this Image has Kernel 3.8... that's a huge difference.
And no, there is no Kernel 3.19 that you can simply install and everything works.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

ralph_DE
Posts: 6
Joined: Tue Nov 01, 2016 12:54 am
languages_spoken: german english
ODROIDs: U3
Has thanked: 0
Been thanked: 0
Contact:

Re: [OS] Debian Jessie

Unread post by ralph_DE » Thu Jun 20, 2019 10:41 pm

How about the 3.16 and 4.9 linux images which are in your repo? Can one of these be installed without further adoo? Would the U3 boot with it?

User avatar
meveric
Posts: 10490
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2
Has thanked: 17 times
Been thanked: 134 times
Contact:

Re: [OS] Debian Jessie

Unread post by meveric » Fri Jun 21, 2019 12:03 am

they are not for the ODROID U3.
3.16 is for ODROID C2 the 4.9 is for ODROID N2.
In fact both are for arm64 (64bit) CPUs and wouldn't boot at all on an armhf (32bit) board such as the ODROID U3.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

0x50873495
Posts: 6
Joined: Fri Jan 03, 2014 8:08 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: [OS] Debian Jessie

Unread post by 0x50873495 » Tue Oct 08, 2019 3:32 pm

Hello. Just started using my U3 having received it 5 Dr Whos ago (is that a record)?

It's connected to my standalone laptop via the built-in RJ-45, and to the internet via an (RNDIS) 4G USB modem.

Under the official Ubuntu it worked fine. Two NICs, the RJ being configured as shared. The U3 could access the internet, so could the laptop.

However under this Debian, the same hardware config doesn't want to network, On virgin boot, ifconfig only shows the "lo" interface, though I can see the RNDIS modem and smsc95xx chip being found and installed in the boot serial console.

After reading this thread, and googling, I don't think that's expected. But my Linux expertise isn't great, and I don't know what to do next other than shout "HELP!!".

User avatar
meveric
Posts: 10490
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2
Has thanked: 17 times
Been thanked: 134 times
Contact:

Re: [OS] Debian Jessie

Unread post by meveric » Tue Oct 08, 2019 3:36 pm

you don't have eth0 at all?
can you paste the content of /etc/udev/rules.d/70-persistent-net.rules and /etc/smsc95xx_mac_addr
The later is the MAC for the ODROID the former is a list of the network adapters found.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

0x50873495
Posts: 6
Joined: Fri Jan 03, 2014 8:08 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: [OS] Debian Jessie

Unread post by 0x50873495 » Wed Oct 09, 2019 12:10 pm

Hi, sorry for delay in replying.

No, only lo:

Code: Select all

odroid-jessie:~# ifconfig
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:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
The log contained:

Code: Select all

odroid-jessie:~# dmesg | grep -i eth
[    5.911097] usbcore: registered new interface driver cdc_ether
[    5.918807] rndis_host 1-3.2:1.0 eth0: register 'rndis_host' at usb-s5p-ehci-3.2, RNDIS device, 00:a0:c6:00:00:00
[    5.960609] smsc95xx 1-2:1.0 eth1: register 'smsc95xx' at usb-s5p-ehci-2, smsc95xx USB 2.0 Ethernet, 1a:64:b6:bf:36:97
[    6.071302] systemd-udevd[187]: renamed network interface eth0 to rename2
I don't know why something is renaming eth0 to rename2, or why the built-in Ethernet wouldn't be eth0 (as I said, Linux noobish).

However I could get the two physical interfaces to appear by:

Code: Select all

odroid-jessie:~# ifup rename2=eth0
and

Code: Select all

root@odroid-jessie:~# rmmod smsc95xx
[  285.654114] usbcore: deregistering interface driver smsc95xx
[  285.654267] smsc95xx 1-2:1.0 eth1: unregister 'smsc95xx' usb-s5p-ehci-2, smsc95xx USB 2.0 Ethernet

root@odroid-jessie:~# modprobe smsc95xx
[  295.445281] smsc95xx v1.0.4
[  295.447810] [smsc95xx_read_mac_addr] Mac address = 1A:64:B6:BF:36:97
[  295.494461] smsc95xx 1-2:1.0 eth0: register 'smsc95xx' at usb-s5p-ehci-2, smsc95xx USB 2.0 Ethernet, 1a:64:b6:bf:36:97
[  295.499999] usbcore: registered new interface driver smsc95xx
modprobe smsc95xx
That got me to:

Code: Select all

odroid-jessie:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 1a:64:b6:bf:36:97
          inet6 addr: fe80::1864:b6ff:febf:3697/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:65 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:7830 (7.6 KiB)  TX bytes:2616 (2.5 KiB)

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:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

rename2   Link encap:Ethernet  HWaddr 00:a0:c6:00:00:00
          inet addr:10.2.254.255  Bcast:10.255.255.255  Mask:255.255.255.255
          inet6 addr: fe80::2a0:c6ff:fe00:0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:10 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:797 (797.0 B)  TX bytes:622 (622.0 B)
Unfortunately I can't provide the files you asked for as I didn't save them at the time, and had to reflash the eMMC to try Ubuntu MATE. I've since reflashed it back to Debian and will get that data for you.

One other thing that was weird - when booting it would wait for ages (30 sec or so) just after showing "Received request to flush runtime journal from PID 1" on the screen.

BTW is there some reason why you can't logon as root from the serial terminal? I thought that was there to let you do anything, right from the getgo. I'm not grumbling, but I actually had to re-arrange my living room to use the TV as a monitor and borrow a keyboard from a neighbour! :lol:

edit: saw the post about "rm /etc/securetty", can logon as root from TTY now.

0x50873495
Posts: 6
Joined: Fri Jan 03, 2014 8:08 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: [OS] Debian Jessie

Unread post by 0x50873495 » Wed Oct 09, 2019 1:07 pm

Well this is weird. Having re-flashed the same Debian image I now (consistently) get something different.

It's no longer renaming eth0 to rename2 (though it is still the RNDIS modem):

Code: Select all

root@odroid-jessie:~# dmesg | grep -i eth
[    6.559422] usbcore: registered new interface driver cdc_ether
[    6.574440] rndis_host 1-3.1:1.0 eth0: register 'rndis_host' at usb-s5p-ehci-3.1, RNDIS device, 00:a0:c6:00:00:00
[    6.684155] smsc95xx 1-2:1.0 eth1: register 'smsc95xx' at usb-s5p-ehci-2, smsc95xx USB 2.0 Ethernet, 1a:64:b6:bf:36:15
eth0 (RNDIS) is now automatically visible (but the local LAN port still is not):

Code: Select all

root@odroid-jessie:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:a0:c6:00:00:00  0
          inet addr:10.2.254.255  Bcast:10.255.255.255  Mask:255.255.255.255
          inet6 addr: fe80::2a0:c6ff:fe00:0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:196 errors:0 dropped:0 overruns:0 frame:0
          TX packets:190 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:12390 (12.0 KiB)  TX bytes:22658 (22.1 KiB)

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:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
And now I can't magic the local LAN port it into existence by unloading/reloading the drivers:

Code: Select all

root@odroid-jessie:~# rmmod smsc95xx
[ 1736.064612] usbcore: deregistering interface driver smsc95xx
[ 1736.066172] smsc95xx 1-2:1.0 eth1: unregister 'smsc95xx' usb-s5p-ehci-2, smsc95xx USB 2.0 Ethernet

root@odroid-jessie:~# modprobe smsc95xx
[ 1746.664796] smsc95xx v1.0.4
[ 1746.668984] [smsc95xx_read_mac_addr] Mac address = 1A:64:B6:BF:36:15
[ 1746.718860] smsc95xx 1-2:1.0 eth1: register 'smsc95xx' at usb-s5p-ehci-2, smsc95xx USB 2.0 Ethernet, 1a:64:b6:bf:36:15
[ 1746.725846] usbcore: registered new interface driver smsc95xx

root@odroid-jessie:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:a0:c6:00:00:00  
          inet addr:10.2.254.255  Bcast:10.255.255.255  Mask:255.255.255.255
          inet6 addr: fe80::2a0:c6ff:fe00:0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:258 errors:0 dropped:0 overruns:0 frame:0
          TX packets:248 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:15806 (15.4 KiB)  TX bytes:29310 (28.6 KiB)

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:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

root@odroid-jessie:~# ifup eth1
Ignoring unknown interface eth1=eth1.
I don't understand what's different. I've put all the peripherals (eMMC card, SD card, USB flash stick, Logitech dongle, RNDIS modem) back in the same sockets (IIRC) and am using a reflashed unmodified image just like before.

Anyhow you asked for:

Code: Select all

root@odroid-jessie:~# cat /etc/udev/rules.d/70-persistent-net.rules
# This file was automatically generated by the /lib/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.

# USB device 0x:0x (rndis_host)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:a0:c6:00:00:00", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" 
and:

Code: Select all

root@odroid-jessie:~# cat /etc/smsc95xx_mac_addr
1A:64:B6:BF:36:15
IIRC both NICs were in 70-persistent-net.rules on Ubuntu MATE (16.04).

One thought - has anyone actually ever used the U3 with this image with >1 NICs?

User avatar
meveric
Posts: 10490
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2
Has thanked: 17 times
Been thanked: 134 times
Contact:

Re: [OS] Debian Jessie

Unread post by meveric » Wed Oct 09, 2019 2:06 pm

to be hohest I don't know what happens with more than 1 NIC.
I'd suggest at least let the first boot go through with only 1 NIC.
On the first boot on a newly flashed image the 70-persistent-net.rules is emptied, to make sure the on board LAN adapter always gets eth0.
in /etc/network/interfaces the adapter eth0 is configured and should therefore start normally if you have 1 NIC only.

Once again try flashing anew and boot up with just one NIC... after the system got rebooted and is up and running and confirming that this onboard NIC is working fine.
You can add the second NIC, make sure to also adjust /etc/network/interfaces to configure eth1.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

0x50873495
Posts: 6
Joined: Fri Jan 03, 2014 8:08 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: [OS] Debian Jessie

Unread post by 0x50873495 » Wed Oct 09, 2019 3:14 pm

OK, cheers - I'll try that.

I'm just trying to knock up a little board to go between my router and my 4G modem, to log throughput, disconnects, radio signal quality etc, as I'm constantly being disconnected. "I'll finally unpack that Odroid board and get something working over the weekend" I said to myself, 5 day of stupid little problems ago....

The first one was not knowing that eMMC cards have to be plugged into SD adapters the unsafe looking way, not the sensible looking way...

0x50873495
Posts: 6
Joined: Fri Jan 03, 2014 8:08 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: [OS] Debian Jessie

Unread post by 0x50873495 » Wed Oct 09, 2019 6:49 pm

OK I reflashed, removed the RNDIS 4G dongle and rebooted. Here's the result, eth0 is correct according to ifconfig, but there's no /etc/udev/rules.d/70-persistent-net.rul file:

Code: Select all

root@odroid-jessie:/etc/udev/rules.d# ifconfig
eth0      Link encap:Ethernet  HWaddr 1a:64:b6:bf:36:98  
          inet6 addr: fe80::1864:b6ff:febf:3698/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:9 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:414 (414.0 B)  TX bytes:2266 (2.2 KiB)

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:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

root@odroid-jessie:~# cd /etc/udev/rules.d/
root@odroid-jessie:/etc/udev/rules.d# ls -l
total 8
-rw-r--r-- 1 root root 329 May  6  2016 80-odroid_io_scheduler.rules
-rw-r--r-- 1 root root  59 May  6  2016 90-odroid_kodi_tty.rules
Does that shed any light?

BTW:

1) when I put the 4G dongle back in and rebooted, eth0 was back to the 4G dongle (ifconfig and 70-persistent-net.rul), and the inbuilt NIC was nowhere to be seen (ifconfig or 70-persistent-net.rul).

2) I then changed the 4G entry in 70-persistent-net.rul to be named eth1 and rebooted.

3) It then went back to the original behaviour I first described - boot takes ages, only 'lo' shown in ifconfig, 'eth0' renamed to 'rename2' and I could use ifup/modprobe to get the two NICs visible in ifconfig.

Is there anywhere else that it would make sense to ask this question?

User avatar
meveric
Posts: 10490
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2
Has thanked: 17 times
Been thanked: 134 times
Contact:

Re: [OS] Debian Jessie

Unread post by meveric » Wed Oct 09, 2019 11:55 pm

0x50873495 wrote:
Wed Oct 09, 2019 6:49 pm
OK I reflashed, removed the RNDIS 4G dongle and rebooted. Here's the result, eth0 is correct according to ifconfig, but there's no /etc/udev/rules.d/70-persistent-net.rul file:

Code: Select all

root@odroid-jessie:/etc/udev/rules.d# ifconfig
eth0      Link encap:Ethernet  HWaddr 1a:64:b6:bf:36:98  
          inet6 addr: fe80::1864:b6ff:febf:3698/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:9 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:414 (414.0 B)  TX bytes:2266 (2.2 KiB)

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:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

root@odroid-jessie:~# cd /etc/udev/rules.d/
root@odroid-jessie:/etc/udev/rules.d# ls -l
total 8
-rw-r--r-- 1 root root 329 May  6  2016 80-odroid_io_scheduler.rules
-rw-r--r-- 1 root root  59 May  6  2016 90-odroid_kodi_tty.rules
Does that shed any light?
Yes, normally the file should be created automatically as soon as a new adapter is found.
The first adapter always gets eth0 which is configured under /etc/network/interfaces
Therefore the onboard adapter should be eth0 and configured to work automatically.
Guess we have to do this manually in your case:

Please try the following:
1. best start with a clean image again without the second NIC connected
2. boot the system normally, and wait for the first reboot
3. run the following command:

Code: Select all

INTERFACE=eth0 MATCHADDR="`cat /etc/smsc95xx_mac_addr`" /lib/udev/write_net_rules
If you now connect your USB NIC it should get eth1 as eth0 it's already taken.
Please note in oder to use eth1 alter /etc/network/interfaces...
Make a copy of the entry for eht0 and change it to eth1 so you have both eth0 and eth1 then you should be able to use both NICs.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

Post Reply

Return to “Other OS”

Who is online

Users browsing this forum: No registered users and 2 guests