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.

Filter by
Sorted by
Tagged with
164 votes
16 answers
122k 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 ...
Till B's user avatar
  • 2,353
88 votes
5 answers
200k 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 ...
Steve Robillard's user avatar
8 votes
4 answers
96k 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 ...
Pentium10's user avatar
  • 325
7 votes
3 answers
30k 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(): ...
user8951490's user avatar
130 votes
7 answers
331k 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?
user avatar
21 votes
2 answers
51k 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 ...
nbsrujan's user avatar
  • 567
11 votes
2 answers
47k 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 ...
Ceschi's user avatar
  • 125
4 votes
2 answers
9k 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, ...
EnjoyThePi's user avatar
3 votes
3 answers
4k 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 ...
Anonymous Penguin's user avatar
44 votes
3 answers
34k 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?
fouric's user avatar
  • 1,789
30 votes
3 answers
77k 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 ...
ramblinjan's user avatar
  • 4,010
25 votes
3 answers
22k 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.
hifkanotiks's user avatar
  • 1,901
17 votes
1 answer
42k 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 ...
terman's user avatar
  • 273
15 votes
1 answer
28k 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 ...
Salim Fadhley's user avatar
12 votes
2 answers
27k 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 ...
RolfBly's user avatar
  • 619
10 votes
5 answers
17k 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?
Kranthi Kiran's user avatar
10 votes
6 answers
19k 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 ...
Till B's user avatar
  • 2,353
6 votes
4 answers
8k 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 ...
szuniverse's user avatar
3 votes
1 answer
7k views

RaspberryPi as a passive Man in the Middle

I think about using a Pi to sniff LAN traffic in an fixed environment. Main problem is that the Pi should not have an IP adress nor being "visible" in the network. I got an second lan interface (USB) ...
m3ta's user avatar
  • 45
2 votes
4 answers
5k views

Linux modules mismatch version

I have a very unusual condition, perhaps a partial update or unknown condition. #>uname -a Linux sip02 4.14.30-v7+ #1102 SMP Mon Mar 26 16:45:49 BST 2018 armv7l GNU/Linux #>uname -r 4.14.30-v7+...
fcm's user avatar
  • 1,839
33 votes
2 answers
44k 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 ...
winwaed's user avatar
  • 1,459
32 votes
6 answers
34k 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 ...
winwaed's user avatar
  • 1,459
26 votes
1 answer
29k 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 ...
Bengt's user avatar
  • 2,427
24 votes
2 answers
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 ...
finnw's user avatar
  • 5,800
23 votes
2 answers
4k 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. ...
Joshun's user avatar
  • 339
22 votes
7 answers
48k 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 ...
Harry Weston's user avatar
21 votes
1 answer
11k views

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

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, Midori,...
Mark Booth's user avatar
  • 4,330
17 votes
4 answers
33k 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 ...
Mokus's user avatar
  • 973
15 votes
3 answers
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 ...
Jon Egerton's user avatar
  • 3,053
13 votes
2 answers
6k 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?
Alex Chamberlain's user avatar
12 votes
3 answers
5k views

How can I enable the GUI on the Debian "Squeeze" Image?

The downloads page indicates that this image includes LXDE, but I'm having trouble enabling it.
ramblinjan's user avatar
  • 4,010
9 votes
3 answers
12k 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 ...
Billy's user avatar
  • 212
9 votes
1 answer
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, ...
hifkanotiks's user avatar
  • 1,901
9 votes
3 answers
22k 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 ...
Mokus's user avatar
  • 973
8 votes
1 answer
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 ...
Simon Whitaker's user avatar
8 votes
10 answers
80k 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,...
Thomas Anthony Cuschieri's user avatar
7 votes
1 answer
9k 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 ...
Jens Peter Nielsen's user avatar
5 votes
3 answers
8k views

reconfigure locale failed

I run sudo dpkg-reconfigure locales via SSH. After selecting <Ok> I have the error message below $ sudo dpkg-reconfigure locales perl: warning: Setting locale failed. perl: warning: Please ...
A.B.'s user avatar
  • 244
5 votes
3 answers
22k 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 ...
biswajit's user avatar
  • 201
4 votes
6 answers
24k views

anydesk: error while loading shared libraries libbrcmglesv2.so

After installed anydesk_6.0.1-1_armhf.deb I clicked internet->anydesk but nothing happened, so I use command #/usr/bin/anydesk anydesk: error while loading shared libraries libbrcmGLESv2 #ln -s /...
AllenBooTung's user avatar
4 votes
2 answers
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 ...
ParisNakitaKejser's user avatar
4 votes
5 answers
55k 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: ...
Marc's user avatar
  • 43
3 votes
3 answers
3k 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?)...
user12711's user avatar
  • 177
3 votes
2 answers
11k 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 ...
yusuf's user avatar
  • 131
3 votes
2 answers
5k 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?
David Sykes's user avatar
  • 1,435
2 votes
3 answers
7k 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 ...
Laurence's user avatar
  • 365
2 votes
2 answers
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, ...
Dr.Avalanche's user avatar
2 votes
1 answer
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> ...
me--'s user avatar
  • 312
1 vote
1 answer
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 ...
PersonOfInterest's user avatar
1 vote
1 answer
2k 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 ...
mattsoftware's user avatar