Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

4
votes
2answers
439 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 ...
1
vote
0answers
124 views

Python Google drive upload not working continuously

I am trying to build an auto image Google drive up-loader with raspberry pi and a web-cam but the python script I wrote after executing once properly doesn't seem to work if I execute it again ...
3
votes
1answer
191 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 ...
0
votes
1answer
691 views

Mirroring the Raspbian Repository with rsync and being able to resume it

I want to mirror the Raspbian Repository from home. The example at http://raspbian.org/RaspbianMirrors says that this can be done in the following way: rsync --archive --verbose --delete --delete-...
2
votes
2answers
310 views

I need to ifdown ifup for real

I am trying to simulate disconnecting the network cable from a pi. So how do I invoke this? I've tried ifdown / ifup in various different forms. When I say simulate, you may ask yourself on what ...
1
vote
0answers
545 views

Error on Raspberry Pi says 'Read-only file system'?

For reference, this is the project I'm talking about here https://github.com/MichMich/MagicMirror bash command being referenced: bash -c "$(curl -sL https://raw.githubusercontent.com/MichMich/...
0
votes
3answers
678 views

Cannot SSH to Raspberry Pi 3 using ethernet with Ubuntu

When I do the same thing with my Windows desktop with PuTTY, everything's fine. However, my Ubuntu laptop can't seem to find it. It always replies with no route to host. I also tried it with a USB ...
0
votes
1answer
53 views

Pi: one common network between Wi-Fi module and Ethernet

I have Raspberry Pi B+, and a compatible (I have checked, it worked), Wi-Fi module for the Pi. I am also using Raspbian. My task is build a router using the Pi, (with a Wi-Fi access point). But, one ...
5
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 ...
3
votes
2answers
3k 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 ...
2
votes
1answer
37 views

What unique-isms does Raspbian have that should be considered in custom Pi linux builds?

I've been considering making a custom linux build for the Raspberry Pi for the sake of minimalism and performance. It occurred to me that, perhaps, Raspbian headless might be as minimal as one can ...
3
votes
0answers
891 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 ...
1
vote
1answer
58 views

How to build access point (from internet into local network) using RPI?

I need to be able to connect over ssh to my machines that are in local network where they do not have publick internet access. I have RPI, yota usb lte router, linux on rpi board, local connection ...
0
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 ...
0
votes
1answer
497 views

Segmentation Fault on mplayer and mpv

I'm trying to run mplayer or mpv on my Raspberry Pi, but even after multiple apt-get removes and even apt-get install --reinstalls, I'm still getting the annoyingly undetailed Segmentation fault error ...
0
votes
1answer
250 views

Tkinter application window in front of Chromium in Kiosk mode

