Translations:Wi-Fi Old/10/en

Материал из Wiren Board
  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