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
2
votes
3answers
1k views

Connecting raspberry pi 2 to pc without internet

I want to be able to run a server (created with python sockets) on a raspberry pi 2 and connect to a client running on pc via wifi without having a connection to a router or to the internet. I've ...
2
votes
2answers
816 views

Setting Rasp Pi screen resolution remotely for remote access

I have a Raspberry Pi that I am accessing via Screen Connect for remote access. Is there a way to set the pi so that when it boots up it uses a specific screen resolution? Editing the HDMI settings ...
2
votes
2answers
702 views

Raspberry Pi backup server (windows & mac)

I would like to set up my raspberry pi model B and my 2TB hard drive as a backup server for both my windows pc and my mac. I would like to partition my hard drive such that 300GB is for mac time ...
2
votes
1answer
862 views

Automount USB as read only for MP3 player

I've made a MP3 player for the Pi using a 16x2 LCD display and 5 buttons; what I would like to do next is to add the ability to automount any USB flash inserted and then tell my program (all written ...
2
votes
2answers
9k views

RedHat distro on RPI?

Looking around for a RedHat (and the like) distro to run on the RaspberryPi (512MB RAM version), I came across RedSleeve, which has done the job of porting RH to the RPI architecture. They also ...
2
votes
3answers
5k views

soft-float debian wheezy and debian wheezy

I've been instructed to load ubuntu on a raspberry file. I was told "The Ubuntu image for the Raspberry pi called ‘Soft-float Debian wheezy' Is that different from the Debian Wheezy I see on the ...
2
votes
2answers
95 views

List of supported software versions?

I saw a few questions, which are asking for the latest version of package/lib/software named XY, so I do believe that a more general question, which could help other looking for some package/lib/...
2
votes
2answers
95 views

No /etc-Folder in .img-File

I made an IMG-File of my LibreELEC and now i want to edit it on my Windows machine. I need to make changes in the /etc-Folder and I can't do that live on the system since LibreELEC is read-only FS. ...
2
votes
1answer
97 views

Overlapping SD Card Partitions

I have a 32GB SD card that I have been using for a year or so and when troubleshooting a separate issue I noticed that the partition table looks very different than the other Raspbian images I have ...
2
votes
1answer
41 views

What unique-isms does Raspbian have that should be considered in custom Pi linux builds?

I've been considering making a custom linux build for the Raspberry Pi for the sake of minimalism and performance. It occurred to me that, perhaps, Raspbian headless might be as minimal as one can ...
2
votes
2answers
15k views

Sudo has stopped working : sudo: error in /etc/sudo.conf, line 0 while loading plugin `sudoers_policy'

I have a weird issue with my Raspberry pi - sudo has stopped working. Every time I try to run a command using sudo, i get this: sudo: error in /etc/sudo.conf, line 0 while loading plugin `...
2
votes
1answer
328 views

Finding workgroups on a network

I have a few Pis (Raspbian), a few Windows one other Linux PC on my LAN at home. They operate under two different workgroups set by the Windows computers. I'm playing around with the settings of Samba ...
2
votes
1answer
3k views

How to set pull up/down resistors in a kernel module

Hellow I'm enthusiast newbie in linux kernel modules development. I started writing basic kernel modules that control Pi's gpio. But i came in to sticky situation i need to set pull up/down of pins ...
2
votes
1answer
5k views

Verify working of I2C bus though command

I am trying to verify I2C bus through command (i2c tools) only. For this purpose I detect my I2C buses as follows ls -l /sys/bus/i2c/devices/i2c* lrwxrwxrwx 1 root root 0 Jan 27 12:...
2
votes
1answer
1k views

Manually mounting ext hdd works, mounting via fstab fails

I have 2 external HDD connected to my Raspberry Pi 2. One [NTFS] (auto)mounts and flawlessly. The other one does not mount via /etc/fstab and returns a filesystem error but mounts when I manually ...
2
votes
1answer
15k views

