Go to advanced search

by topguy
Wed Sep 22, 2021 8:57 am
Forum: Off topic discussion
Topic: OpenSSH write/wall commands?
Replies: 1
Views: 136

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: 328

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: 192

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...
by topguy
Mon Sep 06, 2021 10:21 am
Forum: Troubleshooting
Topic: Raspberry Pi OS/qjoypad not recognizing Adafruit Joy Bonnet
Replies: 4
Views: 572

Re: Raspberry Pi OS/qjoypad not recognizing Adafruit Joy Bonnet

Link us the driver installation guide.
by topguy
Wed Sep 01, 2021 9:12 am
Forum: Graphics, sound and multimedia
Topic: USB Audio device input
Replies: 1
Views: 337

Re: USB Audio device input

What Pi model do you have ? If you have one with the AV Jackplug you already have an analog output. ( need to use rasp-config to configure system to use jack instead of HDMI ) Both your usb-card and the built in audio are separate audio devices that can be controlled via ALSA or PulseAudio. Somebody...
by topguy
Tue Aug 31, 2021 1:53 pm
Forum: Troubleshooting
Topic: Run GUI on boot up in autologin mode but required login to access Desktop
Replies: 2
Views: 109

Re: Run GUI on boot up in autologin mode but required login to access Desktop

How do you want to swap between the python script and the login screen ? 2 semi realistic scenarios. a - The python script get first started on its own xserver in kioskmode, when program exits, the xserver is killed and the normal desktop is started with no autologin. b - The python script and deskt...
by topguy
Tue Aug 31, 2021 1:33 pm
Forum: Troubleshooting
Topic: How to make libpcap be found by pkg-config
Replies: 3
Views: 130

Re: How to make libpcap be found by pkg-config

Ah.. I was a bit bit too quick there.. it exists in the "bullseye" version of the package but I didn't notice it was missing from the "buster" version. ( "it" = libpcap.pc ) I'm guessing you are using "Bullseye" on tour other computer.. This is the content of ...
by topguy
Tue Aug 31, 2021 9:25 am
Forum: Raspberry Pi OS
Topic: VLC Missing Option?
Replies: 2
Views: 221

Re: VLC Missing Option?

What other options do you have in the "Output" dropdown ?
by topguy
Tue Aug 31, 2021 9:16 am
Forum: Troubleshooting
Topic: How to make libpcap be found by pkg-config
Replies: 3
Views: 130

Re: How to make libpcap be found by pkg-config

It looks like you need the package "libpcap0.8-dev" https://packages.debian.org/buster/armhf/libpcap0.8-dev/filelist ---- In general https://www.debian.org/distrib/packages is a great place to start to investigate what is inside different packages, you can even search for filenames directly.
by topguy
Sat Aug 28, 2021 10:51 pm
Forum: Advanced users
Topic: Using a Raspberry Pi to flash Windows 10 to a SD card
Replies: 83
Views: 5111

Re: Using a Raspberry Pi to install Windows 10 on Raspberry Pi

You, the user, are responsible for licensing your operating system legally, just like any other clean install. That information should be shown clearly to the user of this tool then. ( IMO ) Maybe even ask the user to verify that it is read and understod. But the important question is; is it possib...
by topguy
Sat Aug 28, 2021 10:29 pm
Forum: Other programming languages
Topic: How to make custom commands for use in the Terminal?
Replies: 17
Views: 1043

Re: How to make custom commands for use in the Terminal?

customm-command install <package-name> To handle parameter you must do that inside your program. But as I said earlier, you only have to do sudo cp ./code.sh /usr/local/bin/customm-command ( if you have put the "#!/bin/bash" or "#!/bin/sh" as the first line in your script ) PS: ...
by topguy
Sat Aug 28, 2021 10:20 pm
Forum: Other programming languages
Topic: How to make custom commands for use in the Terminal?
Replies: 17
Views: 1043

Re: How to make custom commands for use in the Terminal?

That is what this package manager is entirely written in so far is Shell and Python. Then you already have made things that can be started from the commandline, and we have a problem understanding what part of this you are "missing". Is it how to make your scripts react to different comma...
by topguy
Sat Aug 28, 2021 9:01 pm
Forum: C/C++
Topic: Does anyone know of a good C/RayLib Tutorial?
Replies: 1
Views: 446

Re: Does anyone know of a good C/RayLib Tutorial?

I would probably suggest starting with some C tutorials until you can read and understand the examples provided by Raylib.

https://www.linuxlinks.com/excellent-fr ... s-learn-c/
by topguy
Sat Aug 28, 2021 8:52 pm
Forum: Other programming languages
Topic: How to make custom commands for use in the Terminal?
Replies: 17
Views: 1043

