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
155
votes
16answers
113k 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 ...
99
votes
7answers
267k 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?
81
votes
5answers
176k 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 ...
36
votes
3answers
27k 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?
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 ...
28
votes
6answers
26k 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 ...
28
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 ...
23
votes
3answers
19k 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.
23
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. ...
22
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 ...
19
votes
5answers
34k 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 ...
19
votes
1answer
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, ...
19
votes
1answer
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'...
18
votes
2answers
41k 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 ...
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 ...
15
votes
4answers
17k views

Build custom Raspbian Jessie distribution image from source

I am wanting to generate a custom image of Raspbian Jessie (primarily modifying the UI and adding some extra packages). Thusfar, I have taken the image provided by the Foundation, modified it 'after ...
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 ...
14
votes
4answers
26k 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 ...
13
votes
4answers
6k 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 ...
13
votes
2answers
30k 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 ...
12
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?
12
votes
4answers
59k 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 ...
12
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 ...
12
votes
2answers
998 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 ...
11
votes
2answers
17k 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?
10
votes
3answers
4k 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.
10
votes
1answer
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....
10
votes
1answer
5k 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....
10
votes
4answers
24k 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) ...
10
votes
5answers
13k 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?
10
votes
1answer
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?
10
votes
1answer
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 ...
10
votes
2answers
19k 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 ...
10
votes
2answers
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?
9
votes
2answers
21k 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 ...
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 ...
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 ...
8
votes
1answer
7k 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 ...
8
votes
8answers
53k 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,...
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
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 ...
7
votes
1answer
3k views

How do I improve speed of photo/image resize? (~8MB to ~100KB)

I'm building a program which reads photos off an SD Card then resize the images and upload them to Flickr (note, it's a second SD Card reader, not the one on-board) The photos are high-resolution JPG'...
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 ...
7
votes
1answer
12k 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 ...
7
votes
1answer
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 ...
7
votes
3answers
10k 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 ...
6
votes
3answers
10k 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 ...
6
votes
1answer
821 views

How to add raspberry pi / raspbian distro specific build-deps to a Debian package

I'm one of the developers on the Motion project. We are trying to merge the popular motion-mmal fork used by a lot of Raspberry Pi users back into the main project's github repository. To build with ...
6
votes
1answer
11k 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 ...