How to find IP address/en: различия между версиями
Matveevrj (обсуждение | вклад) (Новая страница: «When connected via Wi-Fi, the controller will be available at '''[http://192.168.42.1 192.168.42.1]'''.») |
Matveevrj (обсуждение | вклад) (Новая страница: «By default, no password is required to connect to the controller via Wi-Fi, but you can change this.») |
||
Строка 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]'''. | ||
By default, no password is required to connect to the controller via Wi-Fi, but you can change this. | |||
== IP addresses of the controller== | == IP addresses of the controller== | ||
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 | *via Ethernet - by default, receives an IP address from the router via DHCP, | ||
*via Ethernet - by default | |||
*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. | ||
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. | |||
Зайти на контроллер по адресу, полученному интерфейсом 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-адреса], и зайти на них из Интернета нельзя. | Зайти на контроллер по адресу, полученному интерфейсом 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-адреса], и зайти на них из Интернета нельзя. |
Версия 20:53, 22 сентября 2022
Via WiFi
The controller creates a Wi-Fi hotspot and we can connect to it:
- Open the list of Wi-Fi hotspots on your laptop or phone.
- Select an access point named
WirenBoard-XXXXXXXX
from the list. Where XXXXXXXX is the serial number of the controller.
When connected via Wi-Fi, the controller will be available at 192.168.42.1.
By default, no password is required to connect to the controller via Wi-Fi, but you can change this.
IP addresses of the controller
A controller can have multiple IP addresses because it can connect to networks in multiple ways:
- via Ethernet - by default, receives an IP address from the router via DHCP,
- via Wi-Fi - by default creates an access point where it has a fixed address 192.168.42.1,
- via GPRS.
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.
Зайти на контроллер по адресу, полученному интерфейсом GPRS, практически никогда нельзя - операторы сотовой связи обычно выдают "серые" IP-адреса, и зайти на них из Интернета нельзя.
Method 2
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.