dailytinker
April 3, 2024, 21:45

Lighttpd Going back to port 80 when I have it set to 8081 on pihole

So I run Pihole on Synology NAS and everytime I update the container Lighttpd which is supposed to be on port 8081 is back on port 80 and then it fails because port 80 is used on my Synology NAS for web server which is on https://athernas.net and it gets annoying because It makes my internet experience slow and not work half the time if you need more let me know
k9t33n
April 3, 2024, 10:58

internet problems pi 5

my pi 5 cannot access the internet and since i am accessing via ssh i have no clue why it would have troubles.
kameron@pi5:~ $ ping google.com
PING google.com (142.250.187.238) 56(84) bytes of data.
From 192.168.1.10 (192.168.1.10) icmp_seq=1 Destination Host Unreachable
ping: sendmsg: No route to host
From 192.168.1.10 (192.168.1.10) icmp_seq=2 Destination Host Unreachable
From 192.168.1.10 (192.168.1.10) icmp_seq=3 Destination Host Unreachable
From 192.168.1.10 (192.168.1.10) icmp_seq=5 Destination Host Unreachable
ping: sendmsg: No route to host
From 192.168.1.10 (192.168.1.10) icmp_seq=6 Destination Host Unreachable
From 192.168.1.10 (192.168.1.10) icmp_seq=7 Destination Host Unreachable
^C
--- google.com ping statistics ---
11 packets transmitted, 0 received, +6 errors, 100% packet loss, time 10168ms
pipe 3
any clue why? it also can not pip install anything or update because of it.
sadma_ashiq
April 3, 2024, 08:33

My first ever Raspberry pi project [The PodBerry Touch]

So I like small sized phones that can literally fit in your palm like ipod or any old Samsung phone or the Palm Phone. So I wanted to make a phone with a touch screen, headphone jack and a battery for charging and working without power cable. I think a raspberry Pi Pico is good as it is small in size and cheap but I don't know about it's processing power
starsalt
April 3, 2024, 02:01

I’m trying to connect to mobaxterm Vnc with raspberry pi and it won’t let me connect.

## Try this first i guess? idk if this is right but it(mobaxterm) has smth to do with ssh right? maybe you've already connected to the ip address once on a diff device/flashed pi? in which case you can: ## delete the record from c:/users/username/.ssh/known_hosts (just remove the ip address from the list- open with notepad or smth)
icicubez
April 2, 2024, 18:26

Pi won't connect to network

Hey. I'm flashing Raspbian 64bit on my Pi 4b and I have it set up to connect to the network in the config, but it isn't doing it. On the desktop environment the network icon just shows bars with an X and when I click I am prompted to set my wifi region. When I do this however, nothing happens. I have reflashed loads of times and it isnt working
misterjthegamer
April 2, 2024, 14:56

raspberry pi pico not powering up spi tft display

dosnt work or turn on when i connect my pico to power. also vs code dosnt detect my library
theosib
April 2, 2024, 12:34

Help debugging TinyUSB crash when plugging in multiple devices?

I've hit a wall with a TinyUSB crash when plugging in multiple devices (https://github.com/hathach/tinyusb/issues/2556), and I was wondering if anyone would be interested in doing a live deep-dive debug session with me. We could do that here or the RP Pico Discord or perhaps SciCraft or EigenCraft. It's a fun way to meet new people and make new friends. 😁
koyo00010
April 2, 2024, 09:04

Autostart a chromium in fullscreen

Hi! Can someone help me how to autostart a website in chromium whenever I start the rpi itself. I already tried the 'sudo nano /etc/xdg/lxsession/LXDE-pi/autostart' but it doesnt work for me. Thanks!🙇
guildedsin
April 2, 2024, 03:54

Need some help setting up jellyfin | Folder permissions and Static IP

Having some issues on setting up a static IP and need some help. The only conf file i have to edit ios etc/dhcp/dhclient.conf Now that would be good and all but its read only, and even trying to edit through putty wont let me change it. Also I have already installed jellyfin and when using hostname -I it returns 127.0.0.1 BUT if i do ifconfig, i get a wlan0 IP of 192.168.1.15 (this is the one my router is reporting as well) and between eth0 and wlan0 there is a section labled lo and that section reports the 127.0.0.1 IP what is going on xD Also to not BOTH ips dont work to connect to the jellyfin server from my windows pc. As of writing this im going to try to connect from the pi as well while waiting on a reply
busitalique
April 1, 2024, 19:49

