<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.alpinelinux.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=W1nst0n</id>
	<title>Alpine Linux - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.alpinelinux.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=W1nst0n"/>
	<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/wiki/Special:Contributions/W1nst0n"/>
	<updated>2026-04-27T15:14:11Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Setting_up_a_SSH_server&amp;diff=21922</id>
		<title>Setting up a SSH server</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Setting_up_a_SSH_server&amp;diff=21922"/>
		<updated>2022-05-29T01:52:39Z</updated>

		<summary type="html">&lt;p&gt;W1nst0n: Improve /* Dropbear */ section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Overview =&lt;br /&gt;
&lt;br /&gt;
This article provides a short overview of SSH on Alpine Linux.&lt;br /&gt;
&lt;br /&gt;
Also see [https://en.wikipedia.org/wiki/Secure_Shell Secure Shell (Wikipedia)].&lt;br /&gt;
&lt;br /&gt;
{{Note|This article describes two popular SSH implementations: OpenSSH and Dropbear. Either can be installed using the [[Alpine setup scripts#setup-sshd|setup-sshd]] script, or by following the instructions below.}}&lt;br /&gt;
&lt;br /&gt;
= OpenSSH =&lt;br /&gt;
&lt;br /&gt;
[http://www.openssh.com/ OpenSSH] is a popular SSH implementation for remote encrypted login to a machine. OpenSSH defines &#039;&#039;sshd&#039;&#039; as the daemon, and &#039;&#039;ssh&#039;&#039; as the client program.&lt;br /&gt;
&lt;br /&gt;
The {{Pkg|openssh}} package provides OpenSSH on Alpine Linux.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
Install the {{Pkg|openssh}} package:&lt;br /&gt;
{{Cmd|apk add openssh}}&lt;br /&gt;
&lt;br /&gt;
{{Note|To use the ACF-frontend for openssh, install {{Pkg|acf-openssh}} instead (assuming that you have the setup-acf script).}}&lt;br /&gt;
&lt;br /&gt;
Also see [https://wiki.alpinelinux.org/wiki/Alpine_Linux_package_management Alpine Linux package management ].&lt;br /&gt;
&lt;br /&gt;
== Service commands ==&lt;br /&gt;
Enable the sshd service so that it starts at boot:&lt;br /&gt;
{{Cmd|rc-update add sshd}}&lt;br /&gt;
&lt;br /&gt;
List services to verify sshd is enabled:&lt;br /&gt;
{{Cmd|rc-status}}&lt;br /&gt;
&lt;br /&gt;
Start the sshd service immediately and create configuration files:&lt;br /&gt;
{{Cmd|/etc/init.d/sshd start}}&lt;br /&gt;
&lt;br /&gt;
{{Note|If you are running from RAM, ensure you save your settings using the &#039;lbu ci&#039; command as necessary. See [https://wiki.alpinelinux.org/wiki/Alpine_local_backup Alpine local backup].}}&lt;br /&gt;
&lt;br /&gt;
Also see [https://wiki.alpinelinux.org/wiki/Alpine_Linux_Init_System Alpine Linux Init System].&lt;br /&gt;
&lt;br /&gt;
== Fine tuning ==&lt;br /&gt;
&lt;br /&gt;
You may wish to change the default configuration. This section describes some of the configuration options as examples, however it is by no means an exhaustive list. See [https://www.openssh.com/manual.html the manual] for full details.&lt;br /&gt;
&lt;br /&gt;
The fine-tuning is done by editing &#039;&#039;&#039;/etc/ssh/sshd_config&#039;&#039;&#039;. Any line starting with &amp;quot;#&amp;quot; is ignored by &#039;&#039;sshd&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
 UseDNS no   # By setting this to no, connection speed can increase.&lt;br /&gt;
 PasswordAuthentication no  # Do not allow password authentication.&lt;br /&gt;
&lt;br /&gt;
Other configuration options are shown in &#039;&#039;&#039;/etc/ssh/sshd_config&#039;&#039;&#039;. The file includes comments that explain many of the options.&lt;br /&gt;
&lt;br /&gt;
== Firewalling and Port Changes ==&lt;br /&gt;
By default, sshd will communicate on TCP port &#039;&#039;&#039;22&#039;&#039;&#039;.&amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Sometimes &#039;&#039;&#039;22/tcp&#039;&#039;&#039; is blocked by a firewall over which you have no control. Changing the &#039;&#039;&#039;Port&#039;&#039;&#039; option to an unused port number in &#039;&#039;&#039;/etc/ssh/sshd_config&#039;&#039;&#039; may be useful in this situation.&amp;lt;BR&amp;gt;&lt;br /&gt;
 Port 443   # Use whichever port number fits your needs&lt;br /&gt;
&lt;br /&gt;
{{Note|Ensure the port you wish to use is not already in use by running &#039;&#039;&#039;netstat -lnp&#039;&#039;&#039; on the machine running &#039;&#039;sshd&#039;&#039;.}}&lt;br /&gt;
&lt;br /&gt;
Restart &#039;&#039;sshd&#039;&#039; after making modifications to the configuration file:&lt;br /&gt;
{{Cmd|/etc/init.d/sshd restart}}&lt;br /&gt;
&lt;br /&gt;
{{Note|If you are running from RAM, ensure you save your settings using the &#039;lbu ci&#039; command as necessary. See [https://wiki.alpinelinux.org/wiki/Alpine_local_backup Alpine local backup].}}&lt;br /&gt;
&lt;br /&gt;
= Dropbear =&lt;br /&gt;
&lt;br /&gt;
[https://matt.ucc.asn.au/dropbear/dropbear.html Dropbear] is a lightweight SSH client/server alternative to OpenSSH.&lt;br /&gt;
&lt;br /&gt;
=== server ===&lt;br /&gt;
{{Tip|You can use {{Path|~/.ssh/authorized_keys}} in the same way as with OpenSSH}}&lt;br /&gt;
&lt;br /&gt;
{{Pkg|dropbear}} can be install through the [[Alpine setup scripts]], or manually with:&lt;br /&gt;
{{Cmd|apk add dropbear}}&lt;br /&gt;
Start it:&lt;br /&gt;
{{Cmd|rc-service dropbear start}}&lt;br /&gt;
Add it to the default runlevel:&lt;br /&gt;
{{Cmd|rc-update add dropbear}}&lt;br /&gt;
&lt;br /&gt;
Use the following command to check all available server options:&lt;br /&gt;
{{Cmd|dropbear -h}}&lt;br /&gt;
&lt;br /&gt;
The config file is located at &amp;lt;code&amp;gt;/etc/conf.d/dropbear&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Tip|{{Path|&amp;lt;nowiki&amp;gt;DROPBEAR_OPTS=&amp;quot;-w -s&amp;quot;&amp;lt;/nowiki&amp;gt;}} will forbid root login and password login}}&lt;br /&gt;
&lt;br /&gt;
=== client ===&lt;br /&gt;
{{Pkg|dropbear-dbclient}} contains the SSH client and can be installed manually with:&lt;br /&gt;
{{Cmd|apk add dropbear-dbclient}}&lt;br /&gt;
&lt;br /&gt;
In its simplest form it can be used like this:&lt;br /&gt;
{{Cmd|dbclient &amp;lt;user&amp;gt;@host.example.com}}&lt;br /&gt;
{{Cmd|dbclient host.example.com}}&lt;br /&gt;
{{Cmd|dbclient x.x.x.x}} (where x.x.x.x is the IP address of the remote machine).&lt;br /&gt;
&lt;br /&gt;
Use &amp;lt;code&amp;gt;dbclient -h&amp;lt;/code&amp;gt; to see all available options.&lt;br /&gt;
&lt;br /&gt;
= See also =&lt;br /&gt;
* [[Two Factors Authentication With OpenSSH]]&lt;br /&gt;
&lt;br /&gt;
= Further Reading =&lt;br /&gt;
&lt;br /&gt;
[https://www.openssh.com/portable.html OpenSSH (openssh.com)]&amp;lt;BR&amp;gt;&lt;br /&gt;
[https://en.wikipedia.org/wiki/OpenSSH OpenSSH (wikipedia.org)]&lt;br /&gt;
&lt;br /&gt;
[[Category:Server]]&lt;br /&gt;
[[Category:Networking]]&lt;br /&gt;
[[Category:Security]]&lt;/div&gt;</summary>
		<author><name>W1nst0n</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Wi-Fi&amp;diff=21921</id>
		<title>Wi-Fi</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Wi-Fi&amp;diff=21921"/>
		<updated>2022-05-29T01:32:39Z</updated>

		<summary type="html">&lt;p&gt;W1nst0n: Add iwd section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page describes how to set up a wireless network connection with WPA encryption.&lt;br /&gt;
&lt;br /&gt;
Choose a wireless daemon between {{Pkg|iwd}} and {{Pkg|wpa_supplicant}}&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
Working wireless drivers &lt;br /&gt;
{{Note|in most cases installing {{Pkg|linux-firmware}} should get you the required drivers}}&lt;br /&gt;
&lt;br /&gt;
If you are using a &#039;&#039;&#039;Broadcom chipset&#039;&#039;&#039;, see the [[#Broadcom_Wi-Fi_Chipset_Users|Broadcom Wi-Fi section]].)&lt;br /&gt;
&lt;br /&gt;
== iwd ==&lt;br /&gt;
&lt;br /&gt;
[https://wiki.archlinux.org/title/Iwd iwd] (iNet wireless daemon) is a wireless daemon written by Intel and aiming at replacing {{Pkg|wpa_supplicant}}. The core goal of the project is to optimize resource utilization by not depending on any external libraries and instead utilizing features provided by the Linux Kernel to the maximum extent possible.&lt;br /&gt;
&lt;br /&gt;
{{Pkg|iwd}} is supported since [https://alpinelinux.org/posts/Alpine-3.10.0-released.html Alpine Linux 3.10].&lt;br /&gt;
&lt;br /&gt;
To get started, install {{Pkg|iwd}}:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|apk add iwd}}&lt;br /&gt;
&lt;br /&gt;
List your available wifi device(s) (you probably have &#039;&#039;wlan0&#039;&#039;):&lt;br /&gt;
&lt;br /&gt;
{{Cmd|iwctl device list}}&lt;br /&gt;
&lt;br /&gt;
If you don&#039;t know the SSID of your network you can run a scan and retrieve a list of all the detected networks:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|iwctl station wlan0 scan &amp;amp;&amp;amp; iwctl station wlp8s0 get-networks}}&lt;br /&gt;
&lt;br /&gt;
To connect to a network:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|iwctl station wlan0 connect &amp;lt;SSID&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Note|iwd automatically stores network passphrases in the /var/lib/iwd directory and uses them to auto-connect in the future. If you run diskless Alpine, make sure to include this directory to the apkovl and commit:&lt;br /&gt;
{{Cmd|lbu add /var/lib/iwd &amp;amp;&amp;amp; lbu commit -d}}}}&lt;br /&gt;
&lt;br /&gt;
{{Note|Since version 1.10, iwd supports IPv6, but it is disabled by default. To enable it, add the following to the configuration file:&lt;br /&gt;
{{Cat|/etc/iwd/main.conf|&amp;lt;nowiki&amp;gt;[Network]&lt;br /&gt;
EnableIPv6=true&amp;lt;/nowiki&amp;gt;}}}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, configure {{Pkg|iwd}} and its dependency {{Pkg|dbus}} to start automatically on boot:&lt;br /&gt;
{{Cmd|rc-update add iwd boot &amp;amp;&amp;amp; rc-update add dbus boot}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add a entry for the desired interface (e.g. {{Path|wlan0}}):&lt;br /&gt;
{{Cat|/etc/network/interfaces|auto wlan0&lt;br /&gt;
iface wlan0 inet dhcp}}&lt;br /&gt;
&lt;br /&gt;
{{Note|You could instead use the iwd&#039;s built-in network configuration by setting {{Path|&amp;lt;nowiki&amp;gt;EnableNetworkConfiguration=true&amp;lt;/nowiki&amp;gt;}} in {{Path|/etc/iwd/main.conf}}}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Manually restart &#039;&#039;&#039;networking&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|rc-service networking restart}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Your wifi interface should now be up and have a dedicated IP adress:&lt;br /&gt;
{{Cmd|ip a show wlan0}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Useful link: [https://wiki.archlinux.org/title/Iwd#Enable_built-in_network_configuration Archlinux wiki page] if you need more specific configuration.&lt;br /&gt;
&lt;br /&gt;
== wpa_supplicant  ==&lt;br /&gt;
&lt;br /&gt;
To get started install {{Pkg|wpa_supplicant}}&lt;br /&gt;
&lt;br /&gt;
{{Cmd|apk add wpa_supplicant}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To list your available network interfaces:&lt;br /&gt;
{{Note|if you don&#039;t see any wireless interfaces (e.g. {{Path|wlan0}}), you probably need to load and/or install drivers/firmware.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Cmd|ip link}}&lt;br /&gt;
or&lt;br /&gt;
{{Cmd|ip a}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Bring up the desired interface:&lt;br /&gt;
{{Cmd|ip link set wlan0 up}}&lt;br /&gt;
&lt;br /&gt;
{{Note|If this errors with &amp;lt;code&amp;gt;ioctl 0x8914 failed: No error information&amp;lt;/code&amp;gt;, that&#039;s &amp;lt;code&amp;gt;busybox ip&amp;lt;/code&amp;gt;&#039;s way of saying your wireless radio is rfkill&#039;d. See the [[#Rfkill|Rfkill section]] for information on how to unblock your wireless radio.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use this command to add your Wi-Fi network to wpa_supplicant:&lt;br /&gt;
{{Cmd|wpa_passphrase &#039;ExampleWifiSSID&#039; &#039;ExampleWifiPassword&#039; &amp;gt; /etc/wpa_supplicant/wpa_supplicant.conf}}&lt;br /&gt;
&#039;&#039;(Access point not broadcasting its SSID requires additional line &amp;lt;code&amp;gt;scan_ssid=1&amp;lt;/code&amp;gt; in the file &amp;lt;code&amp;gt;wpa_supplicant.conf&amp;lt;/code&amp;gt;)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{{Note|the Wi-Fi SSID and password are case sensitive and the single quote before and after the SSID and password need to be there}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Start wpa_supplicant in the foreground to make sure the connection succeeds.&lt;br /&gt;
{{Cmd|wpa_supplicant -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If all is well, run it as a daemon in the background by setting the {{Path|-B}} option.&lt;br /&gt;
{{Cmd|wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Configure the interface with an IP address.&lt;br /&gt;
{{Cmd|udhcpc -i wlan0}}&lt;br /&gt;
&lt;br /&gt;
Sanity check: the interface should have a {{Path|inet}} address.&lt;br /&gt;
{{Cmd|ip addr show wlan0}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Automatic Configuration on System Boot  ===&lt;br /&gt;
&lt;br /&gt;
Add a entry for the desired interface (e.g. {{Path|wlan0}}):&lt;br /&gt;
{{Cat|/etc/network/interfaces|auto wlan0&lt;br /&gt;
iface wlan0 inet dhcp}}&lt;br /&gt;
&lt;br /&gt;
{{Note|Dont remove or comment out the &#039;&#039;&#039;auto lo&#039;&#039;&#039; entry}}&lt;br /&gt;
&lt;br /&gt;
Sanity check: Make sure {{Path|/etc/wpa_supplicant/wpa_supplicant.conf}} is the correct configuration for the wireless access point you want to connect to.&lt;br /&gt;
&lt;br /&gt;
Bring the interface down.&lt;br /&gt;
&lt;br /&gt;
{{Cmd|ip link set wlan0 down}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Manually restart (or &#039;&#039;&#039;start&#039;&#039;&#039;) &#039;&#039;&#039;networking&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
{{Cmd|/etc/init.d/networking --quiet restart &amp;amp;}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If all is well (feel free to confirm with the sanity checks), &lt;br /&gt;
&lt;br /&gt;
Configure wpa_supplicant to start automatically on boot:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|# rc-update add wpa_supplicant boot}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also make sure &#039;&#039;&#039;networking&#039;&#039;&#039; is set to automatically start on boot:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|# rc-update add networking boot}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Optional security precaution:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
By default {{Pkg|wpa_supplicant}} will store your Wi-Fi password in plain text:&lt;br /&gt;
&lt;br /&gt;
{{Cat|(Example) /etc/wpa_supplicant/wpa_supplicant.conf|&amp;lt;nowiki&amp;gt;network={&lt;br /&gt;
    ssid=&amp;quot;&amp;lt;YourSSIDShouldBeHere&amp;gt;&amp;quot;&lt;br /&gt;
        #psk=&amp;quot;&amp;lt;YourPasswordShouldBeHereInPlainText&amp;gt;&amp;quot;&lt;br /&gt;
    psk=&amp;lt;RandomLettersAndNumbersShouldBeHere&amp;gt;&lt;br /&gt;
}&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
this is not necessary and {{Pkg|wpa_supplicant}} should funtion just fine without it, if you dont want your stored password in plain text just delete the line with &amp;lt;code&amp;gt;#psk=&amp;quot;&amp;lt;YourPasswordShouldBeHereInPlainText&amp;gt;&amp;quot;&amp;lt;/code&amp;gt; on it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Launching udhcpc through wpa_cli actions ==&lt;br /&gt;
&lt;br /&gt;
{{Todo|Figure out if theses two sections are different or connected to one another}}&lt;br /&gt;
&lt;br /&gt;
With the above configuration, udhcpc will only run once at boot.&lt;br /&gt;
If the Wifi isn&#039;t available then, or the network changes in between, it needs to be notified.&lt;br /&gt;
This is done through the wpa_cli action script in /etc/wpa_supplicant/wpa_cli.sh&lt;br /&gt;
&lt;br /&gt;
== Automatic Reconnection when WIFI signal is lost  ==&lt;br /&gt;
To enable automatic reconnection when wifi signal is lost add these to config:&lt;br /&gt;
&lt;br /&gt;
{{Cat|/etc/wpa_supplicant/wpa_supplicant.conf|&amp;lt;nowiki&amp;gt;ap_scan=1&lt;br /&gt;
autoscan=periodic:10&lt;br /&gt;
disable_scan_offload=1&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Cmd|rc-update add wpa_cli boot}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
==== Broadcom Wi-Fi Chipset Users  ====&lt;br /&gt;
&lt;br /&gt;
The Broadcom chipset is quite popular among older computers. You will need to compile the firmware manually for this chipset as it is not included. &lt;br /&gt;
&lt;br /&gt;
You can check if you have a Broadcom chipset by using dmesg:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|dmesg {{!}} grep Broadcom}}&lt;br /&gt;
&lt;br /&gt;
First install the SDK and Git:&lt;br /&gt;
{{Cmd|apk add alpine-sdk git}}&lt;br /&gt;
&lt;br /&gt;
Then git clone aports from git.alpinelinux.org.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Cmd|git clone git://git.alpinelinux.org/aports}}&lt;br /&gt;
&lt;br /&gt;
Change your directory to &#039;&#039;&#039;aports/non-free/b43-firmware&#039;&#039;&#039;, then build it.&lt;br /&gt;
&lt;br /&gt;
{{Tip|You can&#039;t be root and must be a user of the group abuild (use groupadd f.e. &#039;&#039;&#039;addgroup $(whoami) abuild&#039;&#039;&#039;)}}&lt;br /&gt;
{{Tip|If this is your first time building a package you will need to generate a key for use in signing packages (use &#039;&#039;&#039;abuild-keygen -a -i&#039;&#039;&#039;)}}&lt;br /&gt;
&lt;br /&gt;
{{Cmd|abuild -r}}&lt;br /&gt;
&lt;br /&gt;
Install the generated packge file (it will be in ~/packages/) - make sure to pass &#039;&#039;&#039;--allow-untrusted&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{{Cmd|apk add --allow-untrusted ~/packages/...pkg}}&lt;br /&gt;
&lt;br /&gt;
Now we need fwcutter, which is executed from the firmware package:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|apk add b43-fwcutter b43-firmware}}&lt;br /&gt;
&lt;br /&gt;
Now you need to use modprobe so the device will show up:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|modprobe b43}}&lt;br /&gt;
&lt;br /&gt;
To automate this on startup add it to /etc/modules:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|echo b43 &amp;gt;&amp;gt; /etc/modules}}&lt;br /&gt;
&lt;br /&gt;
Now continue with the normal instructions. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Rfkill ====&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;See Also: [https://wiki.archlinux.org/title/Network_configuration/Wireless#Rfkill_caveat Network configuration/Wireless#Rfkill caveat - ArchLinux Wiki]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Many laptops have a hardware button (or switch) to turn off wireless card, however, the card can also be blocked by kernel. This can be changed using rfkill. To show the current of your Wi-Fi: &lt;br /&gt;
&lt;br /&gt;
{{Cat|(example) $ rfkill list|0: phy0: wlan&lt;br /&gt;
    Soft blocked: no&lt;br /&gt;
    Hard blocked: no}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the card is hard-blocked, use the hardware button or switch to unblock it. If the card is not hard-blocked but soft-blocked, use the following command: &lt;br /&gt;
&lt;br /&gt;
{{Cmd|# rfkill unblock wifi}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
&lt;br /&gt;
* [[Installation]]&lt;br /&gt;
* [[Post installation]]&lt;br /&gt;
* [[Alpine setup scripts]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Networking]]&lt;/div&gt;</summary>
		<author><name>W1nst0n</name></author>
	</entry>
</feed>