You mean 6 Giga_bits_ per second. Very important difference. The actual throughput of SATA III is also only ~4.8 Giga_bits_ per second, so ~600 Mega_bytes_ per second.
For 6 Giga_bytes_ you need a PCIe 4.0 NVMe SSD (~7.3GB/s) which are basically the fastest consumer drives available, seeing as the PCIe 5.0 drives are unwieldy and require a heatsink.
You could try using xwaylandvideobridge. It's on the AUR / KDE flathub. It's kinda wonky cause it adds an extra dialog, but I used it for discord without issue.
cat /etc/resolv.conf when everything works without VPN, then again when everything works with VPN, then again when it's broken. It's likely that the DNS entry isn't being removed properly for whatever reason.
Could also be that their killswitch is bad. Can't really tell the exact reason, but it's likely the protonVPN client being fucky as others have said.
These showcase roughly what you need. The end result was that I had 3 options (excluding subentries) in refind:
Boot Windows (I let refind autogenerate this entry)
Boot Arch, skipping ZBM
Boot Arch, showing ZBM
There's a bunch of other garbage/my setup specific things here, so don't blindly copy it. Particularly the boot options. Some of it does literally nothing, It's just there because I kept forgetting to clean it up. If you use this as a reference though, you should be able to get what you want without too much pain.
As mentioned in my last comment though, I used efibootmgr to add the equivalent of the Arch entry directly to the motherboard. I almost never boot anything else, so now refind is just a backup in case I screw something up.
The only other thing to note is that ZFSBootMenu/kexec can't load additional initrd files. The initrd in the options string does nothing (I think. I can't double check because I update my BIOS). You'll have to either keep your motherboard BIOS updated or concatenate the ucode/initramfs files every time a new initramfs is generated.
I haven't tried the driver, but you can just create a ZFSBootMenu entry for refind and use that. My current setup has both:
ZFSBootMenu with my normal options as the default boot method
rEFInd with ZFSBootMenu entries as a second boot method in case I break something or want to boot other things
The direct to ZBM entry in the motherbard is new. I only added it because I'm tired of the extra wait time with rEFInd. Before that, I used rEFInd. There was also a windows entry which I've since deleted.
Ok, now that I'm home, I edited it a bit. It should be more clear now, and I changed zfsarch.db.tar.gz -> myrepo.db.tar.gz to avoid confusion with the archzfs repository.
Just to make sure there's no confusion, Paru is an AUR helper. You don't need it for this.
And sorry, the zfsarch.db.tar.gz is somewhat confusing. I think that's a leftover from when I did this the first time. I believe its the name of my local repo, and has nothing to do with the archzfs repository I mentioned in other places. The archzfs repository is an alternative to the AUR packages. You can probably change the name to anything you want. Just make sure you change all the commands that use it. Glad you pointed that out, I didn't even notice that.
Otherwise, For the ZFS packages:
You have to build/install the packages on your existing install. This means either using the AUR or setting up the archzfs repository. I think there's a comment about it near the top. How you get them from there depends:
AUR + AUR Helper: If you use an AUR helper install zfs-dkms and zfs-utils. If they have an option to build without installing, you probably want to prefer that. Then you will have to check where they download + build packages. In my case, I have Paru set to build in /Build/_Paru/clone, so the package file will be in there. Then you run commands similar to the two I commented out.
AUR Manual: If you don't use an AUR helper, you have to download the git repositories from the AUR page and build the package. I forget the exact command, something like makepkg -s or makepkg -si. Then you can copy it like above.
zfsarch repo: Add the repository as per the instructions. You probably want to add the repository to the archiso as well, so you can pacstrap them later (I think that's why... I forget the exact reason off the top of my head). It shows how to do so later in the instructions.
Here are my notes from when I reinstalled Arch to switch from BTRFS to ZFS. They've been updated whenever I needed a new archiso and did something different, so I trimmed some of the steps a bit. I left some irrelevant things though, because why not. You can just ignore them. Let me know if you need clarification for anything.
Also, holy shit this is unreadable without syntax highlighting.
install archiso, as well as zfs-dkms and zfs-utils, plus qemu and edk2-ovmf
# This installs ZFS from the AUR by default. I now use archzfs. It must be setup first.
# https://github.com/archzfs/archzfs/wiki
paru -S archiso zfs-dkms zfs-utils qemu edk2-ovmf
Create directories for all the archiso stuff
ISODIR=/Path/To/Where/I/Want/This/ZFSArch
mkdir -p "$ISODIR"
# Copy the base archiso config
cp -r /usr/share/archiso/configs/releng/* "$ISODIR"
# Directory for repositories of whatever architecture(s) you want
mkdir -p "$ISODIR"/repo/x86_64
# The repo need to be repeated per arch, so for multiple archs this process must be repeated
REPODIR="$ISODIR"/repo/x86_64
Create a custom repo
## Create the repo.db files
repo-add "$REPODIR"/myrepo.db.tar.gz
## Copy any aur packages to our custom repo
# paru
cp /Build/_Paru/clone/paru/paru-$(paru -Q paru | rg -o '\d+.*')-x86_64.pkg.tar.zst "$REPODIR"
# zfs
# These only need to be copied if using the AUR zfs packages. If using the archzfs packages,
# as long as they're installed on the current machine, they should be automatically found just like any other package.
#cp /Build/_Paru/clone/zfs-dkms/zfs-dkms-$(paru -Q zfs-dkms | rg -o '\d+.*')-any.pkg.tar.zst "$REPODIR"
#cp /Build/_Paru/clone/zfs-utils/zfs-utils-$(paru -Q rg zfs-utils | rg -o '\d+.*')-x86_64.pkg.tar.zst "$REPODIR"
## Add packages to the repo.db
repo-add "$REPODIR"/myrepo.db.tar.gz "$REPODIR"/*.pkg.tar.zst
Add the packages to the archiso file
# Add repo.db to pacman.conf
# Note that higher repositories in pacman.conf take precedence
cat << EOF >> "$ISODIR"/pacman.conf
# Custom Repo
[myrepo]
SigLevel = Optional TrustAll
Server = file://$REPODIR
# Arch ZFS
[archzfs]
Server = https://archzfs.com/\$repo/\$arch
EOF
# Add packages to the list of included packages for whichever architectures
# zfs-dkms _NEEDS_ linux-headers
cat << "EOF" >> "$ISODIR"/packages.x86_64
zfs-dkms
zfs-utils
linux-headers
refind
paru
ripgrep
sd
fd
exa
helix
broot
skim
bat
EOF
Copy the local repository to the iso (for paru) and add any other changes desired desired to the archiso. In customize_airootfs.sh, add the local repo to the ISO's pacman.conf.
# Add local repo
cp -r "$ISODIR"/repo "$ISODIR"/airootfs/root
# Trying to pacstrap the zfs-* packages led to a boot failure, I believe because I
# switched from AUR -> archzfs. Regardless of reason, removing them makes it impossible
# to accidentally pacstrap them.
#repo-remove "$ISODIR"/airootfs/root/repo/x86_64/myrepo.db.tar.gz zfs-dkms
#repo-remove "$ISODIR"/airootfs/root/repo/x86_64/myrepo.db.tar.gz zfs-utils
#rm "$ISODIR"/airootfs/root/repo/x86_64/zfs-dkms*
#rm "$ISODIR"/airootfs/root/repo/x86_64/zfs-utils*
## Set to my timezone
ln -sf /usr/share/zoneinfo/America/Los_Angeles "$ISODIR"/airootfs/etc/localtime
## Disable the beep on boot
sd "^play 600 988 1 1319 4" "#play 600 988 1 1319 4" "$ISODIR"/grub/grub.cfg
# Get a list of packages on the current machine so they can be easily installed later.
# Official Repos
paru -Qq > "$ISODIR"/airootfs/root/official_packages.txt
# AUR / Other
paru -Qmq > "$ISODIR"/airootfs/root/aur_packages.txt
# Add ZFSBootMenu
curl -o "$ISODIR"/airootfs/root/zfsbootmenu-release-x86_64-v2.1.0.tar.gz \
-L https://github.com/zbm-dev/zfsbootmenu/releases/download/v2.1.0/zfsbootmenu-release-x86_64-v2.1.0.tar.gz
# Add the (optional) setup script. This runs at ISO creation, not boot.
cat << "EOF" >> "$ISODIR"/airootfs/root/customize_airootfs.sh
# Error handling
echo "Setting script to stop on errors"
set -eu
# Add root PW for ssh based on date of archiso.
# Not _really_ secure, but meh. good enough.
# As long as it's not used on other people's networks.
p=$(date +%Y%m%d)
p=MyTempPassword$p
echo "root:$p" | chpasswd
# Add the local repo to pacman.conf
cat << "EOF2" >> /etc/pacman.conf
# Custom package repo
[myrepo]
SigLevel = Optional TrustAll
Server = file:///root/repo/x86_64
EOF2
EOF
Build the ISO
### WARNING: If anything goes wrong during the creation,
### delete the $ISODIR/work directory with
### sudo rm -r "$ISODIR"/work
# place the working directory on the tmpfs (/tmp/...) _IF_ you have enough memory.
# Make sure to delete it after.
sudo mkarchiso -v -w "$ISODIR"/work -o "$ISODIR"/out "$ISODIR"
Delete the work dir
sudo rm -r "$ISODIR"/work
Test the arch iso using QEMU
# Convenience script to launch it in QEMU. Select the ISO by architecture.
# It wouldn't open for me without forcing wayland.
SDL_VIDEODRIVER=wayland run_archiso -i "$ISODIR"/out/*x86_64*
If you get the flatseal app, you can easily see the permissions.
As for it's restriction features, I believe it's just restricted unless allowed. I have 1 flatpak app (spotify) and I had to give it access to my local music by granting it permission for certain files.
It's "only" $173 from the third year onwards. I know because I just bought a license last week after bootlegging it for a while and it cost $289. Second year is $231. Absolutely worthwhile investment though, these IDEs are like crack. Every language I've tried is just sooooo well integrated out of the box.
Just adding to the circlejerk at this point, but IntelliJ is what I'd recommend as well. It's what they had us use in my first class with Java at school, and I've been a Jetbrains addict ever since.
Since it's an introductory class, I wouldn't expect anything crazy or complicated to be needed, the IDE should handle everything.
And honestly, there is no way I can merge any of the ZFS efforts until I get an official letter from Oracle that is signed by their main legal counsel or preferably by Larry Ellison himself that says that yes, it's ok to do so and treat the end result as GPL'd.
Other people think it can be ok to merge ZFS code into the kernel and that the module interface makes it ok, and that's their decision. But considering Oracle's litigious nature, and the questions over licensing, there's no way I can feel safe in ever doing so.
And I'm not at all interested in some "ZFS shim layer" thing either that some people seem to think would isolate the two projects. That adds no value to our side, and given Oracle's interface copyright suits (see Java), I don't think it's any real licensing win either.
Linus also says he doesn't like it, but I suspect he's never used it since what he said is wrong.
As for the AUR zfs-utils issue, I don't think that was it. I vaguely remember it being something about initcpio hooks, or something like in this comment. I just know I tried the AUR first and couldn't boot, tried archzfs and it worked.
And you're right, the whole ZFS experience is kinda clunky. Once it works it's amazing though. I much prefer it over any of the other filesystems I've tried.
I use the core kernel(s), the only things I use from zfsarch are zfs-dkms/zfs-utils, since the AUR versions don't work as well.
I do sometimes run into issues with a kernel update breaking some part of ZFS, but I just switch to LTS in that case. If you use archzfs-linux instead of linux + zfs-dkms (they mention it may update slower for stability on the wiki) there shouldn't be any problems.
The only reason I use this funky combo is because it breaks infrequently (I think twice in the ~9 months I've used it?), I want the new kernel sooner, and fixing takes me ~5-10 minutes.
The reason I originally used archzfs instead of the AUR though, is due to encryption. I wanted ZFS encryption for my whole computer, and the AUR one either simply didn't work or didn't work well enough to support that, I forget the exact problem.
I feel confident saying it will be easy and quick to test, but I can't really guarantee that, so I would have an arch ISO with ZFS (and the knowledge to use it) on hand.
You mentioned it's not your router, so if replacing or changing it's settings isn't an option, the only things I can really think of are:
Setting up a wireguard server on the Pi and SSH through it. Could also try the inverse.
Permanently using the bridging router (or a newer 5ghz one) / ethernet. You could use a bidging router to just rebroadcast the main one. If you put the old one in a Faraday cage and connect it to the new one via ethernet maybe nobody will notice you're rebroadcasting lol
Wow, I actually had a problem with that ages ago. Totally forgot about it. You can also do it with just the command line using -o PubKeyAlgorithms=+ssh-rsa or something like that.
Ah, good point. You might be able to just extract the .so (libcrypto.so?) file from the package then use LD_PRELOAD to override. Not totally sure it'd work, though.
Install the Downgrade script from the AUR (might be in official repository now?) and downgrade OpenSSL and OpenSSH, if you haven't deleted the old packages (or just directly downgrade by installing from /var/cache/pacman/pkg, but downgrade is always nice to have)
SSH from live Arch installer if you haven't yet
Make sure it's not a DNS issue of some sort, although I'm not sure how this would be possible. I've had issues with systemd-resolved before, so I use plain NetworkManager for everything
Trying to SSH using a different shell (zsh/bash) / ssh to root if the server has root ssh enabled
Change the Arch IP to something else / to match Windows
Try allowing then using different ports
Restart the server
Update the server
Try switching from ethwrnet to wifi if possible. Also check if there were firmware updates to your ethernet / wifi hardware, or if there are known issues with it. I've heard of some crazy weird issues so odd they should be considered borderline paranormal caused by shitty network drivers. Although, reaching this point would probably make me go insane.
lldap
You mean 6 Giga_bits_ per second. Very important difference. The actual throughput of SATA III is also only ~4.8 Giga_bits_ per second, so ~600 Mega_bytes_ per second.
For 6 Giga_bytes_ you need a PCIe 4.0 NVMe SSD (~7.3GB/s) which are basically the fastest consumer drives available, seeing as the PCIe 5.0 drives are unwieldy and require a heatsink.
You could try using xwaylandvideobridge. It's on the AUR / KDE flathub. It's kinda wonky cause it adds an extra dialog, but I used it for discord without issue.
cat /etc/resolv.confwhen everything works without VPN, then again when everything works with VPN, then again when it's broken. It's likely that the DNS entry isn't being removed properly for whatever reason.Could also be that their killswitch is bad. Can't really tell the exact reason, but it's likely the protonVPN client being fucky as others have said.
Did you ever find a solution? Or is it doomed unless one compiles their own kernel? I'm having the same problem and it's driving me nuts.
Sorta. They're both Arch via ZBM, but with slightly different options.
This is what I have at the end of my refind.conf:
These showcase roughly what you need. The end result was that I had 3 options (excluding subentries) in refind:
There's a bunch of other garbage/my setup specific things here, so don't blindly copy it. Particularly the boot options. Some of it does literally nothing, It's just there because I kept forgetting to clean it up. If you use this as a reference though, you should be able to get what you want without too much pain.
As mentioned in my last comment though, I used efibootmgr to add the equivalent of the
Archentry directly to the motherboard. I almost never boot anything else, so now refind is just a backup in case I screw something up.The only other thing to note is that ZFSBootMenu/kexec can't load additional initrd files. The initrd in the options string does nothing (I think. I can't double check because I update my BIOS). You'll have to either keep your motherboard BIOS updated or concatenate the ucode/initramfs files every time a new initramfs is generated.
I haven't tried the driver, but you can just create a ZFSBootMenu entry for refind and use that. My current setup has both:
The direct to ZBM entry in the motherbard is new. I only added it because I'm tired of the extra wait time with rEFInd. Before that, I used rEFInd. There was also a windows entry which I've since deleted.
I had similar issues, but was able to fix it (temporarily) by running
ntfsfixYou can check updated packages with
where
YYYY-MM-DDis the date of the updateWireguard works with NetworkManager, it's what I use. It's quite painless.
Ok, now that I'm home, I edited it a bit. It should be more clear now, and I changed zfsarch.db.tar.gz -> myrepo.db.tar.gz to avoid confusion with the archzfs repository.
Just to make sure there's no confusion, Paru is an AUR helper. You don't need it for this.
And sorry, the
zfsarch.db.tar.gzis somewhat confusing. I think that's a leftover from when I did this the first time. I believe its the name of my local repo, and has nothing to do with the archzfs repository I mentioned in other places. The archzfs repository is an alternative to the AUR packages. You can probably change the name to anything you want. Just make sure you change all the commands that use it. Glad you pointed that out, I didn't even notice that.Otherwise, For the ZFS packages:
You have to build/install the packages on your existing install. This means either using the AUR or setting up the archzfs repository. I think there's a comment about it near the top. How you get them from there depends:
/Build/_Paru/clone, so the package file will be in there. Then you run commands similar to the two I commented out.makepkg -sormakepkg -si. Then you can copy it like above.pacstrapthem later (I think that's why... I forget the exact reason off the top of my head). It shows how to do so later in the instructions.Here are my notes from when I reinstalled Arch to switch from BTRFS to ZFS. They've been updated whenever I needed a new archiso and did something different, so I trimmed some of the steps a bit. I left some irrelevant things though, because why not. You can just ignore them. Let me know if you need clarification for anything.
Also, holy shit this is unreadable without syntax highlighting.
install
archiso, as well aszfs-dkmsandzfs-utils, plusqemuandedk2-ovmfCreate directories for all the archiso stuff
Create a custom repo
Add the packages to the archiso file
Copy the local repository to the iso (for paru) and add any other changes desired desired to the archiso. In customize_airootfs.sh, add the local repo to the ISO's pacman.conf.
Build the ISO
Delete the work dir
Test the arch iso using QEMU
If you get the flatseal app, you can easily see the permissions.
As for it's restriction features, I believe it's just restricted unless allowed. I have 1 flatpak app (spotify) and I had to give it access to my local music by granting it permission for certain files.
It's "only" $173 from the third year onwards. I know because I just bought a license last week
after bootlegging it for a whileand it cost $289. Second year is $231. Absolutely worthwhile investment though, these IDEs are like crack. Every language I've tried is just sooooo well integrated out of the box.Just adding to the circlejerk at this point, but IntelliJ is what I'd recommend as well. It's what they had us use in my first class with Java at school, and I've been a Jetbrains addict ever since.
Since it's an introductory class, I wouldn't expect anything crazy or complicated to be needed, the IDE should handle everything.
The specific reason they won't touch it at all is because Oracle is big scary:
Linus also says he doesn't like it, but I suspect he's never used it since what he said is wrong.
As for the AUR zfs-utils issue, I don't think that was it. I vaguely remember it being something about initcpio hooks, or something like in this comment. I just know I tried the AUR first and couldn't boot, tried archzfs and it worked.
And you're right, the whole ZFS experience is kinda clunky. Once it works it's amazing though. I much prefer it over any of the other filesystems I've tried.
Edit: Typo
I use the core kernel(s), the only things I use from zfsarch are
zfs-dkms/zfs-utils, since the AUR versions don't work as well.I do sometimes run into issues with a kernel update breaking some part of ZFS, but I just switch to LTS in that case. If you use
archzfs-linuxinstead oflinux+zfs-dkms(they mention it may update slower for stability on the wiki) there shouldn't be any problems.The only reason I use this funky combo is because it breaks infrequently (I think twice in the ~9 months I've used it?), I want the new kernel sooner, and fixing takes me ~5-10 minutes.
The reason I originally used archzfs instead of the AUR though, is due to encryption. I wanted ZFS encryption for my whole computer, and the AUR one either simply didn't work or didn't work well enough to support that, I forget the exact problem.
I feel confident saying it will be easy and quick to test, but I can't really guarantee that, so I would have an arch ISO with ZFS (and the knowledge to use it) on hand.
Just want to add, I didn't have any of these problems using archzfs instead of the AUR packages. The upgrade from 6.0 -> 6.1 was seamless.
current package versions:
You mentioned it's not your router, so if replacing or changing it's settings isn't an option, the only things I can really think of are:
Wow, I actually had a problem with that ages ago. Totally forgot about it. You can also do it with just the command line using
-o PubKeyAlgorithms=+ssh-rsaor something like that.this?
Ah, good point. You might be able to just extract the .so (
libcrypto.so?) file from the package then use LD_PRELOAD to override. Not totally sure it'd work, though.Honestly most of these are total shots in the dark and are more for finding where the issue is than fixing the problem
Other things I would try: