OpenWrt Forum Archive

Topic: WISP client with local wireless access

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

[ANSWERED]

Hello!
I have got a TP-LINK TLWR1043ND with openwrt and i want to share my internet from my WISP via wifi and cables is my house! (I have got static ip address from my wisp!)
http://www.tp-link.com/Resources/UploadFiles/Image/products/overview/TL-WR743ND_WISP.jpg
Thank you! smile

Edit:
I found the solution!

Change /etc/config/network to:

    config 'interface' 'lan'
        option 'type' 'bridge'
        option 'ifname' 'eth0.0'
        option 'proto' 'static'
        option 'netmask' '255.255.255.0'
        option 'dns' '192.168.1.1'
        option 'ipaddr' '192.168.1.1'

    config 'interface' 'wan'
        option 'proto' 'static'
    option 'ipaddr' '(your.static.ip.from.wisp)'
    option 'netmask' '255.255.255.0'
    option 'gateway' '(wisp.gateway.ip)'
    option 'dns' '8.8.8.8, 8.8.4.4'


Change /etc/config/wireless to:

    config 'wifi-device' 'radio0'
        option 'type' 'mac80211'
        option 'channel' '(between.1-11)'
    option 'hwmode' '11ng'
    option 'htmode' 'HT40+'

    config 'wifi-iface' 'cfg2'
        option 'device' 'radio0'
        option 'mode' 'ap'
        option 'network' 'lan'
        option 'ssid' '(your.local.ssid)'
        option 'encryption' 'psk2'
        option 'key' '(wpa2.wireless.key)'

    config 'wifi-iface' 'cfg3'
        option 'device' 'radio0'
        option 'mode' 'sta'
        option 'network' 'wan'
        option 'ssid' '(wisp.ssid)'
        option 'encryption' '(wisp.network.encryption.type)'
        [If your WISP has wireless security, you need this line:]
        (option 'key' '(network.key)')

...And you should reboot your router!... smile

(Last edited by gol7ager on 8 Jan 2012, 21:20)

The discussion might have continued from here.