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 [raspbian]

The tag has no usage guidance.

-1
votes
0answers
13 views

DHCP client not updating resolv.conf properly

I have Raspberry Pi with Raspbian and I tried installing PiHole. Ity didn't worked too well, so I uninstalled it. But since then, my DNS are not working. This is my dhcpd.conf (comment lines removed):...
0
votes
0answers
19 views

Issue in systemd service activation for uwsgi, flask in raspbian

I am creating a systemd service for uwsgi using a non root user and virtualenv in raspbian. In this process I am facing some issues - labapp.service file - [Unit] Description=uWSGI ...
0
votes
1answer
30 views

fsck on boot leads to systemd dependency failure and subsequent boot failure

If a fsck takes longer than 90 seconds during boot, the systemd unit times out and the system falls into emergency mode. This is obviously very unfortunate with headless devices without KVM, as the ...
1
vote
1answer
24 views

USB Modem soft reinitialization [closed]

I'm using an USB 3G/4G modem to access the Internet (connection with wvdial) but also to query my account usage, recharge and buy data offers with AT commands on the serial ports. Sometimes the modem ...
0
votes
0answers
31 views

local ssl cert on private ip on apache (linux)

I've got a weird problem I can't seem to find an answer to. I'm developing a webapp on Apache hosted on a Raspberry Pi and I'm having some trouble. The Details: The system I'm building is an "...
1
vote
1answer
50 views

ZFS on Linux: clear receive_resume_token pointing to a no longer existing snapshot

I am using syncoid from sanoid project to create copies of ZFS filesystems on a different machine in my test environment (a couple of Raspberry Pi) I messed up with a snapshot on origin machine: one ...
0
votes
0answers
145 views

OpenVPN Client Does Not Connect After Reboot

i am working on my LAN network and i am trying to set up VPN. i have never set up VPN before and i do not know how to debug my issue. i used PiVPN which is an automated script to set up a typical ...
-2
votes
1answer
84 views

Clear DHCP lease on disconnect [closed]

I have a rather specific situation where i'm at a bit of a loss on how to do things properly so i figured it was time to ask for help. Situation is: i have a Raspberry Pi with a 3G modem as well as ...
0
votes
1answer
251 views

Cygwin Windows < Linux rsync - connection unexpectedly closed

I'm trying to backup my Raspberry Pi 3 (Raspbian) to my desktop computer (Windows 10 Pro). At the moment I can SSH each way, specifying the private key file. To SSH into the RPi from Windows: ssh ...
0
votes
0answers
31 views

How to connect 2 network over openvpn

I need to access 192.168.9.0/24 from 192.168.1.0/24 only one direction. I tried using ssh tunneling over raspberry pi(10.8.0.2) but this is not an exact solution for me. Operating system of the ...
0
votes
1answer
125 views

Permission denied when trying to get remote access via SSH [closed]

I'm trying to access my RaspBerry Pi via ssh using Openssh but I keep getting permission denied when when I try to access from my laptop. I'm in the local network. I've checked the PAM is activated. ...
0
votes
0answers
25 views

Route port with iptables from public IP to VPN IP

I'm trying to route the traffic from port 9999 on public ip to a private ip on port 99 with a VPN in the middle. Lets imagine that I have a public ip, X.X.X.X that when i enter to port 9999 i want to ...
0
votes
0answers
155 views

OpenVPN client not resolving host when resolv.conf symlink to /tmp/resolv.conf

I'm modifying a Raspbian Stretch image to boot with read-only root partition. For this I'm changing /etc/resolv.conf to be a symlink to /tmp/resolv.conf, which seems to break hostname resolving for ...
0
votes
0answers
38 views

SSH copy key from Raspberry Pi to Linux

I am trying to create a new ssh key, and copy it to a server, using a previously generated ssh key. /usr/bin/ssh-copy-id -f -i /home/pi/.ssh/newKey -o "IdentityFile=/home/pi/bob" user@host.edu The ...
0
votes
1answer
238 views

Where to save ip rule, ip route and iptables commands on Debian Stretch?

