1<!-- 2Author: Xianjun jiao 3SPDX-FileCopyrightText: 2019 UGent 4SPDX-License-Identifier: AGPL-3.0-or-later 5--> 6 7- Power on two SDR boards. Call one board "AP board" and the other "client board". On each board, the TX and RX antenna should vertical/orthogonal to each other as much as possible to gain a good TX/RX isolation. 8- Connect a computer to the AP board via Ethernet cable. The computer should have static IP 192.168.10.1. Open a terminal on the computer, and then in the terminal: 9 ``` 10 ssh [email protected] 11 (password: openwifi) 12 cd openwifi 13 ./fosdem.sh 14 (It will create a WiFi AP by hostapd program with config file: hostapd-openwifi.conf) 15 (Wait for the script completed) 16 cat /proc/interrupts 17 (Execute the "cat ..." command for several times) 18 (You should see the number of "sdr,tx_itrpt1" grows, because it sends the "openwifi" beacon periodically) 19 ``` 20- Connect another computer to the client board via Ethernet cable. The computer should have static IP 192.168.10.1. Open a terminal on the computer, and then in the terminal: 21 ``` 22 ssh [email protected] 23 (password: openwifi) 24 service network-manager stop 25 cd openwifi 26 ./wgd.sh 27 (Wait for the script completed) 28 ifconfig sdr0 up 29 iwlist sdr0 scan 30 (The "openwifi" AP should be listed in the scanning results) 31 iwconfig sdr0 essid openwifi 32 ``` 33- Now the client is trying to associate with the AP. The AP board terminal should print like: 34 ``` 35 ... 36 sdr0: AP-STA-CONNECTED 66:55:44:33:22:58 37 sdr0: STA 66:55:44:33:22:58 RADIUS: starting accounting session 1FF1C1B4-00000001 38 ``` 39 If not, please adjust antenna/distance and re-run the commands on the client side. 40 41- After association is done, in the terminal of client: 42 ``` 43 dhclient sdr0 44 (Wait for it completed) 45 ifconfig sdr0 46 (Now you should see the IP address like 192.168.13.x allocated by AP) 47 ping 192.168.13.1 48 (Ping the AP) 49 ``` 50 Now the communication link should be already setup between the AP and the client. 51