I don't have AutoConnect set so it should be working. And the default InitialPeriodicScanInterval of 10 would be fine but it doesn't reconnect within 10 seconds of disconnection. Any ideas of what I can try next to figure this out? Does it work for you or are you left without wifi when your system disconnects and doesn't reconnect?
When I enter that connect command it connects without asking for password because password is already saved under /var/lib/iwd.
In this case do I still need to check AutoConnect setting or does that mean I already have it correct? Where is this setting I didn't find it in man page for iwd.config.
If running the scan is the first step to auto connect what are the next steps? I want to test it by running disconnect then seeing it automatically reconnect within a few seconds (based on the MaximumPeriodicScanInterval answer that the top comment gave in this post).
I ran iwctl disconnect and then ran scan but the show command just showed Scanning as "on" for a couple of seconds then back to "off". The State remained "disconnected".
I still needed to run iwctl connect to actually connect. So what's the point of scan? The man page doesn't really say.
How exactly does periodic scan interval work, is it just for while it's disconnected and does nothing while connected?
Do you know what journalctl command can I run to see iwd's attempts to reconnect or see it's scan progress so I can check to see if things are working as expected?
Thanks that worked. I didn't see any "User" mode option but when I deleted the keys (not reset to original, which was also an option), I got the right output when I rebooted.
sudo sbkeysync --verbose shows this at the bottom. The output is identical to that even when I add --pk. So only an entry for db was added under firmware keys section. I'm not sure what it's supposed to look like but in the github issue there's something shown for KEK too.
firmware keys:
PK:
KEK:
db:
/C=Database Key
dbx:
filesystem keys:
PK:
/C=Platform Key
from /usr/share/secureboot/keys/PK/PK.auth
KEK:
/C=Key Exchange Key
from /usr/share/secureboot/keys/KEK/KEK.auth
db:
/C=Database Key
from /usr/share/secureboot/keys/db/db.auth
dbx:
New keys in filesystem:
/usr/share/secureboot/keys/KEK/KEK.auth
/usr/share/secureboot/keys/PK/PK.auth
Inserting key update /usr/share/secureboot/keys/KEK/KEK.auth into KEK
Error writing key update: Invalid argument
Error syncing keystore file /usr/share/secureboot/keys/KEK/KEK.auth
Only KEK-* and db-* exist under /sys/firmware/efi/efivars and I did chattr on them. There's not even any PK-* unlike the github issue. Any pointers you could please provide? I'm not sure where to go from here. I'm using sbctl 0.1-1, which seems the latest.
I've never entered setup mode before so not sure how to get into it. Is there an option in the firmware menu for it that you set then reboot? Then when I run sbctl status after rebooting I'll see Setup Mode: Enabled?
I don't see such a menu option in my firmware menu on Dell but I thought that you can enter setup mode by deleting the keys, which it looks like I did because of the sbkeysync output showing empty firmware keys?
I thought I can enter setup mode by clearing the keys in the firmware, which I think I did. There are empty firmware keys in output of sudo sbkeysync --pk --dry-run --verbose
Filesystem keystore:
/usr/share/secureboot/keys/db/db.auth [3283 bytes]
/usr/share/secureboot/keys/db/db.der.esl [1263 bytes]
/usr/share/secureboot/keys/db/db.pem [1708 bytes]
/usr/share/secureboot/keys/db/db.der [1219 bytes]
/usr/share/secureboot/keys/db/db.key [3272 bytes]
/usr/share/secureboot/keys/KEK/KEK.auth [3278 bytes]
/usr/share/secureboot/keys/KEK/KEK.der.esl [1270 bytes]
/usr/share/secureboot/keys/KEK/KEK.pem [1716 bytes]
/usr/share/secureboot/keys/KEK/KEK.der [1226 bytes]
/usr/share/secureboot/keys/KEK/KEK.key [3272 bytes]
/usr/share/secureboot/keys/PK/PK.auth [3270 bytes]
/usr/share/secureboot/keys/PK/PK.der.esl [1262 bytes]
/usr/share/secureboot/keys/PK/PK.pem [1704 bytes]
/usr/share/secureboot/keys/PK/PK.der [1218 bytes]
/usr/share/secureboot/keys/PK/PK.key [3272 bytes]
Invalid key /usr/share/secureboot/keys/PK/PK.der.esl
- unknown cert type
Invalid key /usr/share/secureboot/keys/PK/PK.pem
- unknown cert type
Invalid key /usr/share/secureboot/keys/PK/PK.der
- unknown cert type
Invalid key /usr/share/secureboot/keys/PK/PK.key
- unknown cert type
Invalid key /usr/share/secureboot/keys/KEK/KEK.der.esl
- unknown cert type
Invalid key /usr/share/secureboot/keys/KEK/KEK.pem
- unknown cert type
Invalid key /usr/share/secureboot/keys/KEK/KEK.der
- unknown cert type
Invalid key /usr/share/secureboot/keys/KEK/KEK.key
- unknown cert type
Invalid key /usr/share/secureboot/keys/db/db.der.esl
- unknown cert type
Invalid key /usr/share/secureboot/keys/db/db.pem
- unknown cert type
Invalid key /usr/share/secureboot/keys/db/db.der
- unknown cert type
Invalid key /usr/share/secureboot/keys/db/db.key
- unknown cert type
firmware keys:
PK:
KEK:
db:
dbx:
filesystem keys:
PK:
/C=Platform Key
from /usr/share/secureboot/keys/PK/PK.auth
KEK:
/C=Key Exchange Key
from /usr/share/secureboot/keys/KEK/KEK.auth
db:
/C=Database Key
from /usr/share/secureboot/keys/db/db.auth
dbx:
New keys in filesystem:
/usr/share/secureboot/keys/db/db.auth
/usr/share/secureboot/keys/KEK/KEK.auth
/usr/share/secureboot/keys/PK/PK.auth
At a bare minimum if you just put an external dns server in your resolv.conf then both dnsmasq and systemd-resolved are unnecessary for names to resolve?
Names seem to resolve on a fresh install even when no changes have been made to resolv.conf and neither have been set up. What makes name resolution work by default?
When would someone use systemd-resolved? I just put an external nameserver and an internal 127.0.0.1 (internal dnsmasq server for resolving internal domains) nameserver in /etc/resolv.conf and dns works.
If I then try to start systemd-resolved it conflicts with dnsmasq running locally on port 53. In what cases do you need systemd-resolved?
What's the benefit of installing the launcher? You still need to install tor browser itself from aur?
Is a volume control program something like pavucontrol? Does your Dunst config have low priority notifications disabled?
Could you take a look at my question https://redd.it/nv4tzx you might have some good ideas as it sounds like you're doing something similar.
Did you figure this out?
Did this only start happening for you recently like in the last few weeks? I thought it was working fine for me until then.
Did you solve the problem?
I don't have AutoConnect set so it should be working. And the default InitialPeriodicScanInterval of 10 would be fine but it doesn't reconnect within 10 seconds of disconnection. Any ideas of what I can try next to figure this out? Does it work for you or are you left without wifi when your system disconnects and doesn't reconnect?
What are the commands to do it manually? I will check if I have it anywhere in our scripts and can replace it with your module.
When I enter that connect command it connects without asking for password because password is already saved under /var/lib/iwd.
In this case do I still need to check AutoConnect setting or does that mean I already have it correct? Where is this setting I didn't find it in man page for iwd.config.
If running the scan is the first step to auto connect what are the next steps? I want to test it by running disconnect then seeing it automatically reconnect within a few seconds (based on the MaximumPeriodicScanInterval answer that the top comment gave in this post).
I ran iwctl disconnect and then ran scan but the show command just showed Scanning as "on" for a couple of seconds then back to "off". The State remained "disconnected".
I still needed to run iwctl connect to actually connect. So what's the point of scan? The man page doesn't really say.
How do you trigger a scan yourself?
How exactly does periodic scan interval work, is it just for while it's disconnected and does nothing while connected?
Do you know what journalctl command can I run to see iwd's attempts to reconnect or see it's scan progress so I can check to see if things are working as expected?
Which example is it on that link I dont see anything about Intel?
Do you have the exact command that's worked well for you?
Could you show your keybindings? You bind the above command to a key to start recording and how do you stop it?
By complete security system do you mean the security page on arch wiki or some things in particular?
Do you need to restart the computer to see changes?
Does systemd-boot have something similar?
Where does this init= go? Is this a kernel parameter I can pass to systemd-boot?
Does this mean to do some recovery tasks I can actually do this and don't need to boot from the arch iso?
On the last step I get
Failed to update PK: Operation not permitted. Did you get this error?Thanks that worked. I didn't see any "User" mode option but when I deleted the keys (not reset to original, which was also an option), I got the right output when I rebooted.
I did
sudo sbctl create-keysandsudo sbctl enroll-keyswhich both passed, butsbctl statusstill shows the same, like in https://github.com/Foxboron/sbctl/issues/25.sudo sbkeysync --verboseshows this at the bottom. The output is identical to that even when I add--pk. So only an entry fordbwas added under firmware keys section. I'm not sure what it's supposed to look like but in the github issue there's something shown forKEKtoo.Only
KEK-*anddb-*exist under/sys/firmware/efi/efivarsand I didchattron them. There's not even anyPK-*unlike the github issue. Any pointers you could please provide? I'm not sure where to go from here. I'm using sbctl 0.1-1, which seems the latest.I've never entered setup mode before so not sure how to get into it. Is there an option in the firmware menu for it that you set then reboot? Then when I run
sbctl statusafter rebooting I'll see Setup Mode: Enabled?I don't see such a menu option in my firmware menu on Dell but I thought that you can enter setup mode by deleting the keys, which it looks like I did because of the sbkeysync output showing empty firmware keys?
That file was also immutable so I changed it but got the same errors as before.
I tried your sbctl tool suggested by the other comment. I did
sbctl create-keysandsbctl enroll-keysand rebooted butsbctl statusis still showingUnlike the github output shows I wasn't able to get this output to start with
I thought I can enter setup mode by clearing the keys in the firmware, which I think I did. There are empty firmware keys in output of
sudo sbkeysync --pk --dry-run --verboseWhat is the expected output of that command?
How did you enter setup mode?
Does this mean dns over https?
At a bare minimum if you just put an external dns server in your resolv.conf then both dnsmasq and systemd-resolved are unnecessary for names to resolve?
Names seem to resolve on a fresh install even when no changes have been made to resolv.conf and neither have been set up. What makes name resolution work by default?
When would someone use systemd-resolved? I just put an external nameserver and an internal 127.0.0.1 (internal dnsmasq server for resolving internal domains) nameserver in /etc/resolv.conf and dns works.
If I then try to start systemd-resolved it conflicts with dnsmasq running locally on port 53. In what cases do you need systemd-resolved?