- 开启ipv4转发
vi /etc/sysctl.conf
# 将net.ipv4.ip_forward=0更改为net.ipv4.ip_forward=1
sysctl -p
- 安装dnsmasq 和pdnsd解决dns污染
DNS的解析方案为 resolve.conf ==> dnsmasq ==> pdnsd
vi /etc/sysctl.conf
# 将net.ipv4.ip_forward=0更改为net.ipv4.ip_forward=1
sysctl -p
DNS的解析方案为 resolve.conf ==> dnsmasq ==> pdnsd
#Overview The latest Ubuntu 15.04 announced it has already support OCB mode. its kernel version is 3.19.0, however,it just added ocb feature on mac80211 and nl80211 layer, for drvier layer, we have to menully patch it by ourself. Here will show how patch whole stack to suport OCB/802.11p for Kernel 3.19.0 and ath9k step by step.
#Get 3.19.0 source code from official site
If you are in ubuntu 15.04, just follow the steps below,
apt-get source linux-image-$(uname -r)
apt-get build-dep linux-image-$(uname -r)