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 [raspberry-pi]

Low-cost single-board computer the size of a credit card. Also check the Raspberry Pi SE: http://raspberrypi.stackexchange.com/

0
votes
0answers
7 views

Tunneling VNC for guacamole

I want to set up multiple Raspberry Pis to be accessible via VNC. For this I think guacamole is a good option as it doesn't require to install a client which is really what I want. The thing is that ...
1
vote
0answers
13 views

Raspberry Pi 3 bluetooth stops working after a while

I use it to connect to a speaker (as a pulseaudio sink) dmesg | grep Blue shows the following: [ 14.034501] Bluetooth: Core ver 2.22 [ 14.034587] Bluetooth: HCI device and connection manager ...
1
vote
0answers
23 views

Open USB off specific port in linux

I am using a raspberry PI. I want to create a USB bridge, meaning I can transfer the files from one USB to another automatically. My problem is finding the specific USB I want to take the files from,...
1
vote
1answer
28 views

Pi Hole DNS not working after configuring Wireless Access Point on Arch Linux in Bridge Mode on Raspberry Pi

I'm experimenting with a Raspberry Pi 3 Model B (running arch linux) and its WLAN module. Until today I had Pi Hole running on it for my entire network. The Pi stands where we have very poor Wifi ...
1
vote
0answers
32 views

SAMBA/MiniDLNA: Use RAM as working/Cache Directory?

As a follow-up to this question: I want to reduce High I/O Load on Raspberry Pi when streaming with MiniDLNA from an SSHFS/NFS Share. At 'iotop' I could see MiniDLNA/Samba uses over 99% Disk I/O ...
1
vote
1answer
25 views

Mount SSHFS to tmpfs/Memory/MiniDLNA just write to RAM

to reduce the I/O on my low end Raspberry Pi, I want to set my SSHFS/NFS to be mounted in RAM. MiniDLNA then will stream it to my Network. As I can see in IOtop, Minidlna uses 99% of IO usage, and I ...
0
votes
0answers
10 views

Run Minidlna from RAMDisk

I am using Raspberry Pi to stream movies to my LAN. The movies are mounted using sshfs and streamed with MiniDLNA. Now the Pi has very slow SD-Card I/O, at iotop I can see minidlna uses <95% I/O ...
-2
votes
0answers
35 views

Error When Turning Monitor Mode On Using Raspberry pi 3B+ On Alfa AWUS036NHA

