去落格博客阅读完整排版的<span lang ="en">Initial setup for AHPI7292S 802.11ah PiHAT module HaLow</span>
For AP and STA mode, the AP acts like a gateway, STA is the end device. One AP can link to multiple STA, the STA.
A basic fresh start steps:https://docs.alfa.com.tw/Product/AHPI7292S/20_Getting_Started_New/
Go to this page and follow the instructions. Install the new Pi image through the internet, do not download the pre-build image. Before writing the image to the card, make sure to add a preset ssh config if you want to use ssh.
DO NOT upgrade the Pi, kernel version must remain the same, otherwise will need to compile the driver manually! Must use a screen and a keyboard to do the following things, the IP address will be set to DHCP even if you preset it to static.
Actually, the IP config setting will be reset every time you start the service. You must have a router that runs DHCP.
After the script,
Config set located at ~/nrc_pkg/script/conf/AU
Something worth a note:If ssh encountered WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! , edit the file ~/.ssh/known_hosts , and remove the entry that starts with your targeting IP address.
To start the simple link, device A(STA) run ./nrc_pkg/script/start.py 0 0 AU , device B(AP) run ./nrc_pkg/script/start.py 1 0 AU
On AP, you will see:
... HaLow AP ready -------------------------------------------------------------------- Done.
On STA, you will see:
... [7] Connect and DHCP Waiting for IP Waiting for IP inet 192.168.200.23 netmask 255.255.255.0 broadcast 192.168.200.255 IP assigned. HaLow STA ready -------------------------------------------------------------------- Done.
Now use eth cable connect the STA direct to a computer, the computer can access internet through the 802.11ah link.
<span lang ="en">Initial setup for AHPI7292S 802.11ah PiHAT module HaLow</span>,首发于落格博客。