/r/OrangePI

Photograph via snooOG

A subreddit about the OrangePi series of SBC's

/r/OrangePI

12,877 Subscribers

1

Can't SSH into device from router

I look at the connected devices from the router's admin page, but I can't see my pi. Is there just something I'm missing, or should I try to connect it to a monitor and run it from there?

OctoPrint is what I'm working with, just for reference. This is the guide I'm following, but I'm using an Orange Pi Zero 3. And advice is appreciated

4 Comments
2024/04/24
14:26 UTC

1

Question for those using Citra

This is a specific question for those using the Citra 3DS emulator (or one of its recent forks, such as Lime3DS) on your Orange Pi 5 with Android installed and connected to a standard TV or monitor: Are the "swap screens" and "landscape screen layout" features working correctly for you. On my device, the app locks into "portrait mode" and can't be fixed except by closing and reopening the app. I'm not seeking a solution, only asking if anyone else has experienced this.

0 Comments
2024/04/24
10:13 UTC

1

Has anyone been able to get an Orange Pi 5 (or any RK3588 SBC) to suspend to ram?

I’m quite confused, because it seems like the hardware support does exist on the SoC, but I can’t tell if there is any software support for any board. I’m inferring this from the fact that Tiger seems to specifically mention Suspend-to-ram and mode S3 a couple of times in their RK3588 SBC’s datasheet, and they even break out specific pins to signal that the S3 state has been entered. However, I don’t see a single mention online of anyone ever having been able to get this SoC to suspend on any OS, and I don’t want to throw money at guesswork. Unfortunately, I don’t see any mention of this feature on other SBC data sheets that use this SoC, so it’s hard to compare.

4 Comments
2024/04/24
00:06 UTC

2

Ubuntu on orange pi 5b

I have a op5b board that comes with orange pi os droid. I want to install Ubuntu via usbpen is it possible?

14 Comments
2024/04/23
14:31 UTC

1

RKDevTool communication issue with USB when burning OpenWRT image into SPI FLASH

https://preview.redd.it/bdm9op4dd8wc1.png?width=972&format=png&auto=webp&s=2f393670a8c0e25508ecbea8e320d5b86c7bd6f2

I'm following the official OrangePi 5 guide to burn OpenWRT to the SPI FLASH but I get an error on RKDevTool saying that there is a communication issue on USB when testing device. The board does not boot with either the SD card or an M.2 SSD. Is there anyway to fix this?
I'm using the versions of RKDevTool specifed in the official guide (2.96) and the driver assistant (5.12)
I've tried with different cables and 2.0/3.0 usb of both the front and back ports of my pc but i get allways the same result.

1 Comment
2024/04/23
13:25 UTC

3

Configure OrangePi Zero 2W with headless OS for first boot into wifi

I just bought an OrangePi Zero 2W (1GB) after using the Raspi correspondent for months.
The one thing I like about the RasPi is the headless setup: the imager creates the initial config so that it will connect to my wifi and allow my to ssh into it.
I would be ok even if I have to create the ssh file and the wpa_supplicant file into the boot dir manually.
But none of those options worked for me, and I tried several images: the OrangePI 32 and 64, the Ubuntu Core 64, the Ubuntu Lite 32 and 64. Nothing.

I will end up connecting a monitor and a keyboard for sake of time, but I am working on a research project where I would have 20 of these things and I'd rather pre-set in the SDCard.

Anyone has a good procedure for this? Thanks

4 Comments
2024/04/23
11:49 UTC

2

Kernel panic related to cpufreq-dt | Orange Pi 3 LTS

Does anyone have the same issue?
https://github.com/orangepi-xunlong/linux-orangepi/issues/23

This is a critical error that prevents the reboot from actually working. systemd cannot kill stuck processes. I wonder is there any fix for that?

0 Comments
2024/04/23
03:35 UTC

3

OpenWRT Version 6.1 - 7 Kernel releases now available

ICYMI - https://github.com/mj22226/openwrt/releases

6.1 was broken on my Opi5+ but version 7.0 detected my mediatek mt7921/2 m.2 cards out of the box and everything just worked. Very nice to see indeed.

