Go to advanced search

by RDPUser
Sun Aug 25, 2019 9:07 pm
Forum: Advanced users
Topic: [Tutorial] Hardening/Securing RPi against cold boot attacks
Replies: 11
Views: 943

Re: [Tutorial] Hardening/Securing RPi against cold boot attacks

@scruss
You can use the method explained here https://www.raspberrypi.org/forums/view ... 9&t=246996
Just do this in an initramfs with as little as running possible to recover most of the memory. Of course you also could compile your own kernel with a smaller memory footprint.
by RDPUser
Sun Aug 25, 2019 9:03 pm
Forum: Advanced users
Topic: [Tutorial] Encrypt Raspberry-PI on Debian Buster with remote unlock
Replies: 3
Views: 1223

Re: [Tutorial] Encrypt Raspberry-PI on Debian Buster with remote unlock

@asimiklit Thank you very much for explaining how to use password authentikcation with dropbear. One more point with luks 2. I received an error while I was trying to mount it: Did you create it on another machine with more memory? The linked article says that this happends when the other machine ha...
by RDPUser
Wed Aug 07, 2019 1:06 am
Forum: Advanced users
Topic: [Tutorial] Encrypt Raspberry-PI on Debian Buster with remote unlock
Replies: 3
Views: 1223

[Tutorial] Encrypt Raspberry-PI on Debian Buster with remote unlock

Warning: Make backup before you try this with your system. I suggest beginning with a fresh installation of Raspian Buster. These commands suppose you have cryptsetupv2. This comes with Buster only. So update to Buster before when you try to encrypt on old system. You need an external USB storage m...
by RDPUser
Mon Aug 05, 2019 9:44 am
Forum: Advanced users
Topic: [Tutorial] Hardening/Securing RPi against cold boot attacks
Replies: 11
Views: 943

[Tutorial] Hardening/Securing RPi against cold boot attacks

Perhaps you remember, that we discussed there https://www.raspberrypi.org/forums/viewtopic.php?t=231085 whether Raspberry-PI is cold boot protected. There was a link to this thread https://www.raspberrypi.org/forums/viewtopic.php?t=199047 where it was proof that RAM content remains even after a shor...
by RDPUser
Fri Aug 02, 2019 12:21 am
Forum: Troubleshooting
Topic: Samba on Raspi copy large files gives error 0x8007003B solution so far: don't use ExFAT or FAT32
Replies: 11
Views: 2423

Re: Samba on Raspi copy large files gives error 0x8007003B solution so far: don't use ExFAT or FAT32

Update: As the ntfs-3g driver has very poor performance, I suggest to use ext4 as filesystem. You can read the files within windows with Linux-Reader (Freeware) https://www.diskinternals.com/linux-reader/ If you need "live acces" there is a solution from paragon, 10 days free, after that, still free...
by RDPUser
Thu Aug 01, 2019 12:38 am
Forum: Advanced users
Topic: Adding second static IP address
Replies: 1
Views: 170

Re: Adding second static IP address

Found the solution with help of this post https://www.raspberrypi.org/forums/viewtopic.php?t=191678 Hope this answer is helpful for all others. Just create /etc/network/interfaces.d/eth0_0 with this content and everything will work fine. Strange behaviour since /etc/network/interfaces explicitly inc...
by RDPUser
Thu Aug 01, 2019 12:29 am
Forum: Advanced users
Topic: Adding second static IP address
Replies: 1
Views: 170

Adding second static IP address

How can a second static ip address be configured on buster? I've tried sudo cat /etc/network/interfaces # interfaces(5) file used by ifup(8) and ifdown(8) # Please note that this file is written to be used with dhcpcd # For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf' # Include files fr...
by RDPUser
Sun Jul 28, 2019 7:58 am
Forum: Advanced users
Topic: Raspberry PI4 cold boot protected. By design?
Replies: 4
Views: 586

Re: Raspberry PI4 cold boot protected. By design?

