Replying to Avatar Oi

That's not what I posted =>

All I see is #VeraCrypt. He's podcasting, you can listen with Android on https://fountain.fm/oi?code=ce25e6f91a , his podcast https://fountain.fm/show/m7qullz5GucrfjeqaB9l

You can use CryptSetup on #Linux: (assuming `sudo` in front of each command)

```

fdisk -l

```

Assuming `mmcblk0` is the sdcard:

`shred -v -n 1 /dev/mmcblk0`

where -v, verbose and -n, number of iterations

```cryptsetup luksFormat /dev/mmcblk0

cryptsetup luksOpen /dev/mmcblk0 opt

ls -arlt /dev/mapper | tail

ls -l /dev/mapper/opt

mkfs -t ext4 /dev/mapper/opt```

Where we've named the encrypted drive `opt` and opened in the systems /opt directory, -t is type ext4 which works on Linux systems

```mount /dev/mapper/opt /opt

umount /opt

cryptsetup luksClose opt

ls -l /dev/mapper/opt

'no such file'```

nostr:nevent1qqsvz4tylmxuq55t5z3l248n9rgvcttr6net683sv28snaqmwk3acvqpz3mhxue69uhhyetvv9ujumn0wd68ytnzvupzp5c8pwxe8zpusrv227pc0j3n4crymsczrzksf6pm7nkmya7gs8alqvzqqqqqqytu790e

Keeps missing =>

You can use CryptSetup on #Linux: (assuming `sudo` in front of each command)

```cryptsetup luksFormat /dev/mmcblk0

cryptsetup luksOpen /dev/mmcblk0 opt

ls -arlt /dev/mapper | tail

ls -l /dev/mapper/opt

mkfs -t ext4 /dev/mapper/opt```

Where we've named the encrypted drive `opt` and opened in the systems /opt directory, -t is type ext4 which works on Linux systems

```mount /dev/mapper/opt /opt

umount /opt

cryptsetup luksClose opt

ls -l /dev/mapper/opt

'no such file'```

nostr:nevent1qqsrsf045spfznnvjajr0pm47txy3u4wllk2gpyrh9apwh2m6c2xjxqpz3mhxue69uhkummnw3ezummcw3ezuer9wcpzp5c8pwxe8zpusrv227pc0j3n4crymsczrzksf6pm7nkmya7gs8alqvzqqqqqqywteejh

Reply to this note

Please Login to reply.

Discussion

What's a good place to get started using Linux? I'm not tech illiterate, but also not at Comp Sci.

I just got Ubuntu running on a RasPi, and gonna mess around.

I'm willing to out in the work.

Which keyboard are you using?

The standard keyboard on #GrapheneOS

```Version 13

com.android.inputmethod.latin

versionCode 30

targetSdk 30

minSdk 21

Installed: 1 Jan 2009; 00:00```

Also, to backup my nsec key I need to input a passphrase I never set??

Common issue with that keyboard. Try using AnySoftKeyboard

https://f-droid.org/en/packages/com.menny.android.anysoftkeyboard/

OK thanks, re nsec behind a passphrase I never set?

Much appreciated: Settings > System > Languages and Input > On-screen keyboard > keyboard > text correction, seems to have fixed it...

I am trying anysoft to learn dvorak.

I use the AOSP keyboard that comes with Lineage.

I'll try the one you suggested.

Thank you!

Works like a charm!

Thank you 😀

OK short answer is reinstall a *headless* Ubuntu server

Be ready to try new things e.g ipfs, nmap, nostr, bitcoind, ssh

[TAB] is your friend

This is the original post, remove the ``` as they are not part of the terminal command. You can try this if you want an encrypted external drive for your raspi, which is a very good idea:

Get the Libby app, a library card and read Linux Format magazine free in the app:

https://play.google.com/store/apps/details?id=com.overdrive.mobile.android.libby

Also change the SSH host keys as they are preconfigured (the same) on all downloads on some ARM devices and it goes without saying change the root passphrase.

```

cd /etc/ssh/

mkdir insecure_old

cp ssh_host* insecure_old

rm /etc/ssh/ssh_host_*

dpkg-reconfigure openssh-server

service ssh restart

```

Change directory `cd` and make directory `mkdir` then copy these files `cp` using the wildcard for all `*` and remove `rm` then generate new ssh keys `dpkg` and `restart` the service with the old ssh keys in folder `insecure_old`.

Thank you!