Go to advanced search

by dickon
Fri Mar 27, 2020 12:16 pm
Forum: General discussion
Topic: Foundation Blog
Replies: 8
Views: 349

Re: Foundation Blog

Font size isn't a problem -- meta-+ and meta-- sort that out nicely -- I just dislike the tile format on the landing page.
by dickon
Fri Mar 27, 2020 12:00 pm
Forum: General discussion
Topic: Foundation Blog
Replies: 8
Views: 349

Re: Foundation Blog

I dislike Chrome, as Google are nobbling adblockers for commercial reasons. I'm sticking to Firefox.
by dickon
Fri Mar 27, 2020 10:57 am
Forum: General discussion
Topic: Foundation Blog
Replies: 8
Views: 349

Re: Foundation Blog

Ghastly, isn't it.
by dickon
Tue Mar 24, 2020 11:52 pm
Forum: Advanced users
Topic: Destroy pi sd card... On purpose if removed
Replies: 53
Views: 1424

Re: Destroy pi sd card... On purpose if removed

That was the story I heard. The X-Box could be attached as a USB device *over ethernet* -- AIUI -- which meant you could trivially snoop the traffic on the network with the usual tools. The over-ethernet being important because most people have the X-Box in the livingroom and the PC in an office els...
by dickon
Tue Mar 24, 2020 10:58 pm
Forum: Advanced users
Topic: Destroy pi sd card... On purpose if removed
Replies: 53
Views: 1424

Re: Destroy pi sd card... On purpose if removed

Secure Boot is broadly worthless anyway, because of the problem mentioned above: it requires the *entire stack*[0] to be secure: firmware, bootloader, kernel[1], *anything which may be executed as root*[0] (or equivalent), and anything which can be influenced to execute anything as root. Now, bear i...
by dickon
Tue Mar 24, 2020 3:19 pm
Forum: Advanced users
Topic: [SOLVED] Does anyone know how to extract a partition
Replies: 16
Views: 320

Re: [SOLVED] Does anyone know how to extract a partition

You thought correctly. Unless it's NTFS, which is broken (as it embeds the start sector somewhere in the header -- this is stupid).
by dickon
Tue Mar 24, 2020 2:46 pm
Forum: Advanced users
Topic: [SOLVED] Does anyone know how to extract a partition
Replies: 16
Views: 320

Re: [SOLVED] Does anyone know how to extract a partition

It's also useful for creating images. You dd a bit of /dev/zero to a file, losetup that file, partition the resulting loop device with your favourite partitioner, create the filesystem(s) you want within those /dev/loopXpY partitions (which should be automatically created by your partition tool), mo...
by dickon
Tue Mar 24, 2020 2:25 pm
Forum: Advanced users
Topic: [SOLVED] Does anyone know how to extract a partition
Replies: 16
Views: 320

Re: [SOLVED] Does anyone know how to extract a partition

root@rtr-dickonh:~# losetup -P --show -f 2019-09-26-raspbian-buster-lite.img /dev/loop0 root@rtr-dickonh:~# ls /dev/loop* loop-control loop0p2 loop3 loop6 loop0 loop1 loop4 loop7 loop0p1 loop2 loop5 root@rtr-dickonh:~# losetup -d /dev/loop0 root@rtr-dickonh:~# That's just an image I happen to have ...
by dickon
Tue Mar 24, 2020 11:24 am
Forum: General discussion
Topic: What is the 2020 way to copy a file to a Raspbian device via a network?
Replies: 20
Views: 673

Re: What is the 2020 way to copy a file to a Raspbian device via a network?

I do NFS over Wireguard from London (Docklands) to Reading, over 200Mb/s of Virgin Media. That works well: it's enough to play blu-ray images with a GB or so of buffering for the bandwidth peaks.
by dickon
Tue Mar 24, 2020 11:03 am
Forum: Advanced users
Topic: [SOLVED] Does anyone know how to extract a partition
Replies: 16
Views: 320

Re: Does anyone know how to extract a partition

DarkElvenAngel wrote:
Mon Mar 23, 2020 7:13 pm
Okay,

@dickon

Code: Select all

losetup -P image-file.img 
Is a no go it wants a loop device.
losetup sets up a loop device...
by dickon
Tue Mar 24, 2020 1:12 am
Forum: General discussion
Topic: What is the 2020 way to copy a file to a Raspbian device via a network?
Replies: 20
Views: 673

Re: What is the 2020 way to copy a file to a Raspbian device via a network?

Let's assume for a moment that ext4 was the universal replacement for FAT. I wouldn't do that. ext4 isn't the right tool for this job. How are you going to cope with the issue that: User A may not exist on all of the boxes you plug the device into? If user A does exist it may not have the same nume...
by dickon
Tue Mar 24, 2020 1:01 am
Forum: General discussion
Topic: What is the 2020 way to copy a file to a Raspbian device via a network?
Replies: 20
Views: 673

Re: What is the 2020 way to copy a file to a Raspbian device via a network?

