<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=4923&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / HOWTO: Manual Wifi roaming multiple networks (no network-manager)]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=4923</link>
		<description><![CDATA[The most recent posts in HOWTO: Manual Wifi roaming multiple networks (no network-manager).]]></description>
		<lastBuildDate>Sat, 05 Mar 2022 16:25:05 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: HOWTO: Manual Wifi roaming multiple networks (no network-manager)]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=35033#p35033</link>
			<description><![CDATA[<p>Note that the <span class="bbc">ctrl_interface</span> &amp; <span class="bbc">update_config</span> lines are only needed for the <a href="https://pkginfo.devuan.org/cgi-bin/policy-query.html?c=package&amp;q=wpagui&amp;x=submit" rel="nofollow">wpagui</a> application.</p><p>It&#039;s probably best the delete the un-hashed (commented) <span class="bbc">psk</span> lines from the wpa_supplicant.conf network stanzas to prevent casual snooping. The hash is unsalted and so trivial to reverse but it&#039;s better than nothing.</p><p>I would actually recommend <a href="https://pkginfo.devuan.org/cgi-bin/policy-query.html?c=package&amp;q=iwd&amp;x=submit" rel="nofollow">iwd</a> over wpa_supplicant because it handles roaming better, it&#039;s more secure with a smaller code base and it has fewer dependencies. The only caveat with Devuan is that the orphan-sysvinit-scripts package is needed and the init script needs to be copied over and enabled manually as per <a href="https://dev1galaxy.org/viewtopic.php?id=4865" rel="nofollow">https://dev1galaxy.org/viewtopic.php?id=4865</a>.</p><p>See <a href="https://wiki.debian.org/WiFi/HowToUse#Using_IWD" rel="nofollow">https://wiki.debian.org/WiFi/HowToUse#Using_IWD</a> &amp; <a href="https://wiki.archlinux.org/title/Iwd" rel="nofollow">https://wiki.archlinux.org/title/Iwd</a> for usage guides; iwd does not use /etc/network/interfaces or ifupdown at all.</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Sat, 05 Mar 2022 16:25:05 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=35033#p35033</guid>
		</item>
		<item>
			<title><![CDATA[HOWTO: Manual Wifi roaming multiple networks (no network-manager)]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=35030#p35030</link>
			<description><![CDATA[<p>In this guide, I want to show how to manually setup your wireless lan connection, so your laptor automatically connects to the network nearby.<br />If you are using the network-manager service, you don&#039;t need any of this.</p><p>1 - make sure &#039;<strong>/etc/network/interfaces</strong>&#039; contains the following lines, where wlan0 in this case is the name of the network adapter</p><div class="codebox"><pre><code>iface default inet dhcp

allow-hotplug wlan0
iface wlan0 inet manual
	wpa-roam /etc/wpa_supplicant.conf</code></pre></div><p>2 - if you don&#039;t have &#039;<strong>/etc/wpa_supplicant.conf</strong> &#039;, create it and make sure only root can acces it because it will contain your passwords</p><div class="codebox"><pre><code>sudo touch /etc/wpa_supplicant.conf
sudo chown root:root /etc/wpa_supplicant.conf
sudo chmod 600 /etc/wpa_supplicant.conf</code></pre></div><p>3 - to get the stanza&#039;s for your network, copy the output of the following command to /etc/wpa_supplicant.conf</p><div class="codebox"><pre><code>wpa_passphrase &#039;YOUR ACCESSPOINT&#039; &#039;YOUR PASSWORD&#039;</code></pre></div><p>Here is an example how <strong>/etc/wpa_supplicant.conf</strong> should look.<br />For networks that use the same ESSID, add the mac address and optional a priority.</p><div class="codebox"><pre class="vscroll"><code># for documentation see:
# less /usr/share/doc/wpasupplicant/examples/wpa-roam.conf
# zless /usr/share/doc/wpasupplicant/README.Debian.gz  
# zless /usr/share/doc/wpa_supplicant/README.modes.gz

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=netdev
#ap_scan=1
update_config=1

# Home
network={
	bssid=AA:AA:AA:AA:AA:AA
	ssid=&quot;Foo&quot;
	#psk=&quot;12345678&quot;
	psk=15af1abdaa5ea8efaa1d28551496c934f5e7183f426b444dd1c33d679501cb11
	priority=7
}

# Upstairs
network={
	bssid=BB:BB:BB:BB:BB:BB
	ssid=&quot;Foo&quot;
	#psk=&quot;88888888&quot;
	psk=02dee96ae4492999724eb74f23bacac61a111f5a7f53c89bd83eba764a5d904f
	priority=5
}

# Office
network={
	ssid=&quot;Office&quot;
	#psk=&quot;88888888&quot;
	psk=166f4b50fafb6cb5c63e5ebf9b35b2171da85f7c554e787c10fef654abba3a16
}</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (alphalpha)]]></author>
			<pubDate>Sat, 05 Mar 2022 14:22:06 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=35030#p35030</guid>
		</item>
	</channel>
</rss>