0 Comments
2024/04/23
00:29 UTC

1

Orange Pi 3B won't boot Android from the SD card

My Orange Pi 3B won't boot Android from the SD card, but when I remove the EMMC, Android boots from the SD card. The EMMC is formatted and completely clean. What could it be?

0 Comments
2024/04/22
20:26 UTC

2

android hung up

I am trying to put android on my orange pi 5 and I get so far as the orange pi logo and that's it I am running the OrangePi5_RK3588S_Android12-box_v1.0.0 version that does not work. in the end I am trying to emulate games like nes and colecovision. I have tried batocera and jelos nether work. batocera just won't play games and jelos does not boot. could I try and use ubuntu and download emulators I just can't get colecovision working over there. so if I could get a better image or something else that would be very much appreciated. I used the sddisktool that orange pi supply's on sd boot with restore turned on. when I boot it on I first get a erasing circle thing and then it goes on and of a few times before freezing up. plz help.

I just tried a different micro ssd and it works now!!!

10 Comments
2024/04/22
03:47 UTC

1

Do I need a tty cable for the orange pi 5b.

I mainly wanna know if I need it for flashing the Emmc for any reason. Thank you.

9 Comments
2024/04/21
18:22 UTC

2

New Orange Pi 5 Plus with black screen

Does the Orange Pi 5 produce a display output when no operating system is installed? I received my Orange Pi 5 (32 GB + 256 GB eMMC) today, but I didn't have the micro SD card to USB adapter needed to install the operating system, so I used the official adapter, connected it to my monitor, and started it up. I tried different monitors. The board shows signs of life with a bluish/greenish color, and the red LED lights up when I press the power button. However, when I connect the HDMI port, I expect at least a display output stating "No operating system is installed," but it does not produce any display output. Am I doing something wrong?

4 Comments
2024/04/21
12:13 UTC

1

Are HDMI in via Armbian and GeForce Now via Android mutually exclusive?

I'm wanting both of these things on the 5 plus and I'm pounding my head into a wall in leui of finding a preferred path forward. I had an easy time running armbian from SD and/or eMMC, but geforce now refused to function with any available browser. I saw a guy pull it off with emulation layers, but was hoping to avoid it. The stinker for me is that xbox.com/play works really well, but the lack of geforce now is close enough to being a dealbreaker that I'm composing this letter. My understanding is that I can get geforce now on Android, but then I sacrifice the entirety of HDMI in. I wouldn't mind swapping cards, but I don't want to resign myself to it until someone says resign yourself to it. Would openfyde be of use in this case?

1 Comment
2024/04/20
23:17 UTC

1

orangepi-config command not found after uninstalling iperf3 ( OrangePi 5 Plus )

Hello, I'm using the official debian bookworm image for the orange pi 5 plus. I've been using it with no issues for a while now, recently I wanted to try running some tests using iperf3 when I noticed that the port was already in use. Using orangepi-configcommand I disabled the iperf3 option in networking menu, which released the port, but I couldn't make it work correctly as a server.
I decided to remove the iperf3 package to install it again, but after the installation, the port was in use again and when I try to use orangepi-config, is displays a command not found.

What could be the cause of orangepi-config dissapearing?

Is there any way to restore it?

Thanks in advance

3 Comments
2024/04/20
23:10 UTC

3

Dual-booting with the OPi 5 Plus

I want to dual-boot the official Android 12 (Not OPi OS Droid) and Ubuntu, how do I do it?

6 Comments
2024/04/20
12:44 UTC

2

where is panfork source code

im using armbian bookworm on orange pi 5 and i want to compile parkfork mesa for 3d acceleration, but there is no parfork, the source code https://gitlab.com/panfork/mesa doesnt exist anymore, ik that i can use Joshua-Riek, but ubuntu sucks

0 Comments
2024/04/20
05:52 UTC

2

RF kill switch , software block in orange pi zero during access point mode

Hello mates , when attempting to enable the access point mode in orange pi zero, I encountered an issue related to the RF kill switch being blocked. Upon further investigation,it appears that the software is causing this blockage. Any assistance or guidance in resolving this matter would be greatly appreciated. Thank you in advance for your help.

