Translations:Wi-Fi Old/13/en: различия между версиями
(Новая страница: «If conditions are met: # Execute the command #:<syntaxhighlight lang="bash"> iwconfig </syntaxhighlight> #:Its output should show two Wi-Fi interfaces: ''wlan0''…») |
|||
Строка 1: | Строка 1: | ||
If conditions are met: | If conditions are met: | ||
# | # Run command | ||
#:<syntaxhighlight lang="bash"> | #:<syntaxhighlight lang="bash"> | ||
iwconfig | iwconfig |
Версия 17:48, 23 апреля 2019
If conditions are met:
- Run command
iwconfig
- Its output should show two Wi-Fi interfaces: wlan0 и wlan1.
- Use the previous two instructions to configure the client mode and the hotspot mode connection, but use different interfaces. For example, leave wlan0 for the hotspot and make the client on wlan1. The corresponding part of /etc/network/interfaces should look like this:
- <syntaxhighlight lang="bash">
- Wireless interfaces
auto wlan1 iface wlan1 inet dhcp
wpa-ssid {ssid} # replace {ssid} with the hotspot name wpa-psk {password} # replace {password} with your own password