<?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=Mark</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=Mark"/>
	<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/wiki/Special:Contributions/Mark"/>
	<updated>2026-04-27T15:46:47Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Installing_Oracle_Java&amp;diff=13185</id>
		<title>Installing Oracle Java</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Installing_Oracle_Java&amp;diff=13185"/>
		<updated>2017-03-23T03:01:35Z</updated>

		<summary type="html">&lt;p&gt;Mark: Here come dat &amp;quot;you cant post links&amp;quot; message again :/&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Using java requires having grsec play nice with the binaries. You may also want to install the JDK instead of the JRE depending on your use case.&lt;br /&gt;
&lt;br /&gt;
This guide assumes you&#039;re running as root.&lt;br /&gt;
&lt;br /&gt;
Download XXX-XXX-linux-x64.tar.gz from either the JRE or JDK section here:&lt;br /&gt;
htt$p://www.oracle.com/technetwork/java/javase/downloads/index.html&lt;br /&gt;
&lt;br /&gt;
 mkdir -p /opt/java&lt;br /&gt;
 cd /opt/java&lt;br /&gt;
 sudo tar -zxvf XXX-XXX-linux-x64.tar.gz &lt;br /&gt;
&lt;br /&gt;
Note down the directory, e.g. /opt/java/jdk1.8.0_121, create a symbol link as the current version:&lt;br /&gt;
&lt;br /&gt;
 ln -s /opt/java/jdk1.8.0_121 /opt/java/current&lt;br /&gt;
&lt;br /&gt;
Create a file in &#039;&#039;&#039;/etc/profile.d/java.sh&#039;&#039;&#039;:&lt;br /&gt;
 export JAVA_HOME=/opt/java/current&lt;br /&gt;
 export PATH=$PATH:$JAVA_HOME/bin&lt;br /&gt;
&lt;br /&gt;
Execute this script or restart your shell:&lt;br /&gt;
 sh /etc/profile.d/java.sh&lt;br /&gt;
&lt;br /&gt;
Now we need manage grsec with paxctl use this command to check if its installed:&lt;br /&gt;
 which paxctl&lt;br /&gt;
&lt;br /&gt;
If nothing comes up install it:&lt;br /&gt;
&lt;br /&gt;
 apk add paxctl&lt;br /&gt;
&lt;br /&gt;
Now in your /opt/java/XXX/bin folder let it execute:&lt;br /&gt;
 paxctl -c java&lt;br /&gt;
 paxctl -m java&lt;br /&gt;
&lt;br /&gt;
If you have the JDK, you need to do the same to javac:&lt;br /&gt;
 paxctl -c javac&lt;br /&gt;
 paxctl -m javac&lt;br /&gt;
&lt;br /&gt;
You can do this for any other binary you need to use.&lt;br /&gt;
&lt;br /&gt;
NOTE: I read online that some people required using this command to get it working (and it may be a better alternative):&lt;br /&gt;
&lt;br /&gt;
 setfattr -n user.pax.flags -v &amp;quot;mr&amp;quot; java&lt;br /&gt;
 setfattr -n user.pax.flags -v &amp;quot;mr&amp;quot; javac&lt;/div&gt;</summary>
		<author><name>Mark</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Installing_Oracle_Java&amp;diff=13184</id>
		<title>Installing Oracle Java</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Installing_Oracle_Java&amp;diff=13184"/>
		<updated>2017-03-23T03:00:49Z</updated>

		<summary type="html">&lt;p&gt;Mark: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Using java requires having grsec play nice with the binaries. You may also want to install the JDK instead of the JRE depending on your use case.&lt;br /&gt;
&lt;br /&gt;
This guide assumes you&#039;re running as root.&lt;br /&gt;
&lt;br /&gt;
Download XXX-XXX-linux-x64.tar.gz from either the JRE or JDK section here:&lt;br /&gt;
htt$p://www.oracle.com/technetwork/java/javase/downloads/index.html&lt;br /&gt;
&lt;br /&gt;
 mkdir -p /opt/java&lt;br /&gt;
 cd /opt/java&lt;br /&gt;
 sudo tar -zxvf XXX-XXX-linux-x64.tar.gz &lt;br /&gt;
&lt;br /&gt;
Note down the directory, e.g. /opt/java/jdk1.8.0_121, create a symbol link as the current version:&lt;br /&gt;
&lt;br /&gt;
 ln -s /opt/java/jdk1.8.0_121 /opt/java/current&lt;br /&gt;
&lt;br /&gt;
Create a file in &#039;&#039;&#039;/etc/profile.d/java.sh&#039;&#039;&#039;:&lt;br /&gt;
 export JAVA_HOME=/opt/java/current&lt;br /&gt;
 export PATH=$PATH:$JAVA_HOME/bin&lt;br /&gt;
&lt;br /&gt;
Execute this script or restart your shell:&lt;br /&gt;
 sh /etc/profile.d/java.sh&lt;br /&gt;
&lt;br /&gt;
Now we need manage grsec with paxctl use this command to check if its installed:&lt;br /&gt;
 which paxctl&lt;br /&gt;
&lt;br /&gt;
If nothing comes up install it:&lt;br /&gt;
&lt;br /&gt;
 apk add paxctl&lt;br /&gt;
&lt;br /&gt;
Now in your /opt/java/XXX/bin folder let it execute:&lt;br /&gt;
 paxctl -c java&lt;br /&gt;
 paxctl -m java&lt;br /&gt;
&lt;br /&gt;
If you have the JDK, you need to do the same to javac:&lt;br /&gt;
 paxctl -c javac&lt;br /&gt;
 paxctl -m javac&lt;br /&gt;
