Fresh installation Odroid C1+ - eth0 error

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
marionos
Posts: 5
Joined: Wed Jan 10, 2018 12:58 pm

Fresh installation Odroid C1+ - eth0 error

Post by marionos »

Hello,

I have run into some issue, I have found a similar issue in the past but it was with the V64is version. In a short, DietPi founds my ethernet as eth1 instead of eth0 and it prevents it from getting a LAN connection, which is annoying as it is intended to run heedlessly.

Basically after flashing my SD Card my Odroid lunches, but during the boot it gives me the info that there is eth1 present and ignores it.
After the boot is finished I can see on my screen only the basic info with V144 version and that:

eth0: error fetching interface information.

Maybe some one much smarter then can point me out on how to get around this issue?

P.S.

Is the V144 the newest version available for the C1 Odroid?

P.S2

What is funny that before the first/second reboot after a fresh flashing, during the FS expand and other scripts running the ethernet is working fine.
I was able to see the IP being assigned to it on my DDWRT. Looks like the problems starts after the first auto configuration finishes.

P.S.3

I have found the forum discussion I have mentioned earlier https://forum.odroid.com/viewtopic.php? ... 962#p93812
User avatar
k-plan
Posts: 416
Joined: Sun Feb 28, 2016 5:28 pm

Re: Fresh installation Odroid C1+ - eth0 error

Post by k-plan »

Hi,
marionos wrote:DietPi founds my ethernet as eth1 instead of eth0
Yes, what's correct for Odroid C1. It is eth1 not eth0 after bootup.



marionos wrote:Maybe some one much smarter then can point me out on how to get around this issue?
Odroid C1 is verry picky with SD card and PSU.

Try another SD card with better Odroid C1 compatibility.

https://wiki.odroid.com/odroid-c1/troub ... _selection

https://forum.odroid.com/viewtopic.php?t=26687#p186395

Please don't use PSU from your mobile phone and crappy china micro usb cable.


marionos wrote:Is the V144 the newest version available for the C1 Odroid?
Yes, DietPi_v145_OdroidC1-armv7-(Jessie).img is the last at the moment.
But it will be auto - updated to last version (v159) after frist complete boot up and login, if your device have a working internet connection.


marionos wrote:What is funny that before the first/second reboot after a fresh flashing, during the FS expand and other scripts running the ethernet is working fine.

Code: Select all

 ~# dmesg | grep eth
[    0.767887] ethernet_driver probe!
[    0.771100] ethernetinit(dbg[c09c8080]=1)
[    0.774361] ethernet base addr is fe0c0000
[    0.788374] eth0: PHY ID 001cc916 at 0 IRQ -1 (0:00) active
[    0.791634] eth0: PHY ID 001cc916 at 1 IRQ -1 (0:01) active
...
[    4.241733] systemd-udevd[261]: renamed network interface eth0 to eth1
[    9.400664] eth1: opened (irq 40).
[    9.411510] ether leave promiscuous mode
[    9.413332] ether leave all muticast mode
[    9.415186] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[   13.391376] [adjust link] -> eth: full-duplex
[   13.393165] [adjust link] -> eth: phy_speed <> priv_speed)
[   13.394935] [adjust link -> eth: am_adjust_link state change (new_state=true)
[   13.398516] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready

marionos wrote:I have found the forum discussion I have mentioned earlier
Wow ... 2015 :D .

I have never see any DietPi v65 before. :shock:

http://dietpi.com/phpbb/viewforum.php?f=10&start=50
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal and Bitcoin.
marionos
Posts: 5
Joined: Wed Jan 10, 2018 12:58 pm

Re: Fresh installation Odroid C1+ - eth0 error

Post by marionos »

Thank you for the replay.
Odroid C1 is verry picky with SD card and PSU.

Try another SD card with better Odroid C1 compatibility.
I have tried 3 different SD Cards (SanDisk Ultra microSDHC / SanDisk microSDHC Memory Card / Samsung SDHC EVO ), before posting, happens on all of them, but before DietPi I have been using those SD on the Odroid to boot LibreElec without running into any issues. Anyhow I will buy another SanDisk Ultra microSDHC and try then.

For the PSU I am using the one sold by the Hardkernal, only for the Odroid :

Code: Select all

5V/2A Power Supply EU Plug
for ODROID-C1+ / C0 / C2
So unless I am not the unluckiest man on the planet with those SD Cards, then I still don't know how to fix this one ;/
User avatar
k-plan
Posts: 416
Joined: Sun Feb 28, 2016 5:28 pm

Re: Fresh installation Odroid C1+ - eth0 error

Post by k-plan »

Hi,

- PSU looks good.
- SanDisk Ultra microSDHC looks good, this one work for me. No fast, but it work. Very old card, found it in the waste bin.

With Samsung SDHC EVO I have some problems to work with Odroid devices.

marionos wrote:I have been using those SD on the Odroid to boot LibreElec without running into any issues
LibreElec based on JeOS (SUSE), DietPi based on Debian, exactly Debian 8 Jessie maintained by meveric

marionos wrote:Anyhow I will buy another SanDisk Ultra microSDHC
I have no hassle with SanDisk Extreme PLUS microSDXC, Class 10, U3, V30, A1 with all my devices.


Yes, have tested image DietPi_v145_OdroidC1-armv7-(Jessie).img before posting here, especally for you. It works.

I would suggest:
  • SD card full format: https://github.com/Fourdee/DietPi/issue ... -283030267
  • download: DietPi_OdroidC1-armv7-(Jessie).7z , unpack and check hashes for: DietPi_v145_OdroidC1-armv7-(Jessie).img

    Code: Select all

    CRC32,A040AACB
    MD5,0D241E0952E35A999EED5A8ED278673D
    SHA1,0F5FA6A24732B9F369F52B66DECB854401202488
    SHA256,3F1CD6AC698DE41FD6FFDC101D945054A99F430A0647F11234E4EA54CFAE54B2
    
  • write image to fresh full formated SD card with writing/verification for example with Odroid Improved Win32DiskImager or Etcher or Rufus
  • DO NOT edit dietpi.txt or boot.ini with Windows notepad. Leave it as it is (best solution) or use a unix compatible editor.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal and Bitcoin.
marionos
Posts: 5
Joined: Wed Jan 10, 2018 12:58 pm

Re: Fresh installation Odroid C1+ - eth0 error

Post by marionos »

Thank you for the post.

I have tried everything mentioned, I have even tried two additional SD Cards, effect stays the same...

Is there any way to get the booting logs so I could look through them or post something here in order for someone willing to figure it out?

Thanks in advance.
Post Reply