Changeset 2e41a4f for networking/netprogs/wpa_supplicant.xml
- Timestamp:
- 03/24/2013 03:54:37 PM (11 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
networking/netprogs/wpa_supplicant.xml
r89a3b06 r2e41a4f 272 272 To connect to an access point that uses a password, you need to put 273 273 the pre-shared key in <filename> 274 /etc/sysconfig/wpa_supplicant-<replaceable>w lan0</replaceable>.conf</filename>.274 /etc/sysconfig/wpa_supplicant-<replaceable>wifi0</replaceable>.conf</filename>. 275 275 SSID is the string that the access point/router transmits to 276 276 identify itself. Run the following command as the … … 278 278 </para> 279 279 280 <screen role="root"><userinput>wpa_passphrase <replaceable>SSID</replaceable> <replaceable>SECRET_PASSWORD</replaceable> > /etc/sysconfig/wpa_supplicant-<replaceable>w lan0</replaceable>.conf</userinput></screen>281 282 <para> 283 <filename>/etc/sysconfig/wpa_supplicant-<replaceable>w lan0</replaceable>.conf280 <screen role="root"><userinput>wpa_passphrase <replaceable>SSID</replaceable> <replaceable>SECRET_PASSWORD</replaceable> > /etc/sysconfig/wpa_supplicant-<replaceable>wifi0</replaceable>.conf</userinput></screen> 281 282 <para> 283 <filename>/etc/sysconfig/wpa_supplicant-<replaceable>wifi0</replaceable>.conf 284 284 </filename> can hold the details of several access points. When 285 285 <command>wpa_supplicant</command> is started, it will scan for the … … 290 290 If you want to connect to an access point that isn't password 291 291 protected, put an entry like this in <filename> 292 /etc/sysconfig/wpa_supplicant-<replaceable>w lan0</replaceable>.conf</filename>.292 /etc/sysconfig/wpa_supplicant-<replaceable>wifi0</replaceable>.conf</filename>. 293 293 Replace "Some-SSID" with the SSID of the access point/router. 294 294 </para> … … 328 328 can install <xref linkend="dhcp"/> client and use it to 329 329 automatically obtain network addresses. Create the 330 <filename>/etc/sysconfig/ifconfig-<replaceable>w lan0</replaceable>330 <filename>/etc/sysconfig/ifconfig-<replaceable>wifi0</replaceable> 331 331 </filename> by running the following command as the 332 332 <systemitem class="username">root</systemitem> user: 333 333 </para> 334 334 335 <screen role="root"><userinput>cat > /etc/sysconfig/ifconfig.<replaceable>w lan0</replaceable> << "EOF"335 <screen role="root"><userinput>cat > /etc/sysconfig/ifconfig.<replaceable>wifi0</replaceable> << "EOF" 336 336 <literal>ONBOOT="yes" 337 337 IFACE="<replaceable>wlan0</replaceable>" … … 357 357 If you prefer <xref linkend="dhcpcd"/> instead of 358 358 <xref linkend="dhcp"/> client, then create the 359 <filename>/etc/sysconfig/ifconfig-<replaceable>w lan0</replaceable>359 <filename>/etc/sysconfig/ifconfig-<replaceable>wifi0</replaceable> 360 360 </filename> by running the following command as the 361 361 <systemitem class="username">root</systemitem> user: 362 362 </para> 363 363 364 <screen role="root"><userinput>cat > /etc/sysconfig/ifconfig.<replaceable>w lan0</replaceable> << "EOF"364 <screen role="root"><userinput>cat > /etc/sysconfig/ifconfig.<replaceable>wifi0</replaceable> << "EOF" 365 365 <literal>ONBOOT="yes" 366 366 IFACE="<replaceable>wlan0</replaceable>" … … 378 378 Alternatively, if you use static addresses on your local network, 379 379 then create the 380 <filename>/etc/sysconfig/ifconfig-<replaceable>w lan0</replaceable>380 <filename>/etc/sysconfig/ifconfig-<replaceable>wifi0</replaceable> 381 381 </filename> by running the following command as the 382 382 <systemitem class="username">root</systemitem> user: 383 383 </para> 384 384 385 <screen role="root"><userinput>cat > /etc/sysconfig/ifconfig.<replaceable>w lan0</replaceable> << "EOF"385 <screen role="root"><userinput>cat > /etc/sysconfig/ifconfig.<replaceable>wifi0</replaceable> << "EOF" 386 386 <literal>ONBOOT="yes" 387 387 IFACE="<replaceable>wlan0</replaceable>" … … 404 404 </para> 405 405 406 <screen role="root"><userinput>ifup <replaceable>w lan0</replaceable></userinput></screen>406 <screen role="root"><userinput>ifup <replaceable>wifi0</replaceable></userinput></screen> 407 407 408 408 <para> 409 409 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. 411 416 </para> 412 417
Note:
See TracChangeset
for help on using the changeset viewer.