Activity for matthewsnyderâ€
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Answer | — |
A: How to get a new IP address from DHCP? Restarting NetworkManager should be enough: `sudo systemctl restart NetworkManger` (more) |
— | about 1 year ago |
Edit | Post #289619 | Initial revision | — | about 1 year ago |
Question | — |
How to get a new IP address from DHCP? How do I make my computer request a new IP from DHCP? I am using Arch with NetworkManager. (more) |
— | about 1 year ago |
Edit | Post #289616 |
Post edited: |
— | about 1 year ago |
Edit | Post #289618 | Initial revision | — | about 1 year ago |
Answer | — |
A: How do you terminate a DHCP lease in OpenWrt? There is not a way to do this from the Web UI (LuCI). Instead: SSH into the router Delete the corresponding line from `/tmp/dhcp.leases` However, note that this is not enough to get a new IP. Clients tend to request a renewal of the IP they had before, and the router will grant it if it does... (more) |
— | about 1 year ago |
Edit | Post #289617 | Initial revision | — | about 1 year ago |
Question | — |
How do you terminate a DHCP lease in OpenWrt? I am testing some DHCP stuff, and I want to manually end a lease so I don't have to wait hours for them to expire. How can I do this with OpenWrt? (more) |
— | about 1 year ago |
Edit | Post #289616 | Initial revision | — | about 1 year ago |
Answer | — |
A: Static IP on wired LAN I did this with NetworkManager. `nmtui` to open the TUI interface and then select "Edit..." and the ethernet connection You can also use the equivalent GUI or CLI commands, but I find them harder to use Next to `IPv4 Configuration`, click `Show` to see connection details. Go to `Address... (more) |
— | about 1 year ago |
Edit | Post #289615 | Initial revision | — | about 1 year ago |
Question | — |
Dnsmasq vs. dnscrypt-proxy I am trying to run a DNS server on my LAN. I set it up where: Dnsmasq is the "initial" server that clients see Dnsmasq resolves internal domains, and handles overrides (such as if I want to block an ad domain) via its `dnsmasq.conf` file Dnscrypt-proxy also runs on the same machine, and dnsma... (more) |
— | about 1 year ago |
Comment | Post #289544 |
Trial and error it is then. :) (more) |
— | about 1 year ago |
Comment | Post #289541 |
>"bookmarked folders" would seem to be an OS-level (or at least window-manager-level) feature
Why? (more) |
— | about 1 year ago |
Comment | Post #289544 |
Do you know if there is official documentation on the syntax of this file? (more) |
— | about 1 year ago |
Edit | Post #289541 | Initial revision | — | about 1 year ago |
Question | — |
Where does GtkFileChooserDialog store bookmarks? I have some bookmarked folders in GtkFileChooserDialog. I want to add these to my dotfiles. Where are the bookmarks stored? (more) |
— | about 1 year ago |
Edit | Post #289510 | Initial revision | — | about 1 year ago |
Question | — |
Run a command *later* How can I run a command later? I'm looking for a CLI way to schedule a command to be run later. I know that I could create a systemd timer, install it, activate it... That is too much work. I want something like `runlater 10min somecmd` and `somecmd` runs 10 min later. I don't want to do `sleep... (more) |
— | about 1 year ago |
Comment | Post #289492 |
Exactly what I was hoping for! Magic, indeed. (more) |
— | over 1 year ago |
Comment | Post #289489 |
Ripgrep for example has a great way of handling cases. If query is all lower case, it does case insensitive. If it has upper case chars, it is case sensitive. You can also force case sensitive with a switch. (more) |
— | over 1 year ago |
Comment | Post #289489 |
Case sensitive search is annoying, no fuzzy search, a lot of complex hotkeys that are hard to remember... (more) |
— | over 1 year ago |
Edit | Post #289490 | Initial revision | — | over 1 year ago |
Answer | — |
A: Ergonomic way to search man pages Not a real answer, but these days there are some nice LLM models and they're good at summarizing text. If you have the CLI scripts to interact with them, you can submit the man page as the "system prompt" (in ChatGPT parlance) and ask the question in the "user prompt". This will be somewhat slow a... (more) |
— | over 1 year ago |
Edit | Post #289489 |
Post edited: |
— | over 1 year ago |
Edit | Post #289489 | Initial revision | — | over 1 year ago |
Question | — |
Ergonomic way to search man pages You often have to read man pages to use Linux/Unix software. However, many man pages are not easy to read. They are very long, not always conveniently arranged, and `man` does not appear to have any way to handle indices or sections. A great example is `man rsync`. I am often in a situation where ... (more) |
— | over 1 year ago |
Edit | Post #289487 | Initial revision | — | over 1 year ago |
Question | — |
Highlight regions in an image with CLI I have an image (a photo) and I want to highlight certain parts of this. I want to do this from the CLI. I am planning to store the pixel coordinates of polygon vertices in a file, and when I run a script, a new image should be applied with the polygons highlighted. I am going to be making a lot o... (more) |
— | over 1 year ago |
Edit | Post #289466 |
Post edited: |
— | over 1 year ago |
Edit | Post #289466 | Initial revision | — | over 1 year ago |
Answer | — |
A: Internet connection and touchpad not working on Ubuntu 22.04 after a force shut down This won't be an exact answer. I think with the way it's described, there could be many reasons why the issue manifests. However, the good news is that the live ISO works, therefore the problem is NOT a bug in the Linux kernel or Ubuntu OS. I think that if you did a fresh install of Ubuntu, your h... (more) |
— | over 1 year ago |
Edit | Post #289463 |
Post edited: |
— | over 1 year ago |
Edit | Post #289463 | Initial revision | — | over 1 year ago |
Question | — |
Do I have to update Guix frequently like Arch? Guix is a rolling release distro. Another well known rolling release distro is Arch Linux. In Arch, you are expected to frequently do system updates. Partial updates are not supported. In my experience, what happens when you try to partially update package `X`, it turns out it now depends on packa... (more) |
— | over 1 year ago |
Edit | Post #289462 | Initial revision | — | over 1 year ago |
Question | — |
Do you still need to update archlinux-keyring before pacman -Syu? For some time pacman used to have a problem where: Occasionally Arch maintainers introduce new GPG keys They start signing packages with the keys Your local pacman doesn't receive these until you update `archlinux-keyring` When you do a full system update, some new packages are signed with ... (more) |
— | over 1 year ago |
Edit | Post #289454 | Initial revision | — | over 1 year ago |
Question | — |
Low impact trial installation of Guix to test hardware compatibility I like how Guix sounds based on what I've read, and I want to try it. However, my partitioning scheme is a bit complicated. With Guix it appears like my biggest concern is hardware (I will regrettably need the non-free drivers). So I don't want to resize and move my partitions around, install Guix, o... (more) |
— | over 1 year ago |
Comment | Post #289380 |
It seems like "encryption" doesn't really answer my question in that case. (more) |
— | over 1 year ago |
Edit | Post #289441 | Initial revision | — | over 1 year ago |
Question | — |
Static IP on wired LAN I have an Arch Linux machine connected to a LAN by ethernet. The router runs OpenWRT. DHCP assigns IPs to this machine like `192.168.1.` - quite typical. I want the IP to always be `192.168.1.10`. Ideally, I would like to do this through configuration on the machine only, without configuring an... (more) |
— | over 1 year ago |
Comment | Post #289432 |
Since it works on Windows, it must not be a hardware issue. Next step would be, is it your config or Ubuntu itself. To settle that, what happens with an Ubuntu LiveCD? (more) |
— | over 1 year ago |
Comment | Post #289380 |
What I'm saying is, the logic in this answer appears to be:
> Encrypt the SSD, and then it doesn't matter if people can recover the data because they wouldn't be able to decrypt it
However, the flaw in this logic appears to be:
> If your encryption key happens to leak, you can no longer cons... (more) |
— | over 1 year ago |
Comment | Post #289401 |
There is no such command.
```
$ systemctl start-follow
Unknown command verb start-follow.
``` (more) |
— | over 1 year ago |
Edit | Post #289425 | Initial revision | — | over 1 year ago |
Answer | — |
A: How do I make media keys work with PipeWire? I was able to make this work with: ``` bindsym XF86AudioRaiseVolume exec --no-startup-id wpctl set-volume -l 1 @DEFAULTAUDIOSINK@ 5%+ bindsym XF86AudioLowerVolume exec --no-startup-id wpctl set-volume @DEFAULTAUDIOSINK@ 5%- bindsym XF86AudioMute exec --no-startup-id wpctl set-mute @DEFAULTAUDIO... (more) |
— | over 1 year ago |
Edit | Post #289385 | Initial revision | — | over 1 year ago |
Answer | — |
A: How do you eval SSH agent output in fish? There are three options. I will list them from least practical to most, because I don't want people to stop reading halfway through :) Parse ssh-agent output with your custom script and re-print it in fish syntax. Always straightforward, but technically makes too many assumptions about the exact ... (more) |
— | over 1 year ago |
Edit | Post #289384 | Initial revision | — | over 1 year ago |