0 Comments
2024/04/19
05:13 UTC

1

Installing Mosquitto and Node Red Orange Pi Zero 3

Hi everyone (non english speaker).

v Orange Pi 1.0.2 Bullseye with Linux 6.1.31-sun50iw9

I've been triying to install this 2 but the only i get in the prompt is:

this one is only installing mosquitto

Reading package lists... Done

Building dependency tree... Done

Reading state information... Done

The following additional packages will be installed:

libcjson1 libdlt2 libev4 libmosquitto1 libwebsockets16

Suggested packages:

apparmor

The following NEW packages will be installed:

libcjson1 libdlt2 libev4 libmosquitto1 libwebsockets16 mosquitto

0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.

Need to get 636 kB of archives.

After this operation, 1,662 kB of additional disk space will be used.

Do you want to continue? [Y/n] y

Err:1 https://repo.huaweicloud.com/debian bullseye/main arm64 libcjson1 arm64 1.7.14-1

Could not resolve 'repo.huaweicloud.com'

Err:2 https://repo.huaweicloud.com/debian bullseye/main arm64 libdlt2 arm64 2.18.6-1+deb11u1

Could not resolve 'repo.huaweicloud.com'

Err:3 https://repo.huaweicloud.com/debian bullseye/main arm64 libev4 arm64 1:4.33-1

Could not resolve 'repo.huaweicloud.com'

Err:4 https://repo.huaweicloud.com/debian bullseye/main arm64 libmosquitto1 arm64 2.0.11-1

Could not resolve 'repo.huaweicloud.com'

Err:5 https://repo.huaweicloud.com/debian bullseye/main arm64 libwebsockets16 arm64 4.0.20-2

Could not resolve 'repo.huaweicloud.com'

Err:6 https://repo.huaweicloud.com/debian bullseye/main arm64 mosquitto arm64 2.0.11-1

Could not resolve 'repo.huaweicloud.com'

E: Failed to fetch https://repo.huaweicloud.com/debian/pool/main/c/cjson/libcjson1_1.7.14-1_arm64.deb Could not resolve 'repo.huaweicloud.com'

E: Failed to fetch https://repo.huaweicloud.com/debian/pool/main/d/dlt-daemon/libdlt2_2.18.6-1%2bdeb11u1_arm64.deb Could not resolve 'repo.huaweicloud.com'

E: Failed to fetch https://repo.huaweicloud.com/debian/pool/main/libe/libev/libev4_4.33-1_arm64.deb Could not resolve 'repo.huaweicloud.com'

E: Failed to fetch https://repo.huaweicloud.com/debian/pool/main/m/mosquitto/libmosquitto1_2.0.11-1_arm64.deb Could not resolve 'repo.huaweicloud.com'

E: Failed to fetch https://repo.huaweicloud.com/debian/pool/main/libw/libwebsockets/libwebsockets16_4.0.20-2_arm64.deb Could not resolve 'repo.huaweicloud.com'

E: Failed to fetch https://repo.huaweicloud.com/debian/pool/main/m/mosquitto/mosquitto_2.0.11-1_arm64.deb Could not resolve 'repo.huaweicloud.com'

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

the sentence typed sudo apt-get install mosquitto .

been trying so hard to find information bout installatio procedure but didnt found a single clue

2 Comments
2024/04/19
03:52 UTC

1

orange pi 5 and batocera. power button is the new start game button!?

I am trying to play my games on batocera on my orange pi 5. when I load up my game I get met with a black screen for colecovision and a white one for nes, the weird thing is that if I press the physical power off button the game starts going and then the opi5 shuts of because I pressed the off button. this is very weird can someone help, any thoughts?

11 Comments
2024/04/19
03:28 UTC

1

why doesnt aliexpress ship the 3b to the US?

just that, the only board

5 Comments
2024/04/19
00:17 UTC

1

Zero 3 has no display

