Go to advanced search

by Bosse_B
Mon Feb 10, 2020 11:02 pm
Forum: General discussion
Topic: SDcard Copier - shrink size of image?
Replies: 2
Views: 157

SDcard Copier - shrink size of image?

So I know that the SD Card Copier that comes with Raspbian nowadays can make a backup of the RPi disk to another SD-card in a USB caddy. I also think I know that it can make the copy even to a smaller SD-card as long as the files involved will fit on the target. But I would like to know if it can be...
by Bosse_B
Mon Feb 10, 2020 7:29 pm
Forum: General discussion
Topic: Local only WiFi AP for RPi4 - how?
Replies: 8
Views: 255

Re: Local only WiFi AP for RPi4 - how?

Strangely there was already an entry inside the /etc/hosts file (my pi is actually named rpi4-gui): 127.0.0.1 localhost ::1 localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters 127.0.1.1 rpi4-gui So the entry is already taken by rpi-gui but with a local address 127.0.1.1 ...
by Bosse_B
Mon Feb 10, 2020 6:22 pm
Forum: General discussion
Topic: Local only WiFi AP for RPi4 - how?
Replies: 8
Views: 255

Re: Local only WiFi AP for RPi4 - how?

If I remember I will report back to this thread how the AP creation worked. So I followed the official instruction up until the headline " Add routing and masquerade " So at this point I could connect with my phone and visit the website on the RPi4, but only if I used the IP address... What should ...
by Bosse_B
Mon Feb 10, 2020 4:06 pm
Forum: Troubleshooting
Topic: Help - Strange eject message won't go away on Buster
Replies: 1
Views: 66

Help - Strange eject message won't go away on Buster

I was going to test the SDcard Copier on my RPi4 with Buster in order to make a backup of the current state of it. So I put an SDcard into a USB carrier and inserted it into a USB slot. Then I remembered that the carrier was kind of flakey on the micro slot so I decided to use another slot in the ca...
by Bosse_B
Sun Feb 09, 2020 10:41 pm
Forum: General discussion
Topic: Local only WiFi AP for RPi4 - how?
Replies: 8
Views: 255

Re: Local only WiFi AP for RPi4 - how?

I have encountered these WiFi AP solutions starting when another network is down, but it is not applicable in my case because the use case is without ANY network except the config WiFi AP. Regarding the GPIO I am going to run a command line program from cron, which checks up on some conditions and i...
by Bosse_B
Sun Feb 09, 2020 5:21 pm
Forum: General discussion
Topic: Local only WiFi AP for RPi4 - how?
Replies: 8
Views: 255

Re: Local only WiFi AP for RPi4 - how?

Thanks, I will test that. Concerning Apache etc it is already present on my prototype RPi4 including the webapp that supplies the webpages for configuration. And I am working on the config webapp right now assuming that a WiFi AP could be arranged. Right now the Pi4 is connected by Ethernet to my LA...
by Bosse_B
Sun Feb 09, 2020 12:10 pm
Forum: General discussion
Topic: Local only WiFi AP for RPi4 - how?
Replies: 8
Views: 255

Local only WiFi AP for RPi4 - how?

I have asked this before, possibly as an extension of other theads and now I cannot find it again... What I want to do is probably what a number of RPi experimenters have also done, namely to set up a WiFi access point on their WiFi enabled RPi units (RPi3 and RPi4). The use case is: The RPi is not ...
by Bosse_B
Tue Feb 04, 2020 3:34 pm
Forum: General discussion
Topic: VNC cannot login to desktop on RPi4B, why?
Replies: 4
Views: 153

Re: VNC cannot login to desktop on RPi4B, why?

... I can now say that the problem does not happen when VNC mirrors the base screen, only when I use a virtual desktop created in /etc/rc.local as follows: sudo -u pi /usr/bin/vncserver -randr=1680x1040 This is accessed using hostname:1 in VNC and works very well except for the issue with the speci...
by Bosse_B
Tue Feb 04, 2020 11:08 am
Forum: General discussion
Topic: VNC cannot login to desktop on RPi4B, why?
Replies: 4
Views: 153

