Thanks for the link,

I did after the tutorial:
root@OpenWrt:~# uci show network.wifi
network.wifi=interface
network.wifi.proto=static
network.wifi.ipaddr=192.168.2.1
network.wifi.netmask=255.255.255.0
network.wifi.gateway=192.168.2.1
network.wifi.dns=192.168.1.200

root@OpenWrt:~# uci show wireless.@wifi-iface[0]
wireless.cfg03da6c=wifi-iface
wireless.cfg03da6c.device=wifi0
wireless.cfg03da6c.network=wifi
wireless.cfg03da6c.mode=ap
wireless.cfg03da6c.ssid=OpenWrt

root@OpenWrt:~# uci show dhcp.wifi
dhcp.wifi=dhcp
dhcp.wifi.interface=wifi
dhcp.wifi.start=100
dhcp.wifi.limit=150
dhcp.wifi.leasetime=12h

root@OpenWrt:~# uci show firewall.@zone[2]
firewall.cfg08b824=zone
firewall.cfg08b824.name=wifi
firewall.cfg08b824.input=ACCEPT
firewall.cfg08b824.output=ACCEPT
firewall.cfg08b824.forward=REJECT

root@OpenWrt:~# uci show firewall.@forwarding[1]
firewall.cfg0ce905=forwarding
firewall.cfg0ce905.src=wifi
firewall.cfg0ce905.dest=wan
root@OpenWrt:~# uci show firewall.@forwarding[2]
firewall.cfg0eee1a=forwarding
firewall.cfg0eee1a.src=lan
firewall.cfg0eee1a.dest=wifi
root@OpenWrt:~# uci show firewall.@forwarding[3]
firewall.cfg10ba3a=forwarding
firewall.cfg10ba3a.src=wifi
firewall.cfg10ba3a.dest=lan

Now I can only access Internet from the router, not other machine in 
wifi network.

What did I do wrong?

Thanks

Le lun. 24 sept. 2012 16:54:11 ICT, Jo-Philipp Wich a écrit :
> http://wiki.openwrt.org/doc/recipes/routedap

--
Regards,
Quân

Y!IM: ng_hquan_vn
GTalk: ng.hong.quan
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to