Trying to connect by SSH to my rpi through cmd promp but the password doesn't input.

Essentially, I run "ssh bus@(ip adress)" then it asks for the password and it doesn't let me input anything. I can press anything on my keyboard it's like cmd prompt just crashes, but it still responds to "enter". I tried to change my keyboard to a bunch of other languages and it just doesn't listen. (yes, even the one that was listed in the imager)
rasmus2099
April 1, 2024, 14:43

How to change raspberry pi pico keyboard language

So i have 2 raspberry pi pico. My problem is that when i try to make it into a badusb it uses american keyboard layout. So when i want it to write example a "." it presses the . icon on a american keyboard wich isnt the same place for my swedish keyboard. I dont know how to fix this. I would assume the peope here outside of USA have exprianced this issue before since the language is American when it comes from the factory. Thank you for help!
meth.heady
April 1, 2024, 07:54

How do you make the raspberry pie pico ducky use it payload

can somebody please tell me how to do this? I’ve looked at a bunch of videos, and I think I’ve done everything right but it’s not working. Here’s all the files I’ve configurated from the videos. Please tell me if I missed any files or need any files
vj_ubiquity
April 1, 2024, 00:08

ARM32 Bullseye Raspian Seeking for info on How to run script on boot/load. Tried for 3 weeks long

Hellô, I'm tring to run this command on BOOT: this would be my optimal command [ sudo lxterminal -e "sudo ./Chataigne-linux-armhf-1.9.17.AppImage" ] since it loads a terminal with privileges and then opens the app with privileges as well. I've tried with rc.local, systemd and other common methods listed on the web (I think I can read and try all the lines written there but none seems to work), the closest I've suceeded is with bashrc so when i open a terminal, is automatically call the appImage. Thanks in advance for any help. Image
jackpotjake8080
March 31, 2024, 19:24

how come the older gen Raspberry pi model 2b has a problem with hdmi or booting problems?

its also a bit of a pain when the kano help disappears on the web as its a was an original kano computer kit has anyone experienced this? when i put the kano os onto the microsd and then put it in and power it why does the it: A. have a problem with booting B. no output is happening nor input as its difficult to see C. both the red and green light are on indicating its working yet its not
hoco_xxsamxx
March 31, 2024, 15:48

RPi5 Not booting or checking SD/USB drive

I have a brand new RPi5, I installed Raspian on a USB drive, booted up, connected via ssh, and ran apt upgrade. It crashed during the upgrade, and now does absolutly nothing when plugged in. All I get is a solid red light. I have tried different images on both USB and SD, pressing the button does nothing. I assume the bootloader got messed up, since it doesn't even check the USB or SD card, and displays nothing on the hdmi out. How can I fix the bootloader if it doesn't access the attached drives?
enclave.dll
March 31, 2024, 09:54

raspberry pi 5 convert rpi.GPIO code to gpiod

i've got this example code
py
import RPi.GPIO as GPIO

pins = [18, 23, 24]

pin_led_states = [
  [1, 0, -1], # A
  [0, 1, -1], # B
  [-1, 1, 0], # C
  [-1, 0, 1], # D
  [1, -1, 0], # E
  [0, -1, 1]  # F
]

GPIO.setmode(GPIO.BCM)

def set_pin(pin_index, pin_state):
    if pin_state == -1:
        GPIO.setup(pins[pin_index], GPIO.IN)
    else:
        GPIO.setup(pins[pin_index], GPIO.OUT)
        GPIO.output(pins[pin_index], pin_state)

def light_led(led_number):
    for pin_index, pin_state in enumerate(pin_led_states[led_number]):
        set_pin(pin_index, pin_state)

set_pin(0, -1)
set_pin(1, -1)
set_pin(2, -1)

while True:
    x = int(input("Pin (0 to 5):"))
    light_led(x)
and i would like someone who understands better than me to help convert it to gpiod the gpiod documantation is a mess. Your help will be appreciated!
zak_ku
March 30, 2024, 18:25

