OpenWrt Forum Archive

Topic: TP-LINK TL-WA901ND v2, need help for routed ap

The content of this topic has been archived on 26 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

hi,
i just bought this TP-LINK TL-WA901ND v2 access point,
loaded it with openwrt based on the link here,
http://wiki.openwrt.org/toh/tp-link/tl-wa901nd

i telnet and set my password, and now i could ssh into the AP using KiTTY,

let me detail my network environment,

internet is a 4g modem with lan port,
ip address 192.168.1.1
subnetmask 255.255.255.0

i got several windows machines connected to it, their ip are manual set,
range from 192.168.1.2 to 192.168.1.149

those machine got windows drive shares without password (due to third-party software limitation)

what i intend to do are like following:

1. offer free internet access through wifi (using TP-LINK TL-WA901ND device)
2. wireless clients will not be allow to connect LAN clients

i read and tried but still fail, been reset the AP for several times,
any help?

the setting

root@OpenWrt:~# 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 globals 'globals'
        option ula_prefix 'fd37:91b7:2080::/48'

config interface 'lan'
        option ifname 'eth0'
        option type 'bridge'
        option proto 'static'
        option ipaddr '192.168.1.254'
        option netmask '255.255.255.0'
        option gateway  '192.168.1.1'
        option dns      '8.8.8.8'
        option ip6assign '60'

i set the lan to 192.168.1.254, now i able to ping www.google.com and online inside ssh,

what is the 'bridge' at lan means?
and how should i set the wireless?

thanks,

(Last edited by sleepsleep on 26 Jul 2013, 11:37)

i made a diagram, probably easier for others to help me,

<a href="http://www.freeimagehosting.net/kk9xj"><img src="http://www.freeimagehosting.net/t/kk9xj.jpg"></a>

The discussion might have continued from here.