Go to advanced search

by Bosse_B
Sat Apr 17, 2021 2:59 pm
Forum: Networking and servers
Topic: Is there a way to automate installation of a WiFi AP service?
Replies: 9
Views: 863

Re: Is there a way to automate installation of a WiFi AP service?

I use the above for headless (typically lite) installations. It does work for GUI with the caveat I've not investigated how to prevent getting the initial GUI prompt for completing the config - pi password etc. Our usage is with a lite no-GUI Pi image. It runs a service which is the core of our sys...
by Bosse_B
Sat Apr 17, 2021 9:51 am
Forum: Networking and servers
Topic: Is there a way to automate installation of a WiFi AP service?
Replies: 9
Views: 863

Re: Is there a way to automate installation of a WiFi AP service?

sdm (which @MiscBits mentioned) can do all of what you need except for installing and configuring the Access Point. Today. Funny thing though, I've actually been thinking about adding an AP capability to it, but was waiting for some inspiration to strike. Perhaps @Bosse_B just provided that :roll: ...
by Bosse_B
Thu Apr 15, 2021 9:11 pm
Forum: Networking and servers
Topic: Is there a way to automate installation of a WiFi AP service?
Replies: 9
Views: 863

Re: Is there a way to automate installation of a WiFi AP service?

After posting the question I realized that maybe we could simply create an SDcard image after manually configuring a barebones RPi4 with both the WiFi stuff and our actual software. Then duplication of this is just a matter of making an SDcard from the image and put it into a new RPi. The only item ...
by Bosse_B
Thu Apr 15, 2021 6:46 pm
Forum: Networking and servers
Topic: Is there a way to automate installation of a WiFi AP service?
Replies: 9
Views: 863

Is there a way to automate installation of a WiFi AP service?

I have been writing software for the RPi4 to control external equipment and it is supposed to run as a service. It will be deployed to a remote location and powered by solar panels via a battery. The software is running a TCP/IP configuration server so that it can be easily accessed and configured v...
by Bosse_B
Tue Mar 23, 2021 5:14 pm
Forum: Beginners
Topic: command line version of piclone?
Replies: 23
Views: 30004

Re: command line version of piclone?

The thread is a year old....
by Bosse_B
Mon Mar 22, 2021 11:08 pm
Forum: General discussion
Topic: RPi3 desktop shortcut not working....
Replies: 4
Views: 275

Re: RPi3 desktop shortcut not working....

For desktop icons I find it easier to just put the .desktop file in /home/pi/Desktop I tried that before but with the preferences/Don't ask unchecked the behavior was even stranger than for the shortcut created in the applications dir. Now tested copying the regular desktop file over and it works f...
by Bosse_B
Mon Mar 22, 2021 8:58 pm
Forum: General discussion
Topic: RPi3 desktop shortcut not working....
Replies: 4
Views: 275

Re: RPi3 desktop shortcut not working....

After googling I found an old thread describing how to fix the problem: - Open FileManager - Edit/Preferences - Check the item: "Don't ask options on launch of executable file" Now there is no longer a dialog when the desktop icon is used to start the app. Why this behavior of the desktop ...
by Bosse_B
Mon Mar 22, 2021 8:19 pm
Forum: General discussion
Topic: RPi3 desktop shortcut not working....
Replies: 4
Views: 275

RPi3 desktop shortcut not working....

I have an RPi3B running Pi OS fully updated. I created a desktop file in ~/.local/share/applications for a program I have written which is located in ~/bin. This results in the program appearing on the main menu below "Programming" and when I select it the application starts as intended. N...
by Bosse_B
Mon Mar 22, 2021 2:14 pm
Forum: General discussion
Topic: Accessing state of GPIO pins from multiple applications?
Replies: 4
Views: 361

Re: Accessing state of GPIO pins from multiple applications?