How to spoof the raspberry pi pico w

don't know how to do this things: Change all vid & pid values to the same as your mouse Change 'build.usb_manufacturer' and 'build.usb_product' to your mouse's manufacturer and name Locate \AppData\Local\Arduino15\packages\rp2040\hardware\rp2040\3.6.0\cores\rp2040\RP2040USB.cpp CTRL-F 'if (USBInstallMouse || USBInstallAbsoluteMouse)' Change 0x4000 to 0x0000 in the if statement
sharkieco
March 30, 2024, 17:13

Pi 5 with a usb-connected IDE HDD doesnt boot [FIXED]

Hey guys, my pi5 doesnt boot from a IDE HDD connected to the usb while it can boot from an sd-card. Can anyone help me figure out what the problem is? Thanks!
spiderpoulet
March 28, 2024, 22:47

Pi CM4 with buggy integrated screen

Hi, i recently got a Raspberry Pi Compute Module 4 with an integrated 5" 720p touch screen (The reterminal from seeed, https://www.gotronic.fr/art-reterminal-5-cm4104032-34217.htm), and when it is powered, it does a weird visual bug, except for the little left area of the screen, which is not buggy, does this already happened to you ? Could it be the cables or something like that which are not properly connected ? I correctly install the driver for the display, and when i connect it to an external monitor via the HDMI port, it doesn't do the bug, so it's well the integrated screen which has a problem
junaire_7747
March 28, 2024, 21:44

Mobile Display for 2 Websites

Hi all I have searched quite a bit and think this should be feasible, but maybe somebody has good suggestions on the specific hardware I should get. I would like to achieve the follwing: a mobile, battery operated, rasberry zero powered device with a nice display, with a gsm card, that has a kiosk style OS that always shows the 2 same websites side by side, and the pages should autorefresh. I'm thinking raspberry pi , original display with display case, gsm module, power bank, some kiosk style OS (or the standard OS?), i guess this should work out, right? thanks a bunch!
interr_
March 28, 2024, 20:53

meta-generating error

Hi, Sorry for the trouble, but I would highly appreciate if you could resolve this issue. So it all started when I just set up my raspi, and I also had a camera module, so I tried to test it using this repo: https://github.com/washieuanan/Raspberry-Pi-Emotion-Recognition. However, after the kind help of one of the mods, we seemed to be getting this issue: "metadata-generation-failed", we tried a reboot and everything but it still won't work. This was after using a venv because, when we ran the command pip install -r requirements.txt, we got the following error:. I would really appreciate help because this is urgent. Thanks!!

e_xie
March 28, 2024, 20:07

Speeding up refresh rate of raspberry pi 3'5 inch LCD display (GPIO controlled)

the FPS of my new touchscreen display is very low. Refreshes very slow at like 2 fps. I'm wondering if i can somehow speed this up. Even an increase of 3 fps could help. The drivers are pretty old I'm guessing - https://github.com/goodtft/LCD-show Not sure what the brand or company is, I bought it straight from the Chinese manufacturer.
thijmenl98
March 28, 2024, 19:20

RPi 3B Slow & JavaScript heap issues

Hey guys, I'm trying to serve an angular application using nginx on my RPi 3B (not 3B+, the title is incorrect), but I haven't even passed installing a simple angular application, as using npm install causes the entire thing to freeze (and i need to restart it by unplugging). Every time i get issues such as: FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory or INFO: task kworker/1:0:1273 blocked for more than 120 seconds (or 240 etc) And the commands such as ng serve, ng build are incredibly slow. Is there anything I can do? I am running the latest Ubuntu Server 64x LTS, installed node v20 and cloned a github repo, the rest is all still fresh.
andersson4003
March 28, 2024, 19:17

Camera memory repeated problem

