Most Popular

1500 questions
27
votes
2 answers

How to get Python to work with Lighttpd?

I've got Lighttpd setup on my Raspberry Pi, but I'd like to get server-side code working now. I'm familiar with PHP, but I figure I should try Python as it's supposed to be the "go to" language for the Raspberry Pi. How can I get Python handling…
Mark Ingram
  • 879
  • 3
  • 11
  • 18
27
votes
7 answers

How to disable "Wi-Fi is currently blocked by rfkill." message?

I do not want to see the following message when I login to my Pi (5.10.17-v8+ #1403 SMP PREEMPT Mon Feb 22 11:37:54 GMT 2021 aarch64 GNU/Linux): Wi-Fi is currently blocked by rfkill. Use raspi-config to set the country before use. How can I make it…
Gordon Fogus
  • 455
  • 1
  • 4
  • 7
27
votes
5 answers

RPi 4 running Ubuntu Server 20.04: can't connect to WiFi

I'm trying to run my Raspberry Pi 4 on Ubuntu Server 20.04 (64bit) following this tutorial. When I reached 4. Boot Ubuntu Server, my RPi had no IP address (I switched to using a monitor when doing a headless setup failed, and calling hostname -I…
Drake P
  • 395
  • 1
  • 4
  • 7
26
votes
1 answer

How can I set up a print server?

I would like to use my Pi as a print server. My printer is supported by the computer I want to use as a print server. Is it fast enough and has enough for this? How do I setup a print server with the recommended debian image?
Bengt
  • 2,427
  • 3
  • 21
  • 26
26
votes
7 answers

apt-get installation doesn't work on Raspberry Pi

I tried to install python-pip by typing this command: sudo apt-get install python-pip And the result is below: Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main python2.6-minimal armhf 2.6.8-1.1 Temporary failure resolving…
SamuraiT
  • 369
  • 1
  • 3
  • 4
26
votes
6 answers

Where can I find the documentation for the BCM2837?

I can find the hardware documentation for both Raspberry Pi 1's and Raspberry Pi 2's SoC on the Documentation - Hardware site from raspberrypi.org (Broadcom BCM2835 and Broadcom BCM2836). However, I couldn't find any documentation for the Raspberry…
h0ch5tr4355
  • 383
  • 1
  • 5
  • 11
26
votes
1 answer

Why can't the Pi 3 receive FM radio by itself?

I've read online that the Pi 3's WiFi/Bluetooth chip (BCM43438) can also receive FM radio. Why can't I use it to receive FM signals?
Aloha
  • 7,136
  • 1
  • 28
  • 52
26
votes
5 answers

Power RPi from same Powered USB hub as its Peripherals?

I am putting together all the bits I need to start playing with my Pi, and one question I have is how to power it using the least cables as possible. Given that I have ordered a small mains powered USB hub to attach all the kb/m/wireless etc to, it…
stuffe
  • 513
  • 1
  • 5
  • 8
26
votes
4 answers

How to run Skype on Raspberry Pi

Skype is compiled for Linux but not for arm cpu that Raspberry Pi uses, so how can I run Skype on Raspberry Pi?
valentt
  • 1,315
  • 3
  • 15
  • 21
26
votes
1 answer

Where are nslookup and dig gone?

I installed my Raspberry Pi out of the box. Unfortunately, I can't seem to find neither nslookup nor dig. Where can I find them? Which package do I need to add? uname -a is: Linux brambleberry 3.12.28+ #709 PREEMPT Mon Sep 8 15:28:00 BST 2014…
Archemar
  • 715
  • 1
  • 7
  • 15
26
votes
4 answers

Which CPU flags are suitable for gcc on Raspberry Pi?

gcc takes the -mcpu= (or -march=) flags to produce optimized code for a particular CPU type. There's a plethora of arm variants, and the gcc Arm target also provides numerous FPU types. Which -mcpu=/-march= flags and -mfpu= flags are the…
nos
  • 1,106
  • 2
  • 10
  • 14
26
votes
1 answer

Possible to connect SATA device to the SD slot?

I have been searching around for a cable which could be used to connect a normal hard-drive (SATA) to the SD slot, and therefore get a lot more storage without having to go via the (comparatively slow) USB slot. I can find SATA / SD adaptors (such…
Luke
  • 530
  • 2
  • 5
  • 10
26
votes
3 answers

How can I record audio using a microphone?

Just came across this question while trying to connect a webcam. If the webcam encapsulated audio that is fine. But what if I want to attach a microphone in another location / locations. Question: How can I record audio using a microphone?
Piotr Kula
  • 17,307
  • 6
  • 65
  • 104
26
votes
5 answers

How can I enable the camera without using raspi-config?

I am trying to use the raspi camera on a minimalized version of wheezy. The command raspi-config is not available. I have been able to do everything without it so far by editting /boot/config.txt or installing missing software with apt-get.…
Octopus
  • 797
  • 1
  • 9
  • 19
26
votes
3 answers

Do I have to connect a resistor to my DHT22 humidity sensor?

I've just bought a DHT22 sensor to connect to my RPi but most tutorials mention there should be a resistor connected between the sensor and the GPIO pin. Is this necessary? Will it work without or will I end up melting something?
Abbie
  • 373
  • 1
  • 3
  • 5