I've been using a setup liek this for a while, just put all your ports on one vlan liek you suggested, then configure your wifi and connect it to the same bridge as the rest of your ports. finally, run /etc/init.d/firewall disable; /etc/init.d/dnsamaq disable; and check for any other services that might interfere with your normal operation and disable them. Make sure you configure your network to use dhcp on the lan segment.

DO NOT disable anything just because you don't think you need it. only if it interferes. also, do not remove the device itsself from the vlan, and do NOT disable dropbear, or you'll lock yourself out, which is a major pain in the ass.

Here's my config for pretty much exactly what you want:
/etc/config/network:
config 'switch' 'eth0'
        option 'enable' '1'

config 'switch_vlan' 'eth0_0'
        option 'device' 'eth0'
        option 'vlan' '0'
        option 'ports' '0 1 2 3 4 5'

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 'type' 'bridge'
        option 'ifname' 'eth0.0'
        option 'proto' 'dhcp'
        option 'stp' '1'
        option 'defaultroute' '0'
        option 'peerdns' '0'

/etc/config/wireless
config wifi-device  radio0
        option type     mac80211
        option channel  5
        option macaddr  00:14:bf:18:fe:98
        option hwmode   11g

        # REMOVE THIS LINE TO ENABLE WIFI:
        option disabled 0

config wifi-iface
        option device   radio0
        option network  lan
        option mode     ap
        option ssid     SlumberSecure37
        option encryption wpa2+tkip+ccmp
        #option server  radius.aarcane.info
        option server   10.0.0.108
        option key      --CENSORED--
        option port     1812
r...@unnamed-wrt:/etc/rc.d# ls
K50dropbear           S05netconfig          S59luci_dhcp_migrate
K90network            S10boot               S95done
K95luci_fixtime       S39usb                S96led
K98boot               S40network            S97watchdog
K99umount             S50cron               S99sysctl
S02nvram              S50dropbear
S05luci_fixtime       S50uhttpd

it works perfectly as an access point(and also as a radius client, just a word of thanks to the devs here~).

On 7/8/2010 13:20, Gábor Molnár wrote:
I think you will get the same result if you disable the dhcp, and
connect all your cables in the LAN ports. Any wifi router should act as
an acces point if you do so.

On 27 June 2010 23:41, Jack Bates <[email protected]
<mailto:[email protected]>> wrote:

    We have an existing LAN and DHCP server - my goal is to provide wifi
    access to it using OpenWrt and a couple WRT54GL wireless routers

    We don't actually need routers - just access points - so I want all
    ethernet ports and the wifi interface to be in one VLAN. Wifi clients
    will use our existing DHCP server

    I didn't find specific instructions online, so I made this change to the
    default /etc/config/network,
    http://www.sfu.ca/~jdbates/tmp/openwrt/201006270/patch

    I dropped all "config switch*" stanzas, dropped the "wan" interface
    stanza, and reconfigured the "lan" interface stanza with ifname "eth0"
    and "proto dhcp" (this way the access point also gets its IP from our
    existing DHCP server)

    It seems to be working great - is this the best way to accomplish what I
    describe?

    I'm running Backfire (10.03) brcm47xx and it seems to be working great -
    thanks OpenWrt!
    _______________________________________________
    openwrt-users mailing list
    [email protected] <mailto:[email protected]>
    https://lists.openwrt.org/mailman/listinfo/openwrt-users




_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-users
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-users

Reply via email to