syncloud / platform

Run popular services on your device with one click
https://syncloud.org
GNU General Public License v3.0
396 stars 40 forks source link

Odroid-C2: network is not working #516

Closed cyberb closed 4 years ago

cyberb commented 4 years ago

Works fine in platform 200130176. After upgrade to platform 200530379 and reboot no network.

If you experience the issue could you paste the output of this command when it works:

cat /etc/network/interfaces

and again after upgrade

Philipp-2020 commented 4 years ago

Dear @cyberb !

Before upgrade:

root@syncloud:~# cat /etc/network/interfaces auto lo iface lo inet loopback

auto eth0 iface eth0 inet dhcp

After upgrade:

root@syncloud:~# cat /etc/network/interfaces auto lo iface lo inet loopback

allow-hotplug eth0 iface eth0 inet dhcp iface eth0 inet6 auto dhcp 1

Thank you for your support! BR Philipp

cyberb commented 4 years ago

can you put this into your /etc/network/interfaces and reboot to see if it fixes network

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp
Philipp-2020 commented 4 years ago

I am sorry, I am not that skilled to problably make it the right way: This is, what has been in the interfaces-file:

auto lo iface lo inet loopback

allow-hotplug eth0 iface eth0 inet dhcp iface eth0 inet6 auto dhcp 1 request_prefix 1

I deleted the above mentioned text and copied your text into the file:

auto lo iface lo inet loopback

auto eth0 iface eth0 inet dhcp

I hope this is, what you meant? Anyhow, after reboot the system works fine. Pihole app was able to be updated to the current version "200602271". Reboot went fine, Pihole, Syncthing and system is running well, checking for updates is working!! :-)

Only 1 bug: I am not able to send Log-emails?! There is just a very very short "waiting ring" but nothing happening?!?

Just for your information: Even if my login is NOT "root", I need to type in "root" for SSH and for SFTP, different to your Wiki?!

cyberb commented 4 years ago

send logs is being looked at: https://github.com/syncloud/platform/issues/517

Even if my login is NOT "root", I need to type in "root" for SSH and for SFTP, different to your Wiki?!

Documentation says your password will change for the root user for SSH. SFTP is the same thing. Maybe we need to rephrase that.

"During the activation you will set your own device password which will become also your ssh root password."

cyberb commented 4 years ago

Strange thing I just tested C2 with our current image and this network config and network seem to work fine:

auto lo
iface lo inet loopback

allow-hotplug eth0
iface eth0 inet dhcp
iface eth0 inet6 auto
        dhcp 1
        request_prefix 1

@Philipp-2020 Can you update system from settings, then set the above config to /etc/network/interfaces and reboot? Also how did you set this config in the first place if network was not working?

Philipp-2020 commented 4 years ago

I upgraded my Odroid-C2 to:

Status: Syncloud working fine.

Settings found in the network config: @cyberb : These has been the settings you told me. Settings where changed via copying the file with Filezilla to my PC, editing via Notepad, and copying (and overriding) it back to the Odroid-C2. That is the way I do it...

auto lo iface lo inet loopback

auto eth0 iface eth0 inet dhcp

Settings changed to:

auto lo iface lo inet loopback

allow-hotplug eth0 iface eth0 inet dhcp iface eth0 inet6 auto dhcp 1 request_prefix 1

Reboot of Odroid-C2.

Status: Checking for updates via UI is not working. Received an error "string indices must be integers". Could this be, because I am using Pi-Hole? I have external access enabled and ports are forwarded from my router.

=> Therefore I changed everything back to my previous settings. => All working again!

Recognised points:

BTW: Thank you guys for your great job!!

cyberb commented 4 years ago

Could you try latest image for c2: https://github.com/syncloud/platform/releases/download/20.06/syncloud-odroid-c2-20.06.img.xz

It should contain new network config and no error for checking updates.

Philipp-2020 commented 4 years ago

I upgraded my Odroid-C2 to:

Status: Syncloud working fine. No issues with checking for updates or sending logs! :)

cyberb commented 4 years ago

Ok, closing this for now.