8,367
edits
Changes
no edit summary
|orangepi@orangepi5:~$ '''ifconfig eth0'''<br>
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500<br>
:inet '''<span style="color:#FF0000">192.168.1.150</span>''' netmask 255.255.255.0 broadcast 192.168.1.255 <br>:inet6 fe80::938f:8776:5783:afa2 prefixlen 64 scopeid 0x20<link> <br>:ether 4a:a0:c8:25:42:82 txqueuelen 1000 (Ethernet)<br>:RX packets 25370 bytes 2709590 (2.7 MB)<br>:RX errors 0 dropped 50 overruns 0 frame 0<br>:TX packets 3798 bytes 1519493 (1.5 MB)<br>:TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0<br>:device interrupt 83
|}
By default, the DHCP service of the development board will assign an IP address of '''192.168.12.0/24''' to the device connected to the hotspot. At this time, click on the connected WIFI hotspot '''orangepi''', and then you can see that the IP address of the mobile phone is '''192.168.12.X'''<br><br>