Stack Exchange Network

Stack Exchange network consists of 175 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.

1
vote
0answers
29 views

Odd characters in LXTerminal with RealVNC viewer

Image below shows the output from service cron status, via ssh on the left, LXTerminal via RealVNC on the right. Linux raspberrypi 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l GNU/Linux ...
0
votes
1answer
16 views

Controlling array of fans

So I'm building a stack of Pi's and the case I'm buying comes with four fans. I want to use a Pi Zero (ideally, but whichever one will work is fine) to control all the fans but I have no clue if this ...
5
votes
1answer
900 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....
0
votes
1answer
55 views

How to connect a SATA disk through GPIO (not USB)

I repost this here because i was told on stackoverflow that my question was off-topic. I would like to connect a lot of SATA hdd on my raspberry PI. I've read about how are sata pins made and I can ...
0
votes
0answers
27 views

Connectivity to internet with two WiFi adaptors

I am using Rasberry Pi with Kali Linux. I have two WiFi adapter one (internal). I am using for headless mode connection to my phone and other (external). I am using for connectivity to internet to ...
0
votes
1answer
101 views

How to exit read only filesystem to get write permission in order to download a driver form Github?

I am trying to set up a 5 inch LCD on my Raspberry Pi 3. It runs Kali Linux, I'm on a no GUI boot and (automatically) logged in as root. When I run the command (to download the drivers): git clone ...
1
vote
2answers
122 views

yocto - edit file in rootimage with no permission

I am working with the yocto project and a Raspberry Pi 0 with wifi. I want to integrate the wpa_supplicant.conf file and copy it to the /etc/ folder. My recipe fails with reason stating that I don't ...
0
votes
3answers
1k views

Linux modules mismatch version

I have a very unusual condition, perhaps a partial update or unknown condition. #>uname -a Linux sip02 4.14.30-v7+ #1102 SMP Mon Mar 26 16:45:49 BST 2018 armv7l GNU/Linux #>uname -r 4.14.30-v7+...
0
votes
1answer
17 views

Not able to compile the u-boot 2017.09

