OrangePi Zero support

Iā€™ve seen he has repliedā€¦ it seems like good news :slight_smile:

Yep, just waiting for confirmation of it being sent.

Great work on instigating this, really appreciate it.

In fact, I have a spare NanoPi M3 i can send you (If your outside UK iā€™ll need to check costs to send, may need help covering it). Let me know if you are interested?

No problem! Iā€™m just glad it worked! :slight_smile:
I used to ask for all sorts of devices when I wrote for a blogā€¦ sometimes it worked, sometimes it didnā€™t, but one thing Iā€™ve learned is that you always have to try :slight_smile:

Wow, thatā€™s very generous!! Iā€™d love to try a NanoPi, since they are not easy to find here in Italy.
Let me know how much shipping would end up costingā€¦ If itā€™s not much, and you really donā€™t need the NanoPi, then Iā€™ll gladly accept. Otherwise the image of DietPi for the OPi Zero will be a good enough reward :slight_smile:

Email me your address and iā€™ll take a look :slight_smile:

Iā€™ve built a beta image for the zero, Iā€™ll post a link shortly. Keep in mind its not official and I have not resized it meaning you need a minimum of an 8g card to write it on.

It uses around 535m

root@DietPi:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mmcblk0p2 7.3G 535M 6.7G 8% /
udev 10M 0 10M 0% /dev
tmpfs 49M 4.5M 44M 10% /run
tmpfs 121M 0 121M 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 121M 0 121M 0% /sys/fs/cgroup
tmpfs 10M 1.2M 8.9M 12% /DietPi
tmpfs 20M 16K 20M 1% /var/log
tmpfs 121M 0 121M 0% /tmp
/dev/mmcblk0p1 64M 18M 47M 28% /boot

http://buildbox.aliosa27.me/dietpi-zero.7z

Hi,

Excellent work, looks good and thanks for sharing.

Iā€™am still waiting for the OPi Zero to turn up, once it does Iā€™ll check out your image :slight_smile:

Great job!
Did you also manage to work on the onboard wifi?

The internal wifi works fine. on boot however it fails, after the system has booted up it works fine. I added a line to re.local to ifup it, and in etc/network/interfaces I added a pre-up line to insmod the module.

That seems great! As soon as I get my OPi Zero I will try your image. Thanks!

Hi,

As a fairly new user DietPI and Linux in general, is there any way to get the Orange Pi Zero to run a desktop? I want to run it remotely using xrdp and/or tightvncserver. Is this possible with the current build?

Yep, just tried tightvncserver on OPi Zero, works a charm :slight_smile:
Just remember its on screen 1, so IP:1 (resolved) Cannot log in to the MySQL server

Hi

I am new to DietPi but old enough for SBC with some humble knowledge on Linux.

I am install diet pi say V139 on OPi Zero and config for Wifi connect on dietpi.txt.

It worked perfectly and I have ssh connect.

However, after upgrade to V140, It canā€™t connect to network any more.

I intended to config Opi zero as network player to my USB DAC.

Any hint for this? I have try several times re-flash but getting stuck after upgrade and reboot to V140.

Thank you.

Hi,

Strange, theres nothing in the v140 patch that targets OPi Zero or would effect WiFi.

Please try this service to resolve WiFi:
There is a known issue with WiFi modules failing to load during boot, on some boards. This may resolve the issue.
https://github.com/Fourdee/DietPi/issues/635#issuecomment-266006050

Failing that, please paste results of following commands, so we can check for any errors:

dmesg | grep xradio
dmesg | grep wlan0

I get Wifi connected after resolve Wifi. Thanks.

Another issue

Update & upgrade APT
Please waitā€¦

Ign > http://ftp.cn.debian.org > jessie InRelease
Get:1 > http://ftp.cn.debian.org > jessie-updates InRelease [145 kB]
Hit > http://security.debian.org > jessie/updates InRelease
E: The method driver /usr/lib/apt/methods/https could not be found.
N: Is the package apt-transport-https installed?
[Info] Running apt simulation to check for errors, please waitā€¦
[Failed] Apt simulation | An issue has occured

[Failed] The apt cache may be corrupt, apt mirror offline, or you have held broken pacakages. DietPi-Software will now exit.

[Info] Please try:
[Info] - Fixing apt package errors with ā€˜apt-get install -fā€™
[Info] - Change apt mirror: ā€˜dietpi-configā€™ > ā€˜Networking: NAS/MISCā€™ > ā€˜Apt Mirrorā€™
[Info] - Clear and refresh apt ā€˜apt-get updateā€™
[Info] - If problems persist, please create a Git ticket so DietPi can investigate the issue:

Yep, this is fixed for v141, its as if Debian has forced https redirect on their security repo overnight, but you can manually patch with:

Hi,

Apply fix manually but still error

dpkg: dependency problems prevent configuration of apt-transport-https:
apt-transport-https depends on libapt-pkg4.12 (>= 1.0.9.8.4); however:
Version of libapt-pkg4.12:armhf on system is 1.0.9.8.3.

Hi,

can you please test this:

https://github.com/Fourdee/DietPi/issues/669#issuecomment-269472619

I confirmed

installing the request version of this package (libapt-pkg4.12_1.0.9.8.4): worked!

Another issue:
Install openssh server but getting error access denied after another login.

Possible http://unix.stackexchange.com/questions/66225/ssh-host-key-keeps-changing