# grep -Hirn "mystring" /path/to/dir
# find . -print0 | xargs -0 -n1 -P8 grep -Hirn
thanks to sifu enshu
# cp -p /etc/grub.d/10_linux /etc/grub.d/10_linux.`date +%Y%m%d.%H%M`
# sed -i 's/quick_boot="1"/quick_boot="0"/' /etc/grub.d/10_linux
# update-grub
# reboot
On access point side
- disable firewall
- enable packet forwarding
# echo 1 > /proc/sys/net/ipv4/ip_forward
- set iptables rule for port forwarding
# iptables -t nat -A POSTROUTING -o -j MASQUERADE
on client side:
- configure network interface so you can reach the access point
- set the access point as default gateway
# route add default gw
- set dns resolution
# echo nameserver 8.8.8.8 >> /etc/resolv.conf