Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [debian]

Debian is an operating system that is based on GNU/Linux. It was previously recommended by the Raspberry Pi Foundation as the standard distribution, but Raspbian is now being recommended.

152
votes
16answers
112k views

Prepare for ssh without a screen

I have a Raspberry Pi model B at home, but I do not have a screen. My plan is to connect it to the Ethernet and then ssh into it. But this means that the SD card with the operating system (Debian ...
79
votes
5answers
172k views

How do I prevent the screen from going blank?

I am running the Debian wheezy beta and using my Pi to display my geckoboard dashboards using midori, as a result I want to prevent the screen from going blank, which it does after 10 minutes (though ...
2
votes
2answers
8k views

Running a script after an internet connection is established

I am trying to run a very small python script AFTER internet has been established. I am currently editing /etc/network/if-up.d/upstart by adding the following code directly under all_interfaces_up(): ...
94
votes
7answers
254k views

How can I determine which OS image I am running?

I have been given a pre-installed SD card. It boots fine, and I know it is running some version of Raspbian. Can I determine exactly which release it is running?
18
votes
2answers
39k views

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 ...
4
votes
2answers
6k views

Resetting usb device from terminal

I am using a USB IR Toy v2 and using this excellent https://github.com/crleblanc/PyIrToy python library to get it working after failing to get things going with LIRC. However, while it works once, ...
3
votes
3answers
3k views

How do I run a single line of code (with sudo) on boot up?

I'm creating a server on my RPi that's on a timer, so I want to have a command run at startup to begin the server processes. I've seen this: Execute script on start-up, but it doesn't explain it well ...
16
votes
1answer
41k views

Run all online traffic through an PPTP VPN connection

I would love to run all outgoing traffic (particularly torrent and web) through an PPTP VPN connection (to be specific a StrongVPN.com VPN). Everything needed to setup and more important to startup ...
36
votes
3answers
26k views

How can I tell if I am using the hard-float or the soft-float version of Debian/Raspbian?

Let's assume that I am dropped into a room with a Raspberry Pi running either Debian or Raspbian. How do I find out if it has hard float support or if it is just using soft float?
8
votes
2answers
20k views

Why does USB port enumeration change?

I'm using a Huawei GMS/UMTS USB modem with Gnokii and Gammu. The modem was in the lower port on Pi. With dmesg | grep tty it would show up on /dev/ttyUSB0 and /dev/ttyUSB1. (2 USB devices on 1 stick ...
11
votes
1answer
27k views

Auto-start X-windows / gdm on the standard Debian build

I've built a bootable SD from the official Debian release. Is there an easy way to get GDM to auto-start when the machine boots (like a typical Linux desktop)? For bonus points, is there a way to ...
9
votes
5answers
12k views

Can I Install Debian 64 bit on RPi 3

The Raspberry Pi 3 is built with a 64 bit chip. Yet the Raspberry Pi Foundation has only released Linux distros are 32 bit. Can I install a 64-bit version of Debian on the RPi 3?
8
votes
5answers
14k views

Why does my Raspberry Pi keep on rebooting?

I have a Raspberry Pi running Debian. The boot.rc file in the boot partition is replaced with the boot_enable_ssh.rc so that I can access it with ssh. After that did not work, I connected it to a ...
29
votes
2answers
41k views

How to program a USB device with Debian/Python

The Pi is being promoted as an educational device primarily for Python. Inline with this, there have already been some great examples online of people accessing the GPIO from Python. However, most ...
26
votes
3answers
76k views

Simple Keyboard Configuration

My USB keyboard was configured slightly wrong. So far I have only tried it with the Debian image. Certain keys were not in the right place (such as the '~' character). I know how to change the ...
24
votes
1answer
26k views

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 ...
4
votes
3answers
78k views

Checking sdcard for errors, unmount problem

I've tried running running a disk check, then I got a complain pi@raspberrypi ~ $ /sbin/fsck fsck from util-linux 2.20.1 e2fsck 1.42.5 (29-Jul-2012) /dev/mmcblk0p2 is mounted. WARNING!!! The ...
17
votes
1answer
11k views

What are the benefits of using Arch Linux over the standard Debian build?

From the Raspberry Pi downloads page: Debian “squeeze” If you’re just starting out, this is the image we recommend you use. It’s a reference root filesystem from Gray and Dom, containing LXDE, ...
28
votes
6answers
25k views

What is a typical boot time for the standard Debian distribution on a typical SD card?

How long does the RasPi take to boot when using the standard Debian distribution on a typical SD card? Are we talking less than a second? A couple of seconds? 10 seconds? 100 seconds? This isn't too ...
23
votes
3answers
18k views

How can I change the RAM split?

By default, the Pi is set to a 192MiB:64MiB RAM:VRAM split. As I will not be using the Pi for graphical purposes, I would like to change the split to allocate more normal RAM to ease swap usage.
21
votes
3answers
2k views

Console unusable after running SDL app

When certain SDL-based programs (e.g. prboom, dosbox) are run from the console (not X) and terminate abruptly for some reason (e.g. killed or segfaults), the screen locks up; It just goes black, and ...
17
votes
4answers
33k views

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 ...
6
votes
1answer
8k views

tutorial on crosscompiling .deb packages?

I'd really like to get to know debian packaging for the RPi I have read several useful tutorials on how to crosscompile with tools from https://github.com/raspberrypi/tools/tree/master/arm-bcm2708 ...
3
votes
2answers
8k views

Is it possible to install pcsc-lite 1.8.13 on raspbian OS?

I'm working on a raspberry pi project. I'm trying to install a driver package for ACR1251U-A1 NFC tag. This package requires to install pcsc-lite package at first. But as I understand after a search ...
22
votes
2answers
3k views

Playstation Emulation

Does anyone know if it is possible to get the PCSXR (Playstation 1) emulator to work on the Raspberry Pi? On both Debian Squeeze and Wheezy, running any game on it with the xvideo plugin just gives. ...
14
votes
4answers
25k views

Unable to grab image from usb Webcam

I would like to take snapshots from an USB webcam attached to my Raspberry Pi: First, I checked the device: pi@raspberrypi ~ $ lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub ...
9
votes
3answers
9k views

Running Debian (Debian, not Raspbian) on a Raspberry Pi 3

The original Raspberry Pis had an ARM11 core which used the ARMv6 architecture, and most distribution's ARM hardfloat ports require at least ARMv7-A, the reason for Raspberry Pi-specific distributions ...
14
votes
3answers
4k views

Rebooting the system

I've noticed that rebooting my RPi doesn't work. It just halts and doesn't come back up. To get it back I have to disconnect and reconnect the power. I'm rebooting using the simple command $ sudo ...
8
votes
8answers
50k views

Will not boot, black screen only

I recently installed Debian 7.0 (Wheezy) on a 32 GB SD card, but so far the Raspberry Pi has not been able to boot. I replaced the elf, bin files, etc... and the monitor is now getting a response,...
5
votes
4answers
6k views

Turning on HDMI programmatically doesn't work

I would like to turn on/off the HDMI via SSH. I use this command to turn off the HDMI: sudo tvservice -o and it works fine, my monitor turns off. But after that I would like to turn on the monitor ...
4
votes
3answers
20k views

Can I use USB Dongle to connect Raspberry PI to internet?

I have the Type B model Raspberry PI and I'm using Debian Wheezy. And I want to know if I can attach my USB dongle to the board. I have searched for support, but I haven't found my model listed. My ...
2
votes
2answers
1k views

Hosting my own domain on Colo Raspberry Pi (Soc)

I'm running Debian on a Raspberry Pi colocated with a static IP address. I want to host my domain and I have a few questions. I run lighttpd and can access my site via the static IP address. Note, ...
1
vote
3answers
6k views

Optimizing Apache, PHP and Mysql

I'm running a web server on my pi at the moment, I run a forum that uses PHP and Mysql. The Average load time is 1 – 2 seconds for a page, I know for sure this can be a lot faster. This is because ...
7
votes
1answer
5k views

How do I install Jenkins?

I have installed Jenkins, using sudo apt-get install jenkins and it did not work immediately, so i worked out to increase the size of the /run tmpfs. Now I am still getting errors in my jenkins.log, ...
7
votes
1answer
5k views

How do I install lighttpd (lighty) on Debian “squeeze”?

How do I install lighttpd on my Raspberry Pi? I tried running sudo apt-get install lighttpd, which works fine on a regular Debian 'squeeze' installation, but on a Raspberry Pi I get the following ...
5
votes
2answers
10k views

Entrusted Certificates installation

I have a very noob problem with my Raspberry Pi 3b (all updated to latest stable version available). I want to use it to automate some scripts I've written in R that run smoothly on my Win10 machine ...
3
votes
2answers
2k views

Why is the hostname Raspberry when I search my network?

When I search my network for devices, all my Raspberry Pi's are coming up with the name "Raspberry Pi". How can I change that name? Because when I use my Raspberry Pi's it's easier to connect to a ...
11
votes
2answers
5k views

Why do I have to `sudo`?

I've followed a couple of tutorials on my RPi and a lot of commands start with sudo; what does it mean and what does it do?
6
votes
3answers
17k views

Unable to obtain IP in AP mode

I'm trying to setup an access point, using Raling RT5370 USB Dongle on a Debian system, I followed the following tutorial, until "Internet connection Sharing.", I don't want to share internet, so I ...
3
votes
3answers
2k views

Which port of Debian Jessie to install on Raspberry Pi 2?

I'd like to install the stable Debian Jessie for ARM, which has 3 different ports to choose from. The 2nd seems to be the most optimized for the Raspberry Pi2, considering that it has a single (or 4?)...
2
votes
2answers
4k views

How can I increase the size of the ram disk

In Debian Wheezy If I make a ram disk with mke2fs -m 0 /dev/ram0 mount /dev/ram0 /mnt/ramdisk I get a ram disk 3.9M in size. I could really do with 16M, is there a way of making the ram disk bigger?
1
vote
1answer
1k views

How to install libfame-dev on Raspbian?

I am trying to install MythTV backend on an Raspberry Pi. I began following these instructions to install from source but I quickly hit a roadblock: pi@mythtvpi ~ $ sudo apt-get install <snip> ...
1
vote
1answer
1k views

Boot messages available over serial, however no login prompt :/

I've connected to the Raspberry Pi using a serial programmer for my Arduino. I've connected using screen and when I boot my Raspberry Pi it spits out all the normal kernel boot messages. However, at ...
0
votes
1answer
3k views

libjpeg8 on Debian 9 (Stretch)

I have huge problems getting the snes9x emulator to run on a Raspberry Pi 3b with the Debian 9 (Stretch) + Pixel desktop. It all boils down to libjpeg8 (libjpeg.so.8 library) missing. This library ...
0
votes
3answers
8k views

Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)

I'm trying to execute the command sudo apt-get -y install linux-headers-rpi to install this driver for a pm sensor. However, my raspi gives me this output every time when I execute this command: E: ...
0
votes
1answer
7k views

What to do when apt-get -f install fails?

sudo apt-get update hangs and suggests running sudo apt-get -f install, but that fails on a duplicate declaration. How can I fix this? The following NEW packages will be installed: libfont-afm-perl ...