I am not sure what you are asking here, or what you refer to when asking if it is by design or by accident; zeroing or not zeroing ? Sorry for misunderstanding. I wanted to know if the RAM content is just gone because of the short poweroutage of the RAM chip or is there code that clears the RAM. Bu...
by RDPUser
Sat Jul 27, 2019 8:51 am
Forum: Advanced users
Topic: Raspberry PI4 cold boot protected. By design?
Replies: 4
Views: 586

Raspberry PI4 cold boot protected. By design?

Perhaps you remember, that we discussed there https://www.raspberrypi.org/forums/viewtopic.php?t=231085 whether Raspberry-PI is cold boot protected. There was a link to this thread https://www.raspberrypi.org/forums/viewtopic.php?t=199047 where it was proof that RAM content remains even after a shor...
by RDPUser
Sat Jul 20, 2019 1:18 pm
Forum: Device Tree
Topic: Using ramoops/pstore to capture kernel panics
Replies: 2
Views: 5231

Re: Using ramoops/pstore to capture kernel panics

Hi notro,

can you explain what you to with the dt-Overlay? I'm not firm with this. Do you have to compile it? If so, how? And then? Put it to /boot?
by RDPUser
Fri Jul 19, 2019 8:05 am
Forum: Advanced users
Topic: tune2fs Last write time 5 month in the past, any change to refresh values?
Replies: 7
Views: 425

Re: tune2fs Last write time 5 month in the past, any change to refresh values?

rpdom wrote:
Wed Jul 17, 2019 7:13 am
trejan said to unmount it by rebooting. Not unmount it while it is running.
Yeah I know. And as I said, sometimes poweroutages happen and thus the writecount is lost. Thats why I asked for a possibility to update without rebooting.
by RDPUser
Wed Jul 17, 2019 5:52 am
Forum: Troubleshooting
Topic: [Solved] USB HDD resets on Pi Zero W
Replies: 8
Views: 450

Re: USB HDD resets on Pi Zero W

I've changed the USB-Cable from PSU to RPi Zero W and now no resets occur anymore. So it was a power issue. So note RPi Zero W doesn't record (any?) undervoltages with vcgencmd get_throttled in this case.
by RDPUser
Wed Jul 17, 2019 5:49 am
Forum: Advanced users
Topic: tune2fs Last write time 5 month in the past, any change to refresh values?
Replies: 7
Views: 425

Re: tune2fs Last write time 5 month in the past, any change to refresh values?

Unmounting rootfs is probably not a good idea :)
Is there a way to update it without unmouting? In case of a poweroutage writtenbyte count would be lost.
by RDPUser
Tue Jul 16, 2019 8:34 am
Forum: Advanced users
Topic: tune2fs Last write time 5 month in the past, any change to refresh values?
Replies: 7
Views: 425

Re: tune2fs Last write time 5 month in the past, any change to refresh values?

Thanks for clearyfying. However the problem with the lifetimewrites count still exists. As you remember, yesterday the counter was 308 GB. Now I've wrote 2 GB to disk dd if=/dev/urandom of=test bs=1M count=2048 status=progress sudo tune2fs -l /dev/mmcblk0p2 | grep writes Lifetime writes: 308 GB sudo...
by RDPUser
Mon Jul 15, 2019 10:07 pm
Forum: Advanced users
Topic: tune2fs Last write time 5 month in the past, any change to refresh values?
Replies: 7
Views: 425

tune2fs Last write time 5 month in the past, any change to refresh values?

We have a RP 3B+ (card was in a RPi 1 before for > 1 year, and since a few month it is in RPI 3B+) The 3B+ runs 24/7 uptime -s 2019-05-21 23:16:42 Output at the time of writing this post: sudo tune2fs -l /dev/mmcblk0p2 tune2fs 1.43.4 (31-Jan-2017) Filesystem volume name: rootfs Last mounted on: / Fi...
by RDPUser
Sun Jul 14, 2019 12:43 pm
Forum: Advanced users
Topic: GPIO access via bashscript and sysfs: Block until GPIO changes / interrupt handling
Replies: 3
Views: 188

GPIO access via bashscript and sysfs: Block until GPIO changes / interrupt handling

