Go to advanced search

by topguy
Thu Nov 25, 2021 1:18 pm
Forum: Troubleshooting
Topic: To speed up the image reading from directory
Replies: 3
Views: 95

Re: To speed up the image reading from directory

What kind of disk is the directory on ? SD-card / USB-disk / Network share ?
How large are the files ?
by topguy
Tue Nov 16, 2021 11:09 am
Forum: Troubleshooting
Topic: Looking for 'qt5-default' for Bullseye. Different set of Qt5 packages for Bullseye?
Replies: 2
Views: 175

Re: Looking for 'qt5-default' for Bullseye. Different set of Qt5 packages for Bullseye?

On https://packages.debian.org you can search for which package a file belongs to. ( bottom of the page ) So a search for "qtchooser/default.conf" gives me: https://packages.debian.org/search?searchon=contents&keywords=qtchooser%2Fdefault.conf&mode=path&suite=stable&arch=an...
by topguy
Mon Nov 01, 2021 11:03 am
Forum: General discussion
Topic: rpi-imager 'Download for Ubuntu for x86' is not for x86
Replies: 7
Views: 546

Re: rpi-imager 'Download for Ubuntu for x86' is not for x86

I believe "x86" is used here as a common name for both "i386" ( 32bit ) and "amd64" (64bit) linux variants. Would only be a real problem if you actually have a pure 32bit CPU in your computer ? Google suggests that the last Intel CPU for desktops that could not run 64bi...
by topguy
Thu Oct 21, 2021 9:08 am
Forum: Python
Topic: Why isn't the QtBluetooth module included with the PyQt5 package on the raspberry pi?
Replies: 1
Views: 183

Re: Why isn't the QtBluetooth module included with the PyQt5 package on the raspberry pi?

From your link we can see that the package is awaiable in "bullseye", and I'm guessing there is a process to update RasPiOS to the same version since this is the new stable version since August. Maybe there is a beta-build you can test.. maybe you can do a release upgrade (probably a littl...
by topguy
Thu Oct 21, 2021 8:55 am
Forum: Networking and servers
Topic: Looking for advice on web project.
Replies: 8
Views: 559

Re: Looking for advice on web project.

If I understand this correctly then I will need to set the router will need to forward port 80 to the Pi and that Pi will have a firewall to block the forwarded port when it's not in use? Or just disable/remove the forwarding of port 80 in the router again. During installation og the certs, I think...
by topguy
Tue Oct 19, 2021 10:02 am
Forum: Networking and servers
Topic: Looking for advice on web project.
Replies: 8
Views: 559

Re: Looking for advice on web project.

I just opened for port 80 temporarely when creating the certs and then disabled it afterwards.
by topguy
Sun Oct 17, 2021 1:48 pm
Forum: Networking and servers
Topic: Looking for advice on web project.
Replies: 8
Views: 559

Re: Looking for advice on web project.

Is there an easy method to use HTTPS? You mean instead of VPN or on top of VPN ? Anyway, https://letsencrypt.org/docs/ has instructions how to easily create keys for your domain and creates Apache config for you. You need a domain for this, you can get a subdomain from https://freedns.afraid.org/ I...
by topguy
Mon Oct 11, 2021 3:10 pm
Forum: Python
Topic: My code isn't working
Replies: 3
Views: 223

Re: My code isn't working

The program prints the potentiometer value and the phrase 'turn backward'.
Repeatedly or only once ?
by topguy
Mon Oct 11, 2021 2:59 pm
Forum: General discussion
Topic: what the alternative of Microsip for raspberry ?
Replies: 5
Views: 249

Re: what the alternative of Microsip for raspberry ?

I see no trace of a package of that name in Debian so there is no installable version with apt. Even googling just gives me 5 years old source package, you might be able to download and compile ti for yourself, but I'm guessing it might be troublesome. Edit, forgot the link: https://sourceforge.net/...
by topguy
Wed Oct 06, 2021 3:14 pm
Forum: Beginners
Topic: can't run program from github.
Replies: 10
Views: 657

Re: can't run program from github.

When you use "sudo pip3" the modules are installed globally for all users. When you only use "pip3" then the modules are installed only for the "pi" user. So when you then later try to run the script as "root" as it looks liky you do, the installed modules can...
by topguy
Wed Oct 06, 2021 3:12 pm
Forum: Networking and servers
Topic: Server not accessible from outside
Replies: 5
Views: 399

