How to find IP address/en: различия между версиями

Материал из Wiren Board
м (FuzzyBot переименовал страницу Как узнать IP-адрес контроллера/en в How to find IP address/en без оставления перенаправления: Часть переводимой страницы Как узнать IP-адрес контроллера.)
(Обновление для соответствия новой версии исходной страницы.)
Строка 1: Строка 1:
<languages/>
<languages/>
<div class="mw-translate-fuzzy">
[[File:Web ip.png|400px|thumb|IP addresses can be conveniently viewed in the web interface by connecting to the Wi-Fi access point created by the controller]]
[[File:Web ip.png|400px|thumb|IP addresses can be conveniently viewed in the web interface by connecting to the Wi-Fi access point created by the controller]]
</div>


<div class="mw-translate-fuzzy">
==Method 1==
</div>
При подключении по Wi-Fi контроллер будет доступен по адресу '''[http://192.168.42.1 192.168.42.1]'''.
По умолчанию, для подключения к контроллеру по Wi-Fi не требуется пароль, но вы можете это изменить.
<div class="mw-translate-fuzzy">
== IP addresses of the controller==
== IP addresses of the controller==
</div>


<div class="mw-translate-fuzzy">
A controller can have multiple IP addresses because it can connect to networks in several ways:
A controller can have multiple IP addresses because it can connect to networks in several ways:
*via Ethernet - by default gets IP address from router via DHCP,
*via Ethernet - by default gets IP address from router via DHCP,
Строка 9: Строка 22:
*via GPRS.
*via GPRS.
So the controller can have up to three IP addresses. To access the controller using the IP address obtained by the controller's Ethernet interface, you must be connected to the same network to which the controller is connected via Ethernet. It is almost impossible to open the controller interface at the address received by the GPRS interface - mobile operators usually give addresses from their own network, and you can browse them from the Internet - see http://sirius.dn.ua/help/real-ip-address/ However, some operators may have a special service.
So the controller can have up to three IP addresses. To access the controller using the IP address obtained by the controller's Ethernet interface, you must be connected to the same network to which the controller is connected via Ethernet. It is almost impossible to open the controller interface at the address received by the GPRS interface - mobile operators usually give addresses from their own network, and you can browse them from the Internet - see http://sirius.dn.ua/help/real-ip-address/ However, some operators may have a special service.
</div>


Зайти на контроллер по адресу, полученному интерфейсом GPRS, практически никогда нельзя - операторы сотовой связи обычно выдают [https://help.keenetic.com/hc/ru/articles/213965789-%D0%92-%D1%87%D0%B5%D0%BC-%D0%BE%D1%82%D0%BB%D0%B8%D1%87%D0%B8%D0%B5-%D0%B1%D0%B5%D0%BB%D0%BE%D0%B3%D0%BE-%D0%B8-%D1%81%D0%B5%D1%80%D0%BE%D0%B3%D0%BE-IP-%D0%B0%D0%B4%D1%80%D0%B5%D1%81%D0%B0- "серые" IP-адреса], и зайти на них из Интернета нельзя.


==Method 1==
<div class="mw-translate-fuzzy">
 
By default the controller creates a Wi-Fi network ''WirenBoard'' without a password. Connect to it,the address of the controller is always ''192.168.42.1''. In the web interface, go to Devices section - it shows IP-addresses the controller received over Ethernet and GPRS.
 
==Method 2==
==Method 2==
</div>


[[File:Ifconfig ip.png|400px|thumb|IP addresses can be viewed by connecting to the console via [[Debug UART|Debug UART]]]]
[[File:Ifconfig ip.png|400px|thumb|IP addresses can be viewed by connecting to the console via [[Debug UART|Debug UART]]]]
Строка 28: Строка 41:
The address will be written after the words <code>inet addr:</code>.
The address will be written after the words <code>inet addr:</code>.


 
<div class="mw-translate-fuzzy">
==Method 3 (without connecting to the controller)==
==Method 3 (without connecting to the controller)==
</div>


If you have connected the controller via Ethernet or Wi-Fi to your router, the IP address of the controller can be seen in the web interface of the router. Typically, the menu item name contains the word ''DHCP''.
If you have connected the controller via Ethernet or Wi-Fi to your router, the IP address of the controller can be seen in the web interface of the router. Typically, the menu item name contains the word ''DHCP''.

Версия 20:52, 22 сентября 2022

IP addresses can be conveniently viewed in the web interface by connecting to the Wi-Fi access point created by the controller

При подключении по Wi-Fi контроллер будет доступен по адресу 192.168.42.1.

По умолчанию, для подключения к контроллеру по Wi-Fi не требуется пароль, но вы можете это изменить.

IP addresses of the controller

A controller can have multiple IP addresses because it can connect to networks in several ways:

  • via Ethernet - by default gets IP address from router via DHCP,
  • via Wi-Fi - by default creates an access point where it has a fixed address 192.168.42.1,
  • via GPRS.

So the controller can have up to three IP addresses. To access the controller using the IP address obtained by the controller's Ethernet interface, you must be connected to the same network to which the controller is connected via Ethernet. It is almost impossible to open the controller interface at the address received by the GPRS interface - mobile operators usually give addresses from their own network, and you can browse them from the Internet - see http://sirius.dn.ua/help/real-ip-address/ However, some operators may have a special service.

Зайти на контроллер по адресу, полученному интерфейсом GPRS, практически никогда нельзя - операторы сотовой связи обычно выдают "серые" IP-адреса, и зайти на них из Интернета нельзя.

Method 2

IP addresses can be viewed by connecting to the console via Debug UART

Connect to the controller through the Debug UART port. Once connected, enter your login and password ( by default login:root; password wirenboard), then run the command

ifconfig

Find the output corresponding to the desired interface:

  • for Ethernet - eth0
  • for Wi-Fi - wlan0
  • for GPRS - ppp0

The address will be written after the words inet addr:.

Method 3 (without connecting to the controller)

If you have connected the controller via Ethernet or Wi-Fi to your router, the IP address of the controller can be seen in the web interface of the router. Typically, the menu item name contains the word DHCP.