Skip to content

Commit

Permalink
DOC : Explain how to use WEP configuration :
Browse files Browse the repository at this point in the history
	- Add the file : "tests/hostapd_wep.conf"
	- Update "README.md"
  • Loading branch information
Raizo62 committed Dec 31, 2023
1 parent 7cc7f91 commit e001942
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
34 changes: 34 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,40 @@ sudo ip a a 10.0.0.2/8 dev wlan0
ping 10.0.0.1
```

## Test 4 : WEP

### Packages needed on the guests for this test

```bash
sudo apt install hostapd
```

### Guests

* Guest Wifi 1 :

```bash
sudo ip a a 10.0.0.1/8 dev wlan0
sudo hostapd tests/hostapd_wep.conf
```

* Guest Wifi 2 :
```bash
cat << EOF | sudo tee -a /etc/network/interfaces > /dev/null
iface wlan0 inet static
wireless-essid AP_WEP
wireless-key 123456789a
address 10.0.0.2
netmask 255.255.255.0
EOF
sudo ifup wlan0
ping 10.0.0.1
```

# Others Tools

* start-vwifi-client.sh : do all the commands necessary to start ***vwifi-client*** on a Guest
Expand Down
9 changes: 9 additions & 0 deletions tests/hostapd_wep.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
interface=wlan0
driver=nl80211
ssid=AP_WEP
hw_mode=g
channel=1
ignore_broadcast_ssid=0
wep_default_key=0
wep_key0=123456789a

0 comments on commit e001942

Please sign in to comment.