Re: How to make custom commands for use in the Terminal?

Any program/script that just use the "standard in" and "standard out" to communicate with the user, Is a command that can be used in the terminal. Almost any programming/scripting language can be used to create such a thing. There are two ways of calling any program ( commandline...
by topguy
Wed Aug 25, 2021 12:14 pm
Forum: Other projects
Topic: RFID card readers for Pi 4
Replies: 3
Views: 428

Re: RFID card readers for Pi 4

USB + USB extenders over CAT5/6 ethernet cable could in theory give you the range you are looking for. Desfire cards are NFC/ISO14443 cards so then you need that kind of reader, and will have to discard any 125KHz reader https://www.acs.com.hk/en/products/342/acr1252u-usb-nfc-reader-iii-nfc-forum-ce...
by topguy
Tue Aug 24, 2021 12:21 pm
Forum: Other projects
Topic: RFID card readers for Pi 4
Replies: 3
Views: 428

Re: RFID card readers for Pi 4

How long is "long range" ? A lot of the simpler RFID readers ( of the 125KHz type for example) just output the ID when you show the tag so there is usually not much of a "protocol". Using NFC/ISO14443 readers like the RC522 are usually more complex. At some point you need to comm...
by topguy
Tue Aug 24, 2021 10:12 am
Forum: Ubuntu
Topic: How do I install qt5-default on Ubuntu 21.04?
Replies: 1
Views: 304

Re: How do I install qt5-default on Ubuntu 21.04?

Seems like the package has changed name on 21.04.

https://packages.ubuntu.com/hirsute/qt5-assistant
by topguy
Fri Aug 20, 2021 12:40 pm
Forum: Gaming
Topic: Compiling Super Mario 64 ?
Replies: 4
Views: 344

Re: Compiling Super Mario 64 ?

There is an open source Super Mario 64 ?
by topguy
Fri Aug 20, 2021 12:39 pm
Forum: Beginners
Topic: Create a wordpress database
Replies: 5
Views: 268

Re: Create a wordpress database

I believe the useful commands for you is

Code: Select all

DROP DATABASE
to just delete the database and start over.

or

Code: Select all

USE DATABASE
to select the database to continue configure it.
by topguy
Tue Aug 17, 2021 9:16 am
Forum: Beginners
Topic: I know what I want to do, but no idea how to get it done...
Replies: 4
Views: 343

Re: I know what I want to do, but no idea how to get it done...

I don't know how you guys do this stuff. Break the big task into smaller pieces and then break down those pieces into even smaller tasks that you can focus on. With the smaller tasks you are much more likely to get useful pointer from the community on the forum. Do you have Linux/Unix experience ? ...
by topguy
Thu Aug 12, 2021 6:24 pm
Forum: Beginners
Topic: Videos for beginner
Replies: 3
Views: 246

Re: Videos for beginner

Both your usecases indicates that the videos will be stored on the Pi ( or maybe a NAS in the same LAN ) is that correct ? Do you have control over the type and format ( container/codec) of the videos ? From a little bit of googling I have the following suggestion. Installing "Kodi" on the...
by topguy
Thu Aug 12, 2021 5:59 pm
Forum: Troubleshooting
Topic: DNS error I cannot seem to fix
Replies: 23
Views: 596

Re: DNS error I cannot seem to fix

Name or service not known In my 15+ years of Linux/Unix experience, I dont think I've seen that specific error. Do you have some weird stuff in your "/etc/hosts" file ? Do you have a "/etc/nsswitch.conf" file ? What did you try to do/install when ( or just before ) the problem o...
by topguy
Thu Aug 12, 2021 5:35 pm
Forum: Troubleshooting
Topic: DNS error I cannot seem to fix
Replies: 23
Views: 596

Re: DNS error I cannot seem to fix

I see no problems here..

What does

Code: Select all

ping www.google.com
ping 172.217.19.68
actually show..
by topguy
Thu Aug 12, 2021 5:04 pm
Forum: Troubleshooting
Topic: DNS error I cannot seem to fix
Replies: 23
Views: 596

Re: DNS error I cannot seem to fix

Then I suggest running "nslookup" and first enter the command "server" and then "www.google.com" and posting the whole thing here.
by topguy
Thu Aug 12, 2021 4:51 pm
Forum: Troubleshooting
Topic: DNS error I cannot seem to fix
Replies: 23
Views: 596

Re: DNS error I cannot seem to fix

I've never heard that 1.1.1.1 is a nameserver..

I know googles servers are on 8.8.8.8 and 8.8.4.4, I suggest you remove the 1.1.1.1 entry.

To test name servers ( or name-resolution in general ) you have the "nslookup" command.

Go to advanced search