Translations:Wi-Fi Old/10/en
Версия от 17:46, 23 апреля 2019; RomanKulibaba (обсуждение | вклад)
- 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"
- To do this, in the
- 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
- comment out the lines related to the setting in access point mode:
- To apply the changes, run the following commands
ifdown wlan0
ifup wlan0