Translations:Wi-Fi Old/8/en
Версия от 17:42, 23 апреля 2019; RomanKulibaba (обсуждение | вклад)
Configuration process:
- Enable access point mode. For this:
- open file
/etc/default/hostapd
and uncomment the string(e.g.,remove the # at the beginning of the string)DAEMON_CONF="/etc/hostapd.conf"
- edit the
/etc/hostapd.conf
file like in the example:interface=wlan0 #driver=nl80211 # this line should stay commented ssid=WirenBoard # you can substitute WirenBoard with a different name for the hotspot channel=1 wpa=2 wpa_passphrase=your_password # replace your_password with your own password wpa_key_mgmt=WPA-PSK wpa_pairwise=TKIP CCMP rsn_pairwise=TKIP CCMP
- open file
- Edit
/etc/network/interfaces
:- uncomment and edit the lines(or add them, if there were none) related to the hotspot settings:
iface wlan0 inet static address 192.168.42.1 # here 192.168.42.1 - is the address where the Wiren Board controller will be located in the new network; you can specify a different address netmask 255.255.255.0
- comment out the lines related to the operating in client mode:
#auto wlan0 #iface wlan0 inet dhcp # wpa-ssid {ssid} # wpa-psk {password}
- uncomment and edit the lines(or add them, if there were none) related to the hotspot settings:
- Execute the command
/etc/init.d/hostapd restart