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
2
votes
2answers
895 views

Read-only SD card and file system in RAM

There are number of articles about mounting SD card read-only, but I only found info, that if needed to write something, first of all you have to remount file system as readwrite. My question is there ...
2
votes
3answers
2k views

Configure Rpi 3 for ethernet router with jessie

I am configuring my Rpi 3 as ethernet router. I have used dnsmasq for configuring dns and dhcp server. The configuration files are given below. /etc/network/interfaces auto lo iface lo inet loopback ...
2
votes
1answer
257 views

Ideas on why my app won't run on Yocto RPi system?

I've built a custom 32-bit non-GUI Raspberry Pi image using Yocto (Morty), built the corresponding SDK, and used the SDK's toolchain to build an app. When I run the app on the RPi, from a command ...
2
votes
0answers
943 views

Raspberry Pi 3, chromium_browser, and Mobaxterm…Not happy!

I have a Raspberry Pi 3 setup running raspbien (usual os, jesie). I use mobaxterm to connect to the box and start up a gui. I can run several apps fine..such as gimp for instance. When I try and ...
2
votes
1answer
1k views

Cross compiling Qt on windows for raspberry pi, missing xcb dependencies

I am trying to start with Qt for Raspberry Pi on a Windows Dev System. To begin with to setup the environment, I followed the below as per the official wiki page. From starting at various stages, I ...
2
votes
0answers
847 views

RaspberryPi access point on wlan1 stopped working

I have a Raspberry Pi 3 with an external WiFi antenna wlan1 set up as an independent IoT access point without Internet connection following this tutorial, using hostap and isc-dhcp server. I omitted ...
2
votes
0answers
3k views

Raspberry/Linux doesn't recognize USB device

I'm using Raspberry Pi model B+ V1.2 to which I want to connect TP-LINK TL-WN823N Wireless N USB Adapter. I have connected device and this is what happened: pi@raspberrypi:~ $ lsusb -t /: Bus 01....
2
votes
1answer
2k views

How to save files from RPi 2 to USB stick ( vfat )?

