A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

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
1answer
23 views

For the Chrony refclock directive, how is the precision option used?

The man page says the precision of the reference clock has units of seconds. What do those seconds measure?
0
votes
2answers
43 views

I have a doubt about the Linux distro I should use [closed]

I'm not a complete beginner, nor am I a total expert. Which Linux distro will go better than Ubuntu? I want one with which I can handle complex IoT easily and also browse the net and play games and ...
0
votes
1answer
25 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 ...
1
vote
0answers
233 views

Raspberry Pi/OBDII/Serial Communications over Bluetooth

Thanks for having a look at my post and my problem :) I'm presently developing an automotive on-board diagnostics scanner application in python3/wxPython. For the communications heavy lifting, I'm ...
3
votes
2answers
207 views

How to install updates without internet on Raspberry? [duplicate]

I want to calibrate my LCD screen, but i have no internet connection to my Raspberry Pi 2B. The terminal commands I would use with internet on the Raspberry Pi is cp LCD-show/xinput-calibrator_0.7.5-...
0
votes
1answer
51 views

Internet needed for apt-get?

i try to calibrate my touchscreen for Raspberry Pi 2B, currently the touch does not work (axis seems like inverted). So i came across this website: https://www.waveshare.com/w/upload/1/1e/...
0
votes
0answers
269 views

ESC/POS Printer not detected by Raspberry Pi

I try to connect a POS printer with my Raspberry PI 3B. In my opinion, the printer should appear under /dev/usb/lp* or /dev/ttyUSB* or /dev/ttyACM* after connecting. At the moment I can't find the ...
1
vote
0answers
187 views

Raspberry pi3 TFT screen setup

EDIT: This is the the screen I bought This is my first post here so I hope I do not screw up too much... I have a raspberry pi3 with 3.5inch tft resistive touchscreen display (720x480) connected via ...
1
vote
3answers
110 views

Video output filter

I would like to be imbed a filter in the Pi’s HDMI output such that pixels are slightly rearranged. Specifically, I’m after a retro pincushion effect ([ ] -> ( )). I need it to be active even in the ...
2
votes
1answer
946 views

Run a script when wifi is connected to a particular wifi network?

My Raspberry pi is connected to my home wifi network. This wifi network have a captive portal and hence each time I need to sign in the captive portal to use the internet. Now I am trying to automate ...
0
votes
0answers
38 views

Daily Deviation Picture Frame on RPi

This guide, Raspberry Pi - Daily Deviations Picture Frame, seems to be not working anymore. I tried different methods and it seems that the code in getting images from Deviantart daily deviations ...
2
votes
1answer
81 views

Ways to run an OS for a watch using a Raspberry Pi/Arduino

I am thinking of making a smartwatch using a Raspberry Pi/Arduino (Zero W if I use a Raspberry Pi). Is it possible to put an OS such as Tizen on it so that I can turn it into a smartwatch? (Anything ...
1
vote
2answers
2k views

Bug with writing to file in linux /sys/class/gpio

Cross posting here, since the question suits at both sites - https://stackoverflow.com/questions/39524234/bug-with-writing-to-file-in-linux-sys-class-gpio I'm having the strangest bug I've ever seen ...
1
vote
1answer
76 views

How to connect Raspberry Pi to my linux PC?

I haven't done anything to my Raspberry Pi or my computer except for putting the docker image onto the SD card. I tried looking for how to do this without a display but couldn't find how anywhere. ...
0
votes
0answers
95 views

How to stream audio samples to a DAC - exclusively & low latency

I have an audio add-on card to my Raspi Zero called "raspiaudio", it seems to be reporting as hifiberry, although it is not. It's some NXP DAC conencted via I²C, and the driver was apparently in the ...
0
votes
0answers
86 views

enabling Wifi direct (p2p) along with DHCP server [duplicate]

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 ...
0
votes
3answers
106 views

Full backup of server [duplicate]

I am building a web server od Raspberry Pi 3. The system and the data will be on microSD card and I am curious if there's any way to automaticaly backup the whole card with data? I mean - if anything ...
1
vote
1answer
706 views

Raspberry Pi Model B for a Wireless AP: nl80211 driver initialization failed

I'm trying to setup my Raspberry Pi Model B to act as a standalone Wireless AP using a Ralink MT7601U Wireless Adapter. However, starting hostapd presents me with this error. pi@raspberrypi:~ $ sudo ...
1
vote
0answers
55 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
913 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
49 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 ...
1
vote
2answers
175 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
2answers
383 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
2k 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
23 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
2
votes
2answers
658 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 ...
0
votes
0answers
34 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
0answers
473 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
264 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
54 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 ...
0
votes
1answer
261 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
85 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
59 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
0answers
31 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
1k 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=...
1
vote
1answer
242 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
27k 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
25 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
4k 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
votes
1answer
957 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
125 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 ...
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 ...
1
vote
1answer
46 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 ...
0
votes
0answers
315 views

Getting error: `/usr/bin/veracrypt: No such file or directory` after installing veracrypt

I am trying to install the armv7 version of Veracrypt on my Raspberry Pi. I downloaded it from: https://launchpad.net/veracrypt/trunk/1.21/+download/veracrypt-1.21-raspbian-setup.tar.bz2, unzipped and ...
0
votes
1answer
392 views

Should I use raspivid for longer videos and do I need a spacious MicroSD?

Can I record a longer video (2h+) with raspivid and store it on a USB drive (100GB+) while using a small MicroSD card (8GB)? Specifications: Resolution 1080p Framerate 30fps Format h264 I am not ...
1
vote
0answers
466 views

Processing keystroke input on startup

I am currently working on a project where I am using a Raspberry Pi (running Raspian Wheezy) to handle authentication to a locked door. I have a usb numeric keyboard plugged into my pi, and I have ...
1
vote
1answer
1k views

Can't change user permissions

I just mounted my Apple Time Capsule to my pi, but for some reason I cannot change, add, or remove any content from the directory. I have tried changing permissions from my username and from root ...
0
votes
2answers
2k views

tightvncserver not setting up properly during installation using apt-get [duplicate]

I am trying to use tightvncserver on my Raspberry Pi 3 so that I can access the GUI without a monitor and keyboard. However, the install isn't updating-alternatives to vncserver in /usr/bin/ ...
1
vote
1answer
5k views

Midori FullScreen mode on boot

I have setup my Raspberry Pi 3 with Midori, X11-Server, Unclutter and Matchbox. Created a small bash script that will run midori in full screen mode that is fairly like this one: #!/bin/sh ...
0
votes
0answers
28 views

Problem with interfacing ds18b20 and mcp3208 simultaneously

In my project i am trying to interface both DS18b20 and MCP3208. When i interface both any one interface only working but not both(spi and 1-wire) not working simultaneously. For ds18b20 i am using ...