<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=35&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / How to connect to Wifi without a network manager.]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=35</link>
		<description><![CDATA[The most recent posts in How to connect to Wifi without a network manager..]]></description>
		<lastBuildDate>Tue, 13 Jun 2017 01:25:51 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: How to connect to Wifi without a network manager.]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=2190#p2190</link>
			<description><![CDATA[<div class="quotebox"><cite>stephen wrote:</cite><blockquote><div><p>For example, </p><div class="codebox"><pre><code>ifconfig wlan0 up</code></pre></div><p> is accomplished with </p><div class="codebox"><pre><code>ip link set wlan0 up</code></pre></div><p>.&#160; And down: </p><div class="codebox"><pre><code>ip link set wlan0 down</code></pre></div><p>.</p></div></blockquote></div><p>the ip link way its better .. by example when some interface are gone due broken hotplug usb.. the ifconfig way does not work...</p>]]></description>
			<author><![CDATA[dummy@example.com (mckaygerhard)]]></author>
			<pubDate>Tue, 13 Jun 2017 01:25:51 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=2190#p2190</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to connect to Wifi without a network manager.]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=2185#p2185</link>
			<description><![CDATA[<p>Does this handle priorities or hotplug?</p>]]></description>
			<author><![CDATA[dummy@example.com (Somewhat Reticent)]]></author>
			<pubDate>Mon, 12 Jun 2017 23:46:33 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=2185#p2185</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to connect to Wifi without a network manager.]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=2183#p2183</link>
			<description><![CDATA[<p>Nice guide!</p><p>Though I&#039;m a little curious why you switch between ip and ifconfig and not stick with just one or the other.&#160; You mention the use of <em>ip</em> first, so why not stick with it?</p><p>For example, </p><div class="codebox"><pre><code>ifconfig wlan0 up</code></pre></div><p> is accomplished with </p><div class="codebox"><pre><code>ip link set wlan0 up</code></pre></div><p>.&#160; And down: </p><div class="codebox"><pre><code>ip link set wlan0 down</code></pre></div><p>.</p>]]></description>
			<author><![CDATA[dummy@example.com (stephen)]]></author>
			<pubDate>Mon, 12 Jun 2017 20:35:26 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=2183#p2183</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to connect to Wifi without a network manager.]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=1768#p1768</link>
			<description><![CDATA[<p>Is /etc/network/interfaces a safe place for passwords?</p><p>I put mine in /etc/wpa_supplicant/wpa_supplicant.conf... see wpa_passphrase... and the interface definition in /etc/network/interfaces only contains... </p><div class="codebox"><pre><code>iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf</code></pre></div><p>Maybe having passwords in /etc/network/interfaces is ok too... if chmod-ed not to be world readable... what side effects might that have? Does it need to be o+r for some other functionality?</p>]]></description>
			<author><![CDATA[dummy@example.com (yeti)]]></author>
			<pubDate>Mon, 29 May 2017 16:05:47 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=1768#p1768</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to connect to Wifi without a network manager.]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=1761#p1761</link>
			<description><![CDATA[<p><a href="http://kalos.mine.nu/setnet/" rel="nofollow">http://kalos.mine.nu/setnet/</a></p><p>Setnet - Text-based User Interface tool for ethernet and wi-fi network configuration<br />&#160; &#160; <br />&#160; &#160; &#160; &#160; <a href="http://kalos.mine.nu/setnet/" rel="nofollow">http://kalos.mine.nu/setnet/</a><br />&#160; &#160; &#160; &#160; setnet<br />&#160; &#160; &#160; &#160; wpasupplicant<br />&#160; &#160; &#160; &#160; net-tools<br />&#160; &#160; &#160; &#160; iputils-ping<br />&#160; &#160; &#160; &#160; bind9-host<br />&#160; &#160; &#160; &#160; traceroute</p><p>&#160; &#160; &#160; &#160; Make sure wpasupplicant was running before starting setnet.sh</p><p>&#160; &#160; &#160; &#160; run these in separate terminals:<br />&#160; &#160; &#160; &#160; sudo ifup wlan0 &amp;<br />&#160; &#160; &#160; &#160; sudo setnet.sh</p>]]></description>
			<author><![CDATA[dummy@example.com (Ozi)]]></author>
			<pubDate>Mon, 29 May 2017 06:21:54 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=1761#p1761</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to connect to Wifi without a network manager.]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=132#p132</link>
			<description><![CDATA[<p>I found this helpful. Thankyou. It was short and effective.</p>]]></description>
			<author><![CDATA[dummy@example.com (catprints)]]></author>
			<pubDate>Tue, 06 Dec 2016 13:30:09 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=132#p132</guid>
		</item>
		<item>
			<title><![CDATA[How to connect to Wifi without a network manager.]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=109#p109</link>
			<description><![CDATA[<p><strong>Introduction:</strong><br />Sometimes an installation finishes without setting up a working network connection. In such cases, a user might find themselves requiring network access to get the necessary packages to properly setup Wifi.</p><p><strong>Warning:</strong><br />Some wifi manufactures do not cooperate with open source developers to publish the required information about their devices so that free software developers can write open drivers. In this case, either reverse engineering takes place when possible technically and legally, or a proprietary closed driver is provided.</p><p>For a list of Wifi makers and whether they provide open source drivers check the link: <a href="https://wiki.debian.org/WiFi" rel="nofollow">https://wiki.debian.org/WiFi</a></p><p><strong>Note:</strong><br />Please note that once you have a wifi driver installed you can use a network manager to manage your connection. If you decide to do that, comment any lines added to your /etc/network/interfaces as a result of this howto.</p><p><strong>The Procedure for Wifis using encryption:</strong></p><ol class="decimal"><li><p>Open a terminal and run nano to open /etc/network/interfaces.</p><div class="codebox"><pre><code># nano /etc/network/interfaces</code></pre></div></li><li><p>For Wifi add these lines:</p><div class="codebox"><pre><code>iface wlan0 inet dhcp
	wpa-ssid my_wifi_name
	wpa-psk &quot;my_very_hard_password&quot;</code></pre></div><p>Replace my_wifi_name with your wifi&#039;s SSID and my_very_hard_password with your wifi password.</p></li><li><p>Save and exit nano.</p></li><li><p>To connect, use ifup as follows:</p><div class="codebox"><pre><code># ifup wlan0</code></pre></div><p>Please note you may need to use another name for wlan0. You can list your network devices by running:</p><div class="codebox"><pre><code>ip link</code></pre></div><p>Ifup will display text informing the user whether a connection has been established.</p></li></ol><p>To disconnect a connection established with ifup, run:</p><div class="codebox"><pre><code># ifdown wlan0</code></pre></div><p><strong>The Procedure for OPEN Wifis:</strong></p><ol class="decimal"><li><p>First bring up the network interface wlan0 or whatever you have.</p><div class="codebox"><pre><code>#ifconfig wlan0 up</code></pre></div></li><li><p>Assuming your wifi hotspot&#039;s name, ESSID, is freeopenwifi, run:</p><div class="codebox"><pre><code># iwconfig wlan0 essid freeopenwifi</code></pre></div></li><li><p>Run dhclient to assign an ip address so that the connection becomes useable.</p><div class="codebox"><pre><code># dhclient wlan0</code></pre></div></li></ol><p>To disconnect a connection established with ifconfig and iwconfig, follow the following short procedure:</p><ol class="alpha"><li><p>First clear the DHCP lease with:</p><div class="codebox"><pre><code># dhclient -r wlan0</code></pre></div></li><li><p>Then, either bring the connection down:</p><div class="codebox"><pre><code># ifconfig wlan0 down</code></pre></div><p>OR force a null connection:</p><div class="codebox"><pre><code># iwconfig wlan0 ap 00:00:00:00:00:00</code></pre></div></li></ol><p>Enjoy.&#160; <img src="https://dev1galaxy.org/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (edbarx)]]></author>
			<pubDate>Mon, 05 Dec 2016 17:57:05 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=109#p109</guid>
		</item>
	</channel>
</rss>
