Internet ------> wlan1 ---> PC ---> wlan0 ---> muchas PCs
# apt-get -y install dnsmasq
# nano /etc/dnsmasq.con
agregamos la sigiente config al final
no-resolv
interface=wlan0 # or whatever wifi card you're using for the AP
listen-address=192.168.2.1 # listen on
bind-interfaces
domain-needed # Don't forward short names
# Never forward addresses in the non-routed address spaces.
bogus-priv
dhcp-range=192.168.2.2,192.168.2.100,12h
server=8.8.8.8
server=8.8.4.4
editemosel ficero de interfaces
nano /etc/network/interfaces
agregamos para recibir señal:
auto wlan1
iface wlan1 inet dhcp
#iface wlan1 inet static
i agregamos para ENVIAR señal
en este caso usamos el rango192.168.2.X :
# configuracon para compartir WIFI
auto wlan0
iface wlan0 inet static
address 192.168.2.1
netmask 255.255.255.0
network 192.168.2.0
broadcast 192.168.2.255
esto deveria estar activado intacto :
auto loy finalmente reiniciamos el servicio
iface lo inet loopback
/etc/init.d/ networking stop
/etc/init.d/ networking start
o reiniciamos la PC
Nota, no recuedo si le ponemos un "1" a el fichero
nano /proc/sys/net/ipv4/ip_forward