Translations:Wi-Fi Old/13/en

Версия от 17:19, 23 апреля 2019; RomanKulibaba (обсуждение | вклад) (Новая страница: «If conditions are met: # Execute the command #:<syntaxhighlight lang="bash"> iwconfig </syntaxhighlight> #:Its output should show two Wi-Fi interfaces: ''wlan0''…»)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)

If conditions are met:

  1. Execute the command
    iwconfig
    
    Its output should show two Wi-Fi interfaces: wlan0 и wlan1.
  2. 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">
  3. 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