On my Raspberry Pi I have created a tkinter application with one button and configured Chromium to start in kiosk mode. In my python application I set the following: root.lift() root.wm_attributes("...
0
votes
1answer
107 views

Does all touchscreen supported to linux work on raspberry pi?

I am working on a project for a large smart mirror, around 42 inches. To this i will also use a touchscreen for interaction with the screen and the supplier for the touch foil assures that the system ...
4
votes
1answer
298 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 ...
1
vote
1answer
316 views

eth0 prioritize over wlan0, although it has no internet access

My pi is connected to my home router using wlan0, and have access to internet successfully When I plug my pi with an Ethernet cable, connected to other router, not connected to internet, I cant ping ...
0
votes
1answer
82 views

Chown files of mounted raspbian image to a user that isn't on host system

I have an init script that mkdir -p raspi-os-image/home/pi/.ssh and adds a SSH key to authorized_keys inside. The problem is, when doing this it needs to be done as root and then once the system is ...
0
votes
1answer
87 views

Run Linux executable on Raspbian Jessie 4.4

I try to install the linux headers by: sudo apt-get install raspberrypi-kernel-headers But the file still has no recognizable format.
1
vote
1answer
349 views

Raspberry pi for smart mirror, what operating system?

I am conducting a larger project where i will create a smart mirror powered by an raspberry pi 3 B. The smart mirror will be able to use some google play application and the system will also be able ...
1
vote
1answer
134 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@...
0
votes
0answers
53 views

I Want to write my own driver for ttyAMA0 ie,AMBA-pl011

I have written the driver, But I am not able to "insmod" it is giving an error the device or resource is busy. How can I solve this problem?
0
votes
1answer
126 views

When I plug a USB camera in I get strange characters displaying on the screen

I have a raspberry pi B+ running the latest Jessie image (Linux raspberrypi 4.9.22+ ). I have a monitor, usb keyboard and usb mouse plugged into it. I also have a wired ethernet plugged in. No other ...
1
vote
1answer
561 views

Configure a device with spi ( Pi Zero )

I am looking for how I can configure a kernel devices ports, I have a MAX3421 usb host shield and I found and compiled the kernel driver for it ( http://lxr.free-electrons.com/source/drivers/usb/host/...
2
votes
1answer
1k views

Why does i2c not work on my raspberry pi 3 model B?

I have the raspberry pi 3 model B and would like to communicate over i2c. I have heard that the bcm2835 and bcm2837 chip ar almost identical, so I should be able to use the bcm2835 library to ...
0
votes
0answers
344 views

Getting the wrong MAC address from ARP command

Disclaimer: new to Linux, using Raspbian light on a Pi 3. SSH access. I'm trying to look for the mac address using ping / arp: ping 192.168.1.7 arp 192.168.1.7 It returns: Address ...
0
votes
1answer
5k views

Change usb soundcard device sample rate

I have two problems with my usb soundcard. It shows only single input channel (even though it is stereo capable , tested in Windows OS which correctly identifies as stereo ) Shows only supports 48000 ...
0
votes
0answers
25 views

How can I hook up several buttons to a Raspberry Pi (or other device) and have a certain word appear on a screen for a certain amount of time?

Some background info: I do a Christmas Light show, one where it blinks to the music. This year I am going to be having a "jukebox" where a guest can press a button, and then the song will play. There ...
0
votes
1answer
340 views

HostAPD and isc-dhcp-server ARP tables not working, no network access

I have a raspberry pi that I am setting up as a router to an open network. The raspberry pi is connected via ethernet cable to my real router (on a different WiFi network) and I am using hostapd and ...
3
votes
2answers
11k 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 ...
0
votes
1answer
538 views

Mono on Raspberry Pi

I've seen a lot of talk about running Mono/.NET code on the Raspberry Pi. Has there been any succceses in actually running any Mono code on the Raspberri Pi? On their site, they list several Linux ...
2
votes
0answers
777 views

jackd with raspberry pi 3 jackd server stops

I'm using jackd2 on my raspi3 with a USB sound and recording device like this one. Build is Jessie https://www.amazon.co.uk/Adapter-External-Headphone-Speaker-Microphone/dp/B016CU2PEU/ref=sr_1_2?ie=...
0
votes
1answer
249 views

Change FIFO pipe buffer size in Debian?

I'm on the latest Raspbian Jessie. I'd like to increase the size of an open FIFO pipe buffer. I've already upped the max size via sudo sysctl fs.pipe-max-size=4194304 Then I'm attempting the ...
0
votes
1answer
3k views

Scan Distance from Eddystone Beacons

I would like to read an Eddystone Beacon using my Raspberry Pi 3 to calculate distance from the beacon. I can't find any resources to do this from the official Eddystone documentation. How should I go ...
0
votes
0answers
169 views

How do I close the window WAND creates to display an image?

Using Raspberry Pi Raspbian GNU/Linux 8 (jessie) Also using PYTHON 3.4.2 I am using Wand to open a jpg image from my sd card. I need to resize the image and then display the image in a full screen ...
1
vote
2answers
396 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 ...
0
votes
3answers
2k views

Cannot access folder on Raspberry Pi

I'm trying to open a PHP file on my Raspberry Pi running Raspbian. But it won't let me move the file from its current location to the 'www' folder I keep getting an error message saying 'Access Denied'...
7
votes
1answer
8k views

How to boot raspberry pi very quickly into Linux?

I would like my pi zero to boot quickly (under 1 second) using Linux. In that case we can pretend it is embedded controller and not standard full blown (but slow) computer. Do you have any (...
0
votes
1answer
587 views

Connect Pi3 to Windows/Linux via wifi direct?

I'm building something that needs to connect to a Pi3 wirelessly but there won't always be a wifi network for them to talk over. So I was hoping to use wifi direct to get them to talk directly. So ...
0
votes
1answer
2k views

How can I boot Pi zero with SSH over USB [closed]

I am trying to boot a Raspberry Pi Zero into a terminal using a laptop over ssh by connecting it to laptop with a USB cable. I followed the methods explained on the internet that involves editing the ...
1
vote
0answers
127 views

How to setup interfaces file to connect the Raspbian to a PC via SSH and Internet at the same time?

How can I setup interfaces file to be able to connect the Raspberry pi to the internet (4g USB modem) and at the same time to a PC via SSH (ethernet). My interface file look like this (/etc/network/...
1
vote
0answers
516 views

Raspberry 3, python and shared libraries

I want to code something which can remote this robot: Dobot Magician http://dobot.cc/dobot-magician/product-overview.html. I have a Raspberry 3 and I downloaded the precompiled DLL for Linux on Dobot'...
2
votes
1answer
3k views

Connected to internet on ppp0 in raspberry pi 3 but commands like ping, curl not working

Using wvdial to connect to the internet. This is my /etc/wvdial.conf [Dialer Defaults] Init1 = ATZ Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 Init3 = AT+CGDCONT=1,"IP","airtelgprs.com" Stupid Mode = 1 ...
0
votes
2answers
3k views

Connection to internet without port forwarding

I want to access RPi from Internet without port Forwarding. Is there any way to do it? if yes, then how many and how to implement them?
2
votes
0answers
640 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 ...
0
votes
0answers
600 views

Can't get udev rule working on the Raspberry Pi 3

I'm trying to separate some keyboards so they're not read by Qt on a Raspberry Pi. I'm using a udev rule to do so, but it doesn't seem to be working. I'm trying to direct /dev/input/event3 into /dev/...
1
vote
0answers
188 views

Homebridge plugin to run scripts and control brightness level

On Mac OS there is a plugin (homebridge-applescript-file-lightbulb) to run applescripts to e.g play music and even with argument from Siri to control "brightness" level. This makes it possible to ...
7
votes
1answer
435 views

I have just returned to my Raspberry Pi after a year and can't remember my login

After sitting in the depths of my project desk for a year or so, a Raspberry Pi model B turned up that has data I want to save. It boots up but I deleted the pi user for security reasons and can't ...