I've come to like the choose-your-own-adventure style of the wiki. It has the information for whatever you're doing, but doesn't duplicate information and keeps everything easy to find.
Yeah mine tends to keep roaming to my regular APs too, though the signal level seems to be accurate which is frustrating since my AX AP is in my room 10' away while the next closest AP is an AC AP and is through at least 3 walls. I'm wondering if maybe the signal level doesn't completely explain that behavior. Speed has been alright for me, just comparable to AC, though my AX AP lets me almost max gigabit for upload, but the download on the AX AP is normal aside from stuttering a bit while pushing it. It's hard to tell whats the result of Engenius' still shaky firmware for the EWS377ap or the still shaky firmware for the AX200NGW, since I don't have any other devices to test with. Trying to finagle an AX200NGW into a librem 5 might be interesting.
Huh weird, which chip did you get? I've been using the ac200 for maybe 6 months and although it does decide to quit sometimes, it's generally no worse than the ac chip that came with my xps. I'm pretty sure I'm using the AX200NGW, not the killer wifi version if that makes a difference. The main issue is that if I ip link set down then sometimes I can't up again, so I just reboot on occasion. It also sometimes hiccups but usually comes back.
That's what the AUR package does, but since it's fetching it from the Spotify download url, the location or contents can change without warning causing it to break for people trying to install it. If they would change their terms to allow redistributing the software, we could host a stable version prepackaged in the official repos, which would also mean you could install it without using an AUR helper or cloning and using makepkg to build it. There also exists a snap version but a lot of people don't like having to use snap for various reasons and just want there to be an official arch package.
I actually hadn't though of this since I never use the power button for anything else other than turning laptops on and off and relied on lid switch for all suspend/wake. I can't seem to test it right now because my laptop is refusing to sleep. That seems like it would work though so as soon as I fix suspend I might just do that. Otherwise wake on AC (that sounds like it should be in the BIOS) would also work since the dock charges the laptop. Thanks for the tips!
Ah that sounds likely, I was hoping that wouldn't be the case but I couldn't be bothered to investigate before (until I came across this thread and now I really want to solve this).
I had hardened my system some with the encryption and wanted to have the dock authorized, but maybe it can't be done with the BIOS. I may just cave and do it that way because then I could save some desk space by not needing space to open my laptop every boot. Do you know of any solution to wake up the laptop on dock plug?
Thanks, it had crossed my mind to just make a script, I don't see anything about a dock in lsusb so I'd probably check boltctl, but how does the script run when the laptop is suspended? My problem is that when I plug in my suspended laptop to the dock, I want it to wake up. But I'm not sure how to run a script like that.
Ah thanks for that! I'll give it a shot. I assume you meant HandleLidSwitchExternalPower? The one other problem I didn't mention is that the dock doesn't seem to work before I get x started (which I guess makes sense since the only thing I configured for the dock so far is boltctl to authorize the dock and autorandr). If plugged in when booting, I get nothing through the dock and my laptop screen stays blank when I should be getting the grub/luks decryption password prompt. I guess this would be the responsibility of grub/mkinitcpio config or something.
I love autorandr for letting me easily use a dock at work which makes my desk setup much nicer, but it doesn't seem to handle waking up when plugged into the dock, and unplugging from my dock with the lid closed causes some weird behavior after waking up again and trying to dock again. Have you had these issues / know where I might find a solution? Every time I try to find something about this I only find stuff about lid switches / acpi events and sleep state. But nothing seems to be relevant to docks. I have an xps and precision with a Dell thunderbolt dock. It's not a terrible issue, but it means I end up walking around the office with my laptop open because I'll have to wake it anyways to dock when I get back to my desk.
"The Arch User Repository is where all PKGBUILDs that users submit are stored, and must be built manually with makepkg. When PKGBUILDs receive enough community interest and the support of a TU, they are moved into the community repository (maintained by the TUs), where the binary packages can be installed with pacman."
So it probably just isn't popular enough or no TUs are interested in maintaining it. What's wrong with using the one in the AUR? If you don't trust it, grab the pkgbuild and read it before building it.
Sorry for the late reply - things got hectic when my parents arrived. I'm poking around to see what files I edited from a fresh install last year to get the DAC working (he has an Ayre QB-9) - I can only see myself in my shell history editing 1 file related to sound output. I remember having issues until I looked at the QB-9 manual and discovered a dip switch on the back that selects between USB modes. Flipping the switch made it pretty much plug and play. I seem to have skipped pulseaudio altogether, since the main selling points of adding pulse didn't really seem enticing for my use case - it's a single use media playing mac mini that will only ever play through the DAC (doesn't need output switching), and it will only play audio from MPD (so no need to mix audio from multiple programs). Other than flipping that dip switch, I do seem to have edited 1 file:
I believe this was to disable the built in audio and make the USB dac the default output device. Hopefully the setup will be similarly simple in your case. I can't actually remember if it automatically switches the output between sampling rates (or if it's just stuck on 44.1), but I will probably check that when they return home and I test out remotely accessing / ripping CDs for them.
I have arch set up for my dad as a media player with mpd outputting digital over USB to to his high end dac. I could check what his configs are when I have the machine in my hands. I believe it may be locked to 44.1, but he only plays 44.1 CD rips anyways. Maybe it'll be useful to you or I may gain insight into any misconfiguration in my attempt.
My setup is actually a bit janky since it's somewhat "production" (running my place's network and vital services), and semi experimental. The fiber from Comcast goes to a Juniper ACX2100 via SFP+ fiber, then to an Intel X710-DA2 in a Dell R210 II via direct attach copper SFP+. The R210 II runs OPNSense on bare metal, and that then goes to my Quanta LB6M (10Gbit switch). Comcast also provides me a separate additional 1Gbit/1Gbit copper connection off the ACX2100, making my total bandwidth 3Gbit/3Gbit. That one goes to a small "Protectli micro firewall appliance" also running OPNSense on bare metal. I use the extra 1Gig line for hosting public facing services (like the arch mirror) as well as tor relay (non exit), and cjdns node. I have another Dell R210 II running Proxmox that is connected to both my 10G switch and also to the micro firewall, so some of my services are discoverable in my main LAN (depending on whether I give VMs one or both connections). I also have a storage server running FreeNAS which resides only on my main LAN, which stores my Plex library and for now still runs Plex in a jail. I plan on migrating everything in the FreeNAS jails to my proxmox box and maybe directly linking FreeNAS and Proxmox so I can use the NAS as storage for VMS but take advantage of the Proxmox resources. Also, the FreeNAS box is a Dell PowerEdge C2100 that I got used, 12 3.5" hot swap bays in the front.
Sorry for the mess of a description but I think that covers everything. TL;DR, internet splits at the Juniper, 2 bare metal routers for 1Gig and 2Gig, 1 beefy 10G switch for the 2Gig, storage server on the 2Gig lan, as well as all my APs and personal stuff, and VM server multihomed to both LANs so VMs can be available to one or both of them. I don't do much to maintain them, I just have to remember to log into everything every once in a while to do updates.
Let me know if you have any other questions, and of course, my VMs all use Arch BTW ;)
It's pretty much cron calling rsync at a random minute of every hour syncing to a folder in nginx. I used this (short) script to actually do the rsync since it provides some nice presets and ensures the lastsync and lastupdate files are updated properly to accurately reflect how up to date your mirror is.
Unfortunately, I haven't gotten around to doing bandwidth analytics, but maybe if I get rancher set up one day I'll do some grafana stuff.
Edit to add: I do have some live graphs in Proxmox, the utilization is usually pretty low I think because there are lots of mirrors, small peaks of 4Mbit/s and occasional sustained peaks of 16Mbit/s. Considering my internet plan, I wish it could get more traffic, which is why I also run a tor relay (non exit of course), to use up more of that connection.
Nope, it syncs everything. It's a public mirror, not a private mirror (which would be selfish to do since I am consuming bandwidth), so I think it does a net good as I see a steady stream of bandwidth going out to people using my mirror. The requirements aren't actually that high, the entire size is ~60GB plus buffer for "big rebuilds", which amounts to another ~50GB I provisioned just to be safe. I should mention that I have a 21TB NAS and 3Gbit/s internet so the tradeoff to me seems worth it for the speedy upgrades for all arch machines and VMs at home.
I have an XPS 15 9560 and just updated without any issues. Rebooted too just to be sure. If it's lightdm related, that would make sense since I use bspwm.
Try sudo dhcpcd -k <wlp2s0 / wifi interface> and sudo dhcpcd <wlp2s0 / wifi interface>? (I sometimes have to do that to re-request IP / dns servers from router and make sure routes are correct) Check that you have an IP with ip addr and check that you have a default route with ip route. Posting the output of some of those while not working could also help diagnose.
If your use case is compatible, using cryptboot makes it a lot easier to set up secureboot. I have full disk encryption set up with LUKS (minus my EFI partition, but that's secured with secureboot). If you're using a single partition without a separate /boot partition, there's an issue on the cryptboot repo where I detail how I used it in my case.
I've come to like the choose-your-own-adventure style of the wiki. It has the information for whatever you're doing, but doesn't duplicate information and keeps everything easy to find.
Yeah mine tends to keep roaming to my regular APs too, though the signal level seems to be accurate which is frustrating since my AX AP is in my room 10' away while the next closest AP is an AC AP and is through at least 3 walls. I'm wondering if maybe the signal level doesn't completely explain that behavior. Speed has been alright for me, just comparable to AC, though my AX AP lets me almost max gigabit for upload, but the download on the AX AP is normal aside from stuttering a bit while pushing it. It's hard to tell whats the result of Engenius' still shaky firmware for the EWS377ap or the still shaky firmware for the AX200NGW, since I don't have any other devices to test with. Trying to finagle an AX200NGW into a librem 5 might be interesting.
Huh weird, which chip did you get? I've been using the ac200 for maybe 6 months and although it does decide to quit sometimes, it's generally no worse than the ac chip that came with my xps. I'm pretty sure I'm using the AX200NGW, not the killer wifi version if that makes a difference. The main issue is that if I ip link set down then sometimes I can't up again, so I just reboot on occasion. It also sometimes hiccups but usually comes back.
I just escrotum -Cs, select the area, and Ctrl+v wherever
That's what the AUR package does, but since it's fetching it from the Spotify download url, the location or contents can change without warning causing it to break for people trying to install it. If they would change their terms to allow redistributing the software, we could host a stable version prepackaged in the official repos, which would also mean you could install it without using an AUR helper or cloning and using makepkg to build it. There also exists a snap version but a lot of people don't like having to use snap for various reasons and just want there to be an official arch package.
I actually hadn't though of this since I never use the power button for anything else other than turning laptops on and off and relied on lid switch for all suspend/wake. I can't seem to test it right now because my laptop is refusing to sleep. That seems like it would work though so as soon as I fix suspend I might just do that. Otherwise wake on AC (that sounds like it should be in the BIOS) would also work since the dock charges the laptop. Thanks for the tips!
Ah that sounds likely, I was hoping that wouldn't be the case but I couldn't be bothered to investigate before (until I came across this thread and now I really want to solve this).
I had hardened my system some with the encryption and wanted to have the dock authorized, but maybe it can't be done with the BIOS. I may just cave and do it that way because then I could save some desk space by not needing space to open my laptop every boot. Do you know of any solution to wake up the laptop on dock plug?
Thanks, it had crossed my mind to just make a script, I don't see anything about a dock in lsusb so I'd probably check boltctl, but how does the script run when the laptop is suspended? My problem is that when I plug in my suspended laptop to the dock, I want it to wake up. But I'm not sure how to run a script like that.
Ah thanks for that! I'll give it a shot. I assume you meant
HandleLidSwitchExternalPower? The one other problem I didn't mention is that the dock doesn't seem to work before I get x started (which I guess makes sense since the only thing I configured for the dock so far is boltctl to authorize the dock and autorandr). If plugged in when booting, I get nothing through the dock and my laptop screen stays blank when I should be getting the grub/luks decryption password prompt. I guess this would be the responsibility of grub/mkinitcpio config or something.I love autorandr for letting me easily use a dock at work which makes my desk setup much nicer, but it doesn't seem to handle waking up when plugged into the dock, and unplugging from my dock with the lid closed causes some weird behavior after waking up again and trying to dock again. Have you had these issues / know where I might find a solution? Every time I try to find something about this I only find stuff about lid switches / acpi events and sleep state. But nothing seems to be relevant to docks. I have an xps and precision with a Dell thunderbolt dock. It's not a terrible issue, but it means I end up walking around the office with my laptop open because I'll have to wake it anyways to dock when I get back to my desk.
"The Arch User Repository is where all PKGBUILDs that users submit are stored, and must be built manually with makepkg. When PKGBUILDs receive enough community interest and the support of a TU, they are moved into the community repository (maintained by the TUs), where the binary packages can be installed with pacman."
So it probably just isn't popular enough or no TUs are interested in maintaining it. What's wrong with using the one in the AUR? If you don't trust it, grab the pkgbuild and read it before building it.
Here's an R package for Wes Anderson movie color palettes: https://github.com/karthik/wesanderson
Same, plus lemonbar, dmenu, compton for shadows / transparency, and caffeine-bzr to keep from sleeping when in fullscreen (like youtube).
Edit: And feh for wallpaper.
Sorry for the late reply - things got hectic when my parents arrived. I'm poking around to see what files I edited from a fresh install last year to get the DAC working (he has an Ayre QB-9) - I can only see myself in my shell history editing 1 file related to sound output. I remember having issues until I looked at the QB-9 manual and discovered a dip switch on the back that selects between USB modes. Flipping the switch made it pretty much plug and play. I seem to have skipped pulseaudio altogether, since the main selling points of adding pulse didn't really seem enticing for my use case - it's a single use media playing mac mini that will only ever play through the DAC (doesn't need output switching), and it will only play audio from MPD (so no need to mix audio from multiple programs). Other than flipping that dip switch, I do seem to have edited 1 file:
/etc/modprobe.d/alsa-base.confI believe this was to disable the built in audio and make the USB dac the default output device. Hopefully the setup will be similarly simple in your case. I can't actually remember if it automatically switches the output between sampling rates (or if it's just stuck on 44.1), but I will probably check that when they return home and I test out remotely accessing / ripping CDs for them.
I have arch set up for my dad as a media player with mpd outputting digital over USB to to his high end dac. I could check what his configs are when I have the machine in my hands. I believe it may be locked to 44.1, but he only plays 44.1 CD rips anyways. Maybe it'll be useful to you or I may gain insight into any misconfiguration in my attempt.
RemindMe! 19 hours
My setup is actually a bit janky since it's somewhat "production" (running my place's network and vital services), and semi experimental. The fiber from Comcast goes to a Juniper ACX2100 via SFP+ fiber, then to an Intel X710-DA2 in a Dell R210 II via direct attach copper SFP+. The R210 II runs OPNSense on bare metal, and that then goes to my Quanta LB6M (10Gbit switch). Comcast also provides me a separate additional 1Gbit/1Gbit copper connection off the ACX2100, making my total bandwidth 3Gbit/3Gbit. That one goes to a small "Protectli micro firewall appliance" also running OPNSense on bare metal. I use the extra 1Gig line for hosting public facing services (like the arch mirror) as well as tor relay (non exit), and cjdns node. I have another Dell R210 II running Proxmox that is connected to both my 10G switch and also to the micro firewall, so some of my services are discoverable in my main LAN (depending on whether I give VMs one or both connections). I also have a storage server running FreeNAS which resides only on my main LAN, which stores my Plex library and for now still runs Plex in a jail. I plan on migrating everything in the FreeNAS jails to my proxmox box and maybe directly linking FreeNAS and Proxmox so I can use the NAS as storage for VMS but take advantage of the Proxmox resources. Also, the FreeNAS box is a Dell PowerEdge C2100 that I got used, 12 3.5" hot swap bays in the front.
Sorry for the mess of a description but I think that covers everything. TL;DR, internet splits at the Juniper, 2 bare metal routers for 1Gig and 2Gig, 1 beefy 10G switch for the 2Gig, storage server on the 2Gig lan, as well as all my APs and personal stuff, and VM server multihomed to both LANs so VMs can be available to one or both of them. I don't do much to maintain them, I just have to remember to log into everything every once in a while to do updates.
Let me know if you have any other questions, and of course, my VMs all use Arch BTW ;)
It's pretty much cron calling rsync at a random minute of every hour syncing to a folder in nginx. I used this (short) script to actually do the rsync since it provides some nice presets and ensures the lastsync and lastupdate files are updated properly to accurately reflect how up to date your mirror is.
Unfortunately, I haven't gotten around to doing bandwidth analytics, but maybe if I get rancher set up one day I'll do some grafana stuff.
Edit to add: I do have some live graphs in Proxmox, the utilization is usually pretty low I think because there are lots of mirrors, small peaks of 4Mbit/s and occasional sustained peaks of 16Mbit/s. Considering my internet plan, I wish it could get more traffic, which is why I also run a tor relay (non exit of course), to use up more of that connection.
Nope, it syncs everything. It's a public mirror, not a private mirror (which would be selfish to do since I am consuming bandwidth), so I think it does a net good as I see a steady stream of bandwidth going out to people using my mirror. The requirements aren't actually that high, the entire size is ~60GB plus buffer for "big rebuilds", which amounts to another ~50GB I provisioned just to be safe. I should mention that I have a 21TB NAS and 3Gbit/s internet so the tradeoff to me seems worth it for the speedy upgrades for all arch machines and VMs at home.
I just run a public mirror at home on my NAS. My update traffic doesn't even leave the building.
I have an XPS 15 9560 and just updated without any issues. Rebooted too just to be sure. If it's lightdm related, that would make sense since I use bspwm.
Ahh I thought I was the only one. Kinda in an asmr way. Could listen to this dude muse about the ebb and flow of linux development all day long.
Try
sudo dhcpcd -k <wlp2s0 / wifi interface>andsudo dhcpcd <wlp2s0 / wifi interface>? (I sometimes have to do that to re-request IP / dns servers from router and make sure routes are correct) Check that you have an IP withip addrand check that you have a default route withip route. Posting the output of some of those while not working could also help diagnose.Yeah I avoid that issue by always Syu-ing before installing any new package.
I do it beginning of every day unless I see a kernel or systemd update. In that case I wait till I'm gonna reboot.
If your use case is compatible, using cryptboot makes it a lot easier to set up secureboot. I have full disk encryption set up with LUKS (minus my EFI partition, but that's secured with secureboot). If you're using a single partition without a separate
/bootpartition, there's an issue on the cryptboot repo where I detail how I used it in my case.