Skip to content

Commit d6d83a8

Browse files
authored
Merge pull request #66 from jychen0611/readme_command
Fix commands in top-level documentation
2 parents c1ca07f + de729c3 commit d6d83a8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -230,9 +230,9 @@ vw_phy2
230230
Assign the three interfaces to separate network namespaces.
231231
Please 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
263263
Run `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={
277277
Then 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

Comments
 (0)