Building The Network You Need With PF, The OpenBSD Packet Filter: BSDCan 2016, Ottawa, Canada, June 8th 2016 | ||
---|---|---|
Prev | Next |
Client:
$ sudo ifconfig ath0 up mode 11b chan 11 nwid unwiredbsd nwkey 0x1deadbeef9 $ sudo dhclient ath0 DHCPREQUEST on ath0 to 255.255.255.255 port 67 DHCPREQUEST on ath0 to 255.255.255.255 port 67 DHCPACK from 10.50.90.1 bound to 10.50.90.11 -- renewal in 1800 seconds.
Make permanent with /etc/hostname.ath0
up media autoselect mode 11b chan 6 nwid unwiredbsd nwkey 0x1deadbeef9 dhcp
WPA pre-shared
up media autoselect mode 11b chan 6 nwid unwiredbsd \ wpakey mylongpassphrase