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

Нет описания правки
(Новая страница: «When connected via Wi-Fi, the controller will be available at '''[http://192.168.42.1 192.168.42.1]'''.»)
 
(не показано 5 промежуточных версий этого же участника)
Строка 10: Строка 10:
When connected via Wi-Fi, the controller will be available at '''[http://192.168.42.1 192.168.42.1]'''.
When connected via Wi-Fi, the controller will be available at '''[http://192.168.42.1 192.168.42.1]'''.


По умолчанию, для подключения к контроллеру по Wi-Fi не требуется пароль, но вы можете это изменить.
By default, no password is required to connect to the controller via Wi-Fi, but you can change this.


<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 multiple ways:
A controller can have multiple IP addresses because it can connect to networks in several ways:
*via Ethernet - by default, receives an IP address from the router via DHCP,
*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 Wi-Fi - by default creates an access point where it has a fixed address ''192.168.42.1'',
*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.
To log into the controller using the IP address obtained by the controller's Ethernet interface, you must be on the same network to which the controller is connected via Ethernet.
</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-адреса], и зайти на них из Интернета нельзя.
It is almost never possible to access the controller at the address received by the GPRS interface - cellular operators usually issue [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 are "gray" IP addresses] and cannot be accessed from the Internet


<div class="mw-translate-fuzzy">
==Via debug port==
==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]]]]
Connect to the controller through the [[Special:MyLanguage/Debug UART|Debug UART]] port. Once connected, enter your login and password ( by default login:''root''; password ''wirenboard''), then run the command
Connect to the controller via the debug port [[Special:MyLanguage/Debug UART|Debug UART]]. After connecting, enter your login and password (by default ''root'' - ''wirenboard''), then enter the command
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
ifconfig
ifconfig
Строка 41: Строка 35:
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">
==Through a router (not connecting to a 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''.
translator, wb_editors
4251

правка