cannot connect wireless to openwrt











up vote
0
down vote

favorite












I am using a modem at bridge mode and WDR3600 as openwrt router.
.I have a cable from modems LAN to WDRs WAN and a cable from WDR to pc.
I have connection via cable.
From 192.168.1.1 when I select to enable wireless ,it highlightes the Generic MAC80211 802.11bgn (radio0) but I have no connection (signal is 0% and bitrate nothing).
(I am not sure what to do with radio1 device though)



/etc/config/wireless



config wifi-device 'radio0'
option type 'mac80211'
option channel '6'
option macaddr '...'
option hwmode '11ng'
option htmode 'HT20'
list ht_capab 'LDPC'
list ht_capab 'SHORT-GI-20'
list ht_capab 'SHORT-GI-40'
list ht_capab 'TX-STBC'
list ht_capab 'RX-STBC1'
list ht_capab 'DSSS_CCK-40'

config wifi-iface
option device 'radio0'
option network 'wan2'
option mode 'ap'
option ssid 'myOpenWrt'
option encryption 'psk2'
option key 'mykey'

config wifi-device 'radio1'
option type 'mac80211'
option channel '36'
option macaddr '...'
option hwmode '11na'
option htmode 'HT20'
list ht_capab 'LDPC'
list ht_capab 'SHORT-GI-20'
list ht_capab 'SHORT-GI-40'
list ht_capab 'TX-STBC'
list ht_capab 'RX-STBC1'
list ht_capab 'DSSS_CCK-40'
option disabled '1'

config wifi-iface
option device 'radio1'
option network 'lan'
option mode 'ap'
option ssid 'OpenWrt'
option encryption 'none'


(I am not sure what mode to select also,'ap' or 'sta' )?



/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 interface 'lan'
option type 'bridge'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option _orig_ifname 'eth0.1 radio0.network1 radio1.network1'
option _orig_bridge 'true'
option ifname 'eth0.1 tap0'

config interface 'wan'
option _orig_ifname 'eth0.2'
option _orig_bridge 'false'
option proto 'pppoe'
option username '...'
option password '...'
option ifname 'eth0.1'

config interface 'wan2'
option _orig_ifname 'eth0.2'
option _orig_bridge 'false'
option proto 'pppoe'
option username '...'
option password '...'
option ifname 'eth0.2'

config switch
option name 'eth0'
option reset '1'
option enable_vlan '1'

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

config switch_vlan
option device 'eth0'
option vlan '2'
option ports '0t 1'