To make an SSH server work properly while still maintaining an OpenVPN connection, I have a small mixture of ip-related commands I need to persist and run on startup on a Debian Stretch (actually ...
0
votes
0answers
10 views

nginx server not serving requests from LAN [duplicate]

I am running an nginx server on a raspberry pi 2, i can access the site from outside of the network but not from inside. If i connect to a VPN i can access the site. This is the same on my laptop, an ...
1
vote
0answers
78 views

How to use a custom skeleton directory with useradd?

I'm trying to create a new user account using a custom skeleton directory instead of the default /etc/skel. Reading man useradd I'm pretty sure this should work: useradd -m -d /home/foo -k /usr/...
0
votes
0answers
211 views

Lighttpd running FastCGI script hangs and give 500 internal error

I'm attempting to use lighttpd and fastcgi to run a small flask application. When I try to start lighttpd, it starts the server just fine, but when I try to connect in the browser, it hangs without ...
1
vote
1answer
104 views

Making raspberry pi answer on both wlan and eth1 (wifi dongle and 4g modem) [closed]

I have a raspberry pi that currently answers SSH connections in my wlan0 wifi dongle. I have a 4G USB modem that registers itself as a ethernet device like eth0 when I connect to my raspberry pi. The ...
0
votes
2answers
53 views

Something is regenerate ports.conf [closed]

Since the last update of my Raspbian "something" is updating my apache ports.conf file by adding these two lines automatically: Listen 81 And: <IfModule mod_ssl.c> Listen 443 </IfModule>...
3
votes
1answer
122 views

Error When Setting up SSL on Alternate Port [closed]

I have a web server running on a Raspberry Pi. I am running stunnel on port 443, so I have been working to move my web server to port 8443. I use Let's Encrypt (Certbot) for my SSL certificates, and ...
0
votes
0answers
189 views

LDAP proxy to AD always get invalid credentials

I'm trying to configure LDAP proxy to our ActiveDirectory server and I always get error when I'm trying to test if it works: ldap_bind: Invalid credentials (49) additional info: 80090308: LdapErr:...
3
votes
1answer
476 views

Why do I get this APT warning: Signature by key […] uses weak digest algorithm (SHA1)?

I'm hosting a private Debian repository for some custom Raspberry Pi code. I originally built the software on Raspbian Jessie (version 8), generated a GPG key which I use to sign the repository, and ...
0
votes
0answers
23 views

CUPS empty spool files

We have a lot of Raspberry Pis which are acting as print servers for Zebra label printers. Pi (behind the NAT) connected to application server by vpn connection. It receives raw print queue via xinetd ...
0
votes
1answer
48 views

Raspberry Wi-Fi Access Point doesn't transmit traffic from mirror port [closed]

I'm setting up a Raspberry Pi as an Access Point (Wi-Fi) and I'd like to use it to monitor a switch traffic. I setted up a mirror port on a Cisco Catalyst switch and configured my Raspberry Pi to ...
0
votes
1answer
49 views

Wake on LAN timing out when left overnight

I have a direct ethernet connection between a Windows 10 PC and a Raspberry Pi. I have the Pi set up as a server that I can hop onto and run a script that will run Etherwake, a command line Wake on ...
-2
votes
1answer
192 views

dnsmasq: specific domain and subdomain to specific folders [closed]

I'm creating a website on my Raspi 3 and I want to link domains with the html folder to make it easier to access in the local network. I want to achieve the following: mydomain.example -> 192.168.0....
0
votes
1answer
69 views

Tell APT to use package installed from source for a dependency

I'm on a raspberry pi (which I'm using as my web server for my consulting business) and I'm trying to install package php7.0-dev. However if I have this problem: sudo apt-get install php7.0-dev ...
0
votes
1answer
349 views

ssh server locally accessible, refusing remote connection

I've come across bunch of documentation on google/stack on this issue. but didn't find any solution I've a raspberry pi ssh server in my LAN that I want to ssh from internet (Outside the LAN). I ...
1
vote
1answer
580 views

Can't get upsmon service started to monitor (and respond to) remote UPS

I am having difficulty getting my nut install to simply monitor a single remote UPS attached to a Buffalo LinkStation Duo. I can manually correctly read its status using upsc ups@buffalo.local and it ...
3
votes
2answers
2k views

Cron job vs NodeJS setInterval for optimal performance

I'm building a simple nodejs script that updates a DNS record based on my current IP. The script works fine but I have some concerns regarding how should I run it. The check for my IP must be ...
1
vote
1answer
431 views

How to disable IGMP in Raspbian

I am writing testcases for the IGMP and MLD implementation of a network switch. Those testcases run on Raspbian. However, Raspbian seems to regularly send IGMP reports/queries of its own, which ...
0
votes
2answers
69 views

Custom Raspbian password too long to login before 60 second timeout

I'm working on a project that uses the custom Yodeck image on a raspberry pi 3. I need to install some additional software on the box and they provide a username and password for console login. After ...
0
votes
0answers
1k views

OpenVPN Unrecognized option or missing or extra parameter(s) in client.ovpn:126: < (2.4.0)

