Update README.md

This commit is contained in:
HappyZ 2017-12-21 17:04:24 -06:00 committed by GitHub
parent 75976781c3
commit 506fab8355
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 0 deletions

View File

@ -38,6 +38,19 @@ ieee80211n=1
wme_enabled=1
```
Then add `/etc/hostapd/hostapd.conf` to `DAEMON_CONF=/etc/hostapd/hostapd.conf` in `/etc/init.d/hostapd`
After configuring `hostapd` and `isc-dhcp-server`, start them as system service:
```
sudo service hostapd start
sudo service isc-dhcp-server start
```
If using ODroid and `RFKill` being a b**ch, i.e. running `rfkill list` showing soft block, add the following command to `/etc/rc.local` to make it work (ugly workaround):
```
sh -c "sleep 5 && rfkill unblock all && service networking restart && service isc-dhcp-server restart" &
```
# Setup monitor mode of wifi card
1. Check with `iw dev` which interface to use, in our case `wlan1` on `phy1` is what we want
2. Double check if `iw phy phy1 info` returns `monitor` in `Supported interface modes`