Skip to content

Instantly share code, notes, and snippets.

Here are basic instructions for setting up the AP, things changed some for FreeBSD-8 in rc.conf though, and my most recent backup was *grumble* 6.3. I'm thinking of re-doing the thing on Friday.
/etc/rc.conf:
ifconfig_<if>="inet <ip/netmask> ssid <SSID> mediaopt hostap mode 11g media ofdm54" ;Enables interface and sets to 802.11g with the speed at 54mbit/s in Master mode
hostapd_enable="YES" ;Enables the daemon that actually manages the AP to be configured
/etc/hostapd.conf:
interface=<if>
debug=1
ctrl_interface=/var/run/hostapd
@ysarro
ysarro / PPPoE on FreeBSD
Created January 31, 2011 16:20
PPPoE on FreeBSD
/etc/ppp/ppp.conf
default:
set device PPPoE:<interface connected to modem>:<profile name>:
<profile name>:
set authname <pppoe username>
set authkey <pppoe password>
add default HISADDR