Go to advanced search

by Bosse_B
Thu Feb 27, 2020 7:52 am
Forum: Beginners
Topic: command line version of piclone?
Replies: 20
Views: 22668

Re: command line version of piclone?

BTW, earlier up in your post, you say: sudo ./sdclone /dev/sda I'm pretty sure the "sudo" is unnecessary. I'm basing this on the fact that most of the script's commands that need it seem to be preceded with sudo on their own, so it shouldn't be necessary to sudo the script itself. Correct...
by Bosse_B
Wed Feb 26, 2020 11:56 pm
Forum: Beginners
Topic: command line version of piclone?
Replies: 20
Views: 22668

Re: command line version of piclone?

I know this thread has been silent for a while, but I hope I can get advice on some small details.... I am usually working with non-GUI RPi units and it is a PITB making backup copies of the SD-card on a headless RPi only accessing it via SSH. So I used the link above to retrieve the backup script f...
by Bosse_B
Tue Feb 25, 2020 10:53 am
Forum: General discussion
Topic: Using an RPi4 as a backup server on a different network_
Replies: 7
Views: 494

Re: Using an RPi4 as a backup server on a different network_

I figured it out now! Turns out that any client connected to my OpenVPN server with access to the server side LAN will use the OpenVPN server machine as gateway. This means that it will be accessible provided that one knows the IP address of its tunnel and that one sets up a route to it with the ga...
by Bosse_B
Mon Feb 24, 2020 9:04 pm
Forum: General discussion
Topic: Using an RPi4 as a backup server on a different network_
Replies: 7
Views: 494

Re: Using an RPi4 as a backup server on a different network_

The OpenVPN server config is set to give connecting clients an IP address for the tunnel endpoints and it is usually something like 10.8.xx.yy. In order for the client to reach out onto the local network and then to the Internet one has to configure IPTABLES to do the forwarding from that address on...
by Bosse_B
Mon Feb 24, 2020 8:09 pm
Forum: General discussion
Topic: Using an RPi4 as a backup server on a different network_
Replies: 7
Views: 494

Re: Using an RPi4 as a backup server on a different network_

Thanks, but I am not sure how to apply the info in your linked document to my situation... To clarify: I already have an OpenVPN server set up on an Ubuntu 18 LTS machine in my home . It is set up so I can access my home LAN including computers and printers from anywhere It also routes traffic to th...
by Bosse_B
Mon Feb 24, 2020 1:54 pm
Forum: General discussion
Topic: Using an RPi4 as a backup server on a different network_
Replies: 7
Views: 494

Re: Using an RPi4 as a backup server on a different network_

Since I have set up a lot of OpenVPN servers already, that would be the route I'd take. I don't know what "Syncthing " is... However, all of my previous setups have been for access to the network the OpenVPN server sits on from another network. Both with and without routing from that netwo...
by Bosse_B
Mon Feb 24, 2020 1:13 pm
Forum: General discussion
Topic: Using an RPi4 as a backup server on a different network_
Replies: 7
Views: 494

Using an RPi4 as a backup server on a different network_

Can this be done? 1- RPi4 with a USB3 hard disk (4TB) 2- Hard disk served out by NFS or Samba 3- RPi4 located on a remote location (daughter's home) 4- RPi4 connected by WiFi on the remote network and from there onto the Internet via remote router 5- OpenVpn client on RPi4 connects automatically to ...
by Bosse_B
Mon Feb 10, 2020 11:02 pm
Forum: General discussion
Topic: SDcard Copier - shrink size of image?
Replies: 2
Views: 1478

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

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

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... Wh...
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: 238

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

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

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

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

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

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

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 (r4212...
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: 885

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

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

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: Raspberry Pi OS
Topic: RTC DS3231 on line, what do I do with fake-hwclock?
Replies: 6
Views: 1417

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: Raspberry Pi OS
Topic: RTC DS3231 on line, what do I do with fake-hwclock?
Replies: 6
Views: 1417

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: Raspberry Pi OS
Topic: RTC DS3231 on line, what do I do with fake-hwclock?
Replies: 6
Views: 1417

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: Raspberry Pi OS
Topic: RTC DS3231 on line, what do I do with fake-hwclock?
Replies: 6
Views: 1417

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: Raspberry Pi OS
Topic: Apache2 virtual host configuration without dns?
Replies: 5
Views: 560

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: Raspberry Pi OS
Topic: Apache2 virtual host configuration without dns?
Replies: 5
Views: 560

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 ...

Go to advanced search