ubuntu 下实现add hoc 网络共享

windows 下 的 ad-hoc只需要修改 为
计算机 点对点方式
今天在UBUNTU下的过程过程 简要描述
来自 .bash_history
sudo ifconfig wlan0 down
sudo iwconfig wlan0 mode ad-hoc
sudo iwconfig wlan0 essid “yingouqlj
sudo ifconfig wlan0 192.168.0.1 netmask 255.255.255.0
sudo iptables -F
sudo iptables -P INPUT ACCEPT
sudo iptables -P FORWARD ACCEPT
sudo iptables -t nat -A POSTROUTING -o etho -j MASQUERADE
sudo vim /etc/sysctl.conf
去注释 net.ipv4.ip_forward = 1


标签: 实现共享ubuntu
------分隔线----------------------------
· 首页 · 注册

百鸣[Baiming.org]欢迎您 百鸣[Baiming.org]欢迎您~