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
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
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
44 votes
3 answers
33k 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
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
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
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
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
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
22 votes
8 answers
67k views

"Failed to connect to non-global ctrl_ifname" when running wpa_cli reconfigure

I am using a Raspberry Pi 2, running Debian Jessie, and I have a problem with my Wi-Fi connection, after setting my /etc/network/interfaces: # interfaces(5) file used by ifup(8) and ifdown(8) ...
Balsam Qassem's 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
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
20 votes
1 answer
1k views

Bad keyboard bouncing with Dell keyboard

I've tried several Dell keyboards with the Pi, and all the ones I've tried (they're definitely not faulty, work fine elsewhere) "bounce" horribly - that is every so often it doesn't seem to detect I'...
berry120's user avatar
  • 10.9k
19 votes
4 answers
23k views

Build custom Raspbian OS image from source

UPDATE: This answer was given a long time ago. It will not build Raspbian Jessie - it will build whatever the Raspberry Pi Foundation's latest released image is based on. At time of writing, this is ...
Mike Roberts's user avatar
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
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
4 answers
8k views

To what extent can the device be used without a mouse?

I'm sure I read somewhere that the RPi can be used without a mouse, but is this 100% true? (I am planning on using debian.) To what extent can I control it without a mouse? Will I be able to do ...
ACarter's user avatar
  • 2,350
15 votes
4 answers
67k views

How can I connect to a USB serial device?

I have a device with a USB serial port cable that I'd like to connect to my Raspberry Pi. The chipset for this USB to serial cable it the PL-2303 from Prolific Technology, Inc. How can I read data ...
Swinders's user avatar
  • 255
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
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
15 votes
2 answers
1k views

What's the quickest way to start playing a movie after attaching power?

I want my Raspberry Pi to start looping a predefined .mp4 movie (/home/oliver/awesome.mp4) as soon as possible after attaching power to the device. This has to happen without any user interaction and ...
Oliver Salzburg's user avatar
14 votes
2 answers
33k views

How do I install Bluetooth for my mouse and keyboard?

Can I get step by step directions for installing a generic Bluetooth dongle, so that I can use an existing bluetooth mouse and keyboard? This answer to the question How can I use a bluetooth mouse ...
zenbike's user avatar
  • 2,490
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
13 votes
1 answer
5k views

Is it possible to run a DHCP server?

Our home router is terrible at remembering configured static IPs, I'd like to use my RasPi instead. Is there anything particular I need to consider when setting it up?
Tom Medley's user avatar
  • 4,069
13 votes
2 answers
2k views

How do I resize my debian partition?

I've seen advice here for resizing, which is fine if you have another linux distribution to work with. How can I do resize the partition otherwise? Are there any Windows tools for example?
weston's user avatar
  • 321
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
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
12 votes
2 answers
22k views

How to install lighttpd with php?

I've installed lighttpd, and it is working fine. I've tried to install php5 as described here, but when I try the last step sudo service lighttpd force-reload I get: [FAIL] Reloading web server ...
Euphorbium's user avatar
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
11 votes
2 answers
18k views

How do I connect/disconnect a flash drive from the command line? [closed]

I am running Debian. I can plug in and view the contents of my flashdrive using filemanager under X, but how can I do this from the command line, and how can I safely remove it when I am done?
Steve Robillard's user avatar
11 votes
1 answer
1k views

Why do I always have to run apt-get update twice? Or do I?

Every time I run apt-get update, I get the following message (the exact duplicate package is different depending on the last entry in sources.list): W: Duplicate sources.list entry http://ftp.uk....
Tom Medley's user avatar
  • 4,069
11 votes
1 answer
8k views

Upstart in Debian/Raspbian

I've switched from sysvinit to upstart but get the below message whenever I attempt to start a service: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection ...
peterstrapp's user avatar
11 votes
1 answer
21k views

How Can I Emulate An x86 CPU on a Raspberry Pi with Qemu?

NOTE: I am aware that this question has been asked before HERE, but after having followed that question step by step, troubleshooted on my own and having done plenty of research on the internet to try ...
HyperCell's user avatar
  • 111
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
10 votes
1 answer
6k views

How do I install distcc?

I have read How to build a GCC 4.7 toolchain for cross-compiling? and have successfully built a simple test program that works on my RPi. To do this, I had to run arm-unknown-linux-gnueabi-gcc hello....
Alex Chamberlain's user avatar
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
1 answer
13k views

How to investigate why device crashed?

My Raspi after 6 days of uptime just crashed. I wasn't able to see nothing on the screen, if I plugged a USB device, no action from it. And all the LEDs were steady and not a blink at all. I have the ...
Pentium10's user avatar
  • 325
10 votes
3 answers
13k views

Can't access shared libraries when running with sudo

I'm trying to get a demo working writing PCM to the I2S; I've created a small demo program that gives an error when I run with the following command ./demo stereo_small.wav can't open /dev/mem So I ...
Dog Ears's user avatar
  • 2,027
9 votes
4 answers
16k views

How to Wake the Raspbery Pi Display Without Disabling The Screensaver

People have asked how to disable the screen from going blank or to sleep, but I have a slightly different question. I would like to be able to remotely wake a sleeping or blank display, but then ...
GrandAdmiral's user avatar
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
9 votes
1 answer
8k views

Prevent screen from going blank for kiosk

I should start off by saying I am fairly new to Linux. I want my pi to scroll through pictures in Image Viewer and never sleep. I've followed these instructions from another question to try to fix the ...
morrisbw's user avatar
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
3k views

How can I run Stella (Atari emulator) on the Raspberry Pi?

I am trying to run Stella, the Atari emulator that is in the Debian repository. If I run it from X, it's very slow and I am not able to use OpenGL acceleration. Plus, the full screen doesn't fit the ...
Alessandro Cosentino'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
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
8 votes
1 answer
18k views

cowsay not working?

I have Debian Squeeze installed on my Raspberry Pi and I'm trying to learn some basic Linux commands. I stumbled upon an article titled Funny things to do in the terminal and proceeded to install ...
EGHDK's user avatar
  • 1,341

1
2 3 4 5
7