diff options
author | Esteban Carnevale <alfplayer@mailoo.org> | 2013-09-02 20:03:39 -0300 |
---|---|---|
committer | Esteban Carnevale <alfplayer@mailoo.org> | 2013-09-02 20:03:39 -0300 |
commit | 39c18ebbc709ebafd3696a664ac77b65db9f8cf5 (patch) | |
tree | b65fcaf73a84d5c322b2b142330391e91d4e126b | |
parent | 7ef132954bce48b900cb50026b2ce4ddca284925 (diff) |
Update network.html.
-rw-r--r-- | configs/profile/root-image/root/network.html | 290 |
1 files changed, 108 insertions, 182 deletions
diff --git a/configs/profile/root-image/root/network.html b/configs/profile/root-image/root/network.html index b6bd5cc..057e680 100644 --- a/configs/profile/root-image/root/network.html +++ b/configs/profile/root-image/root/network.html @@ -1,265 +1,191 @@ -<!DOCTYPE html> -<html> -<head></head><body> -<h1 id="g0.1">Start installing - Establish an internet connection</h2> -<p>This document is from the Installation section of the Beginners Guide. It shows how to connect to the internet using the Parabola live media. After connecting to the internet, the <a href="https://wiki.parabolagnulinux.org/Installation_Guide" title="Installation Guide">Installation Guide</a> (online link) can be followed to complete the installation.</p> -<div style="padding: 5px; margin: 2.00em 0; background-color: #DDFFDD; border: thin solid #BBDDBB; overflow: hidden;"> -<table id="toc" class="toc"> -<tbody> -<tr> -<td> -<div id="toctitle"> -<h2>Contents</h2> -</div> +Online version: <a href="https://wiki.parabolagnulinux.org/Start_installing">https://wiki.parabolagnulinux.org/Start_installing</a> +<table id="toc" class="toc"><tr><td><div id="toctitle"><h2>Contents</h2></div> <ul> -<li class="toclevel-1 tocsection-1"><a href="#Installation"><span class="tocnumber">1</span> <span class="toctext">Installation</span></a> +<li class="toclevel-1 tocsection-1"><a href="#Start_installing"><span class="tocnumber">1</span> <span class="toctext">Start installing</span></a> <ul> <li class="toclevel-2 tocsection-2"><a href="#Change_the_language"><span class="tocnumber">1.1</span> <span class="toctext">Change the language</span></a></li> <li class="toclevel-2 tocsection-3"><a href="#Establish_an_internet_connection"><span class="tocnumber">1.2</span> <span class="toctext">Establish an internet connection</span></a> <ul> <li class="toclevel-3 tocsection-4"><a href="#Wired"><span class="tocnumber">1.2.1</span> <span class="toctext">Wired</span></a></li> <li class="toclevel-3 tocsection-5"><a href="#Wireless"><span class="tocnumber">1.2.2</span> <span class="toctext">Wireless</span></a></li> -<li class="toclevel-3 tocsection-6"><a href="#xDSL_.28PPPoE.29.2C_analog_modem_or_ISDN"><span class="tocnumber">1.2.3</span> <span class="toctext">xDSL (PPPoE), analog modem or ISDN</span></a></li> +<li class="toclevel-3 tocsection-6"><a href="#Analog_modem.2C_ISDN_or_PPPoE_DSL"><span class="tocnumber">1.2.3</span> <span class="toctext">Analog modem, ISDN or PPPoE DSL</span></a></li> <li class="toclevel-3 tocsection-7"><a href="#Behind_a_proxy_server"><span class="tocnumber">1.2.4</span> <span class="toctext">Behind a proxy server</span></a></li> </ul> </li> </ul> </li> </ul> -</td> -</tr> -</tbody> -</table> -</div> -<h2 id="g0.1">Installation </h2> +</td></tr></table> +<h2> <span class="mw-headline" id="Start_installing"> Start installing </span></h2> <p>You are now presented with a shell prompt, automatically logged in as root. </p> -<h3 id="g0.1.1">Change the language </h3> -<div style="padding: 5px; margin: 0.50em 0; background-color: #DDFFDD; border: thin solid #BBDDBB; overflow: hidden;"><strong> Tip: </strong>These are optional for the majority of users. Useful only if you plan on writing in your own language in any of the configuration files, if you use diacritical marks in the Wi-Fi password, or if you would like to receive system messages (e.g. possible errors) in your own language.</div> -<p>By default, the keyboard layout is set to <code style="display:inline-block; padding: 0.1em 0.3em;">us</code>. If you have a non-<a href="http://en.wikipedia.org/wiki/File:KB_United_States-NoAltGr.svg" class="extiw" title="wikipedia:File:KB United States-NoAltGr.svg">US</a> keyboard layout, run: +<h3> <span class="mw-headline" id="Change_the_language"> Change the language </span></h3> +<div style="padding: 5px; margin: 0.50em 0; background-color: #DDFFDD; border: thin solid #BBDDBB"><strong> Tip: </strong>These are optional for the majority of users. Useful only if you plan on writing in your own language in any of the configuration files, if you use diacritical marks in the Wi-Fi password, or if you would like to receive system messages (e.g. possible errors) in your own language.</div> +<p>By default, the keyboard layout is set to <span style="display:inline-block; background-color:#ebf1f5; padding: 0.1em 0.2em; font-family:monospace; color:#222;">us</span>. If you have a non-<a href="http://en.wikipedia.org/wiki/File:KB_United_States-NoAltGr.svg" class="extiw" title="wikipedia:File:KB United States-NoAltGr.svg">US</a> keyboard layout, run: </p> <pre># loadkeys <i>layout</i> </pre> -<p>...where <i>layout</i> can be <code style="display:inline-block; padding: 0.1em 0.3em;">fr</code>, <code style="display:inline-block; padding: 0.1em 0.3em;">uk</code>, <code style="display:inline-block; padding: 0.1em 0.3em;">be-latin1</code>, etc. See <a href="https://wiki.archlinux.org/index.php/KEYMAP#Keyboard_layouts" title="KEYMAP">here</a> for a comprehensive list. -</p> -<p>The font should also be changed, because most languages use more glyphs than the 26 letter <a href="http://en.wikipedia.org/wiki/English_alphabet" class="extiw" title="wikipedia:English alphabet">English alphabet</a>. Otherwise some foreign characters may show up as white squares or as other symbols. Note that the name is case-sensitive, so please type it <i>exactly</i> as you see it: +<p>...where <i>layout</i> can be <span style="display:inline-block; background-color:#ebf1f5; padding: 0.1em 0.2em; font-family:monospace; color:#222;">fr</span>, <span style="display:inline-block; background-color:#ebf1f5; padding: 0.1em 0.2em; font-family:monospace; color:#222;">uk</span>, <span style="display:inline-block; background-color:#ebf1f5; padding: 0.1em 0.2em; font-family:monospace; color:#222;">dvorak</span>, <span style="display:inline-block; background-color:#ebf1f5; padding: 0.1em 0.2em; font-family:monospace; color:#222;">be-latin1</span>, etc. See <a href="https://wiki.parabolagnulinux.org/KEYMAP#Keyboard_layouts" title="KEYMAP">here</a> for a comprehensive list. +</p><p>The font should also be changed, because most languages use more glyphs than the 26 letter <a href="http://en.wikipedia.org/wiki/English_alphabet" class="extiw" title="wikipedia:English alphabet">English alphabet</a>. Otherwise some foreign characters may show up as white squares or as other symbols. Note that the name is case-sensitive, so please type it <i>exactly</i> as you see it: </p> <pre># setfont Lat2-Terminus16 </pre> -<p>By default, the language is set to English (US). If you would like to change the language for the install process <i>(German, in this example)</i>, remove the <code style="display:inline-block; padding: 0.1em 0.3em;">#</code> in front of the <a rel="nofollow" class="external text" href="http://www.greendesktiny.com/support/knowledgebase_detail.php?ref=EUH-483">locale</a> you want from <code style="display:inline-block; padding: 0.1em 0.3em;">/etc/locale.gen</code>, along with English (US). Please choose the <code style="display:inline-block; padding: 0.1em 0.3em;">UTF-8</code> entry. -</p> -<p>Use <code style="display:inline-block; background-color: #ebf1f5; padding: 0.1em 0.3em; font-weight:bold;">Ctrl+X</code> to exit, and when prompted to save changes, press <code style="display:inline-block; background-color: #ebf1f5; padding: 0.1em 0.3em; font-weight:bold;">Y</code> and <code style="display:inline-block; background-color: #ebf1f5; padding: 0.1em 0.3em; font-weight:bold;">Enter</code> to use the same filename. -</p> -<pre style="margin-bottom: 0; border-bottom:none; padding-bottom:0.8em;"># nano /etc/locale.gen</pre> -<pre style="margin-top: 0; border-top-style:dashed; padding-top: 0.8em;">en_US.UTF-8 UTF-8 -de_DE.UTF-8 UTF-8# locale-gen +<p>By default, the language is set to English (US). If you would like to change the language for the install process <i>(German, in this example)</i>, remove the <span style="display:inline-block; background-color:#ebf1f5; padding: 0.1em 0.2em; font-family:monospace; color:#222;">#</span> in front of the <a rel="nofollow" class="external text" href="http://www.greendesktiny.com/support/knowledgebase_detail.php?ref=EUH-483">locale</a> you want from <span style="display:inline-block; background-color:#ebf1f5; padding: 0.1em 0.2em; font-family:monospace; color:#222;">/etc/locale.gen</span>, along with English (US). Please choose the <span style="display:inline-block; background-color:#ebf1f5; padding: 0.1em 0.2em; font-family:monospace; color:#222;">UTF-8</span> entry. +</p><p>Use <span style="display:inline-block; background-color:#ebf1f5; padding: 0.1em 0.2em; font-family:monospace; color:#222;">Ctrl+X</span> to exit, and when prompted to save changes, press <span style="display:inline-block; background-color:#ebf1f5; padding: 0.1em 0.2em; font-family:monospace; color:#222;">Y</span> and <span style="display:inline-block; background-color:#ebf1f5; padding: 0.1em 0.2em; font-family:monospace; color:#222;">Enter</span> to use the same filename. +</p> +<pre style="margin-bottom: 0; border-bottom:none; padding-bottom:0.8em; overflow: auto;"># nano /etc/locale.gen</pre> +<pre style="margin-top: 0; border-top-style:dashed; padding-top: 0.8em; overflow: auto;"> +en_US.UTF-8 UTF-8 +de_DE.UTF-8 UTF-8</pre> +<pre># locale-gen # export LANG=de_DE.UTF-8 </pre> -<p>Remember, <code style="display:inline-block; background-color: #ebf1f5; padding: 0.1em 0.3em; font-weight:bold;">LAlt+LShift</code> activates and deactivates the keymap. -</p> -<h3 id="g0.1.2">Establish an internet connection </h3> -<div style="padding: 5px; margin: 0.50em 0; background-color: #FFDDDD; border: thin solid #DDBBBB; overflow: hidden;"><strong> Warning: </strong>udev no longer assigns network interface names according to the wlanX and ethX naming scheme. If you're coming from a different distribution or are reinstalling Parabola and not aware of the new interface naming style, please do not assume that your wireless interface is named wlan0, or that your wired interface is named eth0. You can use the "ip" utility to discover the names of your interfaces.</div> -<p>From systemd-197's release and onward, udev now assigns predictable, stable network interface names that deviate from the legacy incremental naming scheme (wlan0, wlan1, etc.). These interface names are guaranteed to be persistent across reboots, which solves the problem of the lack of predictability of network interface name assignment. For more information about why this was necessary, read <a rel="nofollow" class="external free" href="http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames">http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames</a> . +<p>Remember, <span style="display:inline-block; background-color:#ebf1f5; padding: 0.1em 0.2em; font-family:monospace; color:#222;">LAlt+LShift</span> activates and deactivates the keymap. </p> -<p>The <code style="display:inline-block; padding: 0.1em 0.3em;">dhcpcd</code> network daemon is started automatically at boot and it will attempt to start a wired connection, if available. Try pinging a website to see if it was successful. And since Google is always on... +<h3> <span class="mw-headline" id="Establish_an_internet_connection"> Establish an internet connection </span></h3> +<div style="padding: 5px; margin: 0.50em 0; background-color: #FFDDDD; border: thin solid #DDBBBB"><strong> Warning: </strong>As of v197, udev no longer assigns network interface names according to the wlanX and ethX naming scheme. If you are coming from a different distribution or are reinstalling Parabola and not aware of the new interface naming style, please do not assume that your wireless interface is named wlan0, or that your wired interface is named eth0. You can use the command <span style="display:inline-block; background-color:#ebf1f5; padding: 0.1em 0.2em; font-family:monospace; color:#222;">ip link</span> to discover the names of your interfaces.</div> +<p>The <span style="display:inline-block; background-color:#ebf1f5; padding: 0.1em 0.2em; font-family:monospace; color:#222;">dhcpcd</span> network daemon starts automatically during boot and it will attempt to start a wired connection. Try to ping a server to see if a connection was established. For example, gnu.org: </p> -<pre style="margin-bottom: 0; border-bottom:none; padding-bottom:0.8em;"># ping -c 3 www.google.com</pre> -<pre style="margin-top: 0; border-top-style:dashed; padding-top: 0.8em;">PING www.l.google.com (74.125.132.105) 56(84) bytes of data. -64 bytes from wb-in-f105.1e100.net (74.125.132.105): icmp_req=1 ttl=50 time=17.0 ms -64 bytes from wb-in-f105.1e100.net (74.125.132.105): icmp_req=2 ttl=50 time=18.2 ms -64 bytes from wb-in-f105.1e100.net (74.125.132.105): icmp_req=3 ttl=50 time=16.6 ms +<pre style="margin-bottom: 0; border-bottom:none; padding-bottom:0.8em; overflow: auto;"># ping -c 3 gnu.org</pre> +<pre style="margin-top: 0; border-top-style:dashed; padding-top: 0.8em; overflow: auto;">PING gnu.org (208.118.235.148) 56(84) bytes of data. +64 bytes from wildebeest.gnu.org (208.118.235.148): icmp_seq=1 ttl=47 time=183 ms +64 bytes from wildebeest.gnu.org (208.118.235.148): icmp_seq=2 ttl=47 time=168 ms +64 bytes from wildebeest.gnu.org (208.118.235.148): icmp_seq=3 ttl=47 time=183 ms ---- www.l.google.com ping statistics --- -3 packets transmitted, 3 received, 0% packet loss, time 2003ms -rtt min/avg/max/mdev = 16.660/17.320/18.254/0.678 ms</pre> -<p>If you get a <code style="display:inline-block; padding: 0.1em 0.3em;">ping: unknown host</code> error, first check if there is any problem with your cable (or if you have enough wireless signal), otherwise you will need to set up the network manually, as explained below. +--- gnu.org ping statistics --- +3 packets transmitted, 3 received, 0% packet loss, time 2002ms +rtt min/avg/max/mdev = 168.131/178.357/183.914/7.248 ms</pre> +<p>If you get a <span style="display:inline-block; background-color:#ebf1f5; padding: 0.1em 0.2em; font-family:monospace; color:#222;">ping: unknown host</span> error, first check if there is an issue with your cable or wireless signal strength. If not, you will need to set up the network manually, as explained below. Once a connection is established move on to <a href="https://wiki.parabolagnulinux.org/Installation_Guide" title="Installation Guide">Installation Guide</a>. </p> -<p>Otherwise, move on to <a href="#Prepare_the_storage_drive">Prepare the storage drive</a>. -</p> -<h4 id="g0.1.2.1">Wired </h4> +<h4> <span class="mw-headline" id="Wired"> Wired </span></h4> <p>Follow this procedure if you need to set up a wired connection via a static IP address. +</p><p>First, disable the dhcpcd service which was started automatically at boot: </p> -<p>First, identify the name of your ethernet interface. +<pre># systemctl stop dhcpcd.service +</pre> +<p>Identify the name of your Ethernet interface. </p> -<pre style="margin-bottom: 0; border-bottom:none; padding-bottom:0.8em;"># ip link</pre> -<pre style="margin-top: 0; border-top-style:dashed; padding-top: 0.8em;">1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT +<pre style="margin-bottom: 0; border-bottom:none; padding-bottom:0.8em; overflow: auto;"># ip link</pre> +<pre style="margin-top: 0; border-top-style:dashed; padding-top: 0.8em; overflow: auto;"> +1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: enp2s0f0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT qlen 1000 link/ether 00:11:25:31:69:20 brd ff:ff:ff:ff:ff:ff 3: wlp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT qlen 1000 link/ether 01:02:03:04:05:06 brd ff:ff:ff:ff:ff:ff</pre> -<p>In this case, the ethernet interface is enp2s0f0. If you're unsure, your ethernet interface is likely to start with the letter "e", and unlikely to be "lo" or start with the letter "w". You can also use iwconfig and see which interfaces are not wireless: +<p>In this example, the Ethernet interface is <span style="display:inline-block; background-color:#ebf1f5; padding: 0.1em 0.2em; font-family:monospace; color:#222;">enp2s0f0</span>. If you are unsure, your Ethernet interface is likely to start with the letter "e", and unlikely to be "lo" or start with the letter "w". You can also use <span style="display:inline-block; background-color:#ebf1f5; padding: 0.1em 0.2em; font-family:monospace; color:#222;">iwconfig</span> and see which interfaces are not wireless: </p> -<pre style="margin-bottom: 0; border-bottom:none; padding-bottom:0.8em;"># iwconfig</pre> -<pre style="margin-top: 0; border-top-style:dashed; padding-top: 0.8em;">enp2s0f0 no wireless extensions. -wlp3s0 IEEE 802.11bgn ESSID:"NETGEAR97" - Mode:Managed Frequency:2.427 GHz Access Point: 2C:B0:5D:9C:72:BF - Bit Rate=65 Mb/s Tx-Power=16 dBm +<pre style="margin-bottom: 0; border-bottom:none; padding-bottom:0.8em; overflow: auto;"># iwconfig</pre> +<pre style="margin-top: 0; border-top-style:dashed; padding-top: 0.8em; overflow: auto;">enp2s0f0 no wireless extensions. +wlp3s0 IEEE 802.11bgn ESSID:"NETGEAR97" + Mode:Managed Frequency:2.427 GHz Access Point: 2C:B0:5D:9C:72:BF + Bit Rate=65 Mb/s Tx-Power=16 dBm Retry long limit:7 RTS thr:off Fragment thr:off Power Management:on - Link Quality=61/70 Signal level=-49 dBm + Link Quality=61/70 Signal level=-49 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:430 Missed beacon:0 lo no wireless extensions.</pre> -<p>In this example, neither enp2s0f0 nor the loopback device have wireless extensions, meaning enp2s0f0 is our ethernet interface. -</p> -<p>You also need to know these settings: +<p>In this example, neither <span style="display:inline-block; background-color:#ebf1f5; padding: 0.1em 0.2em; font-family:monospace; color:#222;">enp2s0f0</span> nor the loopback device have wireless extensions, meaning <span style="display:inline-block; background-color:#ebf1f5; padding: 0.1em 0.2em; font-family:monospace; color:#222;">enp2s0f0</span> is our Ethernet interface. +</p><p>You also need to know these settings: </p> -<ul> -<li> Static IP address. -</li> -<li> Subnet mask. -</li> -<li> Gateway's IP address. -</li> -<li> Name servers' (DNS) IP addresses. -</li> -<li> Domain name (unless you're on a local LAN, in which case you can make it up). -</li> -</ul> -<p>Activate the connected Ethernet interface (e.g. <code style="display:inline-block; padding: 0.1em 0.3em;">enp2s0f0</code>): +<ul><li> Static IP address. +</li><li> Subnet mask. +</li><li> Gateway's IP address. +</li><li> Name servers' (DNS) IP addresses. +</li><li> Domain name (unless you are on a local LAN, in which case you can make it up). +</li></ul> +<p>Activate the connected Ethernet interface (e.g. <span style="display:inline-block; background-color:#ebf1f5; padding: 0.1em 0.2em; font-family:monospace; color:#222;">enp2s0f0</span>): </p> <pre># ip link set enp2s0f0 up </pre> <p>Add the address: </p> -<pre># ip addr add <ip address>/<subnetmask> dev <interface> +<pre># ip addr add <i>ip_address</i>/<i>subnetmask</i> dev <i>interface_name</i> </pre> <p>For example: </p> <pre># ip addr add 192.168.1.2/24 dev enp2s0f0 </pre> -<p>For more options, run <code style="display:inline-block; padding: 0.1em 0.3em;">man ip</code>. +<p>For more options, run <span style="display:inline-block; background-color:#ebf1f5; padding: 0.1em 0.2em; font-family:monospace; color:#222;">man ip</span>. +</p><p>Add your gateway like this, substituting your own gateway's IP address: </p> -<p>Add your gateway like this, substituting your own gateway's IP address: -</p> -<pre># ip route add default via <ip address> +<pre># ip route add default via <i>ip_address</i> </pre> <p>For example: </p> <pre># ip route add default via 192.168.1.1 </pre> -<p>Edit <code style="display:inline-block; padding: 0.1em 0.3em;">resolv.conf</code>, substituting your name servers' IP addresses and your local domain name: +<p>Edit <span style="display:inline-block; background-color:#ebf1f5; padding: 0.1em 0.2em; font-family:monospace; color:#222;">resolv.conf</span>, substituting your name servers' IP addresses and your local domain name: </p> -<pre style="margin-bottom: 0; border-bottom:none; padding-bottom:0.8em;"># nano /etc/resolv.conf</pre> -<pre style="margin-top: 0; border-top-style:dashed; padding-top: 0.8em;">nameserver 61.23.173.5 +<pre style="margin-bottom: 0; border-bottom:none; padding-bottom:0.8em; overflow: auto;"># nano /etc/resolv.conf</pre> +<pre style="margin-top: 0; border-top-style:dashed; padding-top: 0.8em; overflow: auto;"> +nameserver 61.23.173.5 nameserver 61.95.849.8 search example.com</pre> -<div style="padding: 5px; margin: 0.50em 0; background-color: #DDDDFF; border: thin solid #BBBBDD; overflow: hidden;"><strong> Note: </strong>Currently, you may include a maximum of 3 <code style="display:inline-block; padding: 0.1em 0.3em;">nameserver</code> lines.</div> -<p>You should now have a working network connection. If you do not, check the detailed <a href="https://wiki.archlinux.org/index.php/Network_Configuration" title="Network Configuration">Network Configuration</a> page. +<div style="padding: 5px; margin: 0.50em 0; background-color: #DDDDFF; border: thin solid #BBBBDD"><strong> Note: </strong>Currently, you may include a maximum of three <span style="display:inline-block; background-color:#ebf1f5; padding: 0.1em 0.2em; font-family:monospace; color:#222;">nameserver</span> lines. In order to overcome this limitation, you can use a locally caching nameserver like <a href="https://wiki.parabolagnulinux.org/Dnsmasq" title="Dnsmasq" class="mw-redirect">Dnsmasq</a>. </div> +<p>You should now have a working network connection. If you do not, check the detailed <a href="https://wiki.parabolagnulinux.org/Network_Configuration" title="Network Configuration" class="mw-redirect">Network Configuration</a> page. </p> -<h4 id="g0.1.2.2">Wireless </h4> +<h4> <span class="mw-headline" id="Wireless"> Wireless </span></h4> <p>Follow this procedure if you need wireless connectivity (Wi-Fi) during the installation process. +</p><p>First, identify the name of your wireless interface. </p> -<p>If you're coming from another distribution, or if this is your first time installing Parabola since the deprecation of the old interface naming scheme, you might be surprised to learn that the first wireless interface is not named "wlan0". In fact, none of the interfaces are automatically prefixed with "wlan" any longer. Don't panic; simply execute <code style="display:inline-block; padding: 0.1em 0.3em;">iwconfig</code> to discover the name of your wireless interface. -</p> -<p>The wireless drivers and utilities are now available to you in the live environment of the installation media. A good knowledge of your wireless hardware will be of key importance to successful configuration. Note that the following quick-start procedure <i>executed at this point in the installation</i> will initialize your wireless hardware for use <i>in the live environment of the installation media</i>. These steps (or some other form of wireless management) <b>must be repeated from the actual installed system after booting into it</b>. -</p> -<p>Also note that these steps are optional if wireless connectivity is unnecessary at this point in the installation; wireless functionality may always be established later. -</p> -<div style="padding: 5px; margin: 0.50em 0; background-color: #DDDDFF; border: thin solid #BBBBDD; overflow: hidden;"><strong> Note: </strong>The following examples use <code style="display:inline-block; padding: 0.1em 0.3em;">wlp3s0</code> for the interface and <code style="display:inline-block; padding: 0.1em 0.3em;">linksys</code> for the ESSID. Remember to change these values according to your setup.</div> -<p>The basic procedure will be: +<pre style="margin-bottom: 0; border-bottom:none; padding-bottom:0.8em; overflow: auto;"># iw dev</pre> +<pre style="margin-top: 0; border-top-style:dashed; padding-top: 0.8em; overflow: auto;">phy#0 + Interface wlp3s0 + ifindex 3 + wdev 0x1 + addr 00:21:6a:5e:52:bc + type managed</pre> +<p>In this example, <span style="display:inline-block; background-color:#ebf1f5; padding: 0.1em 0.2em; font-family:monospace; color:#222;">wlp3s0</span> is the available wireless interface. If you are unsure, your wireless interface is likely to start with the letter "w", and unlikely to be "lo" or start with the letter "e". </p> -<ul> -<li> Identify the wireless interface: -</li> -</ul> -<pre># lspci | grep -i net -</pre> -<p>Or, if using a USB adapter: +<div style="padding: 5px; margin: 0.50em 0; background-color: #DDDDFF; border: thin solid #BBBBDD"><strong> Note: </strong>If you do not see output similar to this, then your wireless driver has not been loaded. Please see <a href="https://wiki.parabolagnulinux.org/Wireless_Setup" title="Wireless Setup">Wireless Setup</a> for more detailed information.</div> +<p>Bring the interface up with: </p> -<pre># lsusb -</pre> -<ul> -<li> Ensure udev has loaded the driver, and that the driver has created a usable wireless kernel interface with <code style="display:inline-block; padding: 0.1em 0.3em;">iwconfig</code>: -</li> -</ul> -<div style="padding: 5px; margin: 0.50em 0; background-color: #DDDDFF; border: thin solid #BBBBDD; overflow: hidden;"><strong> Note: </strong>If you do not see output similar to this, then your wireless driver has not been loaded. If this is the case, you must load the driver yourself. Please see <a href="https://wiki.archlinux.org/index.php/Wireless_Setup" title="Wireless Setup">Wireless Setup</a> for more detailed information.</div> -<pre style="margin-bottom: 0; border-bottom:none; padding-bottom:0.8em;"># iwconfig</pre> -<pre style="margin-top: 0; border-top-style:dashed; padding-top: 0.8em;">enp2s0f0 no wireless extensions. -wlp3s0 IEEE 802.11bgn ESSID:"NETGEAR97" - Mode:Managed Frequency:2.427 GHz Access Point: 2C:B0:5D:9C:72:BF - Bit Rate=65 Mb/s Tx-Power=16 dBm - Retry long limit:7 RTS thr:off Fragment thr:off - Power Management:on - Link Quality=61/70 Signal level=-49 dBm - Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 - Tx excessive retries:0 Invalid misc:430 Missed beacon:0 -lo no wireless extensions.</pre> -<p>In this example, <code style="display:inline-block; padding: 0.1em 0.3em;">wlp3s0</code> is the available wireless interface. -</p> -<ul> -<li> Bring the interface up with: -</li> -</ul> <pre># ip link set wlp3s0 up </pre> -<p>A small percentage of wireless chipsets also require firmware, in addition to a corresponding driver. If the wireless chipset requires firmware, you are likely to receive this error when bringing the interface up: -</p> -<pre style="margin-bottom: 0; border-bottom:none; padding-bottom:0.8em;"># ip link set wlp3s0 up</pre> -<pre style="margin-top: 0; border-top-style:dashed; padding-top: 0.8em;">SIOCSIFFLAGS: No such file or directory</pre> -<p>If unsure, invoke <code style="display:inline-block; padding: 0.1em 0.3em;">dmesg</code> to query the kernel log for a firmware request from the wireless chipset. -</p> -<p>Example output from an Intel chipset which requires and has requested firmware from the kernel at boot: -</p> -<pre style="margin-bottom: 0; border-bottom:none; padding-bottom:0.8em;"># dmesg | grep firmware</pre> -<pre style="margin-top: 0; border-top-style:dashed; padding-top: 0.8em;">firmware: requesting iwlwifi-5000-1.ucode</pre> -<p>If there is no output, it may be concluded that the system's wireless chipset does not require firmware. -</p> -<div style="padding: 5px; margin: 0.50em 0; background-color: #FFDDDD; border: thin solid #DDBBBB; overflow: hidden;"><strong> Warning: </strong>Wireless chipset firmware packages (for cards which require them) are pre-installed under <code style="display:inline-block; padding: 0.1em 0.3em;">/usr/lib/firmware</code> in the live environment (on CD/USB stick) <b>but must be explicitly installed to your actual system to provide wireless functionality after you reboot into it!</b> Package installation is covered later in this guide. Ensure installation of both your wireless module and firmware before rebooting! See <a href="https://wiki.archlinux.org/index.php/Wireless_Setup" title="Wireless Setup">Wireless Setup</a> if you are unsure about the requirement of corresponding firmware installation for your particular chipset.</div> -<p>Next, use <span style="font-family: monospace"><a rel="nofollow" class="external text" href="https://www.archlinux.org/packages/?name=netcfg">netcfg</a></span>'s <code style="display:inline-block; padding: 0.1em 0.3em;">wifi-menu</code> to connect to a network: +<p>If you get this error message: <span style="display:inline-block; background-color:#ebf1f5; padding: 0.1em 0.2em; font-family:monospace; color:#222;">SIOCSIFFLAGS: No such file or directory</span>, your wireless chipset could need a non-free firmware to function. This is not supported on Parabola. Please see <a href="https://wiki.parabolagnulinux.org/Wireless_Setup" title="Wireless Setup">Wireless Setup</a> if you are unsure if this is the true for your particular chipset. +</p><p>Next, use <span style="font-family: monospace"><a rel="nofollow" class="external text" href="https://parabolagnulinux.org/packages/?name=netctl">netctl</a></span>'s <span style="display:inline-block; background-color:#ebf1f5; padding: 0.1em 0.2em; font-family:monospace; color:#222;">wifi-menu</span> to connect to a network: </p> <pre># wifi-menu wlp3s0 </pre> -<div style="padding: 5px; margin: 0.50em 0; background-color: #FFDDDD; border: thin solid #DDBBBB; overflow: hidden;"><strong> Warning: </strong>At the moment, netcfg's wifi-menu, when executed without arguments, will look for "wlan0". Execute wifi-menu with your interface as the argument in order to use it.</div> -<p>You should now have a working network connection. If you do not, check the detailed <a href="https://wiki.archlinux.org/index.php/Wireless_Setup" title="Wireless Setup">Wireless Setup</a> page. +<p>You should now have a working network connection. If you do not, check the detailed <a href="https://wiki.parabolagnulinux.org/Wireless_Setup" title="Wireless Setup">Wireless Setup</a> page. +</p><p>Alternatively, use <span style="display:inline-block; background-color:#ebf1f5; padding: 0.1em 0.2em; font-family:monospace; color:#222;">iw dev wlp3s0 scan | grep SSID</span> to scan for available networks, then connect to a network with: </p> -<h4 id="g0.1.2.3">xDSL (PPPoE), analog modem or ISDN </h4> -<p>If you have a router in bridge mode, run: -</p> -<pre># pppoe-setup +<pre># wpa_supplicant -B -i wlp3s0 -c <(wpa_passphrase "<i>ssid</i>" "<i>psk</i>") </pre> -<ul> -<li> Type in the username that the ISP provided you with. -</li> -<li> Press <code style="display:inline-block; background-color: #ebf1f5; padding: 0.1em 0.3em; font-weight:bold;">Enter</code> for "eth0". -</li> -<li> Press <code style="display:inline-block; background-color: #ebf1f5; padding: 0.1em 0.3em; font-weight:bold;">Enter</code> for "no", so that it stays up continuously. -</li> -<li> Type <code style="display:inline-block; padding: 0.1em 0.3em;">server</code> (since this is usually the case). -</li> -<li> Press <code style="display:inline-block; background-color: #ebf1f5; padding: 0.1em 0.3em; font-weight:bold;">1</code> for a firewall. -</li> -<li> Type in the password that the ISP provided you with. -</li> -<li> Press <code style="display:inline-block; background-color: #ebf1f5; padding: 0.1em 0.3em; font-weight:bold;">Y</code> at the end. -</li> -</ul> -<p>To use these settings and connect to your ISP, run: +<p>You need to replace <i>ssid</i> with the name of your network (e.g. "Linksys etc...") and <i>psk</i> with your wireless password, <b>leaving the quotes around the network name and password.</b> +</p><p>Finally, you have to give your interface an IP address. This can be set manually or using the dhcp: </p> -<pre># pppoe-start +<pre># dhcpcd wlp3s0 </pre> -<p>You may also need to adjust your <code style="display:inline-block; padding: 0.1em 0.3em;">resolv.conf</code>: +<p>If that does not work, issue the following commands: </p> -<pre># echo nameserver 8.8.8.8 > /etc/resolv.conf +<pre># echo 'ctrl_interface=DIR=/run/wpa_supplicant' > /etc/wpa_supplicant.conf +# wpa_passphrase <ssid> <passphrase> >> /etc/wpa_supplicant.conf +# ip link set <interface> up # May not be needed as dhcpcd should bring it up but may be needed for wpa_supplicant. +# wpa_supplicant -B -D nl80211 -c /foobar.conf -i <interface name> +# dhcpcd -A <interface name> </pre> -<p>If you have a dial-up or ISDN connection, see <a href="https://wiki.archlinux.org/index.php/Direct_Modem_Connection" title="Direct Modem Connection">Direct Modem Connection</a>. +<h4> <span class="mw-headline" id="Analog_modem.2C_ISDN_or_PPPoE_DSL"> Analog modem, ISDN or PPPoE DSL </span></h4> +<p>For xDSL, dial-up and ISDN connections, see <a href="https://wiki.parabolagnulinux.org/Direct_Modem_Connection" title="Direct Modem Connection" class="mw-redirect">Direct Modem Connection</a>. +</p> +<h4> <span class="mw-headline" id="Behind_a_proxy_server"> Behind a proxy server </span></h4> +<p>If you are behind a proxy server, you will need to export the <span style="display:inline-block; background-color:#ebf1f5; padding: 0.1em 0.2em; font-family:monospace; color:#222;">http_proxy</span> and <span style="display:inline-block; background-color:#ebf1f5; padding: 0.1em 0.2em; font-family:monospace; color:#222;">ftp_proxy</span> environment variables. See <a href="https://wiki.parabolagnulinux.org/Proxy_settings" title="Proxy settings" class="mw-redirect">Proxy settings</a> for more information. +</p> +<br> +<p>This page was retrieved from: <a href="https://wiki.parabolagnulinux.org/index.php?title=Start_installing&oldid=5138">https://wiki.parabolagnulinux.org/index.php?title=Start_installing&oldid=5138</a> +</p> +<p>Content is available under <a class="external" href="http://www.gnu.org/copyleft/fdl.html">GNU Free Documentation License 1.3 (or at your option, any later version)</a>. </p> -<h4 id="g0.1.2.4">Behind a proxy server </h4> -<p>If you are behind a proxy server, you will need to export the <code style="display:inline-block; padding: 0.1em 0.3em;">http_proxy</code> and <code style="display:inline-block; padding: 0.1em 0.3em;">ftp_proxy</code> environment variables. See <a href="https://wiki.archlinux.org/index.php/Proxy_settings" title="Proxy settings">Proxy settings</a> for more information.</p> - <!-- NewPP limit report -Preprocessor visited node count: 3450/1000000 -Preprocessor generated node count: 6957/1000000 -Post-expand include size: 91583/2097152 bytes -Template argument size: 49043/2097152 bytes -Highest expansion depth: 8/40 +Preprocessor visited node count: 462/1000000 +Preprocessor generated node count: 1260/1000000 +Post‐expand include size: 13122/2097152 bytes +Template argument size: 5931/2097152 bytes +Highest expansion depth: 7/40 Expensive parser function count: 0/100 --> -<!-- Saved in parser cache with key archwiki:pcache:idhash:14839-1!*!0!!en!*!* and timestamp 20130302182513 --> - - -</body> -</html> +<!-- Saved in parser cache with key wiki_parabolagnulinux_org:pcache:idhash:1857-1!*!0!!en!*!* and timestamp 20130806172112 --> |