Translations:Wi-Fi Old/10/en: различия между версиями
(Новая страница: «# 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…») |
FuzzyBot (обсуждение | вклад) м (FuzzyBot переименовал страницу Translations:Wi-Fi/10/en в Translations:Wi-Fi Old/10/en без оставления перенаправления: Часть переводимой страницы Wi-Fi.) |
||
(не показана 1 промежуточная версия 1 участника) | |||
Строка 1: | Строка 1: | ||
# Disable hotspot mode. | # Disable hotspot mode. | ||
#: To do this, in the <code>/etc/default/hostapd</code> file, comment out the line ( | #: To do this, in the <code>/etc/default/hostapd</code> file, comment out the line (e.g., add the '''#''' sign at the beginning of the line) <syntaxhighlight lang="bash">#DAEMON_CONF="/etc/hostapd.conf"</syntaxhighlight> | ||
# Edit <code>/etc/network/interfaces</code>: | # Edit <code>/etc/network/interfaces</code>: | ||
#* comment out the lines related to the setting in access point mode: <syntaxhighlight lang="bash"> | #* comment out the lines related to the setting in access point mode: <syntaxhighlight lang="bash"> |
Текущая версия на 15:56, 23 октября 2023
- 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