alan@dev:~$ ssh [email protected]
pi@raspberrypi:~ $ ls /sys/bus/sdio/devices/
mmc1:0001:1 mmc1:0001:2
pi@raspberrypi:~ $ sudo ./sx-sdmah/load_driver.sh
Morse_cli Version: rel_1_10_2_2023_Nov_22
FW Version: rel_1_10_2_2023_Nov_22
pi@raspberrypi:~/sx-sdmah $ cat ~/sx-sdmah/conf/US/sta_halow_sae.conf
ctrl_interface=/var/run/wpa_supplicant_s1g
network={
ssid="silex-ap"
key_mgmt=SAE
sae_password="xxxxxxxx"
ieee80211w=2
}
p2p_disabled=1
ignore_old_scan_res=1
pi@raspberrypi:~/sx-sdmah $ sudo wpa_supplicant_s1g -i wlan0 -c ~/sx-sdmah/conf/US/sta_halow_sae.conf -B
Successfully initialized wpa_supplicant
morse: disable long sleep on ifname wlan0
Long Sleep Mode: disabled
pi@raspberrypi:~ $ ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.10 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::db7b:df64:fe44:f2ed prefixlen 64 scopeid 0x20<link>
ether 2c:cf:67:7c:a7:a2 txqueuelen 1000 (Ethernet)
RX packets 333 bytes 39241 (38.3 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 303 bytes 47585 (46.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 25 bytes 2839 (2.7 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 25 bytes 2839 (2.7 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlan0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.168.200.2 netmask 255.255.255.0 broadcast 192.168.200.255
ether 1c:bc:ec:2f:84:bc txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
How to scan the wireless:
pi@raspberrypi:~ $ sudo iw dev wlan0 scan | grep -A10 silex
SSID: silex-ap
Supported rates: 1.0 2.0 5.5 6.0* 11.0 12.0* 18.0 24.0*
Country: US Environment: bogus
Extension ID: 201 Regulatory Class: 68 Coverage class: 0 (up to 0m)
Channels [3 - 3] @ 30 dBm
RSN: * Version: 1
* Group cipher: CCMP
* Pairwise ciphers: CCMP
* Authentication suites: SAE
* Capabilities: 16-PTKSA-RC 1-GTKSA-RC MFP-required MFP-capable (0x00cc)
Supported operating classes:
pi@raspberrypi:~/sx-sdmah $ sudo ip addr flush dev wlan0 && sudo ip addr add 10.0.0.1/24 brd 10.0.0.255 dev wlan0 && sudo ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 2c:cf:67:7c:a7:a2 brd ff:ff:ff:ff:ff:ff
inet 192.168.0.10/24 brd 192.168.0.255 scope global noprefixroute eth0
valid_lft forever preferred_lft forever
inet6 fe80::db7b:df64:fe44:f2ed/64 scope link
valid_lft forever preferred_lft forever
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether 1c:bc:ec:2f:84:bc brd ff:ff:ff:ff:ff:ff
inet 10.0.0.2/24 brd 10.0.0.255 scope global wlan0
valid_lft forever preferred_lft forever
pi@raspberrypi:~ $ ping 10.0.0.1
PING 10.0.0.1 (10.0.0.1) 56(84) bytes of data.
64 bytes from 10.0.0.1: icmp_seq=1 ttl=64 time=4.99 ms
64 bytes from 10.0.0.1: icmp_seq=2 ttl=64 time=4.97 ms
64 bytes from 10.0.0.1: icmp_seq=3 ttl=64 time=4.96 ms
64 bytes from 10.0.0.1: icmp_seq=4 ttl=64 time=5.24 ms
64 bytes from 10.0.0.1: icmp_seq=5 ttl=64 time=5.14 ms
64 bytes from 10.0.0.1: icmp_seq=6 ttl=64 time=7.79 ms
64 bytes from 10.0.0.1: icmp_seq=7 ttl=64 time=4.73 ms
64 bytes from 10.0.0.1: icmp_seq=8 ttl=64 time=4.73 ms
64 bytes from 10.0.0.1: icmp_seq=9 ttl=64 time=5.11 ms
64 bytes from 10.0.0.1: icmp_seq=10 ttl=64 time=4.84 ms
64 bytes from 10.0.0.1: icmp_seq=11 ttl=64 time=4.66 ms
64 bytes from 10.0.0.1: icmp_seq=12 ttl=64 time=4.91 ms
64 bytes from 10.0.0.1: icmp_seq=13 ttl=64 time=5.31 ms
64 bytes from 10.0.0.1: icmp_seq=14 ttl=64 time=28.5 ms
64 bytes from 10.0.0.1: icmp_seq=15 ttl=64 time=4.99 ms
^C
--- 10.0.0.1 ping statistics ---
15 packets transmitted, 15 received, 0% packet loss, time 14021ms
rtt min/avg/max/mdev = 4.660/6.721/28.453/5.853 ms
Access Point Silex AP-150-AH configuration:
900MHz AP:
Wireless LAN
------------
Channel (MHz): 903.5
Channel Bandwidth: 1MHz
SSID: silex-ap
Network Authentication: WPA3-Personal
Security Configuration
Pre-Shared Key: pastelito
Extension Configuration
-----------------------
Beacon Interval(ms): 100
DTIM Period: 10
Transfer Rate: AUTO
Tx Power(%): 100
Weak RSSI threshold(dBm): -75