Changeset 2e41a4f for networking


Ignore:
Timestamp:
03/24/2013 03:54:37 PM (11 years ago)
Author:
Krejzi <krejzi@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
0c6df9c
Parents:
89a3b06
Message:

Misc fixes to the book.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11124 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • networking/netprogs/wpa_supplicant.xml

    r89a3b06 r2e41a4f  
    272272        To connect to an access point that uses a password, you need to put
    273273        the pre-shared key in <filename>
    274         /etc/sysconfig/wpa_supplicant-<replaceable>wlan0</replaceable>.conf</filename>.
     274        /etc/sysconfig/wpa_supplicant-<replaceable>wifi0</replaceable>.conf</filename>.
    275275        SSID is the string that the access point/router transmits to
    276276        identify itself. Run the following command as the
     
    278278      </para>
    279279
    280 <screen role="root"><userinput>wpa_passphrase <replaceable>SSID</replaceable> <replaceable>SECRET_PASSWORD</replaceable> &gt; /etc/sysconfig/wpa_supplicant-<replaceable>wlan0</replaceable>.conf</userinput></screen>
    281 
    282       <para>
    283         <filename>/etc/sysconfig/wpa_supplicant-<replaceable>wlan0</replaceable>.conf
     280<screen role="root"><userinput>wpa_passphrase <replaceable>SSID</replaceable> <replaceable>SECRET_PASSWORD</replaceable> &gt; /etc/sysconfig/wpa_supplicant-<replaceable>wifi0</replaceable>.conf</userinput></screen>
     281
     282      <para>
     283        <filename>/etc/sysconfig/wpa_supplicant-<replaceable>wifi0</replaceable>.conf
    284284        </filename> can hold the details of several access points. When
    285285        <command>wpa_supplicant</command> is started, it will scan for the
     
    290290        If you want to connect to an access point that isn't password
    291291        protected, put an entry like this in <filename>
    292         /etc/sysconfig/wpa_supplicant-<replaceable>wlan0</replaceable>.conf</filename>.
     292        /etc/sysconfig/wpa_supplicant-<replaceable>wifi0</replaceable>.conf</filename>.
    293293        Replace "Some-SSID" with the SSID of the access point/router.
    294294      </para>
     
    328328        can install <xref linkend="dhcp"/> client and use it to
    329329        automatically obtain network addresses. Create the
    330         <filename>/etc/sysconfig/ifconfig-<replaceable>wlan0</replaceable>
     330        <filename>/etc/sysconfig/ifconfig-<replaceable>wifi0</replaceable>
    331331        </filename> by running the following command as the
    332332        <systemitem class="username">root</systemitem> user:
    333333      </para>
    334334
    335 <screen role="root"><userinput>cat &gt; /etc/sysconfig/ifconfig.<replaceable>wlan0</replaceable> &lt;&lt; "EOF"
     335<screen role="root"><userinput>cat &gt; /etc/sysconfig/ifconfig.<replaceable>wifi0</replaceable> &lt;&lt; "EOF"
    336336<literal>ONBOOT="yes"
    337337IFACE="<replaceable>wlan0</replaceable>"
     
    357357        If you prefer <xref linkend="dhcpcd"/> instead of
    358358        <xref linkend="dhcp"/> client, then create the
    359         <filename>/etc/sysconfig/ifconfig-<replaceable>wlan0</replaceable>
     359        <filename>/etc/sysconfig/ifconfig-<replaceable>wifi0</replaceable>
    360360        </filename> by running the following command as the
    361361        <systemitem class="username">root</systemitem> user:
    362362      </para>
    363363
    364 <screen role="root"><userinput>cat &gt; /etc/sysconfig/ifconfig.<replaceable>wlan0</replaceable> &lt;&lt; "EOF"
     364<screen role="root"><userinput>cat &gt; /etc/sysconfig/ifconfig.<replaceable>wifi0</replaceable> &lt;&lt; "EOF"
    365365<literal>ONBOOT="yes"
    366366IFACE="<replaceable>wlan0</replaceable>"
     
    378378        Alternatively, if you use static addresses on your local network,
    379379        then create the
    380         <filename>/etc/sysconfig/ifconfig-<replaceable>wlan0</replaceable>
     380        <filename>/etc/sysconfig/ifconfig-<replaceable>wifi0</replaceable>
    381381        </filename> by running the following command as the
    382382        <systemitem class="username">root</systemitem> user:
    383383      </para>
    384384
    385 <screen role="root"><userinput>cat &gt; /etc/sysconfig/ifconfig.<replaceable>wlan0</replaceable> &lt;&lt; "EOF"
     385<screen role="root"><userinput>cat &gt; /etc/sysconfig/ifconfig.<replaceable>wifi0</replaceable> &lt;&lt; "EOF"
    386386<literal>ONBOOT="yes"
    387387IFACE="<replaceable>wlan0</replaceable>"
     
    404404      </para>
    405405
    406 <screen role="root"><userinput>ifup <replaceable>wlan0</replaceable></userinput></screen>
     406<screen role="root"><userinput>ifup <replaceable>wifi0</replaceable></userinput></screen>
    407407
    408408      <para>
    409409        Replace <replaceable>wlan0</replaceable> with the correct
    410         wireless interface.
     410        wireless interface and <replaceable>wifi0</replaceable>
     411        with desired name for the configuration file. Please note
     412        that <filename>wpa_supplicant-*.conf</filename> and
     413        <filename>ifconfig.*</filename> configuration files need
     414        to have identical names, ie both contain
     415        <replaceable>wifi0</replaceable> in their name.
    411416      </para>
    412417
Note: See TracChangeset for help on using the changeset viewer.