Aloha
  • Member for 7 years, 1 month
  • Last seen this week
  • 7151 Mawson Station, Australian Antarctic Territory, Antarctica
How do I prevent the screen from going blank?
28 votes

The other solutions here did not work for me (fresh Raspbian, boot to GUI). Instead, this worked: Open up /etc/lightdm/lightdm.conf using your favorite text editor (I prefer nano). Look for the line #...

View answer
How compile a loadable kernel module without recompiling kernel
Accepted answer
25 votes

First of all, make sure you use the proper kernel headers. I assume that your kernel headers and source code are more updated than the kernel you're running. Try to do an apt-get update && ...

View answer
Current draw for +/2/3/0 models
23 votes

If you don't want to click links, the Raspberry Pi can handle 4.75v to 5.25v. As for the current draw/power consumption, here are some numbers: All of these are bare-bone (does not have any ...

View answer
Can you put Windows 10 IoT Core on Raspberry Pi Zero?
22 votes

No, it won't run on Pi Zero. It's because of the hardware. The Pi zero and the first-generation Pis (BCM2835) use ARMv6. The Pi2 (BCM2836) uses ARMv7. Windows 10 IoT Core needs ARMv7. If I'm going ...

View answer
DIY uninterruptable power supply (UPS) for Raspberry Pi Zero
Accepted answer
12 votes

Absolutely DO NOT connect the battery in parallel with the load. The charger will not know if the battery is full or not and will continue to pump power both to the battery and the step-up converter. ...

View answer
Bluetooth device is not available?
9 votes

Late answer, but recently experienced it. I noticed the interface is down. Yours is down too. Running sudo hciconfig hci0 up on an updated firmware solved my problem. Not sure how that happened, as ...

View answer
Restore PI from Pi itself
Accepted answer
8 votes

Not quite. You would overwrite the partition tables when you re-image it and replace said tables with the ones from the image. After your imaging program is done, it would release the file handle to ...

View answer
Raspberry Pi Model B 3 Overclocking?
Accepted answer
8 votes

Yes, it can be overclocked. Here are the details: The Pi bootloader still follows the overclocking parameters that's usually placed in the /boot/config.txt file despite raspi-config not having any ...

View answer
How likely is SD card corruption?
Accepted answer
7 votes

Rarely, but still happens. Besides, there are a lot of factors to consider to guess the chance of SD card corruption including but not limited to: How busy the card was when power got disconnected ...

View answer
Enable num-lock at boot Raspberry Pi
Accepted answer
7 votes

Yup. There's a way. Open up /etc/kbd/config with your favorite editor. Search for a line that says LEDS=+num. It should be on line 67 if I'm not mistaken. Uncomment it. I assume you know how to ...

View answer
Raspbian ignores /etc/network/interfaces
Accepted answer
6 votes

Warning! For this to work properly dhcpcd needs to be disabled. See How do I set up networking/WiFi/Static IP Don't be lazy. Configure it completely. auto eth0 #add this line ...

View answer
Whats the difference between NOOBS and Berryboot?
6 votes

Good question. NOOBS is a (re)installation tool. You can use it to install an OS or nuke/reinstall an OS without wiping or re-imaging the entire SD card. NOOBS is NOT a bootloader. Berryboot, on the ...

View answer
Does WiFi on the Pi 3 reduce the Ethernet bottleneck when using USB device?
Accepted answer
6 votes

From the looks of it, yes. From the info I've read, the BCM43438 is connected to the SoC in two ways: The WiFi functionality uses the SDIO interface The Bluetooth functionality is connected via UART ...

View answer
sudo apt-get update Not working
6 votes

Looks like it's trying to use IPv6. I bet your connection doesn't have IPv6 (yet). Make a config file that disables IPv6. Run the command sudoedit /etc/apt/apt.conf.d/99force-ipv4, put Acquire::...

View answer
How to indicate read / write disk operiation via LEDs connected to GPIO
Accepted answer
6 votes