Success! It worked just fine to make a separate application, which just reads the GPIO pins and never configure them or anything like that. I have a timer set to 100 ms which changes color of "LED" shapes on the form depending on the 6 GPIO pin states. With this running and another test a...
by Bosse_B
Mon Mar 22, 2021 10:27 am
Forum: General discussion
Topic: Accessing state of GPIO pins from multiple applications?
Replies: 4
Views: 361

Re: Accessing state of GPIO pins from multiple applications?

There's no blocking. Just reading the pins should get the current status of that pin regardless of if it is set for input or output. Things like the raspi-gpio get command wouldn't work if the gpios got locked to a specific program. Thanks, I will start making the monitoring application then! I am ...
by Bosse_B
Mon Mar 22, 2021 9:58 am
Forum: General discussion
Topic: Accessing state of GPIO pins from multiple applications?
Replies: 4
Views: 361

Accessing state of GPIO pins from multiple applications?

This is a kinda strange question, but.... I am trying to debug a control system running on a RPi3 in a remote location from where I am. I have a VPN connection to the RPi so I can access it both using an SSH terminal (PuTTY) and the desktop via VNC. The problem I am trying to troubleshoot concerns p...
by Bosse_B
Sat Mar 20, 2021 1:48 pm
Forum: Raspberry Pi OS
Topic: How to keep PiOS on latest release?
Replies: 17
Views: 3377

Re: How to keep PiOS on latest release?

john-atwork wrote:
Sat Mar 20, 2021 7:51 am
If you wanted more "bleeding edge" you would choose "testing". I'd rather stick with "stable" as the packages have already made their rounds of "testing" before they are committed.
Sorry, I meant the latest stable version of course, edited original post...
by Bosse_B
Sat Mar 20, 2021 7:02 am
Forum: Raspberry Pi OS
Topic: How to keep PiOS on latest release?
Replies: 17
Views: 3377

Re: How to keep PiOS on latest release?

Couldn't one just modify /etc/apt/sources.list to point to 'stable' instead of 'buster' and the OS would always stay up to date with the latest stable? This is how I've been running my Debian powered x86 computers for years. On my RPi4 system that file contains this: deb http://raspbian.raspberrypi...
by Bosse_B
Fri Mar 19, 2021 10:57 pm
Forum: Raspberry Pi OS
Topic: How to keep PiOS on latest release?
Replies: 17
Views: 3377

Re: How to keep PiOS on latest release?

There is one "gotcha" with kernel updates. While they are applied, they don't take effect until you reboot. So if "uname -a" returns anything less than 5.10.17, do the update, full-upgrade and then reboot. Not only kernel updates, but updates to firmware and certain other subsys...
by Bosse_B
Fri Mar 19, 2021 8:37 pm
Forum: Raspberry Pi OS
Topic: How to keep PiOS on latest release?
Replies: 17
Views: 3377

Re: How to keep PiOS on latest release?

So I have run the following commands on my Buster RPi4: $ sudo apt update (generates a lot of text not shown here) $ sudo apt full-upgrade (same again) $ cat /etc/debian_version 10.8 $ uname -a Linux rpi4-gui 5.10.11-v7l+ #1399 SMP Thu Jan 28 12:09:48 GMT 2021 armv7l GNU/Linux $ lsb_release -a No LS...
by Bosse_B
Fri Mar 19, 2021 5:30 pm
Forum: Raspberry Pi OS
Topic: How to keep PiOS on latest release?
Replies: 17
Views: 3377

Re: How to keep PiOS on latest release?

. Raspberry Pi Operating System Buster ARMHF & ARM64 & i386 uses the Debian Point Release convention 10.1/ 10.2 / 10.3 etcetera... Currently it is 10.8 cat /etc/debian_version I got this: pi@rpi4-gui:~ $ cat /etc/debian_version 10.8 So I guess I am good... Therefore update / full-upgrade do...
by Bosse_B
Fri Mar 19, 2021 4:27 pm
Forum: Raspberry Pi OS
Topic: How to keep PiOS on latest release?
Replies: 17
Views: 3377

How to keep PiOS on latest release?