&lt;br /&gt;
You can do this for any other binary you need to use.&lt;br /&gt;
&lt;br /&gt;
NOTE: I [htt$p://stackoverflow.com/questions/27262629/jvm-cant-map-reserved-memory-when-running-in-docker-container| read online] that some people required using this command to get it working (and it may be a better alternative):&lt;br /&gt;
&lt;br /&gt;
 setfattr -n user.pax.flags -v &amp;quot;mr&amp;quot; java&lt;br /&gt;
 setfattr -n user.pax.flags -v &amp;quot;mr&amp;quot; javac&lt;/div&gt;</summary>
		<author><name>Mark</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Installing_Oracle_Java&amp;diff=13183</id>
		<title>Installing Oracle Java</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Installing_Oracle_Java&amp;diff=13183"/>
		<updated>2017-03-23T02:59:02Z</updated>

		<summary type="html">&lt;p&gt;Mark: Spacing&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Using java requires having grsec play nice with the binaries. You may also want to install the JDK instead of the JRE depending on your use case.&lt;br /&gt;
&lt;br /&gt;
This guide assumes you&#039;re running as root.&lt;br /&gt;
&lt;br /&gt;
Download XXX-XXX-linux-x64.tar.gz from either the JRE or JDK section here:&lt;br /&gt;
htt$p://www.oracle.com/technetwork/java/javase/downloads/index.html&lt;br /&gt;
&lt;br /&gt;
 mkdir -p /opt/java&lt;br /&gt;
 cd /opt/java&lt;br /&gt;
 sudo tar -zxvf XXX-XXX-linux-x64.tar.gz &lt;br /&gt;
&lt;br /&gt;
Note down the directory, e.g. /opt/java/jdk1.8.0_121, create a symbol link as the current version:&lt;br /&gt;
&lt;br /&gt;
 ln -s /opt/java/jdk1.8.0_121 /opt/java/current&lt;br /&gt;
&lt;br /&gt;
Create a file in &#039;&#039;&#039;/etc/profile.d/java.sh&#039;&#039;&#039;:&lt;br /&gt;
 export JAVA_HOME=/opt/java/current&lt;br /&gt;
 export PATH=$PATH:$JAVA_HOME/bin&lt;br /&gt;
&lt;br /&gt;
Execute this script or restart your shell:&lt;br /&gt;
 sh /etc/profile.d/java.sh&lt;br /&gt;
&lt;br /&gt;
Now we need manage grsec with paxctl use this command to check if its installed:&lt;br /&gt;
 which paxctl&lt;br /&gt;
&lt;br /&gt;
If nothing comes up install it:&lt;br /&gt;
&lt;br /&gt;
 apk add paxctl&lt;br /&gt;
&lt;br /&gt;
Now in your /opt/java/XXX/bin folder let it execute:&lt;br /&gt;
 paxctl -c java&lt;br /&gt;
 paxctl -m java&lt;br /&gt;
&lt;br /&gt;
If you have the JDK, you need to do the same to javac:&lt;br /&gt;
 paxctl -c javac&lt;br /&gt;
 paxctl -m javac&lt;br /&gt;
&lt;br /&gt;
You can do this for any other binary you need to use.&lt;br /&gt;
&lt;br /&gt;
NOTE: I read online that some people required using this command to get it working (and it may be a better alternative):&lt;br /&gt;
&lt;br /&gt;
 setfattr -n user.pax.flags -v &amp;quot;mr&amp;quot; java&lt;br /&gt;
 setfattr -n user.pax.flags -v &amp;quot;mr&amp;quot; javac&lt;/div&gt;</summary>
		<author><name>Mark</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Installing_Oracle_Java&amp;diff=13182</id>
		<title>Installing Oracle Java</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Installing_Oracle_Java&amp;diff=13182"/>
		<updated>2017-03-23T02:58:35Z</updated>

		<summary type="html">&lt;p&gt;Mark: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Using java requires having grsec play nice with the binaries. You may also want to install the JDK instead of the JRE depending on your use case.&lt;br /&gt;
&lt;br /&gt;
This guide assumes you&#039;re running as root.&lt;br /&gt;
&lt;br /&gt;
Download XXX-XXX-linux-x64.tar.gz from either the JRE or JDK section here:&lt;br /&gt;
htt$p://www.oracle.com/technetwork/java/javase/downloads/index.html&lt;br /&gt;
&lt;br /&gt;
 mkdir -p /opt/java&lt;br /&gt;
 cd /opt/java&lt;br /&gt;
 sudo tar -zxvf XXX-XXX-linux-x64.tar.gz &lt;br /&gt;
&lt;br /&gt;
Note down the directory, e.g. /opt/java/jdk1.8.0_121, create a symbol link as the current version:&lt;br /&gt;
&lt;br /&gt;
 ln -s /opt/java/jdk1.8.0_121 /opt/java/current&lt;br /&gt;
&lt;br /&gt;
Create a file in &#039;&#039;&#039;/etc/profile.d/java.sh&#039;&#039;&#039;:&lt;br /&gt;
 export JAVA_HOME=/opt/java/current&lt;br /&gt;
 export PATH=$PATH:$JAVA_HOME/bin&lt;br /&gt;
&lt;br /&gt;
Execute this script or restart your shell:&lt;br /&gt;
 sh /etc/profile.d/java.sh&lt;br /&gt;
&lt;br /&gt;
Now we need manage grsec with paxctl use this command to check if its installed:&lt;br /&gt;
 which paxctl&lt;br /&gt;
&lt;br /&gt;
If nothing comes up install it:&lt;br /&gt;
&lt;br /&gt;
 apk add paxctl&lt;br /&gt;
&lt;br /&gt;
Now in your /opt/java/XXX/bin folder let it execute:&lt;br /&gt;
 paxctl -c java&lt;br /&gt;
 paxctl -m java&lt;br /&gt;
&lt;br /&gt;
If you have the JDK, you need to do the same to javac:&lt;br /&gt;
 paxctl -c javac&lt;br /&gt;
 paxctl -m javac&lt;br /&gt;
&lt;br /&gt;
You can do this for any other binary you need to use.&lt;br /&gt;
&lt;br /&gt;
NOTE: I read online that some people required using this command to get it working (and it may be a better alternative):&lt;br /&gt;
&lt;br /&gt;
setfattr -n user.pax.flags -v &amp;quot;mr&amp;quot; java&lt;br /&gt;
setfattr -n user.pax.flags -v &amp;quot;mr&amp;quot; javac&lt;/div&gt;</summary>
		<author><name>Mark</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Installing_Oracle_Java&amp;diff=13181</id>
		<title>Installing Oracle Java</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Installing_Oracle_Java&amp;diff=13181"/>
		<updated>2017-03-23T02:57:44Z</updated>

		<summary type="html">&lt;p&gt;Mark: Creating page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Using java requires having grsec play nice with the binaries. You may also want to install the JDK instead of the JRE depending on your use case.&lt;br /&gt;
&lt;br /&gt;
This guide assumes you&#039;re running as root.&lt;br /&gt;
&lt;br /&gt;
Download XXX-XXX-linux-x64.tar.gz from either the JRE or JDK section here:&lt;br /&gt;
htt$p://www.oracle.com/technetwork/java/javase/downloads/index.html&lt;br /&gt;
&lt;br /&gt;
 mkdir -p /opt/java&lt;br /&gt;
 cd /opt/java&lt;br /&gt;
 sudo tar -zxvf XXX-XXX-linux-x64.tar.gz &lt;br /&gt;
&lt;br /&gt;
Note down the directory, e.g. /opt/java/jdk1.8.0_121&lt;br /&gt;
&lt;br /&gt;
 ln -s /opt/java/jdk1.8.0_121 /opt/java/current&lt;br /&gt;
&lt;br /&gt;
Create a file in &#039;&#039;&#039;/etc/profile.d/java.sh&#039;&#039;&#039;:&lt;br /&gt;
 export JAVA_HOME=/opt/java/current&lt;br /&gt;
 export PATH=$PATH:$JAVA_HOME/bin&lt;br /&gt;
&lt;br /&gt;
Execute this script or restart your shell:&lt;br /&gt;
 sh /etc/profile.d/java.sh&lt;br /&gt;
&lt;br /&gt;
Now we need manage grsec with paxctl use this command to check if its installed:&lt;br /&gt;
 which paxctl&lt;br /&gt;
&lt;br /&gt;
If nothing comes up install it:&lt;br /&gt;
&lt;br /&gt;
 apk add paxctl&lt;br /&gt;
&lt;br /&gt;
Now in your /opt/java/XXX/bin folder let it execute:&lt;br /&gt;
 paxctl -c java&lt;br /&gt;
 paxctl -m java&lt;br /&gt;
&lt;br /&gt;
If you have the JDK, you need to do the same to javac:&lt;br /&gt;
 paxctl -c javac&lt;br /&gt;
 paxctl -m javac&lt;br /&gt;
&lt;br /&gt;
You can do this for any other binary you need to use.&lt;br /&gt;
&lt;br /&gt;
NOTE: I read online that some people required using this command to get it working (and it may be a better alternative):&lt;br /&gt;
&lt;br /&gt;
setfattr -n user.pax.flags -v &amp;quot;mr&amp;quot; java&lt;br /&gt;
setfattr -n user.pax.flags -v &amp;quot;mr&amp;quot; javac&lt;/div&gt;</summary>
		<author><name>Mark</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Wi-Fi&amp;diff=13180</id>
		<title>Wi-Fi</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Wi-Fi&amp;diff=13180"/>
		<updated>2017-03-23T01:53:15Z</updated>

		<summary type="html">&lt;p&gt;Mark: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document describes how to set up a wireless network connection with WPA encryption.&lt;br /&gt;
&lt;br /&gt;
First make sure your wireless drivers are loaded properly. (if you are using a &#039;&#039;&#039;Broadcom chipset&#039;&#039;&#039;, see the [[#Broadcom_Wi-Fi_Chipset_Users|section at the bottom of this post]].)&lt;br /&gt;
&lt;br /&gt;
Install {{Pkg|wireless-tools}} and {{Pkg|wpa_supplicant}}.&lt;br /&gt;
{{Cmd|apk add wireless-tools wpa_supplicant}}&lt;br /&gt;
&lt;br /&gt;
Bring the link up so we can look for wireless networks. (An error here means you probably need extra drivers/firmware.)&lt;br /&gt;
{{Cmd|ip link set wlan0 up}}&lt;br /&gt;
&lt;br /&gt;
Find a network to connect to. Look for the ESSID. In this example we will use the ESSID &amp;quot;MyNet&amp;quot;.&lt;br /&gt;
{{Cmd|iwlist wlan0 scanning}}&lt;br /&gt;
&lt;br /&gt;
Let&#039;s set the ESSID:&lt;br /&gt;
{{Cmd|iwconfig wlan0 essid MyNet}}&lt;br /&gt;
&lt;br /&gt;
We need to create a shared key for wpa_supplicant.&lt;br /&gt;
{{Cmd|wpa_passphrase MyNet &amp;gt; wpa.conf}}&lt;br /&gt;
It will wait for the password from stdin. Enter the password and enter. Now you will have a {{Path|wpa.conf}} file with the preshared key.&lt;br /&gt;
&lt;br /&gt;
Start wpa_supplicant with the generated config:&lt;br /&gt;
{{Cmd|wpa_supplicant -Dwext -iwlan0 -c ./wpa.conf}}&lt;br /&gt;
&lt;br /&gt;
From another console, start dhcpcd:&lt;br /&gt;
{{Cmd|udhcpc -i wlan0}}&lt;br /&gt;
&lt;br /&gt;
You should get an IP address.&lt;br /&gt;
&lt;br /&gt;
You then want to make the connection process automatic on boot-up.  Open {{Path|/etc/network/interfaces}} and add the following stanza:&lt;br /&gt;
 auto wlan0&lt;br /&gt;
 iface wlan0 inet dhcp&lt;br /&gt;
{{Note|I had to append `pre-up iwconfig wlan0 essid &amp;lt;ESSID&amp;gt;` to automatically connect to the network.}}&lt;br /&gt;
&lt;br /&gt;
You will also need to set wpa_supplicant to start automatically on boot:&lt;br /&gt;
{{Cmd|rc-update add wpa_supplicant boot}}&lt;br /&gt;
&lt;br /&gt;
Next, create {{Path|/etc/wpa_supplicant/}} (permissions of 755 with root:root are fine), and move {{Path|wpa.conf}} into that folder, renaming it to {{Path|wpa_supplicant.conf}}.&lt;br /&gt;
&lt;br /&gt;
Reboot and check that you are associated with the access point:&lt;br /&gt;
{{Cmd|iwconfig wlan0}}&lt;br /&gt;
and check that you got a DHCP lease:&lt;br /&gt;
{{Cmd|ifconfig wlan0 {{!}} grep addr}}&lt;br /&gt;
&lt;br /&gt;
== Broadcom Wi-Fi Chipset Users  ==&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 an 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;
(remove $, new users can&#039;t add links to the wiki)&lt;br /&gt;
&lt;br /&gt;
{{Cmd|git clone git:/$/git.alpinelinux.org/abuild}}&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;
&#039;&#039;You can&#039;t be root and must be a user of the group abuild (use groupadd)&#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;
[[Category:Networking]]&lt;/div&gt;</summary>
		<author><name>Mark</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Wi-Fi&amp;diff=13179</id>
		<title>Wi-Fi</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Wi-Fi&amp;diff=13179"/>
		<updated>2017-03-23T01:51:42Z</updated>

		<summary type="html">&lt;p&gt;Mark: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document describes how to set up a wireless network connection with WPA encryption.&lt;br /&gt;
&lt;br /&gt;
First make sure your wireless drivers are loaded properly. (if you are using a &#039;&#039;&#039;Broadcom chipset&#039;&#039;&#039;, see the [[#Broadcom_Wi-Fi_Chipset_Users|section at the bottom of this post]].)&lt;br /&gt;
&lt;br /&gt;
Install {{Pkg|wireless-tools}} and {{Pkg|wpa_supplicant}}.&lt;br /&gt;
{{Cmd|apk add wireless-tools wpa_supplicant}}&lt;br /&gt;
&lt;br /&gt;
Bring the link up so we can look for wireless networks. (An error here means you probably need extra drivers/firmware.)&lt;br /&gt;
{{Cmd|ip link set wlan0 up}}&lt;br /&gt;
&lt;br /&gt;
Find a network to connect to. Look for the ESSID. In this example we will use the ESSID &amp;quot;MyNet&amp;quot;.&lt;br /&gt;
{{Cmd|iwlist wlan0 scanning}}&lt;br /&gt;
&lt;br /&gt;
Let&#039;s set the ESSID:&lt;br /&gt;
{{Cmd|iwconfig wlan0 essid MyNet}}&lt;br /&gt;
&lt;br /&gt;
We need to create a shared key for wpa_supplicant.&lt;br /&gt;
{{Cmd|wpa_passphrase MyNet &amp;gt; wpa.conf}}&lt;br /&gt;
It will wait for the password from stdin. Enter the password and enter. Now you will have a {{Path|wpa.conf}} file with the preshared key.&lt;br /&gt;
&lt;br /&gt;
Start wpa_supplicant with the generated config:&lt;br /&gt;
{{Cmd|wpa_supplicant -Dwext -iwlan0 -c ./wpa.conf}}&lt;br /&gt;
&lt;br /&gt;
From another console, start dhcpcd:&lt;br /&gt;
{{Cmd|udhcpc -i wlan0}}&lt;br /&gt;
&lt;br /&gt;
You should get an IP address.&lt;br /&gt;
&lt;br /&gt;
You then want to make the connection process automatic on boot-up.  Open {{Path|/etc/network/interfaces}} and add the following stanza:&lt;br /&gt;
 auto wlan0&lt;br /&gt;
 iface wlan0 inet dhcp&lt;br /&gt;
{{Note|I had to append `pre-up iwconfig wlan0 essid &amp;lt;ESSID&amp;gt;` to automatically connect to the network.}}&lt;br /&gt;
&lt;br /&gt;
You will also need to set wpa_supplicant to start automatically on boot:&lt;br /&gt;
{{Cmd|rc-update add wpa_supplicant boot}}&lt;br /&gt;
&lt;br /&gt;
Next, create {{Path|/etc/wpa_supplicant/}} (permissions of 755 with root:root are fine), and move {{Path|wpa.conf}} into that folder, renaming it to {{Path|wpa_supplicant.conf}}.&lt;br /&gt;
&lt;br /&gt;
Reboot and check that you are associated with the access point:&lt;br /&gt;
{{Cmd|iwconfig wlan0}}&lt;br /&gt;
and check that you got a DHCP lease:&lt;br /&gt;
{{Cmd|ifconfig wlan0 {{!}} grep addr}}&lt;br /&gt;
&lt;br /&gt;
== Broadcom Wi-Fi Chipset Users  ==&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 an 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;
(remove $, new users can&#039;t add links to the wiki)&lt;br /&gt;
&lt;br /&gt;
{{Cmd|git clone git:/$/git.alpinelinux.org/abuild}}&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;
&#039;&#039;You can&#039;t be root and must be a user of the group abuild (use groupadd)&#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;
[[Category:Networking]]&lt;/div&gt;</summary>
		<author><name>Mark</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=User:Mark&amp;diff=13176</id>
		<title>User:Mark</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=User:Mark&amp;diff=13176"/>
		<updated>2017-03-18T04:30:36Z</updated>

		<summary type="html">&lt;p&gt;Mark: Created page with &amp;quot;G&amp;#039;day! Feel free to chat!&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;G&#039;day! Feel free to [[User_talk:Mark|chat]]!&lt;/div&gt;</summary>
		<author><name>Mark</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=User_talk:Mark&amp;diff=13175</id>
		<title>User talk:Mark</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=User_talk:Mark&amp;diff=13175"/>
		<updated>2017-03-18T04:30:06Z</updated>

		<summary type="html">&lt;p&gt;Mark: Created page with &amp;quot;== Talk to me ==&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Talk to me ==&lt;/div&gt;</summary>
		<author><name>Mark</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Wi-Fi&amp;diff=13174</id>
		<title>Wi-Fi</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Wi-Fi&amp;diff=13174"/>
		<updated>2017-03-18T04:29:30Z</updated>

		<summary type="html">&lt;p&gt;Mark: /* Broadcom Wi-Fi Chipset Users */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document describes how to set up a wireless network connection with WPA encryption.&lt;br /&gt;
&lt;br /&gt;
First make sure your wireless drivers are loaded properly. (if you are using a &#039;&#039;&#039;Broadcom chipset&#039;&#039;&#039;, see the [[#Broadcom_Wi-Fi_Chipset_Users|section at the bottom of this post]].)&lt;br /&gt;
&lt;br /&gt;
Install {{Pkg|wireless-tools}} and {{Pkg|wpa_supplicant}}.&lt;br /&gt;
{{Cmd|apk add wireless-tools wpa_supplicant}}&lt;br /&gt;
&lt;br /&gt;
Bring the link up so we can look for wireless networks. (An error here means you probably need extra drivers/firmware.)&lt;br /&gt;
{{Cmd|ip link set wlan0 up}}&lt;br /&gt;
&lt;br /&gt;
Find a network to connect to. Look for the ESSID. In this example we will use the ESSID &amp;quot;MyNet&amp;quot;.&lt;br /&gt;
{{Cmd|iwlist wlan0 scanning}}&lt;br /&gt;
&lt;br /&gt;
Let&#039;s set the ESSID:&lt;br /&gt;
{{Cmd|iwconfig wlan0 essid MyNet}}&lt;br /&gt;
&lt;br /&gt;
We need to create a shared key for wpa_supplicant.&lt;br /&gt;
{{Cmd|wpa_passphrase MyNet &amp;gt; wpa.conf}}&lt;br /&gt;
It will wait for the password from stdin. Enter the password and enter. Now you will have a {{Path|wpa.conf}} file with the preshared key.&lt;br /&gt;
&lt;br /&gt;
Start wpa_supplicant with the generated config:&lt;br /&gt;
{{Cmd|wpa_supplicant -Dwext -iwlan0 -c ./wpa.conf}}&lt;br /&gt;
&lt;br /&gt;
From another console, start dhcpcd:&lt;br /&gt;
{{Cmd|udhcpc -i wlan0}}&lt;br /&gt;
&lt;br /&gt;
You should get an IP address.&lt;br /&gt;
&lt;br /&gt;
You then want to make the connection process automatic on boot-up.  Open {{Path|/etc/network/interfaces}} and add the following stanza:&lt;br /&gt;
 auto wlan0&lt;br /&gt;
 iface wlan0 inet dhcp&lt;br /&gt;
{{Note|I had to append `pre-up iwconfig wlan0 essid &amp;lt;ESSID&amp;gt;` to automatically connect to the network.}}&lt;br /&gt;
&lt;br /&gt;
You will also need to set wpa_supplicant to start automatically on boot:&lt;br /&gt;
{{Cmd|rc-update add wpa_supplicant boot}}&lt;br /&gt;
&lt;br /&gt;
Next, create {{Path|/etc/wpa_supplicant/}} (permissions of 755 with root:root are fine), and move {{Path|wpa.conf}} into that folder, renaming it to {{Path|wpa_supplicant.conf}}.&lt;br /&gt;
&lt;br /&gt;
Reboot and check that you are associated with the access point:&lt;br /&gt;
{{Cmd|iwconfig wlan0}}&lt;br /&gt;
and check that you got a DHCP lease:&lt;br /&gt;
{{Cmd|ifconfig wlan0 {{!}} grep addr}}&lt;br /&gt;
&lt;br /&gt;
== Broadcom Wi-Fi Chipset Users  ==&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;
First install the SDK an 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;
(remove $, new users can&#039;t add links to the wiki)&lt;br /&gt;
&lt;br /&gt;
{{Cmd|git clone git:/$/git.alpinelinux.org/abuild}}&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;
&#039;&#039;You can&#039;t be root and must be a user of the group abuild (use groupadd)&#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;
[[Category:Networking]]&lt;/div&gt;</summary>
		<author><name>Mark</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Wi-Fi&amp;diff=13173</id>
		<title>Wi-Fi</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Wi-Fi&amp;diff=13173"/>
		<updated>2017-03-18T04:27:59Z</updated>

		<summary type="html">&lt;p&gt;Mark: /* Broadcom Wi-Fi Chipset Users */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document describes how to set up a wireless network connection with WPA encryption.&lt;br /&gt;
&lt;br /&gt;
First make sure your wireless drivers are loaded properly. (if you are using a &#039;&#039;&#039;Broadcom chipset&#039;&#039;&#039;, see the [[#Broadcom_Wi-Fi_Chipset_Users|section at the bottom of this post]].)&lt;br /&gt;
&lt;br /&gt;
Install {{Pkg|wireless-tools}} and {{Pkg|wpa_supplicant}}.&lt;br /&gt;
{{Cmd|apk add wireless-tools wpa_supplicant}}&lt;br /&gt;
&lt;br /&gt;
Bring the link up so we can look for wireless networks. (An error here means you probably need extra drivers/firmware.)&lt;br /&gt;
{{Cmd|ip link set wlan0 up}}&lt;br /&gt;
&lt;br /&gt;
Find a network to connect to. Look for the ESSID. In this example we will use the ESSID &amp;quot;MyNet&amp;quot;.&lt;br /&gt;
{{Cmd|iwlist wlan0 scanning}}&lt;br /&gt;
&lt;br /&gt;
Let&#039;s set the ESSID:&lt;br /&gt;
{{Cmd|iwconfig wlan0 essid MyNet}}&lt;br /&gt;
&lt;br /&gt;
We need to create a shared key for wpa_supplicant.&lt;br /&gt;
{{Cmd|wpa_passphrase MyNet &amp;gt; wpa.conf}}&lt;br /&gt;
It will wait for the password from stdin. Enter the password and enter. Now you will have a {{Path|wpa.conf}} file with the preshared key.&lt;br /&gt;
&lt;br /&gt;
Start wpa_supplicant with the generated config:&lt;br /&gt;
{{Cmd|wpa_supplicant -Dwext -iwlan0 -c ./wpa.conf}}&lt;br /&gt;
&lt;br /&gt;
From another console, start dhcpcd:&lt;br /&gt;
{{Cmd|udhcpc -i wlan0}}&lt;br /&gt;
&lt;br /&gt;
You should get an IP address.&lt;br /&gt;
&lt;br /&gt;
You then want to make the connection process automatic on boot-up.  Open {{Path|/etc/network/interfaces}} and add the following stanza:&lt;br /&gt;
 auto wlan0&lt;br /&gt;
 iface wlan0 inet dhcp&lt;br /&gt;
{{Note|I had to append `pre-up iwconfig wlan0 essid &amp;lt;ESSID&amp;gt;` to automatically connect to the network.}}&lt;br /&gt;
&lt;br /&gt;
You will also need to set wpa_supplicant to start automatically on boot:&lt;br /&gt;
{{Cmd|rc-update add wpa_supplicant boot}}&lt;br /&gt;
&lt;br /&gt;
Next, create {{Path|/etc/wpa_supplicant/}} (permissions of 755 with root:root are fine), and move {{Path|wpa.conf}} into that folder, renaming it to {{Path|wpa_supplicant.conf}}.&lt;br /&gt;
&lt;br /&gt;
Reboot and check that you are associated with the access point:&lt;br /&gt;
{{Cmd|iwconfig wlan0}}&lt;br /&gt;
and check that you got a DHCP lease:&lt;br /&gt;
{{Cmd|ifconfig wlan0 {{!}} grep addr}}&lt;br /&gt;
&lt;br /&gt;
== Broadcom Wi-Fi Chipset Users  ==&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;
First install the SDK an 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;
{{Cmd|git clone git.alpinelinux.org/abuild}}&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;
&#039;&#039;You can&#039;t be root and must be a user of the group abuild (use groupadd)&#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;
[[Category:Networking]]&lt;/div&gt;</summary>
		<author><name>Mark</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Talk:Wi-Fi&amp;diff=13172</id>
		<title>Talk:Wi-Fi</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Talk:Wi-Fi&amp;diff=13172"/>
		<updated>2017-03-18T04:21:08Z</updated>

		<summary type="html">&lt;p&gt;Mark: /* An unfortunate mix */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== The way I do it ==&lt;br /&gt;
&lt;br /&gt;
I created the passphrase as described and moved it to /etc/wpa_supplicant/wpa_supplicant.conf and  did rc-update add wpa_supplicant. Then I let dhcpcd service handle the wlan0 interface, bascially, keep only the lo interface in /etc/network/interfaces and then start dhcpcd service. --[[User:Ncopa|Ncopa]] 08:19, 25 January 2011 (UTC)&lt;br /&gt;
&lt;br /&gt;
== An unfortunate mix ==&lt;br /&gt;
&lt;br /&gt;
This page is an unfortunate mix of how bring up a wireless interface on a running system vs. how bring up a wireless interface at boot time. Those topics should be discussed separately and they are not. It&#039;s possible to tease the information out of this, but it&#039;s much more difficult than it should be.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:I agree, same goes with &#039;Broadcom Wi-Fi Chipset Users&#039; which I just updated. It can stay on the same page, but it should be separated into sections? --[[User:Mark|Mark]] ([[User talk:Mark|talk]]) 04:20, 18 March 2017 (UTC)&lt;/div&gt;</summary>
		<author><name>Mark</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Wi-Fi&amp;diff=13171</id>
		<title>Wi-Fi</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Wi-Fi&amp;diff=13171"/>
		<updated>2017-03-18T04:18:48Z</updated>

		<summary type="html">&lt;p&gt;Mark: Please, someone, let this wiki take markdown&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document describes how to set up a wireless network connection with WPA encryption.&lt;br /&gt;
&lt;br /&gt;
First make sure your wireless drivers are loaded properly. (if you are using a &#039;&#039;&#039;Broadcom chipset&#039;&#039;&#039;, see the [[#Broadcom_Wi-Fi_Chipset_Users|section at the bottom of this post]].)&lt;br /&gt;
&lt;br /&gt;
Install {{Pkg|wireless-tools}} and {{Pkg|wpa_supplicant}}.&lt;br /&gt;
{{Cmd|apk add wireless-tools wpa_supplicant}}&lt;br /&gt;
&lt;br /&gt;
Bring the link up so we can look for wireless networks. (An error here means you probably need extra drivers/firmware.)&lt;br /&gt;
{{Cmd|ip link set wlan0 up}}&lt;br /&gt;
&lt;br /&gt;
Find a network to connect to. Look for the ESSID. In this example we will use the ESSID &amp;quot;MyNet&amp;quot;.&lt;br /&gt;
{{Cmd|iwlist wlan0 scanning}}&lt;br /&gt;
&lt;br /&gt;
Let&#039;s set the ESSID:&lt;br /&gt;
{{Cmd|iwconfig wlan0 essid MyNet}}&lt;br /&gt;
&lt;br /&gt;
We need to create a shared key for wpa_supplicant.&lt;br /&gt;
{{Cmd|wpa_passphrase MyNet &amp;gt; wpa.conf}}&lt;br /&gt;
It will wait for the password from stdin. Enter the password and enter. Now you will have a {{Path|wpa.conf}} file with the preshared key.&lt;br /&gt;
&lt;br /&gt;
Start wpa_supplicant with the generated config:&lt;br /&gt;
{{Cmd|wpa_supplicant -Dwext -iwlan0 -c ./wpa.conf}}&lt;br /&gt;
&lt;br /&gt;
From another console, start dhcpcd:&lt;br /&gt;
{{Cmd|udhcpc -i wlan0}}&lt;br /&gt;
&lt;br /&gt;
You should get an IP address.&lt;br /&gt;
&lt;br /&gt;
You then want to make the connection process automatic on boot-up.  Open {{Path|/etc/network/interfaces}} and add the following stanza:&lt;br /&gt;
 auto wlan0&lt;br /&gt;
 iface wlan0 inet dhcp&lt;br /&gt;
{{Note|I had to append `pre-up iwconfig wlan0 essid &amp;lt;ESSID&amp;gt;` to automatically connect to the network.}}&lt;br /&gt;
&lt;br /&gt;
You will also need to set wpa_supplicant to start automatically on boot:&lt;br /&gt;
{{Cmd|rc-update add wpa_supplicant boot}}&lt;br /&gt;
&lt;br /&gt;
Next, create {{Path|/etc/wpa_supplicant/}} (permissions of 755 with root:root are fine), and move {{Path|wpa.conf}} into that folder, renaming it to {{Path|wpa_supplicant.conf}}.&lt;br /&gt;
&lt;br /&gt;
Reboot and check that you are associated with the access point:&lt;br /&gt;
{{Cmd|iwconfig wlan0}}&lt;br /&gt;
and check that you got a DHCP lease:&lt;br /&gt;
{{Cmd|ifconfig wlan0 {{!}} grep addr}}&lt;br /&gt;
&lt;br /&gt;
== Broadcom Wi-Fi Chipset Users  ==&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;
First install the SDK an 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;
(remove $ signs, new users can&#039;t add links)&lt;br /&gt;
&lt;br /&gt;
{{Cmd|git clone git:$/$/gi$t.alpinelinux.$org/abuild}}&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;
&#039;&#039;You can&#039;t be root and must be a user of the group abuild (use groupadd)&#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;
[[Category:Networking]]&lt;/div&gt;</summary>
		<author><name>Mark</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Wi-Fi&amp;diff=13170</id>
		<title>Wi-Fi</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Wi-Fi&amp;diff=13170"/>
		<updated>2017-03-18T04:18:08Z</updated>

		<summary type="html">&lt;p&gt;Mark: /* Broadcom Wi-Fi Chipset Users */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document describes how to set up a wireless network connection with WPA encryption.&lt;br /&gt;
&lt;br /&gt;
First make sure your wireless drivers are loaded properly. (if you are using a &#039;&#039;&#039;Broadcom chipset&#039;&#039;&#039;, see the [[#Broadcom_Wi-Fi_Chipset_Users|section at the bottom of this post]].)&lt;br /&gt;
&lt;br /&gt;
Install {{Pkg|wireless-tools}} and {{Pkg|wpa_supplicant}}.&lt;br /&gt;
{{Cmd|apk add wireless-tools wpa_supplicant}}&lt;br /&gt;
&lt;br /&gt;
Bring the link up so we can look for wireless networks. (An error here means you probably need extra drivers/firmware.)&lt;br /&gt;
{{Cmd|ip link set wlan0 up}}&lt;br /&gt;
&lt;br /&gt;
Find a network to connect to. Look for the ESSID. In this example we will use the ESSID &amp;quot;MyNet&amp;quot;.&lt;br /&gt;
{{Cmd|iwlist wlan0 scanning}}&lt;br /&gt;
&lt;br /&gt;
Let&#039;s set the ESSID:&lt;br /&gt;
{{Cmd|iwconfig wlan0 essid MyNet}}&lt;br /&gt;
&lt;br /&gt;
We need to create a shared key for wpa_supplicant.&lt;br /&gt;
{{Cmd|wpa_passphrase MyNet &amp;gt; wpa.conf}}&lt;br /&gt;
It will wait for the password from stdin. Enter the password and enter. Now you will have a {{Path|wpa.conf}} file with the preshared key.&lt;br /&gt;
&lt;br /&gt;
Start wpa_supplicant with the generated config:&lt;br /&gt;
{{Cmd|wpa_supplicant -Dwext -iwlan0 -c ./wpa.conf}}&lt;br /&gt;
&lt;br /&gt;
From another console, start dhcpcd:&lt;br /&gt;
{{Cmd|udhcpc -i wlan0}}&lt;br /&gt;
&lt;br /&gt;
You should get an IP address.&lt;br /&gt;
&lt;br /&gt;
You then want to make the connection process automatic on boot-up.  Open {{Path|/etc/network/interfaces}} and add the following stanza:&lt;br /&gt;
 auto wlan0&lt;br /&gt;
 iface wlan0 inet dhcp&lt;br /&gt;
{{Note|I had to append `pre-up iwconfig wlan0 essid &amp;lt;ESSID&amp;gt;` to automatically connect to the network.}}&lt;br /&gt;
&lt;br /&gt;
You will also need to set wpa_supplicant to start automatically on boot:&lt;br /&gt;
{{Cmd|rc-update add wpa_supplicant boot}}&lt;br /&gt;
&lt;br /&gt;
Next, create {{Path|/etc/wpa_supplicant/}} (permissions of 755 with root:root are fine), and move {{Path|wpa.conf}} into that folder, renaming it to {{Path|wpa_supplicant.conf}}.&lt;br /&gt;
&lt;br /&gt;
Reboot and check that you are associated with the access point:&lt;br /&gt;
{{Cmd|iwconfig wlan0}}&lt;br /&gt;
and check that you got a DHCP lease:&lt;br /&gt;
{{Cmd|ifconfig wlan0 {{!}} grep addr}}&lt;br /&gt;
&lt;br /&gt;
== Broadcom Wi-Fi Chipset Users  ==&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;
First install the SDK an 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;
(remove $ signs, new users can&#039;t add links)&lt;br /&gt;
&lt;br /&gt;
{{Cmd|git clone git:$/$/gi$t.alpinelinux.$org/abuild}}&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;
&#039;&#039;You can&#039;t be root and must be a user of the group abuild (use groupadd)&#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;
[[Category:Networking]]&lt;/div&gt;</summary>
		<author><name>Mark</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Wi-Fi&amp;diff=13169</id>
		<title>Wi-Fi</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Wi-Fi&amp;diff=13169"/>
		<updated>2017-03-18T04:17:10Z</updated>

		<summary type="html">&lt;p&gt;Mark: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document describes how to set up a wireless network connection with WPA encryption.&lt;br /&gt;
&lt;br /&gt;
First make sure your wireless drivers are loaded properly. (if you are using a &#039;&#039;&#039;Broadcom chipset&#039;&#039;&#039;, see the [[#Broadcom_Wi-Fi_Chipset_Users|section at the bottom of this post]].)&lt;br /&gt;
&lt;br /&gt;
Install {{Pkg|wireless-tools}} and {{Pkg|wpa_supplicant}}.&lt;br /&gt;
{{Cmd|apk add wireless-tools wpa_supplicant}}&lt;br /&gt;
&lt;br /&gt;
Bring the link up so we can look for wireless networks. (An error here means you probably need extra drivers/firmware.)&lt;br /&gt;
{{Cmd|ip link set wlan0 up}}&lt;br /&gt;
&lt;br /&gt;
Find a network to connect to. Look for the ESSID. In this example we will use the ESSID &amp;quot;MyNet&amp;quot;.&lt;br /&gt;
{{Cmd|iwlist wlan0 scanning}}&lt;br /&gt;
&lt;br /&gt;
Let&#039;s set the ESSID:&lt;br /&gt;
{{Cmd|iwconfig wlan0 essid MyNet}}&lt;br /&gt;
&lt;br /&gt;
We need to create a shared key for wpa_supplicant.&lt;br /&gt;
{{Cmd|wpa_passphrase MyNet &amp;gt; wpa.conf}}&lt;br /&gt;
It will wait for the password from stdin. Enter the password and enter. Now you will have a {{Path|wpa.conf}} file with the preshared key.&lt;br /&gt;
&lt;br /&gt;
Start wpa_supplicant with the generated config:&lt;br /&gt;
{{Cmd|wpa_supplicant -Dwext -iwlan0 -c ./wpa.conf}}&lt;br /&gt;
&lt;br /&gt;
From another console, start dhcpcd:&lt;br /&gt;
{{Cmd|udhcpc -i wlan0}}&lt;br /&gt;
&lt;br /&gt;
You should get an IP address.&lt;br /&gt;
&lt;br /&gt;
You then want to make the connection process automatic on boot-up.  Open {{Path|/etc/network/interfaces}} and add the following stanza:&lt;br /&gt;
 auto wlan0&lt;br /&gt;
 iface wlan0 inet dhcp&lt;br /&gt;
{{Note|I had to append `pre-up iwconfig wlan0 essid &amp;lt;ESSID&amp;gt;` to automatically connect to the network.}}&lt;br /&gt;
&lt;br /&gt;
You will also need to set wpa_supplicant to start automatically on boot:&lt;br /&gt;
{{Cmd|rc-update add wpa_supplicant boot}}&lt;br /&gt;
&lt;br /&gt;
Next, create {{Path|/etc/wpa_supplicant/}} (permissions of 755 with root:root are fine), and move {{Path|wpa.conf}} into that folder, renaming it to {{Path|wpa_supplicant.conf}}.&lt;br /&gt;
&lt;br /&gt;
Reboot and check that you are associated with the access point:&lt;br /&gt;
{{Cmd|iwconfig wlan0}}&lt;br /&gt;
and check that you got a DHCP lease:&lt;br /&gt;
{{Cmd|ifconfig wlan0 {{!}} grep addr}}&lt;br /&gt;
&lt;br /&gt;
== Broadcom Wi-Fi Chipset Users  ==&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;
First install the SDK an Git:&lt;br /&gt;
{{Cmd|apk add alpine-sdk git}}&lt;br /&gt;
&lt;br /&gt;
Then git clone aports from git.alpinelinux.org. You can&#039;t be root and must be a user of the group abuild (use groupadd). &lt;br /&gt;
&lt;br /&gt;
(remove $ signs, new users can&#039;t add links)&lt;br /&gt;
&lt;br /&gt;
{{Cmd|git clone git:$/$/gi$t.alpinelinux.$org/abuild}}&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;
{{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;
[[Category:Networking]]&lt;/div&gt;</summary>
		<author><name>Mark</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Wi-Fi&amp;diff=13168</id>
		<title>Wi-Fi</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Wi-Fi&amp;diff=13168"/>
		<updated>2017-03-18T04:15:40Z</updated>

		<summary type="html">&lt;p&gt;Mark: Some real info for the users with the unfortunate Broadcom Wi-Fi Chipset. 2 hours of internet searching led me to this, enjoy. &amp;lt;3&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document describes how to set up a wireless network connection with WPA encryption.&lt;br /&gt;
&lt;br /&gt;
First make sure your wireless drivers are loaded properly. (if you are using a Broadcom chipset, see note at the end of this post.)&lt;br /&gt;
&lt;br /&gt;
Install {{Pkg|wireless-tools}} and {{Pkg|wpa_supplicant}}.&lt;br /&gt;
{{Cmd|apk add wireless-tools wpa_supplicant}}&lt;br /&gt;
&lt;br /&gt;
Bring the link up so we can look for wireless networks. (An error here means you probably need extra drivers/firmware.)&lt;br /&gt;
{{Cmd|ip link set wlan0 up}}&lt;br /&gt;
&lt;br /&gt;
Find a network to connect to. Look for the ESSID. In this example we will use the ESSID &amp;quot;MyNet&amp;quot;.&lt;br /&gt;
{{Cmd|iwlist wlan0 scanning}}&lt;br /&gt;
&lt;br /&gt;
Let&#039;s set the ESSID:&lt;br /&gt;
{{Cmd|iwconfig wlan0 essid MyNet}}&lt;br /&gt;
&lt;br /&gt;
We need to create a shared key for wpa_supplicant.&lt;br /&gt;
{{Cmd|wpa_passphrase MyNet &amp;gt; wpa.conf}}&lt;br /&gt;
It will wait for the password from stdin. Enter the password and enter. Now you will have a {{Path|wpa.conf}} file with the preshared key.&lt;br /&gt;
&lt;br /&gt;
Start wpa_supplicant with the generated config:&lt;br /&gt;
{{Cmd|wpa_supplicant -Dwext -iwlan0 -c ./wpa.conf}}&lt;br /&gt;
&lt;br /&gt;
From another console, start dhcpcd:&lt;br /&gt;
{{Cmd|udhcpc -i wlan0}}&lt;br /&gt;
&lt;br /&gt;
You should get an IP address.&lt;br /&gt;
&lt;br /&gt;
You then want to make the connection process automatic on boot-up.  Open {{Path|/etc/network/interfaces}} and add the following stanza:&lt;br /&gt;
 auto wlan0&lt;br /&gt;
 iface wlan0 inet dhcp&lt;br /&gt;
{{Note|I had to append `pre-up iwconfig wlan0 essid &amp;lt;ESSID&amp;gt;` to automatically connect to the network.}}&lt;br /&gt;
&lt;br /&gt;
You will also need to set wpa_supplicant to start automatically on boot:&lt;br /&gt;
{{Cmd|rc-update add wpa_supplicant boot}}&lt;br /&gt;
&lt;br /&gt;
Next, create {{Path|/etc/wpa_supplicant/}} (permissions of 755 with root:root are fine), and move {{Path|wpa.conf}} into that folder, renaming it to {{Path|wpa_supplicant.conf}}.&lt;br /&gt;
&lt;br /&gt;
Reboot and check that you are associated with the access point:&lt;br /&gt;
{{Cmd|iwconfig wlan0}}&lt;br /&gt;
and check that you got a DHCP lease:&lt;br /&gt;
{{Cmd|ifconfig wlan0 {{!}} grep addr}}&lt;br /&gt;
&lt;br /&gt;
== Broadcom Wi-Fi Chipset Users  ==&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;
First install the SDK an Git:&lt;br /&gt;
{{Cmd|apk add alpine-sdk git}}&lt;br /&gt;
&lt;br /&gt;
Then git clone aports from git.alpinelinux.org. You can&#039;t be root and must be a user of the group abuild (use groupadd). &lt;br /&gt;
&lt;br /&gt;
(remove $ signs, new users can&#039;t add links)&lt;br /&gt;
&lt;br /&gt;
{{Cmd|git clone git:$/$/gi$t.alpinelinux.$org/abuild}}&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;
{{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;
[[Category:Networking]]&lt;/div&gt;</summary>
		<author><name>Mark</name></author>
	</entry>
</feed>