Installing Kali Pi using all available storage space?

Is there any way to install kali linux for raspberry pi using all space that is available on the micrSD card initially or do you HAVE to go back later and resize partitions in order to utilize the ...
2
votes
1answer
836 views

Raspberry Pi Linux, Android, and bridging it all together

I'm running a Raspberry Pi 2 with Raspbian as a central controller. I have an external modem that feeds the Pi an internet connection through USB, and now I'm trying to reverse tether the rooted ...
2
votes
1answer
697 views

si7013 driver install raspberry pi

I bought a Silicon Labs si7013/20/21 usb dongle and now I'm trying to install it onto a raspberry pi 1 running raspbian with kernel 3.18 + I compiled a kernel after adding the drivers to drivers/...
2
votes
5answers
387 views

Getting started with raspberry pi B+

I just got r-pi B+ and flashed an 8gb sd card with 'pidora'. But I am stuck at the logging in process. I don't have a display for the r-pi. All I have is a laptop running Fedora 20 and a raspberry pi ...
2
votes
2answers
4k views

Executing bash script in python language

I tried to make a python script to execute "sudo cp -avr /home/pi/progs/ /var/www/" but wasn't able 'cause of errors. Now I want to simply execute "ls /var/www/" but I got these errors: Traceback (...
2
votes
1answer
184 views

How much normal Linux can I do with OpenELEC?

I was thinking of using my RaspPI Rev B with some server type things, not too much CPU. It's the one computer in my house which is always on (everything else I have is a laptop or aggressively sleeps)....
2
votes
1answer
5k views

print a character in the usb-serial port

Hello everybody and thank you for all the answers that you give me to solve this problems. Someone said me: This code print a word that I choose in the screen, but How to send or print an ASCII ...
2
votes
2answers
8k views

Expand file system on USB on Raspberry Pi

Right now I'm using my Pi as a OwnCloud file server. I'm using a 16G usb stick as a boot disk because I wanted more speed and space. This have been working perfect until today, I now have a total of ...
2
votes
3answers
4k views

Creating boot script for webcam

I seem to be having trouble getting this to work, I'm trying to run mjpg-streamer when the Raspberry boots, but it doesn't using the script below. I have mjpg-streamer installed in: /home/pi/mjpg-...
2
votes
1answer
48 views

How to get acces torrents using Transmission?

I have installed transmission on my raspberry pi and im going to use it to download audiobooks and stuff like that. The torrent I tried to download is now in .torrent format (/.config/transmission-...
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
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 ...
2
votes
1answer
175 views

Error with Packages, cannot update/install, cannot remove package

I keep having an error installing / updating / basically doing anything that concerns packages. I am trying to get an I2C library going and I can't get sudo-apt-get install i2c-tools to work from a ...
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 ...
2
votes
3answers
3k views

Configure Rpi 3 for ethernet router with jessie

I am configuring my Rpi 3 as ethernet router. I have used dnsmasq for configuring dns and dhcp server. The configuration files are given below. /etc/network/interfaces auto lo iface lo inet loopback ...
2
votes
1answer
2k views

Why does i2c not work on my raspberry pi 3 model B?

I have the raspberry pi 3 model B and would like to communicate over i2c. I have heard that the bcm2835 and bcm2837 chip ar almost identical, so I should be able to use the bcm2835 library to ...
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=...
2
votes
2answers
25k 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/ ...
2
votes
1answer
80 views

Screen blanks after ten minutes and won't come back

Running a version of OpenEmbedded on a Raspberry Pi 2, the screen blanks after ten minutes. This happens regardless of whether there is keyboard activity. It will blank while you're typing. The ...
2
votes
2answers
4k views

Build a customized Linux kernel for the Raspberry Pi

I downloaded a linux kernel "linux-4.1.13.tar.xz" from kernel.org that i want to compile them for Raspberry Pi. Is it possible?
2
votes
1answer
170 views

linux system file writes to flash card, efficiency and flash endurance

I've got a more common question. I come from bare metal microcontroller development - there we usually avoid flash write access for several reasons. one is to avoid damage of the flash memory because ...
2
votes
3answers
856 views

how to run GDM on raspberry pi 2

I need to run GDM on raspberry pi 2 with a fresh arch linux. I installed: xf86-video-fbdev xorg-xinit gdm I created a ~/.xinitrc containing: exec gdm But when I use startx I get some text then a ...
2
votes
1answer
5k views

Raspberry Pi install screen - Internal Error, ordering was unable to handle the media swap

I am trying to install screen in my Raspberry Pi. If I run sudo apt-get install screen, I get the following error: E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?...
2
votes
1answer
647 views

Disk full but NCDU shows only 22.2 mb used

I have a Raspberry Pi that is running a bunch of scripts 24/7. Recently it has been giving me errors because the Disk is full. I checked /var/log and there were no gratuitously large files there. I ...
2
votes
1answer
3k views

Stop raspberry pi rc.local executing

I've added a security python script to the rc.local which unfortunately has a bug - This causes the pi to shut down on start up. Is there a way to bypass this script on start, or boot the pi into an ...
2
votes
1answer
2k views

How to share internet connection from ubuntu with RPi using Ethernet Cable [closed]

I am a new user of Raspberry Pi. I have a Ubuntu PC (with Ubuntu 14.04 running). My RPi is booted with Raspbian OS. I have added "ip=192.168.1.20" into my "cmdline.txt", at the end. Thus, in order to ...
2
votes
1answer
288 views

rPi B+ Arch Linux running Java application

My customer's java app - .jar file runs on rPi B+ with ArchLinux installed. Now, I've also enabled hardware watchdog timer which purpose is to reboot rPi when java app hangs. Now, I've configured the ...
2
votes
2answers
810 views

Is it possible to make a fully automatic installation of raspbian?

My problem is : I want actually to make the sd card bootable directly to raspbian and when booting from it for the first time I don't need to select configuration options. I searched a lot but I am ...
2
votes
2answers
132 views

What does T mean in file permissions?

I was wondering what the letter T means on the following results. $ ls -l /dev/mem crw-r----T 1 root kmem 1, 1 Jan 1 1970 /dev/mem I have changed the permissions and now I don't know how restore ...
2
votes
2answers
2k views

Raspberry unbootable after unexpected shutdown

I have a raspberry Pi, Model B. I installed Raspbian on the SD card and I would like to use it as a SVN server. The problem is that when it shuts down unexpectedly (i.e. there is a blackout, or DC ...
2
votes
2answers
3k views

open a win32diskimager-imported file on Windows

I have a raspberry pi. I did a backup by importing an image with win32diskimager. Is there any way to open this imported image and explore the filesystem in it? I'm on Windows 8, but Windows can't ...
2
votes
2answers
389 views

How to use ARM software in Raspberry?

I would like to run Maestro Control Center software (for Mini Maestro 24-Channel USB Servo Controller) in Raspberry. But it is not ARM software. It is availabe for Linux and Windows. I'm total newbie ...
2
votes
2answers
233 views

Prevent libsane.so.1 from being overwritten during update

I need to run the latest version of Sane-Backends to support my scanner. I've compiled the source such that it's out of the way for the distro's package V1.22 but when I run an update it overwrites ...
2
votes
2answers
2k views

code stops after few hours and raspberry py freezes. (pymodbus + rs485 + raspberry pi) python code

I am using pymodbus to collect some data from sensors 4 reading every sec. The program is in continuous loop but the problem is raspberry pi freezing every few hours (60 hr). The code stops ...
2
votes
2answers
6k views

Failed MySQL install (Raspbian)

I finally got a Raspberry Pi for Christmas and decided to set it up as a home web server. I have nginx with PHP set up and working. I came to install MySQL and ran sudo apt-get install mysql-server. ...