Basic explanation of what the Bridged AP mode is and the configuration of RB in Bridged AP mode is given here. Configuration specific to our network is given below.
File: /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 ipaddr '10.107.91.232' option netmask '255.255.224.0' option gateway '10.107.95.250' config switch option name 'switch0' option reset '1' option enable_vlan '1' config switch_vlan option device 'switch0' option vlan '1' option ports '1 2 5'
Notice the 'option type bridge' written in boldface. Here, it is assumed that the IP addresses are assigned in a static manner. If a DHCP server can lease IP addresses to the RB, then replace 'option proto static' with 'option proto dhcp' and delete (or comment) the next three lines.
File: /etc/config/wireless
config wifi-device radio0 option type mac80211 option channel 1 option hwmode 11g option path 'pci0000:00/0000:00:14.0' # REMOVE THIS LINE TO ENABLE WIFI: #option disabled 1 config wifi-iface option device radio0 option network lan option mode ap option wds 1 option rts 0 option ssid Openwrt option encryption none
Note:
Page maintained by Gaurang Naik.