This is the OS info that I am using in my pi3 (BCM 2837) board. pi@raspberrypi:~ $ uname -a Linux raspberrypi 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l GNU/Linux [ am I using the ...
0
votes
2answers
31 views

Effect of Interfaces file on dhcpcd.conf in Raspbian Jessie

I was working with Raspbian Jessie version to set a static IP address for eth0 port. As of my knowledge we can configure it with interfaces file but for jessie, there is new file for it and that is ...
0
votes
2answers
105 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
3answers
1k views

SSH not working on Raspbian

I can't get SSH to work on my newly setup Raspberry Pi 3. Installed a fresh image of Raspbian Stretch Lite. I am unable to access the machine in the LAN using SSH: pi@domoticz_pi:~ $ ssh 192.168.178....
-3
votes
1answer
20 views

I made a mistake and i now have node_modules in a node module [closed]

So yeah, as you can see from the image i messed up, i tried to move it using sudo mv -v node_modules1/* ~/node_modules/ but got "Directory not empty" errors. I also tried using --force
4
votes
3answers
12k 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 ...
2
votes
2answers
141 views

How to find a specific kernel version in the Github repository?

I'm trying to get the Linux 4.14.85 kernel, for a problem I've posted before, related to Xenomai. I see here that there is a branch for 4.14.y, but there are no tags to find which commit corresponds ...
1
vote
1answer
337 views

Stuck on Rainbow Screen after kernel upgrade on CentOS7

I ran 'yum update' on my Raspberry Pi3 running Centos7, and now it will not boot. Both LED's are solid (no flashing) and it does not get past the 'Rainbow Screen'. The following packages were ...
0
votes
0answers
24 views

Which video driver is faster, more stable? Which api makes it easier to write efficient code? Which one should I use on Raspberry 1 B+?

OpenSource Full KMS VC4 + Opengl 2.0 + openbox/some lighter than openbox window manager/lack of thereof + x.org Broadcom VC4 + Opengles 2.0 + native(no x.org) Can I use GLFW library with both? ...
0
votes
1answer
31 views

Raspberry Pi - Remote / Attached Access - Plug and Play

OK I wont go into the reasoning apart from the fact that I need to find or research and create an EASY Plug and Play solution to enable Raspberry Pis to be used in a classroom environment. Criteria ...
0
votes
0answers
43 views

What version of Alpine Linux OS to install on Raspberry Pi 3?

I want to install Alpine Linux on Raspberry Pi 3. There are two versions of armhf and aarch64 on the download page. Which one should I choose?
0
votes
1answer
25 views

How to scp full directories from pi-zero to my pc via ssh

Is there any command or way to essentially "scp" a full directory from a raspberry pi to my linux PC using ssh?
0
votes
0answers
17 views

Pi-Zero can't boot past the user login screen - “Perpetual Login”

I have a pi-zero which I was most recently trying to install OpenSSL-1.0.2r on that wouldn't start up. I fixed the issue already by swapping out the SD card but I'm still not sure why the problem came ...
3
votes
3answers
3k 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 ...
0
votes
1answer
38 views

Programming Raspberry Pi Camera with C instead of terminal commands

Disclaimer: not so advanced here! Let me explain why I am looking for C code because the motivation itself maybe flawed. If I want to transport my Raspberry Pi project to the realm of customized ...
0
votes
3answers
7k views

Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)

I'm trying to execute the command sudo apt-get -y install linux-headers-rpi to install this driver for a pm sensor. However, my raspi gives me this output every time when I execute this command: E: ...
0
votes
1answer
189 views

vnc4server. Daemon working. autostart not working

I have a Parrot OS Linux installed on my raspberry pi 3. I installed a VNC server using vnc4server and after some fight with ~/.vnc/xstartup file is working fine with my xfce4 Desktop Environment: ...
0
votes
0answers
28 views

DHCPREQUEST not reaching interface wlan0

I have lots of DHCP requests on my Raspberry Pi Zero that never reaches the netowrk interface. All these entries in /var/log/syslog does not reach my "tcpdump -i wlan0 port 67 or port 68". Seems they ...
2
votes
4answers
55 views

How to retain the ability to use SSH across different wireless networks

I set up my Raspberry Pi to run on Linux, and I use it as a portable computer. I'm trying to find a way to maintain SSH across different networks while retaining the ability to manipulate it using SSH ...
0
votes
1answer
70 views

Raspbian compile single kernel module gfs2

I'm trying my best to get GFS2 mounted on top of a dual-primary DRDB /dev/drdb0 volume on Raspbian, but I'm hitting an issue. The DRBD volume has a working stonith/fencing cluster setup using ...
1
vote
1answer
54 views

why does my raspberrypi 3B not able to reboot each time power is shut down?

I installed raspberian in my raspberrypi. It worked for the first time. But when I shut it down, it didn't reboot again. So, I had to format the sdcard and reinstall the raspberian again. And ...
1
vote
2answers
44 views

Can't see home folder in drive but can see from terminal

I'm trying to open my home folder on my raspbian lite sd card. I have the rasbian os plugged into a sd card reader to my ubuntu laptop. I can't see it in drive but I can see it when I type ls. ...
0
votes
1answer
60 views

How do i create a raspbian sdcard with existing rootfs and boot folders?

I have a copy of rootfs and boot folders of a raspbian installation sent to me in via dropbox. How do i take a new sdcard and create from it a bootable raspbian? Also: the folders are in an archive ...
0
votes
1answer
76 views

cannot ping link-local address from other subnet when defaut gateway route is seted

i have a problem with my route table i dont know why it doesnt work. I have two test cases, i did draw a network map for each case. currently i cant resolv the goal. testcase-1 network map ...
0
votes
1answer
57 views

Develop RPi framebuffer program on Linux laptop

Is there any emulator or some other way to develop a program for my 320x480 Adafruit PiTFT screen (available as /dev/fb1) on my Linux Mint laptop? The program currently gets images from Pi Camera, ...
0
votes
0answers
17 views

Python3 Error while accessing from a Particular path

I'm Getting the following errors while using python3 from a fixed location, here it is 'python' Directory (/home/pi/python) pi@rituraj:~/python $ python3 Python 3.4.2 (default, Feb 10 2019, 17:23:02) ...
2
votes
1answer
873 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
54 views

cant open image from rc.local

I would like to open image from rc.local. I am sure rc.local is getting called during boot as it execute/run test c++ code. I tried with various image viewer like gpicview , mirage. I can try with ...
0
votes
1answer
30 views

I need a lightweight CLI Linux Distro that can support Python

I have a spare raspberry pi, I figured i'd use it for a python releated task, is there a cut down Linux Distro that does not include a GUI but only a CLI that can also fully support running python ...
2
votes
2answers
20k views

tightvncserver - Displaying Grey Screen on Kali-Linux upon VNC Connection

PROBLEM: Upon connecting to my tightvncerver on port 5901, I am greeted with a grey screen with an 'X' for a cursor. Hardware: Raspberry Pi 3 Operating System: Kali Linux 0.6 Raspberry Pi 3 w/ ...
0
votes
0answers
13 views

Raspberry Pi 3 B won't boot up again, even after (supposedly) clean shutdown

everyone. So I am very new to Raspberry pi. I just installed Raspbian yesterday sing NOOBS, and it was successfully installed. I played around with it after install and even rebooted it (using the ...
1
vote
1answer
174 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 ...
0
votes
1answer
101 views

Connecting a 1TB USB 2.0 WD Elements drive

I've just purchased a Raspberry Pi 3 and I've installed OpenELEC onto the Pi so I can run the Kodi. After this step - after this first step - I've succesfully set it all up and I've managed to get ...
0
votes
0answers
16 views

CM3 deploy application using buildroot

I have made an application that uses OpenCV that i want to run on a compute module whenever a microcontroller tells the compute module to do so over SPI. I am very new to using linux for embedded ...
-1
votes
1answer
78 views

Run Alpine on Raspberry PI 3 Model B+

I try to run my spare Raspberry PI 3 Model B+ with the most recent version of Alpine Linux (3.9.0). After I plugged everything in, HDMI, keyboard, LAN, SD Card and power, I don't get any reaction. ...
0
votes
1answer
19 views

Raspberry Pi WiFi hotspot - Assign address from Wireless network IP range to eth0

I have hostapd and dnsmasq running on a RPi which I have configured to broadcast a local wifi network and assign connected wireless devices an address in the 192.169.1.x range. What I want to achieve ...
1
vote
2answers
5k views

Xlib: extension “RANDR” missing on display “:1.0”

I'm trying to run openvibe-designer on my raspberry pie over vnc. Currently I am using Xvnc version TightVNC-1.3.9. All other applications that I've launched over vnc have worked. I only get this ...
0
votes
0answers
55 views

enabling Wifi direct (p2p) along with DHCP server

How can I enable WiFi p2p on raspberry pi zero w and have dhcp service running so that other devices that connect to it get assigned an IP address? I am able to configure the dhcp service on the pi ...
2
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 ...
1
vote
1answer
160 views

SSH on Raspberypi hang or frozen

I have direct connection with Raspberry pi via ethernet cable on linux machine. if i run ssh pi@10.42.0.22 i could establish secure connection. the problem i encountered is raspberry hang or frozen ...
0
votes
1answer
100 views

Cannot install PureAdmin on my Raspberry Pi

I try to build my own FTP server. I already installed pure-ftpd and created a user for the FTP connection. It works well, but now I would like to have virtual users, for which I need install PureAdmin ...
1
vote
1answer
31 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 ...