Open main menu

Wiki-Orange Pi β

Changes

AP6275P PCIe NIC creates WIFI hotspot via create ap

36 bytes added, 20:44, 24 April 2023
no edit summary
hostapd command-line interface: hostapd_cli -p<br>
/tmp/create_ap.wlan0.conf.fPItFUJ2/hostapd_ctrl <br>
ap0: interface state UNINITIALIZED->ENABLED <br>p0: AP-ENABLED<br>
|}
3) Take out the mobile phone at this time, in the searched WIFI list, you can find the WIFI hotspot named '''orangepi''' created by the development board, and then click '''orangepi''' to connect to the hotspot, the password is the '''orangepi''' set above<br><br>
hostapd command-line interface: hostapd_cli -p<br>
/tmp/create_ap.wlan0.conf.fg9U5Xgt/hostapd_ctrl <br>
ap0: interface state UNINITIALIZED->ENABLED <br>ap0: AP-ENABLED
|}
3) Take out the mobile phone at this time, and you can find the WIFI hotspot named orangepi created by the development board in the searched WIFI list, and then you can click orangepi to connect to the hotspot, and the password is the orangepi set above<br><br>
|orangepi@orangepi:~$ '''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
|}
The IP of the device connected to the WIFI hotspot is also assigned by the main router, so the mobile phone connected to the WIFI hotspot and the development board are in the same network segment. At this time, click on the connected WIFI hotspot orangepi, and then you can see the IP address of the mobile phone Also 192.168.1.X<br><br>