Hi everyone,
I am using an openwrt as an extender for a network that requires both username and password with the following configuration:

/etc/config/wireless

config wifi-device 'radio0'
    option type 'mac80211'
    option channel '11'
    option hwmode '11g'
    option path 'platform/10180000.wmac'
    option htmode 'HT20'
    option disabled '0'

config wifi-iface
    option device 'radio0'
    option network 'lan'
    option mode 'ap'
    option ssid 'OpenWrt'
    option encryption 'psk2'
    option key 'mypwd'

#WORKS ONLY WITH FULL WPAD (remove wpad-mini)
config wifi-iface
    option device 'radio0'
    option network 'wan'
    option mode 'sta'
    option ssid 'WiFiToExtend'
    option encryption 'wpa2+ccmp'                                                                                                              
    option eap_type 'peap'                                                                                                               
           option auth 'auth=MSCHAPV2'                                                                                                          
           option identity 'myid'                                                                                                 
           option password 'mypwd'

The configuration works perfectly well and I am able to connect to the internet and use it.
However sometimes the connection gets interrupted while I am still connected to my OpenWrt.

An example when I can't connect to the internet:
1) PC/Mac computers won't download any page (stuck on blank page) but Android phones work.
2) Both PC/Mac computers and android phones won't download any page (stuck on blank page).

Sometimes a reboot fixes the problem.
Connecting to the "WiFiToExtend" without using my openwrt fixes the problem.
I can provide any output you need, just tell me how you can help me smile.
Thanks.

(Last edited by uchika96 on 6 Nov 2017, 00:27)