Via cd /sys/class/gpio sudo echo 26 > export cd gpio26/ sudo echo in > direction cat value the state of the GPIO pin can be read. Now I want that "cat value" or a similiar command blocks until the GPIO value changes. Already tried sudo echo rising > edge but after that cat value still doesn't block....
by RDPUser
Thu Jul 11, 2019 10:54 pm
Forum: Troubleshooting
Topic: [Solved] rpi0w freezes if Wifi comes back
Replies: 20
Views: 4686

Re: [Solved] rpi0w freezes if Wifi comes back

The issue is long fixed with official binaries. I use a few PIs (3 and Zero W) in Wifi and none freezes. A Pi Zero W is working for month stable. Data is requested over Wifi every minute. It also fetches data every minute. How do you know the system freezes? Did you connect via serial console to see...
by RDPUser
Thu Jul 11, 2019 10:47 pm
Forum: Advanced users
Topic: What compiler options are used for building official binaries?
Replies: 0
Views: 136

What compiler options are used for building official binaries?

We have a 3B+ on stretch. It is shipped with cryptsetup 1.7.3 Look at the benchmarks (I've ensured that while benchmarking there is no thermal throttling from 1,4 to 1,2 GHz or even below, so they are comparable) First Output is from official 1.7.3, then the own build 2.1.0. The encryption speed is ...
by RDPUser
Tue Jul 09, 2019 2:51 pm
Forum: General discussion
Topic: RAM: LPDDR-Technology on PI3 and Zero (W)?
Replies: 2
Views: 217

RAM: LPDDR-Technology on PI3 and Zero (W)?

The new PI 4 is advertised with LPDDR4 LPDDR4-2400 SDRAM https://www.raspberrypi.org/products/raspberry-pi-4-model-b/specifications/ B+ with 1GB LPDDR2 SDRAM https://www.raspberrypi.org/products/raspberry-pi-3-model-b-plus/ How about the Zero, Zero W and the "normal" 3B? On the productpages you'll f...
by RDPUser
Sat May 04, 2019 9:59 pm
Forum: Troubleshooting
Topic: [Solved] USB HDD resets on Pi Zero W
Replies: 8
Views: 450

Re: USB HDD resets on Pi Zero W

I'm using a 2A Powersupply. Pi Zero W detects no undervoltage. As it is a 2,5" HDD it is powered from the PI Zero. https://www.aliexpress.com/item/OTG-Cable-Type-C-Micro-USB-General-USB-Type-Adapter-Phone-Android-Mobile-Data-Micro-Converter/32975104690.html Thats the OTG Adapter. Its very basic and ...
by RDPUser
Fri May 03, 2019 10:41 pm
Forum: Troubleshooting
Topic: [Solved] USB HDD resets on Pi Zero W
Replies: 8
Views: 450

Re: USB HDD resets on Pi Zero W

It is connected via the original cable and on USB OTG adapter.
"what are you using"
A westerm digital 4 TB 2,5 " external Harddrive. Connected to a PC the HDD works fine.
by RDPUser
Fri May 03, 2019 1:43 pm
Forum: Troubleshooting
Topic: [Solved] USB HDD resets on Pi Zero W
Replies: 8
Views: 450

Re: USB HDD resets on Pi Zero W

Can anyone help?
by RDPUser
Tue Apr 30, 2019 9:28 am
Forum: Troubleshooting
Topic: [Solved] USB HDD resets on Pi Zero W
Replies: 8
Views: 450

[Solved] USB HDD resets on Pi Zero W

I've tried to make a little NAS with a PI Zero W and a USB HDD. First I've normally mounted the drive and shared that mount with samba. Sometimes the connections broke, so I tried USB redirector from Incentives Pro. There same result. After some time connection is broke. dmesg | grep usb [ 0.134487]...
by RDPUser
Tue Feb 26, 2019 11:13 pm
Forum: Beginners
Topic: what is remote GPIO
Replies: 18
Views: 36981

Re: what is remote GPIO

Can somebody give an example where this would be really useful? My imagination is to low to find a really useful case. I mean you need a RPI at the place where you want GPIO Pins so you can run your script as well on that PI.

Go to advanced search