Re: VNC cannot login to desktop on RPi4B, why?

CONFIRMED! Thank you, now I got to log in. But I set the resolution in raspi-config to 1920x1080 and still the screen came out at 1024x768. But using Preferences/Screen Configuration inside the GUI I could set it to 1920x1080 and it resized OK. I am trying to nail down a problem with VNC right now i...
by Bosse_B
Tue Feb 04, 2020 10:25 am
Forum: General discussion
Topic: VNC cannot login to desktop on RPi4B, why?
Replies: 4
Views: 153

VNC cannot login to desktop on RPi4B, why?

My RPi4 is set to show a user login before starting the desktop on the monitor. Now I have tried to use VNC to interact with the RPi4 but all I get is a message in a small black box: "Cannot currently show the desktop" I am using a Windows 10 laptop with RealVNC Viewer ver 6.19.1115 (r42122) x64 I t...
by Bosse_B
Sat Feb 01, 2020 12:28 pm
Forum: General discussion
Topic: RPi4B with VNC, how to reduce terminal font size?
Replies: 5
Views: 582

Re: RPi4B with VNC, how to reduce terminal font size?

HawaiianPi wrote:
Sat Feb 01, 2020 12:15 pm
The default terminal in Raspbian is LXTerminal, and you can change the font and font size under Edit > Preferences.
Thanks a bunch!
I am so used to terminals having no menus that I did not even look there...
Now I have "Monospace Regular" size 10 and I am much more comfortable with this.
by Bosse_B
Sat Feb 01, 2020 11:24 am
Forum: General discussion
Topic: RPi4B with VNC, how to reduce terminal font size?
Replies: 5
Views: 582

RPi4B with VNC, how to reduce terminal font size?

When I use the desktop of the RPi4 via VNC and start a terminal session the font inside it is ridiculously BIG so my command lines do not fit when I have navigated a bit into the dir structure.
Is there any way to set a small font for Terminal such that it becomes usable?
I cannot find anything...
by Bosse_B
Fri Jan 31, 2020 3:10 pm
Forum: Raspbian
Topic: RTC DS3231 on line, what do I do with fake-hwclock?
Replies: 6
Views: 652

Re: RTC DS3231 on line, what do I do with fake-hwclock?

DougieLawson wrote:
Fri Jan 31, 2020 1:09 pm
You can set an alias to change the defaults for the plain date command.
Thanks, that solved it for me! :)
by Bosse_B
Fri Jan 31, 2020 12:55 pm
Forum: Raspbian
Topic: RTC DS3231 on line, what do I do with fake-hwclock?
Replies: 6
Views: 652

Re: RTC DS3231 on line, what do I do with fake-hwclock?

OK! Just a final question: How can I make the date command in terminal display a sensible ISO formatted string? Right now I am getting this junk: $ date Fri 31 Jan 2020 01:49:45 PM CET I would very much prefer the ISO standard display like: 2020-01-31 13:49:45 I have tried a lot of things and the on...
by Bosse_B
Fri Jan 31, 2020 9:50 am
Forum: Raspbian
Topic: RTC DS3231 on line, what do I do with fake-hwclock?
Replies: 6
Views: 652

Re: RTC DS3231 on line, what do I do with fake-hwclock?

