Skip to content

Commit b7b449a

Browse files
ItsNayabSDConchuOD
authored andcommitted
sama9x75_curiosity,sama5: Start_AP.sh: add Wi-Fi provisioning
`websocket` binary supports systemd now. Include this binary in Start_AP.sh script for Wi-Fi provisioning mode. Signed-off-by: Nayab Sayed <[email protected]> Reviewed-by: Balakrishnan Sambath <[email protected]> Signed-off-by: Conor Dooley <[email protected]>
1 parent a6aebb6 commit b7b449a

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

board/microchip/sam9x75_curiosity/fs-overlay/root/Start_AP.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,9 @@ EOF
125125
sleep 5
126126
dhcpd wlan0 &
127127

128+
cd /root/
129+
./websocket &
130+
128131
nohup python3 -m http.server 80 -d /var/www/html &
129132
echo "Now, The device comes up as an Access Point(AP) and host a webpage to provision"
130133
echo "WiFi station interface"

board/microchip/sama5/fs-overlay/root/Start_AP.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,9 @@ EOF
125125
sleep 5
126126
dhcpd wlan0 &
127127

128+
cd /root/
129+
./websocket &
130+
128131
echo "Now, The device comes up as an Access Point(AP) and host a webpage to provision"
129132
echo "WiFi station interface"
130133
echo ""

0 commit comments

Comments
 (0)