I`ve got problem with OpenVPN on raspberry. When I try to connect using Windows : Options error: Unrecognized option or missing or extra parameter(s) in client.ovpn:126: < (2.4.0) Here is my ...
0
votes
0answers
33 views

Intermittent connection between raspberry pi 3 and DELL server

using raspbian 3 GUI with static ip 192.168.0.199 and a DELL server running headless ubuntu 192.168.0.196 and a RFID reader running on 192.168.0.68 All are static IP addresses I have a python ...
2
votes
1answer
393 views

Is there a way to make apt-get upgrade not show changelogs?

I want to be able to script apt-get upgrade to run seamlessly without prompts, but in my experiments, I can't get it to stop showing prompts, even with -y or --force yes. Lately, when setting up RPis ...
0
votes
1answer
77 views

Sudden MariaDB Failure - Error: connect EAGAIN /var/run/mysqld/mysqld.sock

This is the second time in a week that this has happened. Suddenly our nodejs app starts freaking out because it can't make a connection to the database reporting this error: Error: connect EAGAIN /...
0
votes
2answers
472 views

Node.js server initially failing with systemd EADDRNOTAVAIL

I have a need to start a script on an http get request from an external machine and I'm using Node.js for this. I want the server to start with the system. Everything is working except that it appears ...
-2
votes
1answer
2k views

OpenVPN Client connects, but DNS setting are not correct (cannot resolve domain names)

I've an active subscription with VPNUnlimited, and they have sent a few settings in order to be able to use OpenVPN client with their service. (they have sent me pre-made .ovpn files for each of their ...
-1
votes
2answers
129 views

Completely rename an unix user [closed]

Recently I had a hack try on my server and someone from this forum gave me some solutions to protect my server from hack. A trick is to not use defaults users, for example pi for the raspberry. The ...
-1
votes
2answers
63 views

Why is using Apache only using port 80 when other ports are configured? [closed]

I have Apache running on a debian server. On the initial install and setup, it was running fine on port 80, I successfully installed an instance of Wordpress and everything was fine. I want to reduce ...
1
vote
1answer
1k views

Error recovering Local SID

What is fine : LDAP is alright, and can be accessed with phpLdapadmin without problem. LDAP hybris95home.local contains "dn=admin,dc=hybris95home,dc=local" value. What is wrong: Using net ...
-1
votes
1answer
52 views

How does raspbian choose amongst IP addresses?

I'm running a Raspbian client connecting via HTTP to a Raspbian server. Apache on server is setup to not require authentication for local IPs- both ip4 and ip6. Both client and server are attached to ...
10
votes
3answers
1k views

After enabling HTTPS on my Apache2 server - I get 404 errors on every request [closed]

Okay, so I've had no experience with SSL/HTTPS ever before, I've only ever dealt with standard HTTP. Recently I've started work on a site which will need SSL. So of course, I've gone out and ...
-1
votes
2answers
351 views

Access MAC addresses (IP to MAC - ARP) between two subnets. Seperated via router

I've come across an issue, and after spending days investigating I've realised I need some advice. My networking skill level is still quite low. I've got two routers, with two LANs. I've connected ...
0
votes
2answers
187 views

GNU Mailman stuck in loop sending to itself

When I send an email to my Mailman mailing list address, it is getting stuck in a loop. When I send an email out, the email that is supposed to get sent to the list of subscribed people, instead it ...
0
votes
0answers
335 views

Nginx multiple sites on the same domain

I'm running on Raspbian (Have got a Raspberry pi 3) and I want to run Seafile (cloud) and Nagios (monitoring tool) with the same hostname but on a 'virtually' different subfolder. I manage to run ...
-1
votes
1answer
666 views

Cron script on reboot not working unless I sleep for a few seconds

First of all I'm not sure whether I should post it here or under the Ubuntu-specific forum but I thought this is probably a more generic question. I have a Raspberry Pi 3 with Raspbian Jessie, I ...
0
votes
1answer
116 views

PHP does not handle “bigger” http requests correctly

After an OS update, "bigger" HTTP requests are no longer handled correctly by the web server/PHP/MediaWiki. Wiki article content is truncated after about 6K characters and MediaWiki reports a loss of ...
-3
votes
1answer
655 views

Permission denied mounting NFS volume on raspberry PI with Synology [closed]

on my diskstation: /volume1/Blockchain 192.168.1.27(rw,async,no_wdelay,insecure,no_root_squash,insecure_locks,sec=sys,anonuid=1025,anongid=100) /volume1/BigStore *(rw,async,no_wdelay,root_squash,...