summaryrefslogtreecommitdiff
path: root/static/freebsd/man7/networking.7 4.html
diff options
context:
space:
mode:
Diffstat (limited to 'static/freebsd/man7/networking.7 4.html')
-rw-r--r--static/freebsd/man7/networking.7 4.html110
1 files changed, 0 insertions, 110 deletions
diff --git a/static/freebsd/man7/networking.7 4.html b/static/freebsd/man7/networking.7 4.html
deleted file mode 100644
index 7b0b4464..00000000
--- a/static/freebsd/man7/networking.7 4.html
+++ /dev/null
@@ -1,110 +0,0 @@
-<table class="head">
- <tr>
- <td class="head-ltitle">NETWORKING(7)</td>
- <td class="head-vol">Miscellaneous Information Manual</td>
- <td class="head-rtitle">NETWORKING(7)</td>
- </tr>
-</table>
-<div class="manual-text">
-<section class="Sh">
-<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
-<p class="Pp"><code class="Nm">networking</code>, <code class="Nm">wifi</code>
- &#x2014; <span class="Nd">quickstart guide to connecting to a
- network</span></p>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-<p class="Pp">In the following examples, it is assumed that we are connecting to
- Ethernet with the first interface found by the <a class="Xr">ix(4)</a>
- driver, and Wi-Fi with the first interface found by the
- <a class="Xr">iwlwifi(4)</a> driver, though your hardware will vary.</p>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="EXAMPLES"><a class="permalink" href="#EXAMPLES">EXAMPLES</a></h1>
-<dl class="Bl-tag">
- <dt id="Example"><a class="permalink" href="#Example"><b class="Sy">Example 1:
- Connecting to an Ethernet network with DHCP</b></a></dt>
- <dd>
- <p class="Pp">Ask for a DHCP lease on the first Intel 10Gb Ethernet
- interface:</p>
- <div class="Bd Pp Bd-indent Li">
- <pre><code class="Ic"># dhclient ix0</code></pre>
- </div>
- </dd>
- <dt id="Example~2"><a class="permalink" href="#Example~2"><b class="Sy">Example
- 2: Connecting to a cellular network with USB tethering</b></a></dt>
- <dd>
- <p class="Pp">Ask for a DHCP lease on the first USB tethering interface:</p>
- <div class="Bd Pp Bd-indent Li">
- <pre><code class="Ic"># dhclient ue0</code></pre>
- </div>
- </dd>
- <dt id="Example~3"><a class="permalink" href="#Example~3"><b class="Sy">Example
- 3: Connecting to a Wi-Fi network</b></a></dt>
- <dd>
- <p class="Pp">Identify your Wi-Fi hardware:</p>
- <div class="Bd Pp Bd-indent Li">
- <pre><code class="Ic">% sysctl net.wlan.devices</code></pre>
- </div>
- <p class="Pp" id="wlan0">Create the
- <a class="permalink" href="#wlan0"><b class="Sy">wlan0</b></a> interface
- with the first Intel Wi-Fi adapter:</p>
- <div class="Bd Pp Bd-indent Li">
- <pre><code class="Ic"># sysrc wlans_iwlwifi0=&quot;wlan0&quot;</code></pre>
- </div>
- <p class="Pp">Set that interface to ask for a DHCP lease with
- <a class="Xr">wpa_supplicant(8)</a>:</p>
- <div class="Bd Pp Bd-indent Li">
- <pre><code class="Ic"># sysrc ifconfig_wlan0=&quot;WPA SYNCDHCP&quot;</code></pre>
- </div>
- <p class="Pp">Enter the details of the Wi-Fi network:</p>
- <div class="Bd Pp Bd-indent Li">
- <pre><code class="Ic"># cd /etc/</code>
-<code class="Ic"># wpa_passphrase &quot;myssid&quot; &quot;mypassphrase&quot; &gt;&gt; wpa_supplicant.conf</code></pre>
- </div>
- <p class="Pp">Restart the network interface daemon:</p>
- <div class="Bd Pp Bd-indent Li">
- <pre><code class="Ic"># service netif restart</code></pre>
- </div>
- </dd>
- <dt id="Example~4"><a class="permalink" href="#Example~4"><b class="Sy">Example
- 4: Scanning for Wi-Fi networks</b></a></dt>
- <dd>
- <div class="Bd Pp Bd-indent Li">
- <pre><code class="Ic">% ifconfig wlan0 scan</code></pre>
- </div>
- </dd>
- <dt id="Example~5"><a class="permalink" href="#Example~5"><b class="Sy">Example
- 5: Airplane mode</b></a></dt>
- <dd>
- <div class="Bd Pp Bd-indent Li">
- <pre><code class="Ic"># service netif stop</code></pre>
- </div>
- </dd>
-</dl>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
- ALSO</a></h1>
-<p class="Pp"><a class="Xr">bsdconfig(8)</a>, <a class="Xr">dhclient(8)</a>,
- <a class="Xr">ifconfig(8)</a>, <a class="Xr">wpa_passphrase(8)</a></p>
-<p class="Pp">The Advanced Networking chapter of the
- <span class="Ux">FreeBSD</span> Handbook.</p>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="CAVEATS"><a class="permalink" href="#CAVEATS">CAVEATS</a></h1>
-<p class="Pp">Shell Special Characters in the <var class="Ar">SSID</var> or
- <var class="Ar">passphrase</var> will need to be escaped for
- <a class="Xr">wpa_passphrase(8)</a>, commonly using
- &#x2018;<code class="Li">\</code>&#x2019;, see the manual page for your
- shell for more details.</p>
-<p class="Pp">Stopping the network interface service also stops internal
- networking.</p>
-</section>
-</div>
-<table class="foot">
- <tr>
- <td class="foot-date">March 21, 2025</td>
- <td class="foot-os">FreeBSD 15.0</td>
- </tr>
-</table>