share|improve this question


























    up vote
    0
    down vote

    favorite












    I am using a modem at bridge mode and WDR3600 as openwrt router.
    .I have a cable from modems LAN to WDRs WAN and a cable from WDR to pc.
    I have connection via cable.
    From 192.168.1.1 when I select to enable wireless ,it highlightes the Generic MAC80211 802.11bgn (radio0) but I have no connection (signal is 0% and bitrate nothing).
    (I am not sure what to do with radio1 device though)



    /etc/config/wireless



    config wifi-device 'radio0'
    option type 'mac80211'
    option channel '6'
    option macaddr '...'
    option hwmode '11ng'
    option htmode 'HT20'
    list ht_capab 'LDPC'
    list ht_capab 'SHORT-GI-20'
    list ht_capab 'SHORT-GI-40'
    list ht_capab 'TX-STBC'
    list ht_capab 'RX-STBC1'
    list ht_capab 'DSSS_CCK-40'

    config wifi-iface
    option device 'radio0'
    option network 'wan2'
    option mode 'ap'
    option ssid 'myOpenWrt'
    option encryption 'psk2'
    option key 'mykey'

    config wifi-device 'radio1'
    option type 'mac80211'
    option channel '36'
    option macaddr '...'
    option hwmode '11na'
    option htmode 'HT20'
    list ht_capab 'LDPC'
    list ht_capab 'SHORT-GI-20'
    list ht_capab 'SHORT-GI-40'
    list ht_capab 'TX-STBC'
    list ht_capab 'RX-STBC1'
    list ht_capab 'DSSS_CCK-40'
    option disabled '1'

    config wifi-iface
    option device 'radio1'
    option network 'lan'
    option mode 'ap'
    option ssid 'OpenWrt'
    option encryption 'none'


    (I am not sure what mode to select also,'ap' or 'sta' )?



    /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 interface 'lan'
    option type 'bridge'
    option proto 'static'
    option ipaddr '192.168.1.1'
    option netmask '255.255.255.0'
    option _orig_ifname 'eth0.1 radio0.network1 radio1.network1'
    option _orig_bridge 'true'
    option ifname 'eth0.1 tap0'

    config interface 'wan'
    option _orig_ifname 'eth0.2'
    option _orig_bridge 'false'
    option proto 'pppoe'
    option username '...'
    option password '...'
    option ifname 'eth0.1'

    config interface 'wan2'
    option _orig_ifname 'eth0.2'
    option _orig_bridge 'false'
    option proto 'pppoe'
    option username '...'
    option password '...'
    option ifname 'eth0.2'

    config switch
    option name 'eth0'
    option reset '1'
    option enable_vlan '1'

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

    config switch_vlan
    option device 'eth0'
    option vlan '2'
    option ports '0t 1'









    share|improve this question
























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I am using a modem at bridge mode and WDR3600 as openwrt router.
      .I have a cable from modems LAN to WDRs WAN and a cable from WDR to pc.
      I have connection via cable.
      From 192.168.1.1 when I select to enable wireless ,it highlightes the Generic MAC80211 802.11bgn (radio0) but I have no connection (signal is 0% and bitrate nothing).
      (I am not sure what to do with radio1 device though)



      /etc/config/wireless



      config wifi-device 'radio0'
      option type 'mac80211'
      option channel '6'
      option macaddr '...'
      option hwmode '11ng'
      option htmode 'HT20'
      list ht_capab 'LDPC'
      list ht_capab 'SHORT-GI-20'
      list ht_capab 'SHORT-GI-40'
      list ht_capab 'TX-STBC'
      list ht_capab 'RX-STBC1'
      list ht_capab 'DSSS_CCK-40'

      config wifi-iface
      option device 'radio0'
      option network 'wan2'
      option mode 'ap'
      option ssid 'myOpenWrt'
      option encryption 'psk2'
      option key 'mykey'

      config wifi-device 'radio1'
      option type 'mac80211'
      option channel '36'
      option macaddr '...'
      option hwmode '11na'
      option htmode 'HT20'
      list ht_capab 'LDPC'
      list ht_capab 'SHORT-GI-20'
      list ht_capab 'SHORT-GI-40'
      list ht_capab 'TX-STBC'
      list ht_capab 'RX-STBC1'
      list ht_capab 'DSSS_CCK-40'
      option disabled '1'

      config wifi-iface
      option device 'radio1'
      option network 'lan'
      option mode 'ap'
      option ssid 'OpenWrt'
      option encryption 'none'


      (I am not sure what mode to select also,'ap' or 'sta' )?



      /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 interface 'lan'
      option type 'bridge'
      option proto 'static'
      option ipaddr '192.168.1.1'
      option netmask '255.255.255.0'
      option _orig_ifname 'eth0.1 radio0.network1 radio1.network1'
      option _orig_bridge 'true'
      option ifname 'eth0.1 tap0'

      config interface 'wan'
      option _orig_ifname 'eth0.2'
      option _orig_bridge 'false'
      option proto 'pppoe'
      option username '...'
      option password '...'
      option ifname 'eth0.1'

      config interface 'wan2'
      option _orig_ifname 'eth0.2'
      option _orig_bridge 'false'
      option proto 'pppoe'
      option username '...'
      option password '...'
      option ifname 'eth0.2'

      config switch
      option name 'eth0'
      option reset '1'
      option enable_vlan '1'

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

      config switch_vlan
      option device 'eth0'
      option vlan '2'
      option ports '0t 1'









      share|improve this question













      I am using a modem at bridge mode and WDR3600 as openwrt router.
      .I have a cable from modems LAN to WDRs WAN and a cable from WDR to pc.
      I have connection via cable.
      From 192.168.1.1 when I select to enable wireless ,it highlightes the Generic MAC80211 802.11bgn (radio0) but I have no connection (signal is 0% and bitrate nothing).
      (I am not sure what to do with radio1 device though)



      /etc/config/wireless



      config wifi-device 'radio0'
      option type 'mac80211'
      option channel '6'
      option macaddr '...'
      option hwmode '11ng'
      option htmode 'HT20'
      list ht_capab 'LDPC'
      list ht_capab 'SHORT-GI-20'
      list ht_capab 'SHORT-GI-40'
      list ht_capab 'TX-STBC'
      list ht_capab 'RX-STBC1'
      list ht_capab 'DSSS_CCK-40'

      config wifi-iface
      option device 'radio0'
      option network 'wan2'
      option mode 'ap'
      option ssid 'myOpenWrt'
      option encryption 'psk2'
      option key 'mykey'

      config wifi-device 'radio1'
      option type 'mac80211'
      option channel '36'
      option macaddr '...'
      option hwmode '11na'
      option htmode 'HT20'
      list ht_capab 'LDPC'
      list ht_capab 'SHORT-GI-20'
      list ht_capab 'SHORT-GI-40'
      list ht_capab 'TX-STBC'
      list ht_capab 'RX-STBC1'
      list ht_capab 'DSSS_CCK-40'
      option disabled '1'

      config wifi-iface
      option device 'radio1'
      option network 'lan'
      option mode 'ap'
      option ssid 'OpenWrt'
      option encryption 'none'


      (I am not sure what mode to select also,'ap' or 'sta' )?



      /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 interface 'lan'
      option type 'bridge'
      option proto 'static'
      option ipaddr '192.168.1.1'
      option netmask '255.255.255.0'
      option _orig_ifname 'eth0.1 radio0.network1 radio1.network1'
      option _orig_bridge 'true'
      option ifname 'eth0.1 tap0'

      config interface 'wan'
      option _orig_ifname 'eth0.2'
      option _orig_bridge 'false'
      option proto 'pppoe'
      option username '...'
      option password '...'
      option ifname 'eth0.1'

      config interface 'wan2'
      option _orig_ifname 'eth0.2'
      option _orig_bridge 'false'
      option proto 'pppoe'
      option username '...'
      option password '...'
      option ifname 'eth0.2'

      config switch
      option name 'eth0'
      option reset '1'
      option enable_vlan '1'

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

      config switch_vlan
      option device 'eth0'
      option vlan '2'
      option ports '0t 1'






      wireless-router lan openwrt






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 5 '14 at 12:18









      George

      1121516




      1121516






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          Ok! I had to check 'lan' network from wireless (rasdio0) settings and it works!






          share|improve this answer





















            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "3"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














             

            draft saved


            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f697245%2fcannot-connect-wireless-to-openwrt%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote













            Ok! I had to check 'lan' network from wireless (rasdio0) settings and it works!






            share|improve this answer

























              up vote
              0
              down vote













              Ok! I had to check 'lan' network from wireless (rasdio0) settings and it works!






              share|improve this answer























                up vote
                0
                down vote










                up vote
                0
                down vote









                Ok! I had to check 'lan' network from wireless (rasdio0) settings and it works!






                share|improve this answer












                Ok! I had to check 'lan' network from wireless (rasdio0) settings and it works!







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jan 5 '14 at 13:14









                George

                1121516




                1121516






























                     

                    draft saved


                    draft discarded



















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f697245%2fcannot-connect-wireless-to-openwrt%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Plaza Victoria

                    In PowerPoint, is there a keyboard shortcut for bulleted / numbered list?

                    How to put 3 figures in Latex with 2 figures side by side and 1 below these side by side images but in...