range Pi User Manual Copyright reserved by Shenzhen Xunlong Software Co., Ltd
144
4)The display after successful connection is as shown below
5)In NAT mode, the wireless device connected to the development board's hotspot
requests an IP address from the development board's DHCP service, so there will be two
different network segments. For example, the development board's IP here is 192.168.1.X
orangepi@orangepi:~$ ifconfig eth0
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.150 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::938f:8776:5783:afa2 prefixlen 64 scopeid 0x20<link>
ether 4a:a0:c8:25:42:82 txqueuelen 1000 (Ethernet)
RX packets 25370 bytes 2709590 (2.7 MB)
RX errors 0 dropped 50 overruns 0 frame 0
TX packets 3798 bytes 1519493 (1.5 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 83
The DHCP service of the development board will assign the IP address of
192.168.12.0/24 to the device connected to the hotspot by default. 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