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 2==»)
(Новая страница: «400px|thumb|IP addresses can be viewed by connecting to the console via [[Debug UART|Debug UART]] Connect to the controller through the […»)
Строка 17: Строка 17:
==Method 2==
==Method 2==


[[File:Ifconfig ip.png|400px|thumb|IP-адреса можно посмотреть, подключившись к консоли через [[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]]]]
Подключитесь к контроллеру через отладочный порт [[Special:MyLanguage/Debug UART|Debug UART]]. После подключения введите логин и пароль (по умолчанию ''root'' - ''wirenboard''), затем введите команду
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
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
ifconfig
ifconfig
</syntaxhighlight>
</syntaxhighlight>
Найдите вывод, соответствующий нужному интерфейсу:
Find the output corresponding to the desired interface:
*для Ethernet - <code>eth0</code>
*for Ethernet - <code>eth0</code>
*для Wi-Fi - <code>wlan0</code>
*for Wi-Fi - <code>wlan0</code>
*для GPRS - <code>ppp0</code>
*for GPRS - <code>ppp0</code>
Адрес будет написан после слов <code>inet addr:</code>.
The address will be written after the words <code>inet addr:</code>.




12 063

правки