Re: Server not accessible from outside

I forgot the obvious question.. Are you testing your dyn-DNS name from inside your router, from a computer on the same local network as the Pi ? Not all routers/ISP support this. Since the IP-address the DNS resolves to is "on the internet" the router sends it to the internet, but since it...
by topguy
Tue Oct 05, 2021 8:13 pm
Forum: Beginners
Topic: can't run program from github.
Replies: 10
Views: 657

Re: can't run program from github.

After manually instal from requirements.txt
Then it became important exactly what command you used to install those..
by topguy
Tue Oct 05, 2021 12:09 pm
Forum: Networking and servers
Topic: Server not accessible from outside
Replies: 5
Views: 399

Re: Server not accessible from outside

What error do you get when trying to connect ?
What software is listening on port 8080, apache or something else ?
Is it other software that are listening on port 80/443 ?

Doublecheck forwarding to correct IP 192.168.1.19 ( is IP on Pi static ? )
Do you check with http:// or https:// ?
by topguy
Mon Sep 27, 2021 12:17 pm
Forum: Troubleshooting
Topic: issues auto starting a python script pi3
Replies: 5
Views: 301

Re: issues auto starting a python script pi3

You dont use "sudo", rc.local is already running as "root". You should add some logging then you might see errors from the python script. python /home/pi/Documents/raven_nevermore.py 2>&1 /home/pi/mylog.txt & Do you need to use sudo if you run it from a terminal as user &...
by topguy
Mon Sep 27, 2021 12:05 pm
Forum: Beginners
Topic: Photo frame setup question
Replies: 2
Views: 239

Re: Photo frame setup question

Step one: Create a really strong password for the "pi" user. Step two: Create a really really strong password for the "pi" user. ( yeah its the same, but so important its worth mentioning twice... ) Step three: Now you can port-forward port 22 from your router to your Pi. ( and n...
by topguy
Mon Sep 27, 2021 11:45 am
Forum: Beginners
Topic: Transmitting Data from Raspberry Pi to PC
Replies: 3
Views: 283

Re: Transmitting Data from Raspberry Pi to PC

4G

Thats it.. any other solution (IMO) will cost you much more in equipment ( and work ).

A huge mesh wifi-network would be cool, but expensive,
radio-modems are also not cheap, and quite slow ( used to be at least )
by topguy
Mon Sep 27, 2021 11:33 am
Forum: Beginners
Topic: Raspberry Pi SSH/VNC session ends when cellular USB dongle connected
Replies: 7
Views: 467

Re: Raspberry Pi SSH/VNC session ends when cellular USB dongle connected

Probably useful if you can show the reuslts of the commands

Code: Select all

ip addr
ip route
before and after you plugin the modem/dongle.
by topguy
Wed Sep 22, 2021 8:57 am
Forum: Off topic discussion
Topic: OpenSSH write/wall commands?
Replies: 1
Views: 474

Re: OpenSSH write/wall commands?

It would be a bit weird if a modern Linux didnt come with a ssh-server as standard, but I dont know MX Linux.

But maybe reading the documentation is a good start.
For example chapter 6.7 of the documentation: https://mxmanuals.s3.us-east-2.amazonaw ... 9/mxum.pdf
by topguy
Fri Sep 17, 2021 2:44 pm
Forum: Beginners
Topic: How to set Raspbian
Replies: 8
Views: 529

Re: How to set Raspbian

Is this the guide you followed ?
https://projects.raspberrypi.org/fr-FR/ ... setting-up
If no, then look at it and then make more specific questions if you can.

After enabling SSH then SCP (secure copy) is usually the easiest way to copy files. What OS are you copying files from ?
by topguy
Fri Sep 17, 2021 10:36 am
Forum: General discussion
Topic: Sending UDP Messages From Rpi
Replies: 4
Views: 326

Re: Sending UDP Messages From Rpi

The commandline tool "socat" can be used to send data on the network as TCP or UDP. A simple bash script can be created to read 1 line from the GPS and use socat to send it somewhere... in a loop. Can also probably run it as one command if you know socat well. https://superuser.com/questio...

Go to advanced search