Raspbian is a free operating system based on Debian optimized for the Raspberry Pi hardware.
Questions tagged [raspbian]
145 questions
1
vote
1 answer
MySQL not allowing remote connections using Python3 mysql.connector on Raspbian-Stretch
I am trying to allow connections using mysql.connector from a specific machine to a MariaDB server, within the local network.
Ideally, I would like to create an account limited to a single IP and DB.
For simplicity, I have tried the following…

macourtney7
- 111
- 4
1
vote
0 answers
VPN configuration errors : route and NLSMG_ERROR: error -101
I'm trying to use ovpn on my raspeberry (distr. Raspbian) but it doesn't work: Initialization Sequence is Completed, but my IP doesn't change.
Here is the log:
Fri Nov 9 13:56:19 2018 WARNING: file 'PrivateKey.key' is group or others accessible
Fri…

OthonVon
- 11
- 1
1
vote
1 answer
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 Raspbian) machine:
iptables -t mangle -A PREROUTING…

Roxy
- 113
- 1
- 4
1
vote
0 answers
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/local/etc/custom-skel foo
But it seems like the -k…

Haprog
- 111
- 4
1
vote
2 answers
Something is regenerate ports.conf
Since the last update of my Raspbian "something" is updating my apache ports.conf file by adding these two lines automatically:
Listen 81
And:
Listen 443
But I need you to listen to the port 4443 because I'm using…

gokuhs
- 31
- 3
1
vote
1 answer
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 interfere with my testcases. How can I disable those…

icehawk
- 111
- 2
1
vote
2 answers
HTTP connections are fast from local network, very slow from the outside world
I setup a Wordpress server in a Raspberry Pi with nginx, MariaDB and ufw. I also setup the No-IP service. When I access the server from my local network (192.168.0.173) I get a fast response but when I try to access from the outside world the…

Adrián Arroyo Calle
- 111
- 1
- 6
1
vote
1 answer
Unattended-Upgrade sends status e-mail to wrong address
I have a strange error that I cannot figure out myself.
I want unattended upgrades to send a status e-mail to a certain address. But somehow it always changes the "to" field in that email to something else. No matter what I…

xronin
- 11
- 1
1
vote
1 answer
Moving linux server from ARM to x86
I've got a RPi LAMP server; Apache alone drives our Nextcloud, Zabbix, Prestashop, Guacamole and few other - we're unhappy with the performance as my 1GBit fiber is wasting on RPi(only 100Mb/s) and playing 4k video is not possible for two people at…

CRUDO
- 11
- 2
1
vote
0 answers
postfix, cannot send any email, timed out
I try to add a email server on my raspberry (with a apache server already runing)
I Try a lot of things and conf for a while and it look like all mail are sent on port 25 even if the config si supposed to not use port 25
there is my main.cf
# See…

jiere zffeff
- 11
- 1
1
vote
1 answer
403 Forbidden on initial load after installing NextCloudPi
I am making this post mostly for awareness in case anyone else is having a similar issue.
Story
I am running nextcloudpi (nextcloudpi.ownyourbits.com) on a Raspberry Pi 4 8GB using the Debian Buster install script. Note: the OS is Raspberry Pi OS…

Aaron Welborn
- 31
- 2
1
vote
1 answer
ERR OpenVPN is not listening (Raspberry PI using pivpn)
I am trying to get my old pi running a VPN server so I can access local resources from outside my local network.
Following the steps below:
curl -L https://install.pivpn.io | bash
Selecting default settings, OpenVPN, DHCP reservation, udp, port…

Josh Morris
- 11
- 2
1
vote
1 answer
Forbidden ... denying access to be safe
Total n00b here.
I'm running a LAMP stack using Raspbian OS on a Raspberry Pi 4 Model B.
I tried googling around, but I couldn't find a thread that matched my issue.
My jenga tower seemed pretty stable. However, in the last week, I've started…

didvids
- 11
- 2
1
vote
1 answer
Apache sends garbage response when requesting a .jpg
I am running Apache/2.4.38 (Raspbian). When requesting HTML and PHP everything works fine. When I request a .jpg file, apache seems to skip a few bytes at the beginning of the response header, and some garbage is included at the end of the…

Harald
- 11
- 1
1
vote
1 answer
Enable UFW temporarily, not on boot?
Scenario: I am on a remote server, and if I set up UFW incorrectly, then I will be locked out without chance for easy recovery. So I want to start ufw and see if it works. If it doesn't, then I want to restart the server and have ufw disabled. Note…

feklee
- 505
- 5
- 19