Questions tagged [linux]

Linux is a high-profile computer operating system. The Raspberry Pi can run one of a number of Linux distributions, the most pupular being Raspbian (Debian-based) and Arch Linux.

Filter by
Sorted by
Tagged with
5
votes
2answers
572 views

500 OOPS: could not bind listening IPv4 socket (vsftpd in raspbian)

I configured the /etc/vsftpd.conf file then restart the vsftpd service. And when I go to check the vsftpd's running status, it returns: 500 OOPS: could not bind listening IPv4 socket I have done a ...
5
votes
1answer
974 views

rpi 2: Unable to change irq affinity

I am trying to optimise getting GPIO interrupts into userspace. On the single core rpi 1 I couldn't get rid of quite some timing jitter, which makes sense as there's a lot of stuff going on on the cpu....
5
votes
4answers
417 views

dd for image backup

My SD card corrupted itself but I have a back up image. The partition table leave 1GB unallocated space at the end so that I can restore to any 8GB memory card regardless of memory fluctuations. ...
4
votes
1answer
485 views

What OS version is installed

Users often seem confused about what Pi model they have and what OS version is installed or how to find details. Where is this located?
4
votes
2answers
157 views

How can I tell if a manufacturer provided SD Card image has malware or spyware bundled in it?

I bought an el cheapo 3.5" LCD for my Raspberry Pi from Amazon. It turns out there are many people making copies of the design, to the effect that the first(?) manufacturer says that their LCD is ...
4
votes
2answers
18k views

Where is syslog being written?

I have an out of the box Pi. See below on what I have done. If I have <?php syslog(LOG_INFO,'where are you'); ?> in a PHP script, where the the message being logged? $ sudo apt-get install ...
4
votes
3answers
451 views

Using Wi-Fi Adapter reboots Pi

I'm using an Edimax EW-7811Un in my Raspberry Pi 2 under Raspbian. Version is Linux stickpi 3.18.7-v7+ #755 SMP PREEMPT Thu Feb 12 17:20:48 GMT 2015 armv7l (or at least that's the closest I can find)....
4
votes
1answer
1k views

Can I write and read the pins of the GPIO just by using the shell?

I do not have programming skills, but I have some knowledge using the command line of the shell. Is it possible to get access to the GPIO just from the shell ?
4
votes
3answers
15k views

Installing Raspberry Pi Cross-Compiler

I am attempting to get cross-compiling for Raspberry Pi working on my Ubuntu machine. During my initial attempts I was using the arm-linux-gnueabi compiler, which is available in the Ubuntu repo. I ...
4
votes
2answers
3k views

How do I get the configuration and Module.symvers for a Raspbian kernel to compile a loadable module for my RPI 2?

I installed Raspbian using NOOBS_lite_v1_4.zip on a new microSD. After the initial install I ran sudo apt-get update sudo apt-get upgrade Running "uname -r" tells me I am running Linux version ...
4
votes
7answers
4k views

Can I connect two Linux systems via USB?

I would like to hook up my new Raspberry Pi A+ to an older B model without having to connect the A+ to WiFi. Can I connect them somehow via USB? Can I do it with a hub in between?
4
votes
2answers
46k views

Getting “No rule to make target 'modules'. Stop.” error when running makefile. What does it mean?

I'm trying to get a webcam working with my Raspberry Pi How do I install webcam firmware on the Raspberry Pi? I found a possible way of doing this with gspca. So I downloaded the file and unzipped ...
4
votes
1answer
1k views

tmux doesn't want to be installed

I had my Raspberry Pi running for a while and needed to uninstall all the junk I left behind for a project. I used tmux before and it was a blessing. I am trying to install it again, but it doesn't ...
4
votes
1answer
4k views

How do I use the I2C bus?

I want to attach an I2C device; it has 4 lines (SCA, SDL, +, -). I understand I can connect the first two to pins 3 and 5, and the last two to various places. I also understand I can multiplex the ...
4
votes
1answer
1k views

Cross compile kernel module

My goal is it to cross-compile a kernel module for my raspberry pi. But I have some compatibility issues with my kernel sources on my pc and the version on my raspberry pi. My Pi uses this version: ...
4
votes
1answer
95 views

Are there any downsides to using “apt” on the raspberry pi?

