Translations:Wi-Fi Old/10/en

Версия от 16:54, 23 апреля 2019; RomanKulibaba (обсуждение | вклад) (Новая страница: «# Disable hotspot mode. #: To do this, in the <code>/etc/default/hostapd</code> file, comment out the line (that is, add the '''#''' sign to the beginning of the…»)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
  1. Disable hotspot mode.
    To do this, in the /etc/default/hostapd file, comment out the line (that is, add the # sign to 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