So when I run a stream function (seen below), my camera starts a stream and all is good. BUT after running it a few times a day and after a couple of days it stops working and I get this error code: mmal: mmal_vc_component_create: failed to create component 'vc.ril.camera' (1:ENOMEM) mmal: mmal_component_create_core: could not create component 'vc.ril.camera' (1) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/picamera/camera.py", line 456, in _init_camera self._camera = mo.MMALCamera() File "/usr/lib/python3/dist-packages/picamera/mmalobj.py", line 2279, in init super(MMALCamera, self).init() File "/usr/lib/python3/dist-packages/picamera/mmalobj.py", line 631, in init mmal_check( File "/usr/lib/python3/dist-packages/picamera/exc.py", line 184, in mmal_check raise PiCameraMMALError(status, prefix) picamera.exc.PiCameraMMALError: Failed to create MMAL component b'vc.ril.camera': Out of memory After allocating more memory to the GPU the script runs as espected again BUT after a few days it happens again! Why is this and how do i fix it? Rebooting does nothing. def main(): StreamProps = ps.StreamProps StreamProps.set_Page(StreamProps,HTML) address = (raspberry_ip, port) StreamProps.set_Mode(StreamProps,'picamera') with picamera.PiCamera(resolution='640x480', framerate=30) as camera: output = ps.StreamOut() StreamProps.set_Output(StreamProps,output) camera.rotation = 0 camera.start_recording(output, format='mjpeg') try: server = ps.Streamer(address, StreamProps) print('Server started at','http://'+address[0]+':'+str(address[1])) server.serve_forever() finally: camera.stop_recording()
jan1161.
March 27, 2024, 22:48

Pico ducky breaks after nuking the pico

My raspberry pi pico ducky doesnt execute payloads after nuking it does anyone know a fix Like i nuked it then when i installed circuitpython and picoducky it doesnt execute payloads anymore
lilnutti
March 27, 2024, 20:30

Sizzle when powering

Hello, I am recently trying to power my RPI 4 with a buck converter, going from 24v to 5.1v. When i plug the power supply from RPI there is no sound and every LEDs are flashing correctly. When i use my USB C cable from my buck converter to the PI there is a little sizzle noise comming from the USB C port. All LEDs are also flashing correctly https://i.imgur.com/8m5yV08.png
1248163264.
March 27, 2024, 14:02

HC-05

Hi, I'm having an issue with communication between two HC-05 modules. One module is set as the master to send data from a Raspberry Pi Pico, to which a joystick is connected. The data is sent via Bluetooth and received by the second HC-05 module set as a slave, connected to a Raspberry Pi 4. After a few seconds, I encounter this error. What could it be? How can I resolve it?video
notdex167
March 27, 2024, 13:46

Rpi Smart clock

Hey guys I want to make a Raspberry pi smart clock which has facial expressions and stuff by using a LED I want to use audio and microphone modules instead of just plug and use microphone and speakers could anyone help me list out the parts for this and how i can get it all together?
kipash
March 27, 2024, 13:23

How to hide the cursor (unclutter doesn't work)

Hey 👋 i'm a beginner and i am making a simple kiosk dashboard and i want to hide or disable the mouse cursor. On Rasbian 64bit (i downloaded via the imager very recently) i open chrome on startup in kiosk mode with my website. But the mouse is still visible and it also is hovering some elements on the page. A lot of online resources like [this one](<https://forums.raspberrypi.com/viewtopic.php?t=234879>) use package called unclutter. But if i open terminal and run unclutter -idle 0 and leave the mouse idling, it never gets hidden. I'm mainly asking here to check if unclutter does work as expected or if i just use it incorrectly. I read somewhere that this could have stopped working due to newer version of the graphical interface. And also i haven't found any posts from 2023+ regarding usage of the unclutter package in connection with RPI and hiding the cursor.. Any ideas what should i try next? I also added somewhere "-nocursor" parram, i presume that was a cfg for the graphical interface. But that didn't disable the mouse, nor did disconnecting the mouse from the USB. I'm really unsure what to search for since all results are around 2019 using unclutter. Any directions, hints and advice is welcomed :)
mafatha
March 27, 2024, 07:36

raspberry pi 5 speaker problem

Hello, I'm using Raspberry Pi 5 8gb version for a project. For a text to speech app, I need to use speakers to listen the assistant's voice but there is a problem. I plugged the speakers' jack into a sound card and I plugged USB port into my laptop for power supply and I got a sizzling sound from the speakers. They're working when I used on my laptop but they're not on Raspberry. How can I solve this problem?