Translations:Wi-Fi Old/16/en

Материал из Wiren Board
Версия от 17:23, 23 апреля 2019; RomanKulibaba (обсуждение | вклад) (Новая страница: «Below is the text of the file, which shows the settings for connecting to networks with different encryption settings. The file is borrowed [https://www.raspberry…»)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)

Below is the text of the file, which shows the settings for connecting to networks with different encryption settings. The file is borrowed from here. <syntaxhighlight lang="bash">

    start of wireless bits
    this command stays for all configs

auto wlan0

    comments indicated by #;
    commands indicated by #
    remove the # to enable the command
    if using static IP then....#
  1. iface wlan0 inet static
  2. address UR_IP
  3. gateway UR_ROUTER_IP
  4. netmask 255.255.255.0
    otherwise use dhcp #
  5. iface wlan0 inet dhcp
    OPEN wireless config #
  6. wireless-essid UR_ESSID
  7. wireless-mode managed