Have a look at /proc/diskstats. It shows a lot of details per partition. Monitor for changes and light up an LED connected to the GPIO. You could even whip up a script and monitor multiple individual ...

View answer
Low Energy Consumption Kernel
6 votes

The kernel already consumes negligible power. The software loaded on the pi would be the ones munching the most power because of processor time (Apache, databases, networking, etc.) Here are some ...

View answer
Wifi hotspot with redirect to HTML
Accepted answer
6 votes

You could do that with iptables. iptables -t nat -A PREROUTING -p tcp --dport 443 -j DNAT --to-destination localhost:80 iptables -t nat -A PREROUTING -p tcp --dport 80 -j DNAT --to-destination ...

View answer
IP Forwarding and Routing RPi 2B Jessie
5 votes

You're doing stuff wrong. You should only place net.ipv4.ip_forward=1 in /etc/sysctl.conf. Do NOT modify files in the /proc folder. It's okay, just be careful. You are simply accepting traffic and ...

View answer
largest raspberry pi cluster
5 votes

We can't really tell since anyone (including me) might have already built a 5000-node cluster and simply did not publish their work. The largest one that's made aware to the public is, in fact, the ...

View answer
Using GPU to decode QRCODE
Accepted answer
5 votes

In theory, you could use the OpenGL API to speed things up a bit. There's no implementation of OpenCL for now. You could design your code such that its calculations are a fragment shader according to ...

View answer
Raspberry B+ remove USB ports
5 votes

Of course you can. Go ahead and desolder them. It should't be a problem. Take a look at this: http://freneticrapport.blogspot.com.au/2013/01/first-raspberry-pi-model-512mb-off-re_24.html

View answer
RPi as Internet Gateway/Bridge
Accepted answer
4 votes

You're going to have to change your default routes. route del default route add default gw [WAN gateway/Internet-connected router IP address] [interface] For example: My internet router's IP address ...

View answer
GCLK and GEN pins
4 votes

GPIO_GCLK is the GPIO General Purpose Clock (GPCLK in the datasheet linked). You can set it to generate a square wave up to 125 MHz at 1.2 V, according to the BCM2835 ARM Peripherals datasheet page ...

View answer
Switch power banks by temporarily attaching two of them
Accepted answer
4 votes

I don't think a Y-cable would work since the two power banks would compete and eventually (if not instantly) one of them would break and possibly take the Pi with it. This solution might work (it ...

View answer
Raspberry Pi Zero: act as USB mass storage using power port, use data USB port for Wi-Fi
4 votes

can I use the power port to transfer data Your plan on using the power port as data already failed. No, the power port is power only. Here's another plan: /-> Wifi Adapter ...

View answer
SD card is titled “RECOVERY” and only has 1GB after using RPi
Accepted answer
4 votes

Simplified version: Raspbian partitions your SD card. The partition named RECOVERY is using the FAT file system. Also, it's usually the first partition. That's why you can open it up on Windows. The ...

View answer
Material that can be used as a switch for an LED
4 votes

If you are referring to the Raspberry Pi and wouldn't mind writing a few lines of code involving GPIO, the capacitive touch hat from Adafruit would suit you nicely. I'm not sure about the second ...

View answer
Can I use a DC-DC step up module to power a Raspberry Pi from 2AA batteries?
4 votes

I also have an outrageous setup, but with way bigger batteries and is in a server setup. Your idea will work, as stated by joan. What I would do differently is I'd get a power bank instead. Attach ...

View answer
Is my raspberry Pi dead
Accepted answer
4 votes

It's dead. It should have been okay if the board was completely silent (blown polyfuse, wait a few hours) but you mentioned that the SOC heats up immediately. Therefore, it's most probably dead.

View answer
Multiple OpenVPN clients on Raspberry Pi
Accepted answer
3 votes

What I'd recommend is simply fire up multiple instances of OpenVPN using different configuration files. You'll want to do something along the lines of /usr/local/sbin/openvpn /etc/openvpn/...

View answer
1
2 3 4 5
8