[WLANware] basic setup in webinterface

Manuel Munz manu at somakoma.de
Tue Nov 6 10:59:55 CET 2012


On 06.11.2012 10:41, Randall wrote:
> thanks for the pointers, good to know
> 
> i have added the "acces point" and its bridged on the wireless0, this
> means it works and takes me to the FF splash page, when connected to the
> router with internet connection it works as it should.
> 

It doesn't need to be bridged. Here is a working config from one of my
nodes (it is running madwifi, but i think it should work like this on
ath9k too).

wireless:

config 'wifi-iface' 'wifi0_iface'
	option 'device' 'wifi0'
	option 'encryption' 'none'
	option 'mode' 'adhoc'
	option 'sw_merge' '1'
	option 'mcast_rate' '5500'
	option 'probereq' '1'
	option 'network' 'wifi0'
	option 'ssid' 'augsburg.freifunk.net'
	option 'bssid' '13:CA:FF:EE:BA:BE'


config 'wifi-iface' 'wifi0_iface_dhcp'
	option 'device' 'wifi0'
	option 'mode' 'ap'
	option 'encryption' 'none'
	option 'network' 'wifi0dhcp'
	option 'ssid' 'FF-AP-10.11.0.15'


network:

config 'interface' 'wifi0'
	option 'dns' '8.8.8.8 212.204.49.83 141.1.1.1'
	option 'netmask' '255.255.192.0'
	option 'proto' 'static'
	option 'ipaddr' '10.11.0.15'

config 'interface' 'wifi0dhcp'
	option 'interface' 'wifi0'
	option 'proto' 'static'
	option 'ipaddr' '6.0.15.1'
	option 'netmask' '255.255.255.0'

firewall:

config 'zone' 'zone_freifunk'
	option 'name' 'freifunk'
	option 'input' 'REJECT'
	option 'forward' 'REJECT'
	option 'output' 'ACCEPT'
	option 'masq' '1'
	list 'masq_src' 'lan'
	list 'masq_src' 'wifi0dhcp'
	option 'network' 'wifi0 wifi0dhcp'

luci-splash:

config 'iface' 'wifi0dhcp'
	option 'network' 'wifi0dhcp'
	option 'zone' 'freifunk'


dhcp:

config 'dhcp' 'wifi0dhcp'
        option 'interface' 'wifi0dhcp'
        option 'leasetime' '30m'
        option 'force' '1'


Hth, Manuel



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.freifunk.net/pipermail/wlanware-freifunk.net/attachments/20121106/aeee3d92/attachment.pgp>


More information about the WLANware mailing list