and whether something better is actually possible, albeit with possible hoops to jump -- but my point still stands: FAT is a toy FS. It's a series of bodges on the original 12b filesystem shipped with DOS 1, it's utterly unsuited for anything even faintly modern (size limits alone render it broadly...
by dickon
Mon Mar 23, 2020 11:43 pm
Forum: General discussion
Topic: RPi4 video performance
Replies: 36
Views: 1518

Re: RPi4 video performance

50mbps 4k sounds wild. I want to see that for myself. 16k at (IIRC) ~150Mb/s is *really* wild... (The 2012 Olympics opening ceremony was partially shot in that, with some very specialist cameras, as a technology demo by the BBC in conjunction with NHK, and I, along with a bunch of colleagues, got t...
by dickon
Mon Mar 23, 2020 11:23 pm
Forum: General discussion
Topic: What is the 2020 way to copy a file to a Raspbian device via a network?
Replies: 20
Views: 673

Re: What is the 2020 way to copy a file to a Raspbian device via a network?

Yes. As the saying went: Unix is an operating system with a graphical user interface bolted on as an afterthought. Windows is a graphical user interface with an operating system bolted on as an afterthought. A lot of Windows' troubles can be attributed to that, from the malware problems it's always ...
by dickon
Mon Mar 23, 2020 8:55 pm
Forum: General discussion
Topic: What is the 2020 way to copy a file to a Raspbian device via a network?
Replies: 20
Views: 673

Re: What is the 2020 way to copy a file to a Raspbian device via a network?

You're using a toy filesystem and expecting Unix semantics out of it. That isn't going to work. man mount, and scroll down to the 'Mount options for fat' section. Also, read the manpage for sshd, and enable PermitRootLogins in its config file. Not rocket science. That's a horribly arrogant and insu...
by dickon
Mon Mar 23, 2020 8:44 pm
Forum: General discussion
Topic: Am I being Hacked?? (Strange sting in history)
Replies: 23
Views: 935

Re: Am I being Hacked?? (Strange sting in history)

Installing something like rkhunter is worth a shot, too.
by dickon
Mon Mar 23, 2020 6:53 pm
Forum: Advanced users
Topic: [SOLVED] Does anyone know how to extract a partition
Replies: 16
Views: 320

Re: Does anyone know how to extract a partition

If you've got a partition table, just use losetup -P, and dd the required partitions off the loop devices. Simple.
by dickon
Mon Mar 23, 2020 6:15 pm
Forum: General discussion
Topic: What is the 2020 way to copy a file to a Raspbian device via a network?
Replies: 20
Views: 673

Re: What is the 2020 way to copy a file to a Raspbian device via a network?

I don't recall ever wanting to change the ownership of a FAT FS before, but I can't imagine that chmod would ever have done it. FAT doesn't have any concept of users or groups, so there's nowhere to store it other than to make some exception. Root directories aren't special: they're handled just the...
by dickon
Sun Mar 22, 2020 9:45 pm
Forum: General discussion
Topic: RPi4 video performance
Replies: 36
Views: 1518

Re: RPi4 video performance

I can't see any 3840x2160 or 4096x2160 modes that are >30Hz in that. You're probably out of luck, unless there's a port that's specifically marked as HDMI 2.0 and your Pi isn't plugged into it. There's not much 4kp60 content out there -- film is still a ludicrous 24Hz, after all, which is where most...
by dickon
Sun Mar 22, 2020 9:27 pm
Forum: General discussion
Topic: Raspberry Pi submarine
Replies: 7
Views: 280

Re: Raspberry Pi submarine

Wifi is 2.4GHz, which is remarkably close to the frequency that microwaves use to heat food. They use that frequency because the H-O bonds in water wobble when subjected to radio waves of that frequency, and in so doing, absorb it and heat up. Microwaves typically use ~1kW, and AIUI typically attenu...
by dickon
Sun Mar 22, 2020 9:08 pm
Forum: General discussion
Topic: RPi4 video performance
Replies: 36
Views: 1518

Re: RPi4 video performance

Then grab the EDID, and run it through edidparser. Other things to check are that you've got the thing plugged into an HDMI 2.0 (or higher) port on the TV -- 1.4 can only handle the slower speeds, and <1.4 can't even handle those (at least, officially). I can't find a definitive list of versions tha...
by dickon
Sun Mar 22, 2020 8:19 pm
Forum: General discussion
Topic: What is the 2020 way to copy a file to a Raspbian device via a network?
Replies: 20
Views: 673

Re: What is the 2020 way to copy a file to a Raspbian device via a network?

You're using a toy filesystem and expecting Unix semantics out of it. That isn't going to work.

man mount, and scroll down to the 'Mount options for fat' section. Also, read the manpage for sshd, and enable PermitRootLogins in its config file. Not rocket science.
by dickon
Sun Mar 22, 2020 5:29 pm
Forum: General discussion
Topic: RPi4 video performance
Replies: 36
Views: 1518

Re: RPi4 video performance

You've got

Code: Select all

hdmi_enable_4kp60=1
in /boot/config.txt, yes?
by dickon
Sun Mar 22, 2020 4:45 pm
Forum: General discussion
Topic: RPi4 video performance
Replies: 36
Views: 1518

Re: RPi4 video performance

Er, that sounds like you've not enabled the >30fps modes in config.txt...
by dickon
Sat Mar 21, 2020 9:46 pm
Forum: Advanced users
Topic: Destroy pi sd card... On purpose if removed
Replies: 53
Views: 1424

Re: Destroy pi sd card... On purpose if removed

Not exactly foolproof, particularly if users have access to the Pi's commandline or the like, but you could encrypt the filesystem via one of the usual methods and use the serial number as (part of) the key. It won't be all that secure, but might suffice for your needs, depending on how your technic...

Go to advanced search