With DynDNS, you don't need keep track of anything. Who ever tries to reach to your (with a dynamic IP) service, it gets the IP provided by DynDNS. This can only work, if your router keeps the DynDNS provider up to date about its new IP. The request is then forwarded to your router. Your router has to forward the request to the port that your service is listening on (port forwarding). Am not sure if all routers supports this.
> make that domain name have https
That domain name (if any) is not yours, so cannot add/update/change anything that is not under your control.
You could use a "self signed certificate", but browsers don't trust these by default, you/who ever, will get the famous security warnings shown in the browser. I personally would not make a "home" service reachable from outside. Some of the reasons: The infrastructure/resources needed. A "server" that is running 24/7 costs money. Money better invested in a hosting plan. The other thing is security risks: Your private data could be stolen/deleted/..,DDOS attacks, and so on.
To avoid (some) headaches, get a domain name and a hosting plan.
Am not an expert, but you have a dynamic IP, which you get assigned by your ISP. In other words: Your router gets a public IP from Your ISP, which then changes in intervals. In order for you or someone else ("the internet outside there") to reach your service, you need to know the IP address and port of your service.
Lets say, your IP is 1.2.3.4 and port is 8080, typing http://1.2.3.4:8080 in your browser, the request is sent to that IP:PORT. Then apache or whatever service is listening on that port will send you (the browser in this case) back a response.
When your router get a different IP assigned, your apache server etc cant be reached anymore. You can to some extent mitigate it with DynDNS (google that).
So, you need a fixed IP address for your service, which costs you a recurring amount of money depending on the provider (google web hosting).
To be able to get an SSL/TLS certificate (https) among other things, you will need a domain name (which also costs a few dollars/whatever a year). With a domain name, you service is then available as https://yourDomanName.TLD instead of a cryptic http://1.2.3.4 or even worse with an IPv6 like 388ef:c900c:3766ac:a7333:f6652
Hi, this might be late, but for the case you still looking for a solution. My goto way to update my "old" Thinkpads, is using a perl script to create a bootable image, then dd the image to an USB stick and boot from it.
Put the script in $PATH to be able to run it just by typing its filename, otherwise run it with full path.
Go to lenovo website and get the firmware iso file (Bootable cd) as you can see here
Cd to where the iso is saved:
cd path/to/xyz.iso
geteltorito.pl xyz.iso > biosupdate.img
Insert the USB key: Note: All data will be overwritten. A small one will be enough, since the image is small. Double check the USB key path before dd'ing it:
lsblk -po NAME,RM,SIZE,TYPE,MOUNTPOINT
Check the RM, it should be 1 for the USB Key, which means it is removable, its path/size...
D(isk)D(estroy) the image to the USB key: You need to specify the path of the USB key itself, not one of its partitions, if it has any. Like /dev/sdb, but not /dev/sdb1
The module is actually /usr/lib/grub/x86_64-efi/gcry_rijndael.mod So I dont know why grub cant find it, weird...What do you see when you reboot, can you post a screenshot or type in what you see, is it the grub rescue shell or systemd asking for the luks passphrase...?
What is the command you used for encryption (cryptsetup...)?
What is lsblk -f output??
/etc/fstab and /etc/mkinitcpio.conf content?
You see, too many questions: but to be able to help, one need to know how you configured your system. So please, when asking for help, provide information, exact errors, logs etc.
/dev/sda3 '@boot' subvolume is mounted at /boot right? If so, change prefix and -p argument to '(crypto0)/@boot', reinstall grub and run grub-mkconfig and the script. I wonder why you save the grubx64.efi under /etc, instead of /boot/efi or /efi
EDIT: Any reason not including the gcry_rijndael module?
EDIT2: It might be '(crypto0)/@boot/grub', can't tell exactly without knowing where the subvolumes are mounted. The output of lsblk -f would be helpful. I would recommend leaving /boot as part of / and separate /boot/grub out into its own subvolume, especially if you plan to use snapper for snapshotting, because booting from a (read only) snapshot and try to edit stuff or run grub-mkconfig etc. leads to errors... That is why I used '(crypto0)/@grub' in the script you linked, '@grub' is a subvolume mounted to /boot/grub
In my experience, both steps are required; the grub-install --modules=... and the grub-mkimage commands. Otherwise grub goes to rescue shell. Good luck
There are a couple of things you need to take care of:
1- Grub 2.06 "supports" LUKS2, but currently only pbkdf2, which means when running cryptsetup luksFormat you have to specify pbkdf2 as well: cryptsetup -y --cipher aes-xts-plain64 --key-size 512 --hash sha512 --pbkdf pbkdf2 --type luks2 luksFormat /dev/device
2- When installing grub, you have to specify the modules required to detect/decrypt your root/device(s): Change --efi-directory and btrfs with your filesystem. grub-install --target=x86_64-efi --efi-directory=/boot/efi --modules="luks2 part_gpt cryptodisk gcry_rijndael pbkdf2 gcry_sha512 btrfs" --bootloader-id=archlinux --recheck
3- Generate the bootloader image/config:
a- See https://aur.archlinux.org/packages/grub-git/?O=10&PP=10#comment-769218
You can use the grub-mkluks2-image script, but DO CHANGE the prefix and root variables according to your setup!
b- Run grub-mkconfig -o /boot/grub/grub.cfg
Reboot :-)
The order matters!: The repo listed first, will be used first, so no need for pacman -S repo/package_name; pacman would error out.
If you enable any unstable repo, you better enable testing and community-testing as well, because packages move from unstable to testing (from top to bottom so to say) . Otherwise you might get a dependency problem, if pkg x from unstable depends on pkg y from testing/cummunity-testing etc.
Welcome !. On my system, firefox isn't listed either while playing videos, but the system never sleeps while watching videos/movies... I think it is just a matter of installing the needed packages and changing the settings in the power management KCM.
EDIT: powerdevil and upower are list, among others.
What settings app? What desktop? What browser?, ...
You have to give context, so that in case someone wants to help, understands the problem.
You know the answer to these questions, but we don't.
Try it from TTY2
With DynDNS, you don't need keep track of anything. Who ever tries to reach to your (with a dynamic IP) service, it gets the IP provided by DynDNS. This can only work, if your router keeps the DynDNS provider up to date about its new IP. The request is then forwarded to your router. Your router has to forward the request to the port that your service is listening on (port forwarding). Am not sure if all routers supports this.
> make that domain name have https
That domain name (if any) is not yours, so cannot add/update/change anything that is not under your control.
You could use a "self signed certificate", but browsers don't trust these by default, you/who ever, will get the famous security warnings shown in the browser. I personally would not make a "home" service reachable from outside. Some of the reasons: The infrastructure/resources needed. A "server" that is running 24/7 costs money. Money better invested in a hosting plan. The other thing is security risks: Your private data could be stolen/deleted/..,DDOS attacks, and so on.
To avoid (some) headaches, get a domain name and a hosting plan.
Am not an expert, but you have a dynamic IP, which you get assigned by your ISP. In other words: Your router gets a public IP from Your ISP, which then changes in intervals. In order for you or someone else ("the internet outside there") to reach your service, you need to know the IP address and port of your service.
Lets say, your IP is 1.2.3.4 and port is 8080, typing http://1.2.3.4:8080 in your browser, the request is sent to that IP:PORT. Then apache or whatever service is listening on that port will send you (the browser in this case) back a response.
When your router get a different IP assigned, your apache server etc cant be reached anymore. You can to some extent mitigate it with DynDNS (google that).
So, you need a fixed IP address for your service, which costs you a recurring amount of money depending on the provider (google web hosting).
To be able to get an SSL/TLS certificate (https) among other things, you will need a domain name (which also costs a few dollars/whatever a year). With a domain name, you service is then available as https://yourDomanName.TLD instead of a cryptic http://1.2.3.4 or even worse with an IPv6 like 388ef:c900c:3766ac:a7333:f6652
Hi, this might be late, but for the case you still looking for a solution. My goto way to update my "old" Thinkpads, is using a perl script to create a bootable image, then dd the image to an USB stick and boot from it.
The procedure is as follows:
Get the script and make it executable:
Put the script in $PATH to be able to run it just by typing its filename, otherwise run it with full path.
Go to lenovo website and get the firmware iso file (Bootable cd) as you can see here
Cd to where the iso is saved:
Insert the USB key: Note: All data will be overwritten. A small one will be enough, since the image is small. Double check the USB key path before dd'ing it:
Check the RM, it should be 1 for the USB Key, which means it is removable, its path/size...
D(isk)D(estroy) the image to the USB key: You need to specify the path of the USB key itself, not one of its partitions, if it has any. Like /dev/sdb, but not /dev/sdb1
Boot from the USB Key.
Here are things you can try:
If all these don't solve the issue, you can still keep your workaround for the time being.
Don't edit files, that will be overwritten after an update. Instead, create a default theme under ~/.local/share/icons and add the changes there.
By the way: The `Inherits` property takes the `Name` property defined in the `index.theme` and not the folder name.
I don't think so. Booting the lts kernel fixes the problem for me, so it looks like a kernel issue.
You mean
/etc/pacman.d/mirrorlistThat means, you f... up. Don't waste your time and nerves debugging, backup important stuff and start over again.
Check /var/log/pacman.log to see what you have removed and reinstall it with pacman -S pkgname
Try quotes:
rsync -Parch machine:"my file"Welcome, glad I could help.
The module is actually
/usr/lib/grub/x86_64-efi/gcry_rijndael.modSo I dont know why grub cant find it, weird...What do you see when you reboot, can you post a screenshot or type in what you see, is it the grub rescue shell or systemd asking for the luks passphrase...?What is the command you used for encryption (cryptsetup...)?
What is lsblk -f output??
/etc/fstab and /etc/mkinitcpio.conf content?
You see, too many questions: but to be able to help, one need to know how you configured your system. So please, when asking for help, provide information, exact errors, logs etc.
/dev/sda3'@boot' subvolume is mounted at /boot right? If so, change prefix and -p argument to'(crypto0)/@boot', reinstall grub and rungrub-mkconfigand the script. I wonder why you save the grubx64.efi under /etc, instead of /boot/efi or /efiEDIT: Any reason not including the
gcry_rijndaelmodule?EDIT2: It might be
'(crypto0)/@boot/grub', can't tell exactly without knowing where the subvolumes are mounted. The output oflsblk -fwould be helpful. I would recommend leaving/bootas part of/and separate/boot/grubout into its own subvolume, especially if you plan to usesnapperfor snapshotting, because booting from a (read only) snapshot and try to edit stuff or rungrub-mkconfigetc. leads to errors... That is why I used'(crypto0)/@grub'in the script you linked, '@grub' is a subvolume mounted to/boot/grubOh, I really have no idea how to deal with "Bios", since I don't use it and have never tested it with encryption. https://wiki.archlinux.org/title/GRUB/Tips_and_tricks#Manual_configuration_of_core_image_for_early_boot doesn't mention bios, only EFI. I would use (U)EFI if possible.
In my experience, both steps are required; the grub-install --modules=... and the grub-mkimage commands. Otherwise grub goes to rescue shell. Good luck
There are a couple of things you need to take care of:
1- Grub 2.06 "supports" LUKS2, but currently only pbkdf2, which means when running cryptsetup luksFormat you have to specify pbkdf2 as well:
cryptsetup -y --cipher aes-xts-plain64 --key-size 512 --hash sha512 --pbkdf pbkdf2 --type luks2 luksFormat /dev/device2- When installing grub, you have to specify the modules required to detect/decrypt your root/device(s): Change --efi-directory and btrfs with your filesystem.
grub-install --target=x86_64-efi --efi-directory=/boot/efi --modules="luks2 part_gpt cryptodisk gcry_rijndael pbkdf2 gcry_sha512 btrfs" --bootloader-id=archlinux --recheck3- Generate the bootloader image/config:
a- See https://aur.archlinux.org/packages/grub-git/?O=10&PP=10#comment-769218
You can use the grub-mkluks2-image script, but DO CHANGE the prefix and root variables according to your setup!
b- Run
grub-mkconfig -o /boot/grub/grub.cfgReboot :-)
Is this supposed to be one line and what is the equivalent of Esc/Tab?
The order matters!: The repo listed first, will be used first, so no need for pacman -S repo/package_name;
pacman would error out.If you enable any unstable repo, you better enable testing and community-testing as well, because packages move from unstable to testing (from top to bottom so to say) . Otherwise you might get a dependency problem, if pkg x from unstable depends on pkg y from testing/cummunity-testing etc.
Yes, that is the community edition. The professional edition is in AUR, but I haven't used/needed it.
Pycharm is in the repos. I use myself and I don't "see" any difference (to the jetbrains distributed), apart from the package size :-)
Welcome !. On my system, firefox isn't listed either while playing videos, but the system never sleeps while watching videos/movies... I think it is just a matter of installing the needed packages and changing the settings in the power management KCM.
EDIT: powerdevil and upower are list, among others.
Install, if not already done, the package
powerdeviland open "System Settings" -> "Power Management". Try the the different option...See if you installed the package
upower, it should be already pulled by solid, which is pulled bykio... (seepacman -Qi pkgname).Systemd inhibitors might shade some light on this:
systemd-inhibit --list(use--helpinstead for more options.)It should be
usr/share/doc/*w/o the leading/:-)