How to find IP address/en: различия между версиями
(Новая страница: «400px|thumb|IP addresses can be viewed by connecting to the console via [[Debug UART|Debug UART]] Connect to the controller through the […») |
(Новая страница: «==Method 3 (without connecting to the controller)==») |
||
Строка 29: | Строка 29: | ||
== | ==Method 3 (without connecting to the controller)== | ||
Если вы подключили контроллер по Ethernet или Wi-Fi к своему роутеру, то IP-адрес контроллера можно увидеть в веб-интерфейсе роутера. Обычно название пункта меню содержит слово ''DHCP''. | Если вы подключили контроллер по Ethernet или Wi-Fi к своему роутеру, то IP-адрес контроллера можно увидеть в веб-интерфейсе роутера. Обычно название пункта меню содержит слово ''DHCP''. |
Версия 17:57, 28 мая 2019
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.
Method 1
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
![](/wiki/images/thumb/d/d8/Ifconfig_ip.png/400px-Ifconfig_ip.png)
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)
Если вы подключили контроллер по Ethernet или Wi-Fi к своему роутеру, то IP-адрес контроллера можно увидеть в веб-интерфейсе роутера. Обычно название пункта меню содержит слово DHCP.