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.

1
vote
1answer
40 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
0answers
7 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 ...
0
votes
1answer
15 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
31 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. ...
-1
votes
0answers
14 views

Website Won't Connect After Restart

I restarted my dedicated server and now my website will not connect. I figured out it is because Apache won't start. I get the error in the image below: It says at first job for httpd.service ...
0
votes
0answers
24 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 ...
0
votes
0answers
27 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
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 ...
0
votes
0answers
27 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
0answers
22 views

IP address of raspberrypi using a c++ program [on hold]

IS there any possible way to change the ip address , subnetmask and gateway of my raspberry pi using my c++ program. Through a c++ program how can I cahnge the IP address of my pi. Any possible way to ...
0
votes
1answer
50 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
10 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
18 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
9 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
51 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
30 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
45 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
49 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
26 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
20 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
2answers
53 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
60 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
96 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 ...
0
votes
1answer
39 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 ...
1
vote
1answer
55 views

Direct connection to Pi with usb-to-ethernet adapter possible?

I've got a pi 3B to which I always ssh over my home network. I'm now going to be traveling for some time and I want to mess around on the go. I read that you can connect directly to the pi using a ...
0
votes
1answer
23 views

Access Point connection problems/questions

So, I have a RaspberryPi3 b+ with Raspbian 4.14.78 and a Ubuntu 16.04 laptop. Now I want to use the laptop as a server and the RaspB as a client and have them communicate wirelessly. But I would ...
0
votes
1answer
84 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 ...
-1
votes
1answer
55 views

How to fallback to DHCP when STATIC fails?

I have a linux computer with a pre-configured static ip. When the pc is installed i need to access it via remote access teamviewer. Sometimes the static ip not working. Then i would like to switch to ...
0
votes
1answer
766 views

Wifi Not Working with Ubuntu MATE 16.04 and Pi 3b+

I was able to get Ubuntu MATE to finally run on my Pi 3B+ after following this tutorial: https://www.youtube.com/watch?v=tdJrd75_068&lc=z234tvgocvmqyzb5a04t1aokgml1ll00iwv1gbnt2da0rk0h00410....
0
votes
1answer
108 views

How can I debug why SFTP is not working while SSH is working?

I have an arcade run on raspberry pi 3 flashed with RetroPie 4.4. I already enabled SSH capability via raspi-config menu Test I can SSH into my Pi perfectly fine, but I can not SFTP into it. ...
0
votes
1answer
151 views

How do I prevent Pi prompt for username and password ? [duplicate]

I have an arcade run on raspberry pi 3 flashed with RetroPie 4.4. Just now, I'm not sure what had happened to my Pi hardware, network, or even SD card when I boot, I kept getting prompt to enter the ...
0
votes
1answer
47 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
1answer
36 views

Parallel compilation linux real time kernel

Within the framework of a lab I had to compile a kernel using several commands such as: make zImage j-8 make modules j-8 make dtbs j-8 j-8 means I used parallel compilation but I am asked this ...
4
votes
1answer
102 views

Login to Raspberry Pi Via Python Script

I am trying to make a system to login to the Raspberry Pi with an RFID tag. I successfully connected the RFID reader RC522 module to the Raspberry Pi and I can retrieve the number of the tag and write ...
1
vote
1answer
94 views

Why won't my systemd execute?

I get this error message when I try to run systemd: Failed to create /user.slice/user-1000.slice/session-c2.scope/init.scope control group: Permission denied Failed to allocate manager object: ...
1
vote
1answer
112 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
165 views

How to ssh without needing a password [duplicate]

I just want to run a python file on raspberry pi and use terminal code ssh. So, I don't want type password to do that. What should I do?
2
votes
2answers
278 views

Failed to create symbolic link?

I'm trying to symlink file /etc/systemd/network/00-default.link to /boot/00-default.link. This allows me to force a change to my MAC address from the boot directory, which is the only directory ...
4
votes
1answer
343 views

A USB modem not working on Raspberry Pi 3 Model B+

I have been trying set up USB modem on my pi (Raspberry Pi 3 Model B+) but have not been successful. The modem in itself is recognized - lsusb shows the entry for the device - but I cant't get it ...
1
vote
2answers
41 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
39 views

Show me how to a start a background process and then be able to kill it at later time [closed]

Can someone please show me an example of starting a simple background process on the command line; and then later maybe have to open a new command line and then kill the background process?
0
votes
0answers
296 views

Transmission-daemon permission denied in /home/pi/ folder. How to fix it?

I don't want to use any USB drive with my Raspberry Pi because my SD card has 32GB storage. So i put /home/pi/torrent/downloads and /home/pi/torrent/incompleted location in the /etc/transmission-...
0
votes
1answer
19 views

Trouble with changing owner group of a windows shared folder from root to pi

I have mounted a windows shared folder to a raspberry pi directory using sudo mount.cifs ip_address_windows_machine/folderpath /home/pi/shared_folder -o user=MY_USERNAME,password=MY_PASSWORD The ...
0
votes
2answers
45 views

In Raspberry Light how do I conditionally disable the wlan interface when the eth interface is connected?

We are using Screenly and a Raspberry Pi 3 Model B for digital signage. I see from the documentation that this is running on Raspberry Light version of Linux. Due to the web interface for Screenly, we ...
3
votes
0answers
205 views

Why doesn't extract-vmlinux work with Raspbian's /boot/kernel*.img?

To monitor if a reboot is necessary, I wanted to compare the version of /boot/kernel*img against the version of the running kernel. To get the kernel version of a compressed linux kernel image (...
0
votes
1answer
120 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 ...
0
votes
1answer
50 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
0answers
38 views

Rpi sd card image back up done in windows not open in ubuntu?

I have taken the back up of my Rpi SD card using win32diskImager in windows. I have got the successful message and the Image file. Then I tried to open the same image in the ubuntu but only the boot ...
1
vote
0answers
33 views

My Pi seems to be duplicating my USB stick in the file manager

I formatted my USB stick and called it STORE-1 But after some time, File Manager showed me this: Before it was SETTINGS and STORE-1. Now access is denied to STORE-11 and STORE-1 and I can only use ...
1
vote
1answer
99 views

Missing cpu.cfs_period_us cgroup subsystem in Raspbian Stretch on Raspberry Pi Zero

I'm dabbling about with cgroups on my Raspberry Pi Zero using the latest version of Raspbian Stretch and I was surprised to see only the following cpu cgroup subsystems available: cgroup....