So I tried installing both the Arch and Debian images on a 64gb and 128gb SD card (pulled from a working homebrew handheld computer), edited the config.txt like my display says to do, but I still get no output. It's an 4gb model with the expansion board, and the Eleclab 11.26 inch 440x1920. The display works fine with the hdmi coming from my laptop, but not the Zero 3. The Zero 3's green light flashes twice, pauses, and continues that pattern regardless of what I do.

I've used Raspberry Pi's enough I feel like I should know what's wrong, but it's beyond me what's causing the issue now.

5 Comments
2024/04/18
22:08 UTC

1

NFA765 in Orangepi 5 plus

Does anyone here uses the Qualcomm Atheros NFA765 card in any linux for OrangePI 5 Plus?

I'm curious about this card, although I already have an AX210 running just fine, but for the sake of playing with Linux and the board.

Thank you!

2 Comments
2024/04/18
21:52 UTC

3

Orange pi zero 3 with Orange OS how to enable AV out?

Hi, as the title says I want to enable AV out on my Orange Pi zero 3, I read that it is only available on android, but I would like to do it in Orange os or debian like raspberry pi, is it possible?

0 Comments
2024/04/18
10:51 UTC

4

Hi, GPU Acceleration/Drivers for Zero 3 4GB?

Hi, I was researching and I find it confusing to activate or install the gpu in the zero 3, what is the solution?

2 Comments
2024/04/17
22:53 UTC

1

Cannot reach admin panel after reboot, but can ping and SSH into Pi Zero 2

I wanted to set up Pi-hole on my Orange-Pi Zero 2. I installed Armbian Jammy, set static IP, installed Pi-hole, logged into the admin panel, no problem. Then after a restart, I can no longer access the admin panel. I can ping and SSH into the Pi. While looking for solutions online, I discovered that I had fruitlessly attempted the same thing last year and had a long back and forth with Chat GPT on the issue that seemed to just go in circles. So here is that back and forth, as a last ditch effort to solve this issue that apparently no one else has ever had... And if you have ever had this issue, good luck.

I've set up pi-hole and everything was going well until the pi was restarted. I could no longer access the admin panel. I could still SSH in and ran "pihole status" and everything is up and running.

In some similar posts I saw mention of running "sudo service lighttpd status -l". Everything came up good except for one line;



Process: 347367 ExecStart=/usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf (code=exited, status=255/EXCEPTION)



