#17688: can't setup wireless
------------------------------+----------------------------------
 Reporter:  williamtoyang|@…  |      Owner:  developers
     Type:  defect            |     Status:  new
 Priority:  normal            |  Milestone:  Chaos Calmer (trunk)
Component:  packages          |    Version:  Trunk
 Keywords:  9331 lost wifi    |
------------------------------+----------------------------------
 can find phy0 interface ,but can't create wlan0 with ap mode..

 root@OpenWrt:/sys/devices/platform# iw phy0 info
 Wiphy phy0
         max # scan SSIDs: 4
         max scan IEs length: 2257 bytes
         Retry short limit: 7
         Retry long limit: 4
         Coverage class: 0 (up to 0m)
         Device supports AP-side u-APSD.
         Device supports T-DLS.
         Available Antennas: TX 0x1 RX 0x1
         Configured Antennas: TX 0x1 RX 0x1
         Supported interface modes:
                  * IBSS
                  * managed
                  * AP
                  * AP/VLAN
                  * WDS
                  * monitor
                  * mesh point
                  * P2P-client
                  * P2P-GO
         Band 1:
                 Capabilities: 0x116e
                         HT20/HT40
                         SM Power Save disabled
                         RX HT20 SGI
                         RX HT40 SGI
                         RX STBC 1-stream
                         Max AMSDU length: 3839 bytes
                         DSSS/CCK HT40
                 Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                 Minimum RX AMPDU time spacing: 8 usec (0x06)
                 HT TX/RX MCS rate indexes supported: 0-7
                 Frequencies:
                         * 2412 MHz [1] (18.0 dBm)
                         * 2417 MHz [2] (18.0 dBm)
                         * 2422 MHz [3] (18.0 dBm)
                         * 2427 MHz [4] (18.0 dBm)
                         * 2432 MHz [5] (18.0 dBm)
                         * 2437 MHz [6] (18.0 dBm)
                         * 2442 MHz [7] (18.0 dBm)
                         * 2447 MHz [8] (18.0 dBm)
                         * 2452 MHz [9] (18.0 dBm)
                         * 2457 MHz [10] (18.0 dBm)
                         * 2462 MHz [11] (18.0 dBm)
                         * 2467 MHz [12] (disabled)
                         * 2472 MHz [13] (disabled)
                         * 2484 MHz [14] (disabled)
         valid interface combinations:
                  * #{ managed, WDS } <= 2048, #{ AP, mesh point } <= 8, #{
 P2P-client, P2P-GO } <= 1, #{ IBSS } <= 1,
                    total <= 2048, #channels <= 1, STA/AP BI must match
                  * #{ IBSS, AP, mesh point } <= 1,
                    total <= 1, #channels <= 1, STA/AP BI must match, radar
 detect widths: { 20 MHz (no HT), 20 MHz }

         HT Capability overrides:
                  * MCS: ff ff ff ff ff ff ff ff ff ff
                  * maximum A-MSDU length
                  * supported channel width
                  * short GI for 40 MHz
                  * max A-MPDU length exponent
                  * min MPDU start spacing
 root@OpenWrt:/sys/devices/platform#

 root@OpenWrt:/sys/devices/platform# cat /etc/config/wireless

 config wifi-device 'radio0'
         option type 'mac80211'
         option channel '11'
         option hwmode '11g'
         option path 'platform/ar933x_wmac'
         option htmode 'HT20'
         option txpower '18'
         option country 'US'

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


 root@OpenWrt:/sys/devices/platform# ifconfig -a
 br-lan    Link encap:Ethernet  HWaddr 1A:28:D4:00:BC:50
           inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
           inet6 addr: fd9b:c33d:905f::1/60 Scope:Global
           inet6 addr: fe80::1828:d4ff:fe00:bc50/64 Scope:Link
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:90655 errors:0 dropped:325 overruns:0 frame:0
           TX packets:20052 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0
           RX bytes:6706047 (6.3 MiB)  TX bytes:3755995 (3.5 MiB)

 eth0      Link encap:Ethernet  HWaddr 7A:AF:9B:83:BD:CE
           UP BROADCAST MULTICAST  MTU:1500  Metric:1
           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:1000
           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
           Interrupt:4

 eth1      Link encap:Ethernet  HWaddr 1A:28:D4:00:BC:50
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:104190 errors:0 dropped:2 overruns:0 frame:0
           TX packets:20042 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:1000
           RX bytes:10805831 (10.3 MiB)  TX bytes:3748215 (3.5 MiB)
           Interrupt:5

 lo        Link encap:Local Loopback
           inet addr:127.0.0.1  Mask:255.0.0.0
           inet6 addr: ::1/128 Scope:Host
           UP LOOPBACK RUNNING  MTU:65536  Metric:1
           RX packets:67034 errors:0 dropped:0 overruns:0 frame:0
           TX packets:67034 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0
           RX bytes:4563822 (4.3 MiB)  TX bytes:4563822 (4.3 MiB)

--
Ticket URL: <https://dev.openwrt.org/ticket/17688>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to