So that means I should uninstall fake-hwclock then? Does this not pose a problem if the RTC (which is sitting on an add-on board on the GPIO pin header) is later removed... Is there not a way to make fake-hwclock execution on startup depend on a failed detection of the hardware RTC? Something like (...
by Bosse_B
Thu Jan 30, 2020 10:30 pm
Forum: Raspbian
Topic: RTC DS3231 on line, what do I do with fake-hwclock?
Replies: 6
Views: 652

RTC DS3231 on line, what do I do with fake-hwclock?

I have added a board to my RPi4B running Raspbian Buster, which contains an RTC circuit (DS3231 + battery). I have added the following line to the end of /boot/config.txt: dtoverlay=i2c-rtc,ds3231 Then rebooted the RPi4. Using this command I found that linux uses my RTC chip: pi@rpi4-gui:~ $ sudo i2...
by Bosse_B
Thu Jan 30, 2020 2:38 pm
Forum: Raspbian
Topic: Apache2 virtual host configuration without dns?
Replies: 5
Views: 258

Re: Apache2 virtual host configuration without dns?

If you are setting the Raspberry Pi up as an IPv4 access point, then these instructions would help: https://www.raspberrypi.org/documentation/configuration/wireless/access-point.md For your use-case, just skip the part about the packet forwarding and the Raspberry Pi will remain stand-alone. Where ...
by Bosse_B
Thu Jan 30, 2020 10:54 am
Forum: Raspbian
Topic: Apache2 virtual host configuration without dns?
Replies: 5
Views: 258

Re: Apache2 virtual host configuration without dns?

Another option would be port-based vhosts. Excellent suggestion! :) Did not think about that before... The url itself would then contain a :portnumber part and then it would be all right! The sites are for use and config of an RPi-based control system where the RPi must provide a WiFi Access Point ...
by Bosse_B
Thu Jan 30, 2020 9:21 am
Forum: Raspbian
Topic: Apache2 virtual host configuration without dns?
Replies: 5
Views: 258

Apache2 virtual host configuration without dns?

I want to use apache2 virtual host configuration without also setting up (dynamic) dns... I like to set up apache2 on my RPi4 to serve a couple of named sites, but the howto:s I have found state that I must do the following to access them: - Create the virtual host configs in sites-available and ena...
by Bosse_B
Tue Jan 28, 2020 11:09 pm
Forum: Raspbian
Topic: Apache2 website permissions???
Replies: 4
Views: 204

Re: Apache2 website permissions???

Thanks!
I will go over the whole deployment plan tomorrow and make changes to file permissions then.
Hopefully it will work.

I also need to make notes for duplication purposes, hopefully I can build myself a deb package to simplify installation on new systems.
by Bosse_B
Tue Jan 28, 2020 2:19 pm
Forum: Raspbian
Topic: Apache2 website permissions???
Replies: 4
Views: 204

Re: Apache2 website permissions???

The command "ps -ef" ( or "ps aux" ) will list all processes on your system and show which user runs them in the first column. pi@rpi4-gui:/var/www $ ps aux |grep apache2 root 557 0.0 0.4 191652 16964 ? Ss Jan27 0:03 /usr/sbin/apache2 -k start www-data 3488 0.0 0.1 191996 6536 ? S 00:00 0:00 /usr/s...
by Bosse_B
Tue Jan 28, 2020 10:18 am
Forum: Raspbian
Topic: Apache2 website permissions???
Replies: 4
Views: 204

Apache2 website permissions???

I am setting up a configuration website on my RPi4 where I will host a web application through which the user can set up the system I am developing. So far I have just worked on the code in a dir inside /home/pi and symlinked into /var/www/html/cgi-bin and seemingly it works. My web app can send bac...
by Bosse_B
Thu Jan 23, 2020 10:24 am
Forum: Raspbian
Topic: How to install self created software in Raspbian?
Replies: 4
Views: 215

Re: How to install self created software in Raspbian?

Following my read of the suggested page I found that this ubuntu howto is good for the basics. However, this only handles the way to put the package files onto the target system... Say that the files have been successful put in place, then remains the following actions: 1- activate the newly configu...
by Bosse_B
Wed Jan 22, 2020 11:36 pm
Forum: Raspbian
Topic: How to install self created software in Raspbian?
Replies: 4
Views: 215

Re: How to install self created software in Raspbian?

What build system do you use for your application "make" "CMake" something else ? I am using FreePascal with Lazarus as the IDE. Builds for a whole lot of target operating systems. Will the program run as root ? Not necessarily, but I am running it as user pi. The user must have gpio permissions, t...
by Bosse_B
Wed Jan 22, 2020 4:34 pm
Forum: Raspbian
Topic: How to install self created software in Raspbian?
Replies: 4
Views: 215

How to install self created software in Raspbian?

I am developing software for a control board I will attach to the 40-pin header. The software will communicate with an external data collection system through relays and RS232 connections on the interface board. The board itself has just been readied and I am thinking ahead on how to duplicate the s...

Go to advanced search