Team Internet/WirelessAccessPoints
From Whitespace (Hackerspace Gent)
< Team Internet(Difference between revisions)
(→bridging wired & wireless interface) |
(→bridging wired & wireless interface) |
||
| Line 4: | Line 4: | ||
basically this is the default OpenWRT configuration. | basically this is the default OpenWRT configuration. | ||
| + | * http://wiki.openwrt.org/doc/recipes/bridgedap | ||
<pre> | <pre> | ||
# cat /etc/config/system | # cat /etc/config/system | ||
Latest revision as of 05:43, 24 September 2011
[edit] bridging wired & wireless interface
we bridge the wired and wireless interfaces, no NAT is necessary (the devices are just extending our local network).
basically this is the default OpenWRT configuration.
# cat /etc/config/system
config system
option hostname 0x20-AP-ch3
option timezone UTC
# cat /etc/config/wireless
config 'wifi-device' 'wifi0'
option 'type' 'atheros'
option 'disabled' '0'
option 'channel' '3'
option 'diversity' '0'
config 'wifi-iface'
option 'device' 'wifi0'
option 'network' 'lan'
option 'mode' 'ap'
option 'ssid' '0x20'
#option 'encryption' 'none'
option 'encryption' 'psk2'
option 'key' '*************'
# cat /etc/config/network
config 'interface' 'loopback'
option 'ifname' 'lo'
option 'proto' 'static'
option 'ipaddr' '127.0.0.1'
option 'netmask' '255.0.0.0'
config 'interface' 'lan'
option 'ifname' 'eth0'
option 'type' 'bridge'
option 'proto' 'static'
option 'netmask' '255.255.255.0'
option 'ipaddr' '172.22.32.12'
option 'gateway' '172.22.32.14'
option 'dns' '172.22.32.14'
option 'defaultroute' '0'
option 'peerdns' '0'