Most Popular

1500 questions
22
votes
7 answers

Raspberry pi autostart of LXDE does not work

I upgraded a raspberry Pi installation with a Pi 2. But since I upgraded all packages, the autostart does not work anymore: neither this seems to be working: sudo nano /etc/xdg/lxsession/LXDE/autostart nor this: sudo nano…
S.Spieker
  • 545
  • 1
  • 6
  • 18
22
votes
5 answers

Copy current SD image to larger SD card

So I got my new pi and the only free SD I had was 2GB. I couldn't hold off playing with it so it had to do for the time being. I loaded raspbmc and then spent time loading repositories, add-ons and customizing to my liking. I now I have a 16GB class…
Kevin Brey
  • 598
  • 1
  • 3
  • 9
22
votes
7 answers

How do I increase the terminal font size?

I have a Raspberry pi B, using Debian, just rigged up with a 3.5 inch TFT-LCD monitor via VGA. The text size in command line mode is too small to read, so I would like to increase its size, and one method says "edit /boot/config.txt". However the…
Harry Weston
  • 457
  • 2
  • 6
  • 16
22
votes
3 answers

Why are some GPIO pins HIGH when the Raspberry Pi boots up?

I have an easy circuit wired up, with an LED connected to pin 18 on the BOARD reference. I run a simple program to put pin 18 to HIGH, which turns the LED on, and then a couple of seconds later, I set pin 18 to LOW, and finally I end my program with…
Viktor Raspberry
  • 415
  • 2
  • 4
  • 9
22
votes
1 answer

Configure Xbmc/kodi via command line

I have installed xbmc/kodi on a headless raspbian (no keyboard, no mouse). I thought to configure it with the webserver configuration tools, but I am not able to enable it as I cannot access the GUI: how can enable it via command line?
pasine
  • 321
  • 1
  • 2
  • 5
22
votes
8 answers

Force IPv4 address

I upgraded my Raspberry Pi to Jessie, which uses systemd. One side-effect is that it connects using IPv6 only and does not have an IPv4 address. How can I force it to get an IPv4 address from the DHCP server? One ad-hoc solution is the command sudo…
John Smith
  • 1,251
  • 3
  • 17
  • 27
22
votes
2 answers

How can my Raspberry PI start my TV?

My Raspberry Pi is running RaspBMC and is hooked up to my TV via a HDMI cable. I never turn off the Pi itself, but I tend to turn the TV off when I'm not using it. However, once the Pi senses any input (key-down etc), it turns my TV on. How is this…
Zar
  • 323
  • 1
  • 2
  • 5
22
votes
10 answers

How do I discover the IP address of my headless RPi?

I've configured my RPi to be headless, and plugged it into my router. How do I discover the local IP address so I can ssh into it? Update: Lots of documents point out that you can log into the router and look at the DHCP table. What if you don't…
fearless_fool
  • 583
  • 1
  • 4
  • 15
21
votes
7 answers

Multiple temperature sensors with a Raspberry Pi

I have seen plenty of examples for using one temperature sensor with the Raspberry Pi, however, how can I multiplex 5-6 temperature sensors to a Raspberry Pi? I want to read the temperature from several sources simultaneously. Can I simply assign…
jc303
  • 313
  • 1
  • 2
  • 7
21
votes
5 answers

Write an OS for Raspberry Pi in C

I already found the Baking Pi tutorials, but they only use assembly language. I followed the first lessons, but I am already wondering how to use C instead. I mean, there is a reason they invented higher-level languages. I tried just compiling the C…
11684
  • 465
  • 1
  • 3
  • 13
21
votes
2 answers

Install software on raspberry pi offline

As of now I don't have a wifi adapter for Raspberry Pi with me. If I want to update or install any software, my Rpi should be connected to internet. Is there any way I can install software in offline mode? Is there any source where I can find…
nbsrujan
  • 567
  • 3
  • 6
  • 16
21
votes
5 answers

How to make an image (.img) from what's on the SD card (but as compact as the original one)?

I tried: sudo dd bs=4k if=/dev/mmcblk0 of=/media/1BAB47551C66A42B/raspbian_migs2.gz It creates an .img file with 7.6 GB (card size, BUT what's on the card has 700 MB). And: sudo dd bs=4k if=/dev/mmcblk0 | gzip >…
mf_
  • 313
  • 1
  • 2
  • 6
21
votes
3 answers

How to successfully emulate RPI on OSX?

I followed this guide to emulate RPI on OSX via VirtualBox and it works. Now I'd like to simplify things a bit since this solution involves running debian in a virtual machine just to run qemu on top of. I googled for guides on how to setup qemu…
George Profenza
  • 651
  • 5
  • 10
  • 23
21
votes
5 answers

Raspberry Pi Zero W keeps deleting wpa_supplicant.conf and ssh file

I am trying to headless setup a Raspberry Pi Zero W. I have added the wpa_supplicant.conf files as suggested. network={ ssid="My WiFi 2.4" psk="mypassword123" key_mgmt=WPA-PSK } I have also created an empty ssh file. However, the…
Jenny
  • 211
  • 1
  • 2
  • 3
21
votes
2 answers

How do I upgrade Raspbian Lite to Raspbian PIXEL?

This question assumes a system has up-to-date package lists and packages via apt-get update && apt-get dist-upgrade. With the release of Raspbian PIXEL Raspbian no longer uses the standard LXDE desktop but the new PIXEL desktop. (This has somewhat…
cjs
  • 843
  • 1
  • 6
  • 15