I normally use apt-get on the raspberry pi to update/install/etc., but I like just plain apt better because of the better interface and text coloring, etc. I can't seem to find anything on google that ...
4
votes
2answers
404 views

How to cross compile large projects?

Read through the posts on the website, and tried many scratchbox2/qemu attempts. I am beat when it comes to compiling large projects, that have many dependences. I found it easy to compile a single .c ...
4
votes
2answers
213 views

SSH session closses on TAB key

Since I upgrade the RaspMBC distribution in my Pi I have been experiencing a strange problem with SSH. When I connect to Pi using putty and press TAB, putty closes. I tried different versions of putty ...
4
votes
1answer
1k views

Periodic task in kernel module

I currently developing a gpio based kernel module for a custom protocol. As per requirements of protocol, I have to send data, clock and enable signal to output device throgh gpio. This data is 16-bit....
4
votes
1answer
4k views

libstdc++ Error: `GLIBCXX_3.4.22' not found

I was trying to cross-compile dlib for Raspberry Pi, using the arm-linux-gnueabihf compiler. After successful runs of cmake and make -j4, I ran python setup.py bdist_wheel --repackage, which created ...
4
votes
2answers
541 views

Thermostat for greenhouse

I want to prepare a homemade thermostat for my greenhouse project. I have enough knowledge about electronics and linux based embedded systems but I'm not skilled enough in programming, so let me ...
4
votes
1answer
341 views

2 different types of internet connection on the same machine

I'm working on an IOT home automation app using raspberry pi. I'm using a 3G modem dongle as a fail-safe internet connection with a primary wifi connection. If the primary connection fails, the ...
4
votes
1answer
1k views

Cross compile error from Ubuntu 14.04 to raspberry zero (using arm-linux-gnueabihf-g++)

I'm trying to cross-compile from my Ubuntu 14.04 (host) to the pi zero. Here is what I've done on host to cross compile a very basic example : > apt-get install g++-arm-linux-gnueabihf from here ...
4
votes
1answer
471 views

Which minimal Linux distro for RPi will fit on 16 MB SD card?

This is my first question here, so please be kind. I have an original RPi and a 16MB SD card, and I don't want to use another USB drive to run Linux from. Which tiny distro will fit entirely on this ...
4
votes
1answer
855 views

A USB modem not working on Raspberry Pi 3 Model B+

I have been trying set up USB modem on my pi (Raspberry Pi 3 Model B+) but have not been successful. The modem in itself is recognized - lsusb shows the entry for the device - but I cant't get it ...
4
votes
0answers
340 views

Is it possible to install Rocks Cluster Distribution on Raspberry Pi?

There are lots of websites about making a supercomputer with Raspberry Pi. Is it possible to install "Rocks Cluster Distribution" on Raspberry to have a more efficient cluster?
4
votes
0answers
852 views

How to profile code on raspberry pi? [closed]

Are there any open source or examples for using raspberry pi's ARM cpu's PMU, performance counter? It can be a bare metal example or user-space application. I have seen this and that (which I don't ...
4
votes
0answers
1k views

How can I read and write data to a Character Device File in Linux with PHP? [closed]

I'm trying to read and write to modules on the I2C bus on a Raspberry Pi using PHP. I'm using fopen() and fskeek(). Below is the code I've been trying to use to read data coming in from the physical ...
3
votes
3answers
6k views

What is the difference between running Linux a Raspberry Pi VS a regular system?

I'm new to Linux and Raspberry Pi's (I've been doing research on the two for a couple of days now) and I was wondering: What is the difference between running Linux a Raspberry Pi VS a regular ...
3
votes
3answers
3k views

Is “gedit” a command or text editor?

My question here has to do with "gedit." First of all, is it a Linux command or a text editor? From what I have been surfing up recently, gedit is, from my results, a GNOME text editor. And, at the ...
3
votes
2answers
932 views

Does “/dev/null” writes data to SD Card before discarding?

I want to maximize my sd card lifespan and Im wondering if redirecting output to /dev/null will reduce my sd card life.
3
votes
2answers
2k views

How can you update “Incredible PBX” for the Raspberry Pi without using the non-free, $20/year updater?

I have been a fan of Asterisk, and in particular the project The Incredible PBX. However, they charge $20 per year to update (for the raspberry pi). This updater installs security updates, among ...
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 ...
3
votes
4answers
11k views

Auto startup of the Midori web browser is not working on Raspberry pi

I am trying to start the Midori web browser on Raspberry Pi, on boot. These are the steps I've followed so far: I have edited the .bashrc file from the root folder using this command: sudo nano /...
3
votes
3answers
3k views

When does the OS kill an application?

I have an application which polls a bunch of servers every few minutes. To do this, it spawns one thread per server to poll (15 servers) and writes back the data to an object, however sometimes the ...
3
votes
2answers
9k 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(): ...
3
votes
2answers
965 views

SSH disabled by default

I'm quite new to raspberry and linux so this question might be easy to answer but i'm really clueless... I installed raspbian jessie and wanted to connect via ssh connection and putty. Unfortunately i ...
3
votes
1answer
4k views

Raspberry Pi cannot create temp file for here-document: No space left on device

I have a 16 MINI SD CARD been used in my Raspberry Pi . I currently have a few programs installed like vim and etc which should only take up around 300mb in total. Why does it say my /root directory ...
3
votes
1answer
383 views

Unmodified Linux Distro Install

I have several Raspberry PI units, but I always use the customized flavor of Linux (Raspbian) for installs. Does the Raspberry PI support the installation of an unmodified ISO from the various Linux ...
3
votes
2answers
637 views

Dual booting a Linux and Windows OS

I'm aware of BerryBoot, but this only allows the multi-booting of two or more Linux based OSes, So is there anyway to boot two different OSes? If not, can you please explain why not, as well, please?
3
votes
3answers
4k views

How to install NOOB's onto SDcard on Chromebook

I only have a chromebook. I have a RaspPie 3 B. I want to install NOOB's onto it. There is this guide here but it shows how to install an .img. Is there a way I can convert my NOOB's folder ...
3
votes
1answer
2k views

Removed dbus from raspbian

I have accidentally removed my dbus file on my Raspberry Pi 3 Raspbian OS ( full Operating system version) (not raspbian lite). I used the command apt-get remove dbus to do this uninstall of dbus. ...
3
votes
2answers
20k views

How do I remove 'Python Games' from Raspbian?

When you download Raspbian, there are 'Python Games' installed. Is there an easy/clean way of removing this from the system including the Menu? I preferably want to get rid of whatever 'Minecraft Pi' ...
3
votes
1answer
4k views

Installing OpenCV on Raspberry Pi: can't find packages

I'm trying to install OpenCV 2.4.7 on Raspberry Pi (Model B, OS: Raspbian). The guides I'm referring to are: 1. RASPBERRY PI + SIMPLECV + OPENCV + RASPICAM CSI CAMERA 2. Raspberry Pi + OpenCV 3. ... ...
3
votes
2answers
275 views

Install very basic linux

How can I compile a basic linux kernel on Rpi, or is it possible in a any way? I want a very basic linux with nothing on it but just Linux. Let me know if there are any alternatives or suggestions.
3
votes
2answers
4k views

Debian Jessie (Raspberry Pi) Install Postgres 9.6

I'm having difficulty installing Postgres 9.6 on my Raspberry Pi running Debian 8 (Jessie). I've tried two paths: According to these instructions: Add a pgdg.list file to /etc/apt/sources.list.d ...
3
votes
2answers
6k views

Change resolution on Raspberry Pi

I have my Raspi 3 connected with an HDMI cable, but the picture is totally blurred. The screen is a 4k screen from AOC. I tried to change the resulution in the /boot/config.txt file, but it didn't ...
3
votes
4answers
3k views

Encrypt specific directory on raspberry pi

After hard searching for a way to protect my python code on raspberry pi from strangers access, finally, I'm convinced with all answers I read "No Way to protect python code". But I still searching ...
3
votes
2answers
467 views

Save an image of a RPi thats booting from a hard drive

I recently setup my RPi so that it boots from a hard drive (as much as I could move off of the SD card anyways). Previously I was simply plugging my RPi SD card into my computer and making a clone ...
3
votes
2answers
2k views

/dev/null folder doesn't exist. Should I create it?

I am pretty new to the Rasperry Pi (and linux in general). I am currently using it as an irc bouncer. I have set a cron entry to make it check to see if znc is running every 10 mins. */10 * * * * /...