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
1
vote
2answers
3k views

How can I install Lantern on Raspbian?

Purpose I bought a Raspberry Pi 2 B , and I want to build a Lantern network at home. So I want to use the Raspberry Pi as a router. What I know I know the Lantern for Linux version is based on Debian,...
1
vote
0answers
580 views

Minimal Navigation for Chromium Kiosk

I am running a lightweight Raspberry Pi web kiosk intended to provide public access only to our library website. However, I need a way for users to navigate back, forward and home without having full ...
2
votes
2answers
4k views

raspbian + libavcodec + which source repository

I have a Raspberry Pi 2 which is running Raspbian (Noobs 1.9.2). I'm able to install the libavcodev-dev package with the following command: sudo apt-get install libavcodec-dev It seems libavcodec ...
3
votes
2answers
6k 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 ...
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 ...
2
votes
1answer
2k views

Where are packages installed in Raspbian

I installed postgresql. sudo apt-get postgresql-9.4 I am not able to find, where it was installed. Where is the data folder of the postgres
1
vote
2answers
815 views

HTTP Server stops after some time

INFO: I'm referring to this question I asked on Super User, but couldn't get an answer. Since my system is a RaspberryPi running Debian I think this is a good place for it. I'm currently running a ...
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?)...
1
vote
0answers
273 views

Raspbian dialog package problems on boot

I made my own UNIX shell script that runs at boot that helps me mount/unmount USB drives. I use the dialog package for my interface. The code works fine when I run it normally but on boot the dialog ...
11
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?
1
vote
0answers
175 views

Raspbian installation fails: Bad archive mirror

I'm following the instructions here on installing a fresh installation of Raspbian. I get as far as 'Choose a mirror of the Debian archive' but I am then greeted with the error 'Bad archive mirror' ...
1
vote
3answers
220 views

No space on 8gb usb stick shows 100% du shows 3.5mb

root@rasp:/home/pi# df df: `/squashfs': No such file or directory Filesystem 1K-blocks Used Available Use% Mounted on rootfs 7498344 7481956 0 100% / dev 116816 ...
2
votes
1answer
104 views

How to make a distribution bootable on raspberry pi / package migration from 32-bit x86 Debian install?

I have a Debian based distro that boots and runs fine on a 32-bit PC. What I would like to do is be able to do the same with this distribution on a Raspberry Pi. It has packages on it that are custom ...
0
votes
2answers
746 views

How do you compile a c++ programs to use Hard Float in Raspberry using Debian OS?

How do you compile a c++ program to use Hard Float registers? It is said in the FAQ section of Raspbian that the following tags are the only ones required when compiling. -march=armv6 -mfpu=vfp -...
2
votes
2answers
3k views

How to remove the first line on the MOTD screen?

I know how to customize the MOTD screen but I dont know how to remove the first line. This is what I did: /etc/motd (customize this file) /etc/ssh/sshd_config: Change the setting PrintLastLog to no, ...
18
votes
2answers
46k 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 ...
1
vote
2answers
164 views

Is there a Pi Simulator application for Debian?

I am still busy setting up a workstation/workbench for my PI, but in the mean time I would like to start getting to know some of it's internals, i.e. conversing with it. "How is your GPIO pin n, or ...
2
votes
1answer
3k views

What is needed to get I²C working with Debian Jessie?

I have a custom system running on a Raspberry Pi B+ V1.2, based on Debian Jessie (buildroot, systemd, udev) - not Raspbian - and a custom built 3.19.3 Kernel chainloaded by U-Boot and a custom init ...
17
votes
4answers
27k 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 ...
1
vote
2answers
411 views

Energy profiling tools for linux

I was wondering if you can give me any tools for energy profiling in linux. I'm going to use it to compare between two algorithms that are going to be used on a Raspberry Pi, and if possible, I need ...
3
votes
1answer
187 views

Boot of device is slow when previous connected wlan network is unavilable

My boot time increased if the connected wlan network is not available. If the connected network random_rants is not available it takes more time to boot. My etc/network/interface configuration is: ...
2
votes
1answer
385 views

Is reboot command on Raspbian (Debian) reliable enough?

Is running "reboot" command enough to reliably restart the Raspbian (Debian) system if filesystem/hdd is ok? Will it work when there is an infinite loop in stop() function of rc script or if there ...
6
votes
2answers
10k views

Where is the GPIO header file (“linux/gpio.h”)?

I've been reading about the linux GPIO functions and tried to make a small example using the function gpio_is_valid, but the compile fails because it can't find linux/gpio.h. #include <iostream>...
1
vote
0answers
426 views

Kiosk Thermal printer

I'm trying to make the termal printer below to work with CUPS. The supplier emailed me the printer's drivers. Now CUPS is recognizing the printer, but when I try to print out anything, the job state ...
1
vote
2answers
149 views

Can i install a whole debian8 for arm in raspberry pi?

Which iso can i download from https://www.debian.org/CD/http-ftp/#stable arm64 or armel ? And dd the iso into my sd card to install os into raspberry pi?
8
votes
8answers
59k 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,...
0
votes
0answers
2k views

Static IP address with wheezy 3.18.11+ and dhcpcd.conf

found some questions/answers depending on older versions of debian. I'm using a newer one (3.18.11+) and I try to get dhcpcd with static IP addresses running. etc network interface auto lo iface lo ...
1
vote
1answer
1k views

Cant mount samba share hosted on Debian 8/samba 4.1.17

