Dear Professionals,
Recently I received a WAP54G v2 device, I successfully flashed with WhiteRussian 0.9 micro (it's only 2Mb flash so AFAIK it's my only option). My goal is the following:
1. Plug LAN port to a cable modem, receive public internet IP via DHCP, so it will be directly connected to Internet.
2. Use WIFI as LAN network, provide DHCP to wifi clients and do the routing & firewalling.
Note: No, I do not have any wired or wireless routers so I want to use the AP + smart OpenWRT linux to achieve routing also. And no, I do not want to buy a small 4-port wired router because I really want to do all the things with WAP54G device.
Honestly I'm a bit mixed up because 99% of the documentation refers to WRT54G-series and those are different. I'd like to be extra careful, seeing so much people bricked his/her device... but after 3 days of reading I'm more ambiguous than before - I really need some fundamentals. What I think I understand already:
1. I saw from dmesg that eth1 is the WIFI, eth0 is LAN.
2. There is a br0 interface, bridging eth0 & eth1 together. From nvram settings:
lan_ifname=br0
lan_ifnames=eth0 eth1
3. There is a wan interface, with many nvram settings. It seems it served as connection to LAN side when the Linksys official firmware was active (I'm not sure about that but I can see nvram settings like "wan_desc=Default connection" so it seems these were the factory defaults.) I also can see that wlan_device=vlan1
4. About the different vlans: I understand that there is vlan0 & vlan1. The vlan0 consists "1 2 3 4 5*" while vlan1 is "0 5". Of course in the WAP54G there is no such LAN ports 1 2 3 4 since it is just a humble AP. I'm not sure I should do anything with these vlans at all.
I thought it is enough to separate WIFI and LAN interfaces, so I've done some changes:
lan_ifname=eth0
nvram set lan_ifnames=eth0
nvram set lan_proto=dhcpclient
nvram set lan_hwaddr=aa:bb:cc:dd:ee (I needed to clone for internet connection working)
nvram set wl0_proto=static
nvram set wl0_ifname=eth1
nvram set wl0_ipaddr=192.168.0.1
nvram set wl0_netmask=255.255.255.0
nvram commit"Certainly" after rebooting I could not reach the device, nor getting IP address from wifi but after a half day of struggling I could restore the original status.
So what did I wrong? I'm really not sure which one is to configure: WAN or LAN interface? This is much confusing. Could you help me, please?
Is my original plan feasible at all? If you have examples for that please don't hesitate to answer... :-)
