@@ -230,9 +230,9 @@ vw_phy2
230
230
Assign the three interfaces to separate network namespaces.
231
231
Please note that the ` wiphy` is placed within the network namespace, and the interface associated with that wiphy will be contained within it.
232
232
` ` ` 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
236
236
` ` `
237
237
238
238
# ## Assigning IP Addresses to Each Interface
@@ -262,7 +262,7 @@ wpa_pairwise=CCMP
262
262
263
263
Run `hostapd` on the interface `vw0`:
264
264
```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
266
266
```
267
267
268
268
### Running ` wpa_supplicant ` on the Station Mode Interfaces
@@ -277,9 +277,9 @@ network={
277
277
Then run the ` wpa_supplicant ` on the interface ` ns1 ` and ` ns2 ` :
278
278
``` shell
279
279
$ 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
281
281
$ 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
283
283
```
284
284
285
285
### Validating the Connection
0 commit comments