I tried restarting lighttpd, but no luck in reaching the admin page :(.

GPT

It seems like there is an issue with the Lighttpd service, which is responsible for serving the web pages for the Pi-hole admin panel. The status code 255 indicates an error, which may be related to the configuration or the installation of the service.

Here are a few steps you can try to troubleshoot the issue:

Check the lighttpd error logs: You can view the error logs for lighttpd by running the following command:
lua
Copy code
sudo cat /var/log/lighttpd/error.log
This should give you an idea of what might be causing the issue. Look for any error messages or warnings that might help you identify the problem.

Restart lighttpd: You can try restarting the lighttpd service to see if that resolves the issue. Run the following command to restart the service:
Copy code
sudo service lighttpd restart
After restarting the service, try accessing the admin panel again to see if it is working.

Reinstall lighttpd: If restarting the service does not resolve the issue, you can try reinstalling lighttpd. Run the following command to uninstall and then reinstall the service:
arduino
Copy code
sudo apt-get remove lighttpd
sudo apt-get install lighttpd
After reinstalling the service, restart it and try accessing the admin panel again.

Check firewall settings: If you have a firewall enabled on your Pi, it might be blocking access to the admin panel. Make sure that the firewall is configured to allow traffic on the appropriate ports for the Pi-hole admin panel (default port is 80 for HTTP and 443 for HTTPS).
Hopefully, one of these steps will help you resolve the issue and regain access to the Pi-hole admin panel.

Me

I should note that this is on an Orangepi Zero2 running armbian jammy if that alters any of the above code.

GPT

Thank you for letting me know. Since you're using Armbian, the commands to restart the Lighttpd service and view the error logs might be slightly different than the ones I provided earlier. Here are the updated commands:

To restart the Lighttpd service:

Copy code
sudo systemctl restart lighttpd
To view the Lighttpd error logs:

Copy code
sudo journalctl -u lighttpd.service
If you need to scroll through the logs, you can use the arrow keys to move up and down, and the q key to exit.

For the rest of the troubleshooting steps, you can follow the same instructions as before. I hope this helps!

Me

User
I found this line in the log. Does it help me in finding out why it won't initialize? (configfile.c.426) Warning: mod_auth should be listed in server.modules before dynamic backends such as mod_fastcgi

GPT

Yes, that warning message might be related to the issue you're experiencing with Lighttpd. The message indicates that the module mod_auth should be listed in the server.modules section of the Lighttpd configuration file before dynamic backends such as mod_fastcgi. If this order is not followed, it can cause issues with the configuration.

To resolve this issue, you can try editing the Lighttpd configuration file (/etc/lighttpd/lighttpd.conf) and ensuring that the mod_auth module is listed before the dynamic backends. You can do this by finding the server.modules section of the file and moving the mod_auth module above any dynamic backend modules such as mod_fastcgi.

Here is an example of what the server.modules section might look like with mod_auth listed before mod_fastcgi:

bash
Copy code
server.modules = (
  "mod_access",
  "mod_auth",
  "mod_fastcgi",
  "mod_rewrite",
  # ...
)
Once you've made the necessary changes to the configuration file, save the file and then restart the Lighttpd service using the command I provided earlier:

Copy code
sudo systemctl restart lighttpd
After restarting the service, try accessing the Pi-hole admin panel again to see if the issue has been resolved.

Me

How can I find the config file to edit it?

GPT

The Lighttpd configuration file is located at /etc/lighttpd/lighttpd.conf. You can use a text editor to edit this file.

For example, you can use the nano text editor to edit the configuration file with the following command:

bash
Copy code
sudo nano /etc/lighttpd/lighttpd.conf
This will open the configuration file in the nano text editor, which is a simple and easy-to-use text editor.

Once you've made the necessary changes to the configuration file, you can save the file by pressing Ctrl+O (that's the letter "O", not the number zero), and then exit the editor by pressing Ctrl+X.

Me

 I opened the config file and mod_auth wasn't on the list at all. I tried adding it and restarting and that didn't work either.

GPT

If mod_auth is not present in the server.modules