While trying to set up a static ip address on my Raspberry Pi 3B+, I found a terminal tool called wicd-curses that lets you set up static ip addresses specific to each wifi or ethernet access point (...
0
votes
0answers
9 views

Y Axis inverted on Zytronic Displays Limited touchscreen

I have a 19" Planar monitor with what I assume is a Zytronic IR touch controller. Everything seems fine, except the Y axis is inverted. None of the solutions I've found for other displays have worked (...
0
votes
0answers
17 views

rotating different commands in supervisor

I've created a "photo frame" using raspberry pi 3b+ and the official 7" display where there is a supervisor command to launch youtube with certain city view broadcast webcam. The city has a few public ...
0
votes
1answer
30 views

execute sh script from crontab problem

I was configuring crontab with user "pi" to execute an sh script every 30 mins. In terminal:crontab -u pi -eI added this line: */30 * * * * /bin/sh /home/pi/test.sh And in the script test.sh there ...
1
vote
3answers
34 views

How to start an app in a remote desktop

I have a GUI app that I can run from a terminal window on a Raspberry Pi desktop and it displays the GUI output on the screen attached to the HDMI port. In the terminal window I run a command like ...
1
vote
0answers
25 views

Linux kernel does not handle orphaned sockets, why not?

This was originally posted to serverfault but was voted as off topic by the community. Let me just preface this question by mentioning I understand the why/how/where/when of the Linux kernel socket ...
0
votes
0answers
6 views

Catching usb-Printer Errors in CUPS

I am using the Raspberry Pi /Raspbian OS, and I would like to ask how we can catch errors in a printer? Like paper jam or no paper available in the printer? I am currently printing documents using my ...
1
vote
1answer
38 views

Scripting “Screen” in Raspbian

I've read lot of different links such as: Run script in a screen https://askubuntu.com/questions/854721/creating-a-shell-script-for-use-with-screen which all seem to say the same thing. I've tried ...
2
votes
3answers
101 views

connect LAN device to WLAN, using a raspberry pi

I have an oscilloscope that I want to access from my laptop. The scope only has a LAN connection, and my laptop is connected to my wifi. I can't connect the scope to my wifi router because I want the ...
2
votes
0answers
33 views

Raspbian restart network without reboot

When I am using raspbian with a 4g USB modem, sometimes the network goes down and there is no option to bring back the network unless I reboot the raspbian. In such cases, I try: service networking ...
0
votes
2answers
46 views

Delete User in /etc/group

i have tor install on my raspberry. *:/home/bitcoin $ cat /etc/group | grep debian-tor debian-tor:x:116:bitcoin,root,pi over can i add a user sudo usermod -a -G debian-tor bitcoin but how can i ...
0
votes
2answers
26 views

Creating persistent netcat link

I have a remote raspberrypi that uses autossh to connect to my local machine (with reverse tunnel -R). This should feed a dump1090 instance on my local machine. I'm using /bin/nc localhost 40005 | /...
0
votes
2answers
100 views

Accidentally moved sudoers file

I accidentally moved /etc/sudoers to Documents. I need to move it back to /etc, but I can't since I need to be sudo to move files... sudo mv Documents/sudoers /etc sudo: unable to stat /etc/sudoers: ...
0
votes
1answer
26 views

4TB hard disk on a Raspberry Pi

I never had problems with USB drives before, but this new 4TB by WD I'm unable to make it recognized. I created a single ext4 partition (GPT). I tried both connecting it directly, and also via a ...
1
vote
0answers
36 views

`apt-get`, `dpkg` fails from a bluetooth serial port, but succeed from the physically attached console

On Linux, is there some configuration setting or feature that could explain some commands can work from the system attached console, but not from a serial console? I post here because the remote ...
1
vote
0answers
43 views

input/output error using scp with external HD [closed]

I'm transferring large batch of files from a external HD via scp, between a raspberry pi and my desktop. The external HD is formatted as exFAT. Looking back, many of the files contained an input/...
0
votes
1answer
48 views

SEVERE: regression in latest systemd update for Raspbian Stretch

I've recently updated my Stretch system and this got me version 232-25+deb9u6 of systemd. A very nasty side effect is that my /var/log/auth.log gets flooded with stuff like: Nov 30 07:13:34 rpi2-2 ...
1
vote
1answer
104 views

Why is top command showing users that the who command is not?

Working on a Raspberry Pi 2, running Raspbian GNU/Linux 9 (stretch). I am simply trying to understand why, when I run the top command I can see some users that I cannot see in the who command. Here ...
0
votes
1answer
34 views

Use crontab to start AnyDesk

I am using AnyDesk on a Raspberry Pi 3. After around 6-7 days, it suddenly consumes all the memory and the device stops responding. To prevent this, I am using crontab to execute /usr/bin/killall ...
-2
votes
1answer
18 views

How to increase size on root.union partition

I am trying to update 3B image to run on 3B+ but it needs to install packages worth 480MBs. They are to be installed on /var/cache/apt but I only have about 360MBs free on that partition. You can have ...
0
votes
0answers
38 views

How does the kernel find and initialize (wifi) network interface devices?

When initializing the system how does the kernel, or the Berkeley Sockets system identify and initialize network interface devices? On my Raspberry Pi Zero W, the wifi chip is connected as a device ...
1
vote
0answers
62 views

adding a pulse audio bluetooth sink configuration

I'm connecting a raspberry pi 3b+ to a small bluetooth speaker (mostly thanks to http://youness.net/raspberry-pi/how-to-connect-bluetooth-headset-or-speaker-to-raspberry-pi-3 and some other resources) ...
-1
votes
0answers
28 views

File permissions over Samba don't allow read access to Mac unless through an app

I've been trying to just set up a network file server. I have a Raspberry Pi set up with Samba and 4 drives mounted to a folder. No matter what I did I could not get the drives to mount as I wanted ...
0
votes
1answer
116 views

Options error: Parameter ca_file can only be specified in TLS-mode

Im currently trying to setup an OpenVPN Client on my Raspberry Pi. I keep on getting some error messages related to TLS. The syslog gives me this: Nov 23 08:34:56 raspberrypi ovpn-ersterclient[1370]...
1
vote
2answers
41 views

Is it trivial to compile standard Intel Debian programs to Arm?

Is it trivial to compile standard Intel Debian programs to Arm? Am I simplifying this process? Take any of my favorite programs (R Studio, Sublime Text, Peek, etc.) Find the source code on GitHub or ...
0
votes
0answers
127 views

Raspbian Linux SquidProxy 4G Modem Proxy - Cannot Connect To Internet Via 4G Proxy While 4G Modems Have Internet

I'm trying to create 4G proxies via squidproxy but I am failing at it for 2 straight days now.. I don't know what to do anymore.. I'm using a raspberry pi with raspbian and squid 3.5.x.x (latest ...
0
votes
1answer
19 views

Exernal addresses not resolving

I recently changed ISPs. I got a new router. After a lot of messing about I have the router running almost the way I want it. However, since then my Raspberry Pi can't resolve external addresses. So, ...
1
vote
0answers
41 views

Running `ntpd -q -g` to set the time on Raspberry Pi never completes

On my Raspberry Pi which has been running for about 4 or 5 years now, I have a cron job running every hour that sets the time. I know form experience that my Pi has a tendency to drift its time quite ...
0
votes
1answer
28 views

changing wifi password over SSH on wifi-only headless server

I want to change the password for my wifi network foo. I've got a raspberry pi connected to foo. I only use SSH to talk with it. The pi is headless, and it isn't convenient to attach a monitor+...
0
votes
1answer
27 views

Restart gui (GTK) on Raspberry Pi from remote shell

I have a script that kills the biggest lxpanel task on my Raspberry Pi, but occasionally it kills both tasks, which kills the menu system on the GUI. I am using VNC to view the desktop and I have ...
1
vote
0answers
32 views

Changing resolution on touchscreen

My screen resolution is supposed to be 1366x768 according to the screen documentation. In viewing the display, it goes "off the screen" so I am guessing the resolution is simply set incorrectly. Here ...
2
votes
1answer
126 views

Routing traffic through VPN using Raspberry PI

I have a setup like this: - Raspberry PI connected to router via LAN cable - Created a bridged connection between eth0 and wlan0 - using hostapd for wifi hotstop - configured l2tp/ipsec connection ...
0
votes
1answer
13 views

How to use Libudev to find out which ports are connected to my Usb

I made a kind of module. Different sensors are placed in the module. I connected the module to Raspberry Pi through RS232 converter. I am using Libudev to automatically find out which Pi port has ...
1
vote
0answers
35 views

Change how device appears on bluetooth [closed]

I want to know how can i change how the device appears on Bluetooth. I have a raspberry pi and i need it to act as a Bluetooth printer so that another device that can only print through Bluetooth will ...
-1
votes
0answers
22 views

How to autostart ssh daemon changing configuration files

I have Orange PI (Raspberry PI derivative) and SD card with Ubuntu server installed. I've checked and ssh server is installed (/etc/init.d/ssh file presents and /etc/ssh/sshd_config file configured), ...
0
votes
1answer
32 views

UART to UART tcp/ip connection

Need to transmit and receive data(TCP/IP) between 2 raspberry through serial tx/rx pins (/ttyAMA0). Best way to do it? Better if this will be done from kernel space. Thanks!
0
votes
1answer
63 views

using if statement directly in bash prompt?

I am not sure if this is even possible directly. But I am trying to get the current temperature of the CPU using: cpu=$(</sys/class/thermal/thermal_zone0/temp) I want to pipe the output of the ...
0
votes
1answer
76 views

no process in pidfile; found running, none killed

I'm working on an emailnotifier script on RaspberryPi which was written in Python. I've found a tutorial page, I've exactly copied the default code (which works fine with a simple "python ...
3
votes
2answers
663 views

Reduce Boot time

I would be interested in finding ways to reduce the boot time, specially in embedded-related environments. I've read somewhere of a method to avoid the kernel to load some drivers or modules but I'm ...
0
votes
1answer
42 views

Problem with SFTP on Arch-ARM

I have installed Arch ARM on a Raspberry Pi 3 and created a new user. Pretty much everything is working; I have copied my public/private keys and can ssh into Arch on the Raspberry Pi. NOTE I am only ...
1
vote
0answers
97 views

Squid with squidguard launch problem [closed]

I'm not able to successfully launch squid with squidguard. Here is my service squid status : ● squid.service - LSB: Squid HTTP Proxy version 3.x Loaded: loaded (/etc/init.d/squid; generated; ...
0
votes
1answer
102 views

/etc/fstab for my usb drive won't boot

I've used sudo blkid to mount my drive with fstab like this on /etc/fstab: UUID=1169dd89-29fe-436c-9aef-fa78ea7ee138 /media/hd ext4 defaults,auto,umask=000,users,rw 0 0 I also tried PARTUUID=...
0
votes
1answer
50 views

Automatically restarting a process when it dies?

I have a process running on a raspberry pi. After ssh ing into in to the process is started like this: nohup .../blah/blah & IIUC this allows me to log out of the pi and the process keeps ...