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
0
votes
1answer
183 views

Recovery of SRM save game file from Retropie corrupt SD card

I've been googling at this all night and have found multiple conflicting methods of recovering/formatting/saving corrupt SD cards but i'm a complete n00b with both Raspberry Pi and Linux. Basically ...
1
vote
1answer
267 views

Kernel Development with Raspberry Pi

I want to start working and playing with linux kernel. Instead of trying on my own system, I want to do the same on raspberry pi. I want to compile my own kernel and start working on my first kernel ...
0
votes
1answer
52 views

Can't login to my Raspberry Pi anymore

I installed this package on my Raspberry Pi: sudo apt-get install libssh2-1-dev libssh2-php And when I rebooted and was going to login with Winscp I got the error message: Disconnected: No ...
22
votes
8answers
31k views

Can't get a CIFS network drive to mount on boot

I have added a share in fstab to access a network drive with all my files on... fstab looks like: proc /proc proc defaults 0 0 /dev/mmcblk0p1 /boot vfat defaults 0 2 /dev/mmcblk0p2 / ext4 defaults,...
0
votes
1answer
302 views

“No wireless interfaces found”

I accidentally ran the code on my terminal: sudo airmon-ng check kill Now when I try to connect to a wi-fi it says "No wireless interfaces found" I tried to edit /etc/network/interfaces but ...
1
vote
1answer
73 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 ...
0
votes
1answer
310 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("...
1
vote
2answers
40 views

How to enable an addtional font in Libreoffice on the Raspberry Pi?

My goal is to use the font "Courier 10 Pitch" in Libreoffice on Raspbian Stretch on the Raspberry Pi 3B. At the raspi terminal, there is currently the following input and output: pi@raspberrypi:~ $ ...
2
votes
1answer
266 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
1answer
35 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 ...
1
vote
1answer
449 views

Raspberry Pi 3 Model B- 3M Touch Systems

I connected yesterday a Raspberry Pi 3 Model B at a 3M touch Systems touchscreen. For installing I followed this tutorial that I found here: Inverted GPIO Touchscreen (Using 99-calibration.conf) What ...
6
votes
3answers
16k 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
0answers
102 views

Help with RPI ZERO W Kali Linux A.L.O.A

I have a raspberry Pi ZERO W and installed kali linux on to it.To be specific it's the Kali linux A.L.O.A and i have a wifi adapter that i want to setup but i don't know how and when if type ifconfig ...
2
votes
1answer
39 views

Unable to open files with multiple lines in ssh session

I am having an issue where I cannot view/edit the contents of a file that is larger than a few lines of text/code. When I use nano to open a file the system hangs after displaying: "[Read N lines]" ...
-2
votes
1answer
18 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
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 ...
1
vote
0answers
137 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
133 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
42 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
144 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
60 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
102 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 ...
1
vote
1answer
391 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
35 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
46 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
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. ...
0
votes
0answers
52 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
75 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
64 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
397 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
52 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
398 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
35 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
164 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
215 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
21 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
440 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
30 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
375 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
111 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
47 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
3answers
10k 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
234 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
63 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
58 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
27 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=...