section of the Lighttpd configuration file, it is possible that the module is not installed on your system. In that case, you will need to install it before you can use it in Lighttpd. To install mod_auth on Armbian, you can use the following command: vbnetCopy code sudo apt-get install lighttpd-mod-auth After installing the module, you can add it to the server.modules section of the configuration file as I described earlier: bashCopy code server.modules = ( "mod_access", "mod_auth", "mod_fastcgi", "mod_rewrite", # ... ) Save the configuration file, and then restart the Lighttpd service using the following command: Copy code sudo systemctl restart lighttpd After restarting the service, try accessing the Pi-hole admin panel again to see if the issue has been resolved.

Me

When I ran the first line provided, this is what I got back:Note, selecting 'lighttpd' instead of 'lighttpd-mod-auth' lighttpd is already the newest version (1.4.63-1ubuntu3.1). 0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.

GPT

It seems that the lighttpd

package is already installed on your system and mod_auth is included with the main lighttpd package instead of being a separate package. In that case, you don't need to install mod_auth separately. Since you mentioned that mod_auth was not present in the server.modules section of the Lighttpd configuration file, it's possible that the module is commented out in the configuration file. Make sure that there is no # symbol at the beginning of the line that lists mod_auth in the server.modules section of the configuration file. If there is a # symbol, remove it and save the configuration file. If mod_auth is already listed correctly in the configuration file, you can try checking the Lighttpd error logs again to see if there are any other error messages that might be causing the issue. To view the Lighttpd error logs, you can use the following command: Copy code sudo journalctl -u lighttpd.service This will display the error logs for the Lighttpd service. Look for any error messages that might be related to the issue you're experiencing. If you find any error messages, you can try searching for solutions based on the specific error message.

Me

In the log, this line repeats as lighttpu tries to boot over and over; Apr 27 00:34:59 orangepizero2 systemd[1]: Started Lighttpd Daemon. Apr 27 00:35:00 orangepizero2 lighttpd[348395]: 2023-04-27 00:34:59: (configfile.c.426) Warning: mod_auth should be listed in server.modules before dynamic backends such as mod_fastcgi Apr 27 00:35:00 orangepizero2 systemd[1]: lighttpd.service: Main process exited, code=exited, status=255/EXCEPTION Apr 27 00:35:00 orangepizero2 systemd[1]: lighttpd.service: Failed with result 'exit-code'. Apr 27 00:35:00 orangepizero2 systemd[1]: lighttpd.service: Consumed 2.094s CPU time. Apr 27 00:35:00 orangepizero2 systemd[1]: lighttpd.service: Scheduled restart job, restart counter is at 33456. Apr 27 00:35:00 orangepizero2 systemd[1]: Stopped Lighttpd Daemon. Apr 27 00:35:00 orangepizero2 systemd[1]: lighttpd.service: Consumed 2.094s CPU time.

GPT

Based on the error message in the log, it looks like mod_auth

needs to be listed before dynamic backends such as mod_fastcgi in the server.modules section of the Lighttpd configuration file. Make sure that mod_auth is listed before mod_fastcgi in the server.modules section of the configuration file. Here's an example of what the server.modules section should look like: bashCopy code server.modules = ( "mod_access", "mod_alias", "mod_compress", "mod_redirect", "mod_auth", "mod_fastcgi", # ... ) After making the changes, save the configuration file and restart the Lighttpd service using the following command: Copy code sudo systemctl restart lighttpd Check the logs again to see if there are any new error messages. If the issue persists, you can try commenting out mod_fastcgi in the server.modules section temporarily to see if that resolves the issue. However, keep in mind that this may impact the functionality of any applications that depend on mod_fastcgi .

Me

In the server module list this is what I have; server.modules = (         "mod_indexfile",         "mod_access",         "mod_alias",         "mod_redirect",

GPT

It looks like mod_auth

and mod_fastcgi are not included in the server.modules list. You can try adding mod_auth and mod_fastcgi to the server.modules section of the Lighttpd configuration file like this: bashCopy code server.modules = ( "mod_indexfile", "mod_access", "mod_alias", "mod_redirect", "mod_auth", "mod_fastcgi", # ... ) After making the changes, save the configuration file and restart the Lighttpd service using the following command: Copy code sudo systemctl restart lighttpd Check the logs again to see if there are any new error messages. If the issue persists, you can try commenting out mod_fastcgi in the server.modules section temporarily to see if that resolves the issue. However, keep in mind that this may impact the functionality of any applications that depend on mod_fastcgi .

Me

Ok, I added those two to the list and restarted lighttpu. Here's the new log; Apr 27 00:37:57 orangepizero2 systemd[1]: Started Lighttpd Daemon. Apr 27 00:37:58 orangepizero2 lighttpd[349206]: 2023-04-27 00:37:57: (configfile.c.426) Warning: mod_auth should be listed in server.modules before dynamic backends such as mod_fastcgi Apr 27 00:37:58 orangepizero2 systemd[1]: lighttpd.service: Main process exited, code=exited, status=255/EXCEPTION Apr 27 00:37:58 orangepizero2 systemd[1]: lighttpd.service: Failed with result 'exit-code'.

GPT

It looks like the issue still persists. Based on the log, it seems like there might be an issue with the mod_auth

module. One thing you can try is to disable mod_auth temporarily and see if that resolves the issue. You can comment out the mod_auth line in the server.modules section of the Lighttpd configuration file like this: bashCopy code server.modules = ( "mod_indexfile", "mod_access", "mod_alias", "mod_redirect", # "mod_auth", "mod_fastcgi", # ... ) After making the changes, save the configuration file and restart the Lighttpd service using the following command: Copy code sudo systemctl restart lighttpd Check the logs again to see if there are any new error messages. If the issue is resolved, you can try enabling mod_auth again and see if the issue persists.

Me

After commenting it out, here is the new log:  Apr 27 00:40:50 orangepizero2 systemd[1]: Started Lighttpd Daemon. Apr 27 00:40:51 orangepizero2 lighttpd[350037]: 2023-04-27 00:40:50: (configfile.c.426) Warning: mod_auth should be listed in server.modules before dynamic backends such as mod_fastcgi Apr 27 00:40:51 orangepizero2 systemd[1]: lighttpd.service: Main process exited, code=exited, status=255/EXCEPTION Apr 27 00:40:51 orangepizero2 systemd[1]: lighttpd.service: Failed with result 'exit-code'. Apr 27 00:40:51 orangepizero2 systemd[1]: lighttpd.service: Consumed 2.086s CPU time.

GPT

Since commenting out the line did not solve the issue, let's try a different approach. It is possible that the configuration file for Lighttpd is corrupted or contains errors. You can try validating the configuration file using the command:
bashCopy code
sudo lighttpd -t -f /etc/lighttpd/lighttpd.conf 
This command checks the syntax of the configuration file and reports any errors or warnings. If there are any errors, you will need to fix them in the configuration file. If there are only warnings, you can try to ignore them and see if Lighttpd starts up correctly.

Me

This returned "Syntax OK"

GPT

Great! That means there are no syntax errors in your configuration file.
Now try restarting the lighttpd service with the following command:
Copy code
sudo systemctl restart lighttpd 
Then check the log again to see if there are any errors.

Me

Still no admin panel :( Here's the new log;  Apr 27 00:40:49 orangepizero2 systemd[1]: Starting Lighttpd Daemon... Apr 27 00:40:50 orangepizero2 lighttpd[350032]: 2023-04-27 00:40:49: (configfile.c.426) Warning: mod_auth should be listed in server.modules before dynamic backends such as mod_fastcgi Apr 27 00:40:50 orangepizero2 systemd[1]: Started Lighttpd Daemon. Apr 27 00:40:51 orangepizero2 lighttpd[350037]: 2023-04-27 00:40:50: (configfile.c.426) Warning: mod_auth should be listed in server.modules before dynamic backends such as mod_fastcgi Apr 27 00:40:51 orangepizero2 systemd[1]: lighttpd.service: Main process exited, code=exited, status=255/EXCEPTION Apr 27 00:40:51 orangepizero2 systemd[1]: lighttpd.service: Failed with result 'exit-code'. Apr 27 00:40:51 orangepizero2 systemd[1]: lighttpd.service: Consumed 2.086s CPU time.

GPT

It seems that commenting out the mod_fastcgi

module did not fix the issue. Let's try a different approach. First, let's confirm that the mod_auth module is loaded by Lighttpd. You can do this by running the following command: perlCopy code lighttpd -m | grep mod_auth This command will output a list of loaded modules that contain the term "mod_auth". If mod_auth is not in the list, then it is not being loaded by Lighttpd. If mod_auth is being loaded, then we can proceed to check the Lighttpd configuration file for any issues. You can do this by running the following command: bashCopy code lighttpd -t -f /etc/lighttpd/lighttpd.conf This command will test the configuration file for syntax errors and other issues. If any issues are found, the command will output an error message explaining the issue. If mod_auth is not being loaded and no issues are found in the configuration file, we can try manually adding the mod_auth module to the configuration file. You can do this by adding the following line to the server.modules list in the Lighttpd configuration file: arduinoCopy code "mod_auth", After adding the line, save the configuration file and restart the Lighttpd service.

Me

Entering "lighttpd -m | grep mod_auth" spits out " lighttpd: option requires an argument -- 'm'" 

GPT

I apologize for the confusion. The correct command is actually lighttpd -p -m | grep mod_auth

. Could you try running that and see if mod_auth is listed in the output?

Me

This version is still requesting an "argument -- 'm'

GPT

It seems like there may be a typo in the command. The correct command should be:
perlCopy code
lighttpd -m | grep auth 
Please try running that instead and see if it returns any output.

Me

Running 'lighttpd -m | grep auth' responds with 'lighttpd: option requires an argument -- 'm''

GPT

It seems like there is some issue with the command syntax. Can you try running the following command and see if it returns any output?
Copy code
lighttpd -m 
This command should display a list of loaded modules. You can then search for the mod_auth module using the following command:
perlCopy code
lighttpd -m | grep auth 
This command will filter the output and display only the lines that contain the word "auth".

Me

'lighttpad -m' responds with; ' -f <name>  filename of the config-file  -m <name>  module directory (default: /usr/lib/lighttpd)  -i <secs>  graceful shutdown after <secs> of inactivity  -1         process single (one) request on stdin socket, then exit  -p         print the parsed config-file in internal form, and exit  -t         test config-file syntax, then exit  -tt        test config-file syntax, load and init modules, then exit  -D         don't go to background (default: go to background)  -v         show version  -V         show compile-time features  -h         show this help' I do not have grep

GPT

In that case, you can try running lighttpd -m

without the grep command to see a list of all the loaded modules. Then you can look through the list to see if mod_auth is present. To do this, you can run the following command: Copy code lighttpd -m | less This will open the output of lighttpd -m in the less pager, which allows you to scroll through the output. You can then search for mod_auth by typing /mod_auth and hitting Enter. If mod_auth is present, you should see a line that looks something like this: mathematicaCopy code mod_auth - HTTP Authentication If mod_auth is not present, you may need to make sure that it is installed and enabled in your Lighttpd configuration.

Me

Searching '/mod_auth' returns 'pattern not found'

GPT

If you are searching for the mod_auth

module, you can try searching for mod_auth.so instead. You can run the following command to search for the module in the modules directory: arduinoCopy code find /usr/lib/lighttpd/ -name "mod_auth.so"

Me

This returned" /usr/lib/lighttpd/mod_auth.so" so I think it found it.

GPT

Yes, it seems that Lighttpd's mod_auth

module is located in /usr/lib/lighttpd/mod_auth.so . This means that the module is installed and available for use by the server.

4 Comments
2024/04/17
20:17 UTC

1

Orange Pi i96 Current Requirement

I've looked all over the datasheets and the only thing I can find related to needed current is (USB OTG can supply power). I looking into the max current draw for OTG at 5V and it seems to be 500mA, but is this correct?

4 Comments
2024/04/17
18:15 UTC

1

Android TV Surround Issues

Hello, I was wondering if anyone uses the Orange Pi 5 box android image, and if they have similar issues with surround sound. It seems like using the Youtube app I only get regular stereo output, even though on the firestick surround sound seems to be working fine. Also, when I use Kodi, it switches to multichannel pcm and seems to prevent other apps from outputting audio at all unless I force stop Kodi. Any suggestions?

0 Comments
2024/04/17
15:52 UTC

2

orange pi 5 not booting

EDIT: yesterday night i replugged it in and then i decided to hit it (16 YO creativity right there) and it started blinked the red, (idk what that means ) and then it turned off, i feel like the light only blinks when i hold my hand onto something in the back but i'm not sure... is this helpful?

so I bought an orange pi 5 recently (1 month ago) and today it suddenly doesn't open at all (I'm talking no lights not even red) and today I also recently added a WIFI chip to it on the back (I'm not sure its compatible with it ) so maybe that's what broke it?

I tried using 2 different phone chargers (other than the one I usually use) I tried booting android and ARMBIAN and tried without anything attached to it. also I got it like a month ago from Ali express so if there is no solution could they switch it out or something?

12 Comments
2024/04/17
15:10 UTC

1

orange pi zero , ssh accessing problem

Hello guys, I'm encountering an issue with my Orange Pi Zero. Upon booting, the access point mode is automatically enabled, and I can successfully connect to it. However, I'm facing difficulty finding the IP address of the Orange Pi, and there's no detection of the port in the device manager.

I would greatly appreciate any assistance or guidance in resolving this matter. If anyone has encountered a similar issue or has expertise in troubleshooting Orange Pi configurations, your insights would be invaluable.

Thank you kindly for your consideration and assistance.

2 Comments
2024/04/17
14:03 UTC

Back To Top