Translations:Wi-Fi Old/10/en: различия между версиями

Материал из Wiren Board
м (FuzzyBot переименовал страницу Translations:Wi-Fi/10/en в Translations:Wi-Fi Old/10/en без оставления перенаправления: Часть переводимой страницы Wi-Fi.)
 
(нет различий)

Текущая версия на 15:56, 23 октября 2023

Определение сообщения (Wi-Fi Old)
# Отключите режим точки доступа.
#: Для этого в файле <code>/etc/default/hostapd</code> закомментируйте строку (то есть добавьте знак '''#''' в начало строки)<syntaxhighlight lang="bash">#DAEMON_CONF="/etc/hostapd.conf"</syntaxhighlight>
# Отредактируйте <code>/etc/network/interfaces</code>:
#* закомментируйте строки, относящиеся к настройке в режиме точки доступа: <syntaxhighlight lang="bash">
#iface wlan0 inet static
#      address 192.168.42.1
#      netmask 255.255.255.0
</syntaxhighlight>
#* раскомментируйте и отредактируйте строки (или добавьте, если их не было):<syntaxhighlight lang="bash">
auto wlan0
iface wlan0 inet dhcp 
               wpa-ssid {ssid} # вместо {ssid} подставьте имя точки доступа
               wpa-psk  {password} # вместо {password} подставьте пароль
</syntaxhighlight>
# Чтобы применить изменения, выполните команды
<syntaxhighlight lang="bash">
ifdown wlan0
ifup wlan0
</syntaxhighlight>
  1. Disable hotspot mode.
    To do this, in the /etc/default/hostapd file, comment out the line (e.g., add the # sign at the beginning of the line)
    #DAEMON_CONF="/etc/hostapd.conf"
    
  2. Edit /etc/network/interfaces:
    • comment out the lines related to the setting in access point mode:
      #iface wlan0 inet static
      #      address 192.168.42.1
      #      netmask 255.255.255.0
      
    • uncomment and edit the lines (or add them if there were none):
      auto wlan0
      iface wlan0 inet dhcp 
                      wpa-ssid {ssid} # replace {ssid} with the name of the hotspot
                      wpa-psk  {password} # replace {password} with your own password
      
  3. To apply the changes, run the following commands
ifdown wlan0
ifup wlan0