My application need to save some files from /home/pi/dir to /media/usb which is my USB stick 32 GB vfat formatted. When I try: mv /home/pi/dir/* /media/usb/dir/ it gives me this error : cp: cannot ...
2
votes
0answers
282 views

BLE alternatives to Beacon transmitter - Pi2

I'm working with a Raspberry Pi 2 Model B. Currently my Raspy sends a Beacon signal. No problem to receive it with an Android App. The problem is that iOS can find beacon devices only if i already ...
2
votes
0answers
131 views

Problems with Kali on raspberry pi, plus some mac issues

Just yesterday I was able to boot Kali on my raspberry pi without much of a problem. The following day, however I tried booting it as usual. It showed the boot screen and everything with the four ...
2
votes
0answers
220 views

xpra server error (error accepting new connection)

I'm having trouble connecting to my xpra server. I've installed Xpra version v0.14.10, on my raspberry pi 2 which running on Raspbian Jessie Distro. I connect to my RPi through putty with X11 ...
2
votes
0answers
642 views

Specify interrupt in devicetree overlay

I have created a devicetree overlay to add an MRF24J40 transceiver to Raspberry Pi. The interface of the transceiver is SPI and an interrupt request. After some trouble the device finally appears in ...
2
votes
0answers
403 views

Using kernel debug symbols on Raspberry pi

I see that I can install packages that contain the kernel debug symbols in Ubuntu as shown here. Is it possible to do the same for Raspberry pi? I'd really like to have kernel symbols for the raspbian ...
2
votes
0answers
63 views

what is the use of this patch 'ASOC: dapm: add code to configure dai link parameters from “rpi-3.12.y” '?

Recently i am working on the raspberry pi kernel rpi-3.12.y When i am using the latest image and modules of it, i am getting an error while rebooting or halting. The error message is like unable ...
2
votes
0answers
1k views

Python having trouble accessing usb microphone via Gstreamer to perform speech recognition with Pocketsphinx on a Raspberry Pi [closed]

So python is acting like acting like it can't hear ANYTHING from my microphone at all. Here's the problem. I have a Python ( 2.7 ) script that is suppose to be using Gstreamer to access my microphone ...
2
votes
0answers
288 views

samba server (smbd) causes “mount: / is busy” [closed]

I am developing an application on Raspberry Pi. I am using samba to share my RAMDISK over network. Here below you can see my fstab: proc /proc proc defaults 0 0 ...
2
votes
0answers
2k views

raspberry pi booting failed on custom kernel [closed]

hello I have compiled my custom kernel and pack initramfs into it. I have created two partition fat32 and ext3. fat32 contains bootloaders and kernel and ext3 contains rootfs. I have made a raw disk ...
2
votes
1answer
34 views

Investigation - pi's password is lost in every reboot issue

I'm investigating this issue: pi's password is lost in every reboot. Issue summary: Change pi's password by passwd command -> reboot -> the changed password always will be changed to another which we ...
2
votes
3answers
189 views

Special OS for a special device

Why does the RPi need a 'special' kind of Linux ? Why can't it run any distribution ?
1
vote
3answers
176 views

Are there any `armv6j_hardfp` binary repositories for Gentoo?

Since the Raspberry Pi hardware is non-ambiguous, the point of compiling optimized to the individual machine is pretty moot, while I'd still like to use Gentoo on my Raspberry Pi due to uts excellent ...
1
vote
1answer
488 views

Why won't my systemd execute?

I get this error message when I try to run systemd: Failed to create /user.slice/user-1000.slice/session-c2.scope/init.scope control group: Permission denied Failed to allocate manager object: ...
1
vote
3answers
923 views

how to enable super user to modify config.txt file to enable codex

I am trying to edit the config.txt file so that I can add the licence codec key codes. I have noobs and Raspbian installed on the Pi. When I use the text editor that comes with Raspbian to try and ...
1
vote
1answer
5k views

How to disable wireless AP on RaZberry

I'm trying to set up a home automation system using a Raspberry Pi 3 (with a RaZberry 2 Z-Wave controller) and the Z-Way Z-Wave Controller. I've set up my Pi with a complete SD card image, as ...
1
vote
2answers
2k views

RaspberryPi: Auto fix root-filesystem at boot-time

I have several RaspberryPi's running (~100). After a power breakdown some devices no longer started with the following error message: It seems that the root-partition is broken. After I have ...
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 ...
1
vote
2answers
937 views

Faster Way To Transfer Video FIle

I have a Raspberry Pi with Raspbian installed in it, and I would like to receive video files on My Ubuntu machine from Raspberry through a switch via Ethernet(CAT5). Note: I can connect both devices ...
1
vote
1answer
1k views

Raspberry Pi Executables and Redirection

I have an executable that I am running on the Raspberry Pi. When the program is run, output is displayed on the terminal, but when I use the redirect operator >, I get nothing in the text file. ./...
1
vote
1answer
62 views

chrome won't install because of architecture?

I am trying to install Chrome on a 64 bit, see all info below. I also tried this on Ubuntu and get the same thing. Chrome won't install because of the architecture. I am some what knowledgeable with ...
1
vote
2answers
13k views

How can I install numpy and pandapower?

How can I install numpy and pandapower on the RASPBIAN JESSIE LITE Minimal image based on Debian Jessie? the one without the GUI. And how can I install Pip and miniconda on it as well?
1
vote
1answer
143 views

How to run pry on Debian Linux for ARM

I installed rvm and Ruby 1.9.3p194 on a Raspberry Pi using Debian Linux. When I installed pry using gem install pry, everything installed perfectly but typing pry in a terminal didn't work: pi@...
1
vote
3answers
997 views

Does the “Raspberry Pi Touch Display” work with regular kernel?

Firstly, please excuse if this question seems bit noobish, I just started thinking about getting Raspberry PI, I don't have any experience neither with it nor with ARM platform (well, my phone, but ...
1
vote
2answers
19k views

How do I unzip a file? [closed]

I am new to the Raspberry Pi and I have a Pi 3. I cannot figure out how to unzip a file. I tried using Archiver, but I get an error message.
1
vote
1answer
8k views

Cannot save changes to config file in /etc/kbd/config

I am attempting to disable text and screen blanking in my Raspberry Pi but I cannot save the changes as it says "Can't open file to write". How can I fix this?
1
vote
2answers
329 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 ...
1
vote
1answer
3k views

using os.path.expanduser(“~”) I am getting /root instead of /home/pi

While logged in as "standard" pi user, I am expecting the path to the user directory to be /home/pi – which is the case when I open File Manager, for example. However, when I run this script I get /...
1
vote
1answer
726 views

all commands in raspbian terminal stop working

I run Raspbian. Everything worked fine until now, when it seems I can't use any command on my Raspberry Pi. I tried to reboot. And now it doesn't connect to wifi. @raspberrypi: sudo su -bash: ...
1
vote
2answers
4k views

Captive Portal using DNSMasq

I'm trying to setup a captive portal (catch-all HTTP server) on a Pi. I have configured the Edimax USB adapter with DHCPD and hostapd and that works perfectly. Client devices can connect and access ...
1
vote
1answer
3k views

Cloning SD card causes “interface eth0 does not exist”

I have cloned my raspberry pi SD card after customising the OS. However, when I try to boot it on a different pi, everything appears fine, but eth0 doesn't show up in ifconfig. When I try 'ifup eth0', ...
1
vote
2answers
1k views

Install tightvnc in arch linux raspberry pi

How do I install the tightvnc in the Arch Linux os on Raspberry Pi? Are the procedures and commands different?
1
vote
1answer
33 views

Arecord: “main:828: device or resource busy” when run via systemd service, but works fine from CLI

I have a python script which, when a GPIO button is pressed, launches an arecord process. This records audio from a USB microphone (plughw:CARD=GS3,DEV=0) and pipes it to another program for ...
1
vote
1answer
60 views

How to control the Bit Rate (mbps) of a Raspberry Pi Access Point

I have two "Raspberry Pi 3 B+" boards which are required to be connected. One Raspberry Pi is configured as Access Point (AP) and the other one is just a Client. When both are connected, I write the ...
1
vote
1answer
1k views

Installing equivalent of unrar package (rar)

I wanted to install rar from packages ( https://packages.ubuntu.com/search?keywords=unrar ), unfortunately it seems that it is impossible on Raspbian: pi@raspberrypi:~ $ rar bash: rar: command not ...
1
vote
1answer
39 views

Create new ISO from configured distribution

I have read that this is possible on Windows using Win32DiskImager.exe but I'm looking for a Linux (Mint) based solution. I have downloaded the latest distribution and configured it with the software ...
1
vote
1answer
79 views

Configure pi so it doesn't show boot info - splash screen only

I'd like to configure my pi 2 so that I dont see any booting info. I'd like to have a splash screen (or video if thats even possible) and boot into a C++ game I wrote.
1
vote
1answer
414 views

Direct connection to Pi with usb-to-ethernet adapter possible?

I've got a pi 3B to which I always ssh over my home network. I'm now going to be traveling for some time and I want to mess around on the go. I read that you can connect directly to the pi using a ...
1
vote
1answer
971 views

Reading Multiple bytes in Raspberry Pi over I2C using Wiring Pi library [closed]

0 down vote favorite I am trying to build one sensor interface using Raspberry Pi over I2C. I have installed WiringPi. I am seeing limitations of wiringPi library, that supports only 1 or 2 bytes I2C ...
1
vote
5answers
3k views

Raspbian Jessie apt-get update fails ERROR: Hash Sum mismatch

Please find the attached snip, for the complete error message. This is the second time I've faced this issue, last time it happened I tried couple of different things updating source list file or apt-...
1
vote
1answer
181 views

Problem with packages [closed]

I'm trying to compile my code import sys,os sys.path.insert(0, '/usr/include') sys.path.append('/usr/include') import plivo, plivoxml auth_id = "Your AUTH_ID" auth_token = "Your ...
1
vote
1answer
2k views

How do i use DeviceTree to init GPIO to a set value?

Hello i've got a board connected to my raspberry pi 3 and according to the pin set on boot of the raspberry this shield reboot which is problematic. I need to be able to reset the board and control ...
1
vote
2answers
433 views

confusing ssh situation, remove host?

i recently ssh into one of my remote servers and as i did it. It questioned the authenticity of the hosts key and prompted me if i still wanted to connect. I selected yes and after a while once i ...