1
0

pkgsrc etc

This commit is contained in:
dtb 2022-06-21 23:21:22 -04:00
parent 55c85e7896
commit 72867f0d36

View File

@ -244,6 +244,16 @@ Check out the linked pages in the "See also" section.
<P> <P>
Use <CODE>mkfs(8)</CODE> for creating filesystems and <CODE>mount(8)</CODE> for mounting partitions' filesystems. Use <CODE>mkfs(8)</CODE> for creating filesystems and <CODE>mount(8)</CODE> for mounting partitions' filesystems.
</P> </P>
<H3>gpart</H3>
<UL>
<LI><A HREF="https://en.wikipedia.org/wiki/Gpart">Gpart</A> (Wikipedia)</LI>
</UL>
<P>
Available as <CODE>sysutils/gpart</CODE> in pkgsrc.
</P>
<P>
<CODE>gpart(8)</CODE> is a tool that scans a file (or block device presented as a file) for drive partitions regardless of any table present on the medium.
</P>
<H3 ID="luks">LUKS</H3> <H3 ID="luks">LUKS</H3>
<UL> <UL>
<LI><A HREF="https://www.howtoforge.com/automatically-unlock-luks-encrypted-drives-with-a-keyfile/">Automatically Unlock LUKS Encrypted Drives With A Keyfile</A></LI> <LI><A HREF="https://www.howtoforge.com/automatically-unlock-luks-encrypted-drives-with-a-keyfile/">Automatically Unlock LUKS Encrypted Drives With A Keyfile</A></LI>
@ -295,7 +305,10 @@ Configuration is in <CODE>/etc/conf.d/dmcrypt</CODE> and further configuration s
<LI><A HREF="https://github.com/pciutils/pciutils">pciutils/pciutils</A> (GitHub)</LI> <LI><A HREF="https://github.com/pciutils/pciutils">pciutils/pciutils</A> (GitHub)</LI>
</UL> </UL>
<P> <P>
Available as <CODE>sysutils/pciutils</CODE> from pkgsrc.
Supplies <CODE>lspci(8)</CODE>, <CODE>setpci(8)</CODE>, and <CODE>update-pciids(8)</CODE>. Supplies <CODE>lspci(8)</CODE>, <CODE>setpci(8)</CODE>, and <CODE>update-pciids(8)</CODE>.
</P>
<P>
<CODE>update-pciids(8)</CODE> is not part of the <CODE>pciutils</CODE> package in Alpine Linux repositories. <CODE>update-pciids(8)</CODE> is not part of the <CODE>pciutils</CODE> package in Alpine Linux repositories.
</P> </P>
@ -305,6 +318,8 @@ Supplies <CODE>lspci(8)</CODE>, <CODE>setpci(8)</CODE>, and <CODE>update-pciids(
<LI><A HREF="https://www.netbsd.org/docs/guide/en/">NetBSD Guide</A></LI> <LI><A HREF="https://www.netbsd.org/docs/guide/en/">NetBSD Guide</A></LI>
<LI><A HREF="https://www.netbsd.org/docs/pkgsrc/">pkgsrc Guide</A></LI> <LI><A HREF="https://www.netbsd.org/docs/pkgsrc/">pkgsrc Guide</A></LI>
</UL> </UL>
<H3>Battery</H3>
<P><CODE>envstat(1)</CODE> can show the current battery status.</P>
<H3>Mounting ext4 partitions with FUSE</H3> <H3>Mounting ext4 partitions with FUSE</H3>
<OL> <OL>
<LI>Install <CODE>filesystems/fuse</CODE> and <CODE>filesystems/fuse-ext2</CODE>.</LI> <LI>Install <CODE>filesystems/fuse</CODE> and <CODE>filesystems/fuse-ext2</CODE>.</LI>
@ -395,15 +410,23 @@ You'd be better off using <CODE>ed(1)</CODE>; the UX is very similar.
</P> </P>
<H2>WiFi</H2> <H2>WiFi</H2>
<P>
I use <CODE>iwd(8)</CODE> and <CODE>iwctl(8)</CODE>.
Some prefer NetworkManager and I believe that's the default on Debian.
The Artix wiki suggests connman.
</P>
<H3>wpa_supplicant</H3> <H3>wpa_supplicant</H3>
<P> <P>
<CODE>wpa_supplicant(1)</CODE> is often used by insane people without any helper scripts. <CODE>wpa_supplicant(1)</CODE> is usually good enough for establishing WiFi connections.
I haven't had good luck with it but Alpine set it up automatically. </P>
<P>
Here's an example configuration for a simple WPA-2 PSK access point.
</P>
<PRE>
network={
ssid="My SSID"
key_mgmt=WPA-PSK
scan_ssid=1
psk="My password"
}
</PRE>
<P>
See <CODE>wpa_supplicant.conf(5)<CODE>.
</P> </P>
<H2>X</H2> <H2>X</H2>