I used to use raspbian 7 before recently making a switch to a debian 8 image provided by this link https://www.collabora.com/about-us/blog/2015/02/03/debian-jessie-on-raspberry-pi-2/ While on ...
13
votes
4answers
62k 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 ...
6
votes
2answers
16k views

CUPS Printer Stalls at “Sending Data to Printer”

This is related to a previous problem, though the problem has changed significantly so, I have opened a new thread. I'm trying to set up a Cannon iP4850 with Cups (for my Raspberry Pi) running on ...
3
votes
1answer
8k views

How to automatically mount a samba drive on boot?

I have this in my /etc/fstab //192.168.1.1/S_Drive /mnt/readyshare cifs sec=ntlmv2,username=XXXX,password=XXXXX,uid=1000,gid=1000,iocharset=utf8 0 0 everytime I reboot the pi2, it says [FAILED] ...
0
votes
2answers
412 views

Installing Tracks 2.2.3 on Raspberry Pi

I want to install Tracks on my Raspberry Pi for task/time management. My Pi is running the latest Raspbian, i.e. I have updated it to the latest package versions. There is a rather cryptic guide on ...
1
vote
1answer
190 views

Clone OS to new micro SD for Raspberry Pi 2

If I clone the SD card on my original Pi to a micro SD on my Pi 2 will it run?
0
votes
3answers
1k views

What application (and options) should I use to get terminal access to my Raspberry Pi over a USB/serial cable on Linux?

I've got a Raspberry Pi with a Raspbian SD card, connected to my Debian laptop via a USB TTY cable. The cable is supplying power to the board; my user is in the dialout group, and can see /dev/ttyUSB0....
3
votes
2answers
4k views

Debian Jessie or Raspbian Wheezy for Raspberry Pi 2

I wonder whether I should install Raspbian or normal Debian Jessie on my Pi 2. Since Pi 2 has a ARM Cortex-A7 CPU it does not depend on the hard float modification anymore. This means, I could simply ...
1
vote
1answer
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 ...
0
votes
2answers
1k views

I want to get tor-browser-bundle to run on an RPi2 B. What OS can I use? What are the steps?

I have been trying for months to get tor-browser-bundle TBB to run on my RPI2. My knowlege of linux is very limited. I have tried to download from Torproject and cannot get it to run. I have tried in ...
0
votes
1answer
1k views

Upgrade raspbian to jessie [duplicate]

The question has been asked here. I have a raspberry pi 2, running Raspbian, I want to upgrade to Jessie. the answers say, change wheezy to jessie. I don't know about debian, haven't run it on PC ...
0
votes
4answers
14k views

How do I install snort on RPi?

I was trying to install snort and everytime I encounter a problem I tried to follow this link http://www.snort.org/assets/167/IDS_deb_snort_howto.pdf but then I realized that it cannot be applied on ...
3
votes
0answers
167 views

RPi cold boots into low resolution (LCD)

I have this LCD connected to my RPi B+ (HDMI). I have configured the boot config.txt to enable its 1024x600 resolution, however, on COLD boot - it runs at a lower resolution. Only after a SOFT reboot, ...
0
votes
3answers
2k views

Unable to send file from Raspberry Pi to my system through SSH

I am using debian in my raspberry pi and Ubuntu12.04 in my laptop. I am trying to send some files from my raspberry pi to my laptop. For this I use SSH and use this command:- sudo scp acc.c tabish@10....
3
votes
3answers
19k views

How do I run a background service written in MONO?

I need the service to automatically start upon boot, it does not require console access for a start. Ofcause it would be nice to be able to produce some output for logging/debugging/stats. But for now,...
0
votes
0answers
60 views

What does following msg/error mean: GDBus.Error.org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject [duplicate]

The Title says it all. We just got a Raspberry 2 with a Debian Linux on it. After hitting 'Startx' the windows come up and we get this message: GDBus.Error.org.freedesktop.PolicyKit1.Error.Failed: ...
0
votes
1answer
522 views

Poor wifi performance after upgrading XBian with TP-LINK TL-WN823N (rtl8192cu)

I'm on a RPi B+, with an USB Wifi adapter, TP-LINK TL-WN823N, wich uses a rtl8192cu chipset, and is a N adapter. I have also a TP-LINK N router. I was using XBian 1.0RC3, and I recently upgraded; ...
0
votes
1answer
1k views

RPi won't connect to ad-hoc

As you see i'm newbie here. I get a RPi, and i put raspbian in her, all work fine except internet that wan't connect . The hotspot is an nokia mobile running JoikuSpot Lite that creates only Ad-hoc ...
6
votes
2answers
968 views

Raspberry Pi One Touch Audiobook *Updated*

I am looking for anyone to help me out. I am trying to build this for my blind grandmother for Christmas. **Update, since I couldn't get it to work I switched to this guys update python script, ...
2
votes
2answers
240 views

Prevent libsane.so.1 from being overwritten during update

I need to run the latest version of Sane-Backends to support my scanner. I've compiled the source such that it's out of the way for the distro's package V1.22 but when I run an update it overwrites ...
28
votes
3answers
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 ...
1
vote
1answer
2k views

How to reach my mopidy server without port? [duplicate]

I just installed the mopidy server on my pi. And everything works fine, I use with web interface, and reach my pi on this ip address: http://192.168.1.105:6680/mopidy/ I installed the avahi-daemon ...
1
vote
2answers
15k views

Pi Performance: tcpdump vs wireshark

Questions: Which tool you would use to network capture a network bridge and why? focused on performance? heat built-up? focused on configuration options? Is it possible to capture special ports like ...