wlan2eth/go/README.md

15 lines
278 B
Markdown
Raw Normal View History

2023-06-20 12:08:03 -06:00
`sudo apt install libpcap-dev gcc`
```bash
go mod tidy
go build wlan2eth
2023-06-20 12:08:03 -06:00
```
Run the program like this:
2023-06-20 12:08:03 -06:00
```
./wlan2eth --dhcp-modify-src --eth [name of ethernet] --wlan [name of wireless interface]
```
2023-06-20 12:08:03 -06:00
`--dhcp-modify-src` will modify the client address in the DHCP packets.