New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Image | Orange Pi Zero2 #4309
Comments
Many thanks for your request. Please see my response on the last Orange Pi request: #4227 (comment) |
Thanks, I will try to convert it. |
They also do a few things, e.g. make /var/log a zram device (instead of a tmpfs like us), APT list compression and such. But their priorities/focus is different as they especially do kernel development, i.e. making the mainline kernel work on those SBCs. We do more user space development and software implementations, and only that, including more setup areas, like network and drive mounts, hence can focus more on this. |
Trying the script: Generation complete. |
You need to use Debian-based Armbian image instead of Ubuntu. Let me see, at it's called "Armbian Buster". Focal = Ubuntu 20.04 Focal, the current Ubuntu LTS Would be a reasonable suggestion to have then adding the actual OS/distribution name to their images as well instead of only their release code name 🙂. |
Oh, good to know :) Meanwhile with virgin Buster:
retry not working. |
That was within DietPi-PREP or after the conversion? |
./PREP_SYSTEM_FOR_DIETPI.sh was still running/finishing up. Logging in parallel gives: Filesystem Size Used Avail Use% Mounted on ls ls /tmp |
512MB RAM board, 2.7GB SD left. |
It worked great on armbian buster. |
Ah of course, Armbian by default has a zram drive mounted at /tmp. A remount is only possible when the mount type did not change, AFAIK. I wonder why I didn't face this issue, probably the dev branch version of DietPi-PREP has it solved. However, skipping it via dummy command should be fine, zram is a volatile mount as well, only compressed. After reboot the tmpfs defined in
Well known issue with Armbian kernel on several SBCs. Now I see a quite important note on the Armbian download page about this image: https://www.armbian.com/orange-pi-zero-2/
With Ethernet, it should not be. Please check the following:
should contain (among others) uncommented:
Then:
should be the resulting service that configures the Ethernet interface, including startup of the DHCP client to assign an IP address. Obviously something until here did not work as expected. But all tools that are involved are plain Debian = DietPi network stack.
What you see is the IPv6 stateless address auto-configuration (SLAAC) that every network device is given (based on the MAC address). It does not indicate any connection state. Preferred IPv4 will make APT and wget use IPv4 connections, when possible, but as IPv6 is still enabled, you'll see a SLAAC address for every network adapter, which is perfectly fine.
The
Now the IPv6 address should be gone. Let's see if ifup also succeeds to get a DHCP lease. As you say it worked on Armbian, I think they use NetworkManager by default, but I cannot imagine a circumstance where it would get a DHCP lease while the native |
Thanks for the feedback, I knew that it's working progress, but seemed fine with armbian, also someone has to test it to be stable :) cat /etc/network/interfaces seems okay:
root@DietPi:~# journalctl -u ifup@eth0 doesn't show any error
ifup eth0
Looks like dietpi doesn't get a DHCP reponse, but armbian does. |
Maybe you are able to trace on the DHCP server if a request is received Btw: my RPI1 is running fine using DietPi and DHCP 😉 |
Went back to armbian, internet still works: ping google.com
armbian config:
ifdown --force eth0 What can we learn from this config? |
They use |
Where can I fetch the DHCP log from this to compare it to dietpi?
no DHCP problem here. |
Basically Network Manager is a complete different tool. But @MichaIng could explain it better than I. Best place to fetch DHCP request would be the DHCP server to see if something is received at all |
It is a large high level network application, much more complex, much more automated. In some cases this causes issues, in some cases it solves issues. It is however the first time I see It uses a custom post-lease script: Unique case so far, but if you want to debug it, indeed Btw, you have an IPv6 address as well on Armbian, right? Another thing, did you do a full package upgrade on Armbian |
Unfortunately it's a dumb cable modem+router combo on the network. There wasn't any DHCP entries in the log for today. The lowest level of 'notice' entries are 'DHCP Renew' ones from days ago. I can't remember whether I did apt update+upgrade, I'm sure I didn't do full-upgrade. I will run with armbian for a while, and maybe come back later for dietpi. |
On armbian I get: ip a
I ssh into it over 192.168.10.101 ipv4 |
I'm gonna mark Orange Pi related image requests as closed for now. Referring to our preparation script guide: https://dietpi.com/docs/hardware/#make-your-own-distribution Orange Pi is on my first priority list when image creation has been automated enough, for for now I personally cannot effort adding a new manufacturer to my creation schedule. |
Creating an image request
Formal device information
or https://www.armbian.com/orange-pi-zero-2/
Is the SBC officially supported by the Debian installer?
Vote for this image on FeatHub: https://feathub.com/MichaIng/DietPi/
https://feathub.com/MichaIng/DietPi/+225
The text was updated successfully, but these errors were encountered: