@@ -230,9 +230,9 @@ vw_phy2
230230Assign the three interfaces to separate network namespaces.
231231Please note that the ` wiphy` is placed within the network namespace, and the interface associated with that wiphy will be contained within it.
232232` ` ` shell
233- $ sudo iw phy $ vw_phy0 set netns name ns0
234- $ sudo iw phy $ vw_phy1 set netns name ns1
235- $ sudo iw phy $ vw_phy2 set netns name ns2
233+ $ sudo iw phy vw_phy0 set netns name ns0
234+ $ sudo iw phy vw_phy1 set netns name ns1
235+ $ sudo iw phy vw_phy2 set netns name ns2
236236` ` `
237237
238238# ## Assigning IP Addresses to Each Interface
@@ -262,7 +262,7 @@ wpa_pairwise=CCMP
262262
263263Run `hostapd` on the interface `vw0`:
264264```shell
265- $ sudo ip netns exec ns0 hostapd -i vw0 -B hostapd.conf
265+ $ sudo ip netns exec ns0 hostapd -i vw0 -B scripts/ hostapd.conf
266266```
267267
268268### Running ` wpa_supplicant ` on the Station Mode Interfaces
@@ -277,9 +277,9 @@ network={
277277Then run the ` wpa_supplicant ` on the interface ` ns1 ` and ` ns2 ` :
278278``` shell
279279$ sudo ip netns exec ns1 \
280- wpa_supplicant -i vw1 -B -c wpa_supplicant.conf
280+ wpa_supplicant -i vw1 -B -c scripts/ wpa_supplicant.conf
281281$ sudo ip netns exec ns2 \
282- wpa_supplicant -i vw2 -B -c wpa_supplicant.conf
282+ wpa_supplicant -i vw2 -B -c scripts/ wpa_supplicant.conf
283283```
284284
285285### Validating the Connection
0 commit comments