I followed these instructions on how to set up my TP-Link TL-WR1043ND as a dumb AP:
- Flashed brand new Attitude Adjustment 12.09-rc1
- Logged into LuCI, set up a password
- Disabled and stopped firewall and dnsmasq under System > Startup
- Enabled wireless
I have no internet access from my other devices connected over wireless. Windows says "Limited access," and iPad says "Server not found" or some such.
I proceded to bridge the lan and wan interfaces. I changed my /etc/config/network file from:
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.1' option type 'bridge' option proto 'static' option ipaddr '192.168.1.1' option netmask '255.255.255.0' config interface 'wan' option ifname 'eth0.2' option proto 'dhcp' config switch option name 'rtl8366rb' option reset '1' option enable_vlan '1' config switch_vlan option device 'rtl8366rb' option vlan '1' option ports '1 2 3 4 5t' config switch_vlan option device 'rtl8366rb' option vlan '2' option ports '0 5t'
... config interface 'lan' option ifname 'eth0.1 eth0.2' option type 'bridge' option proto 'static' option ipaddr '192.168.1.1' option netmask '255.255.255.0' #config interface 'wan' # option ifname 'eth0.2' # option proto 'dhcp' ...
I did this because the wiki page says "bridge the LAN VLAN together with the WAN interface" and "remove the existing WAN interface - if any." I had to telnet into failsafe mode to recover from it, so that obviously was a bad move.
I wonder if the router is configured properly but my server is not. My setup is like so:
OpenWrt <-> Ubuntu running dnsmasq, firewall, squid <-> DSL modem <-> Internet
The server has two interfaces: one of them is configured as PPPoE and the other is just a static IP. The modem is operating in transparent bridge mode. I don't think the problem is on the server but I could definitely be wrong.
Any help is appreciated.