We’re rewarding the question askers & reputations are being recalculated! Read more.

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
3
votes
2answers
159 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-...
1
vote
1answer
49 views

Earliest place in boot for output to I2C LCD (not HDMI)

We're using an embedded Raspberry Pi that uses a (I2C) 4x20 LCD (character) instead of HDMI. Since the boot process can take some time I'd like to get something on the LCD as soon as possible to say ...
0
votes
0answers
210 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
98 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 ...
0
votes
0answers
36 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
59 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
1answer
604 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
72 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 ...
1
vote
1answer
73 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. ...
1
vote
3answers
103 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 ...
0
votes
1answer
62 views

Is there any way to extract files from damaged backup.img file?

I have a raspberry pi backup.img file that I was trying to extract some of its inside files, I used different softwares to do that but all failed. I used Winzip but I got a message sys that this file ...
1
vote
1answer
568 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 ...
0
votes
3answers
83 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
0answers
53 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
24 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 ...
0
votes
1answer
587 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
38 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
139 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
82 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 ...
-3
votes
1answer
22 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
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? ...
2
votes
2answers
552 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
428 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
179 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
50 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
223 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
0answers
74 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 ...
0
votes
0answers
29 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) ...
1
vote
1answer
183 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 ...
0
votes
0answers
24 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
2k 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
83 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
votes
1answer
856 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
0answers
79 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
0answers
265 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 ...
1
vote
1answer
42 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
364 views

Raspberry Pi 3 Linphone Calling

So I am working on a project where I have to be able to make sip calls to a raspberry pi 3 and have it automatically answer any incoming calls. I have been reading this guide: https://wiki.linphone....
0
votes
1answer
206 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 ...
0
votes
0answers
26 views

Multiple delayed output from pi camera

I’m trying to create up to 4 delayed outputs from the pi camera. The length of the delay needs to be varied 15-60 seconds. Is there a way to buffer the cameras feed and use the same buffer for all the ...
0
votes
0answers
26 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 ...
0
votes
0answers
10 views

ProxyCommand Settings Absible

ip_bastion_host=`tail -n +2 file | awk '($6) {print $5};'` vpc=10.0.* echo """ Host $ip_bastion_host User $ssh_name IdentityFile ~/.ssh/gcloudssh Host 10.0.* User $ssh_name ...
0
votes
1answer
189 views

Terminal and program run on boot-up

I am trying to find a way to open a terminal and run a program on boot using Raspberry Pi's newest Raspbian Jessie. I have tried to use the following: /home/pi/.config/autostart/whatever.desktop [...
1
vote
1answer
36 views

Only allow a specific peripheral to be connected to a USB port

I am turning my raspberry pi prototype device into a market product. The data and the program running on the pi must be protected. But we have a USB webcam attached to it (provided by us, hence we ...
1
vote
0answers
52 views

Raspberry Pi jammed after few days of continuous work? size full?

I made a project on raspberry pi 3+ and left it on over a weekend. After 4 days, when I came back, the program was not working. When I try to connect it with Remote Desktop, it was not working. I ...
1
vote
0answers
59 views

Calling a program from /etc/rc.local

I have a simple script that adjusts the monitor's brightness that is set to run on startup. #!/bin/bash gpio -g 18 1024 gpio -g mode pwm gpio pwmc 1000 gpio -g 18 800 I am calling this script from /...
0
votes
0answers
128 views

How to connect Solenoid Lock to Raspberry Pi 3

Here is the scenario: (We also have camera) Here is the link for solenoid lock: click here When we run the our python code, camera will take an picture of QR code and it can get the QR code content ...
0
votes
0answers
37 views

arecord only works with -D

Long story short, my mic was working fine yesterday. I then had a pair of USB speakers connected and then again disconnected. And now I cannot get the little thing to do a arecord with using the "-D" ...
0
votes
1answer
418 views

Raspberry Pi batman-adv ad-hoc network setup unreliability

Problem: I am trying to configure batman-adv network on raspberry pi 3b+ following this, using on-board wlan0 interface coming with raspberry pi 3b+. Once the network is executed by following all ...
1
vote
1answer
87 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.
0
votes
0answers
266 views

Ubuntu, Firefox can access internet, but terminal can't

I'm connected to university router, and I know they have many restrictions, but firefox is accessing the repo links without any issue, but the terminal can't. How can I make the terminal use the same ...