Hello,
In tutorial, lot of people said that the Edimax EW-7811Un 150m/s is ad-hoc compliant.
So I bought it and try to create an adhoc.
I do not want a dhcp server because i want to fix IP on my wifi device clients
... and, It seems that nothing is working:
In my interface:
iface wlan0 inet static
address 192.168.42.1
netmask 255.255.255.0
sudo apt-get install hostapd
In hostapd:
DAEMON_CONF="/etc/hostapd/hostapd.conf"
In hostapd.conf
interface=wlan0
ssid=TEST_AP
hw_mode=g
channel=6
auth_algs=1
wmm_enabled=0
In systcl.conf:
net.ipv4.ip_forward=1
iptables:
sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
sudo iptables -A FORWARD -i eth0 -o wlan0 -m state --state RELATED,ESTABLISHED -j ACCEPT
sudo iptables -A FORWARD -i wlan0 -o eth0 -j ACCEPT
sudo service hostapd start ---> Failed
--> I suspect that there is a bug on hostpad
What do you think?
Thanks for your help