I have a couple of RPi4 devices running PiOS installed last year. I have regularly done this to keep them current: sudo apt update sudo apt full-upgrade Now I am unsure if they are lagging behind concerning the operating system since I think full-upgrade only operates on the installed packages and n...
by Bosse_B
Wed Mar 17, 2021 3:46 pm
Forum: General discussion
Topic: Ddclient on Raspbian Buster seems not to run....
Replies: 3
Views: 2882

Re: Ddclient on Raspbian Buster seems not to run....

Did you solve this? Mine just stopped sending updates... Well, I don't remember what I did a year ago, but I just logged on with PuTTY to an RPi3 sitting in my summer home behind a mobile broadband router using a dynamic dns address. It worked fine but that could be because the router itself might ...
by Bosse_B
Tue Mar 16, 2021 5:10 pm
Forum: General discussion
Topic: Any way to reach an RPi sitting behind an ISP NAT router?
Replies: 16
Views: 1880

Re: Any way to reach an RPi sitting behind an ISP NAT router?

I had exactly the same problem - the solution that worked for me was to have duckDNS running on a pi and have it register dynamic dns. from this service you get a FQDN which pionts to the public ip address then with a symple port forward you can direct outside trafic to any poing on your network. I...
by Bosse_B
Sun Mar 14, 2021 9:58 pm
Forum: Raspberry Pi OS
Topic: How to set up logon message like Ubuntu?
Replies: 12
Views: 903

Re: How to set up logon message like Ubuntu?

Thanks,
now added to the .bashrc file (minus the toilet).

Question:
What is the voltage being displayed as 0.85 V?
Seems like e very low voltage...
by Bosse_B
Sun Mar 14, 2021 8:36 pm
Forum: Raspberry Pi OS
Topic: How to set up logon message like Ubuntu?
Replies: 12
Views: 903

Re: How to set up logon message like Ubuntu?

How can I check if the login is interactive? After loading some important utilities with $ sudo apt-get install cowsay toilet I understood cowsay, but not toilet. What does toilet do? Print the extra stuff above the cow? If so where does it get its info? the script See script in original post above...
by Bosse_B
Fri Mar 12, 2021 7:54 pm
Forum: Raspberry Pi OS
Topic: How to set up logon message like Ubuntu?
Replies: 12
Views: 903

Re: How to set up logon message like Ubuntu?

On Debian systems the file /var/run/reboot-required is created when a reboot is required and removed when it isn't. The rest of what happens at login is governed by a bunch of scripts. To create something similar (but hopefully better) than what Ubuntu provides, I'd modify my personal .profile or ....
by Bosse_B
Fri Mar 12, 2021 2:11 pm
Forum: Raspberry Pi OS
Topic: How to set up logon message like Ubuntu?
Replies: 12
Views: 903

How to set up logon message like Ubuntu?

I use most of my Linux machines via the command line using PuTTY from Windows. When I do this towards an Ubuntu machine I get a sizable logon message and this includes a report on the state of the packages on the system. I.e. if there are packages in need of upgrade. Additionally there is a message ...
by Bosse_B
Sun Feb 28, 2021 7:39 pm
Forum: General discussion
Topic: Stacking multiple RPi 3 & 4?
Replies: 6
Views: 361

Re: Stacking multiple RPi 3 & 4?

Thanks, but these are the type I had already found and operate on bare RPi boards screwed together... I want to have a way to stack RPI:s in their cases . I need to move them from time to time so screwing them all together is not really a good option. I guess I have to go into carpentry and build a ...
by Bosse_B
Sun Feb 28, 2021 3:59 pm
Forum: General discussion
Topic: Stacking multiple RPi 3 & 4?
Replies: 6
Views: 361

Stacking multiple RPi 3 & 4?

I have tried to locate something to bring order to my maze of RPi units on my desktop... Is there some RPi special shelf system such that one can stack multiple units on top of each other instead of cluttering up the table top? I am no good at searching because I either get hits where you can stack ...

Go to advanced search