We have upgraded the community system as part of the upgrade a password reset is required for all users before login in.

what's mean option mode '9' in /etc/config/network file?



  • I want to know mode '9' or mode 'sta' mean?

    0_1548295964426_config wireless.png

    and what is mean 'work on an MT'?
    I did googling but I don't find it.

    thanks.



  • @jongrock-chun What firmware version are you talking about please?



  • thank you for your reply.
    firmware ver. is 0.2.2 b201



  • @jongrock-chun I think your screenshot - your 'wireless' config file - is a mix.
    These are the default (out-of-the-box) '/etc/config/wireless' files of Omega2.
    As you know the Omega's WiFi AP (ap) is working by default,
    but the Omega's WiFi client / station (sta) has not set yet.

    # Closed source MediTek WiFi driver up to firmware v0.1.10-b160
    
    root@Omega-5BE1:/# cat /etc/config/wireless
    
    config wifi-device 'ra0'
    	option type 'ralink'
    	option mode '9'
    	option channel 'auto'
    	option txpower '100'
    	option ht '20'
    	option country 'US'
    	option disabled '0'
    
    config wifi-iface
    	option device 'ra0'
    	option network 'wlan'
    	option mode 'ap'
    	option encryption 'psk2'
    	option key '12345678'
    	option ApCliEnable '1'
    	option ApCliSsid 'yourwifissid'
    	option ApCliAuthMode 'WPA2PSK'
    	option ApCliEncrypType 'AES'
    	option ApCliPassWord 'yourpassword'
    	option ssid 'Omega-5BE1
    
    #------------------------------------------------------------------------------------------
    
    # Closed source WARP CORE V1.0 Onion Enhanced MT7688 WiFi Driver from firmware v0.2.0-b175
    
    root@Omega-5BE1:/# cat /etc/config/wireless
    
    config wifi-device 'radio0'
    	option type 'ralink'
    	option variant 'mt7628'
    	option country 'US'
    	option hwmode '11g'
    	option htmode 'HT40'
    	option channel 'auto'
    	option disabled '0'
    	option device_mode 'apsta'
    	option op_mode 'preference'
    
    config wifi-iface 'ap'
    	option device 'radio0'
    	option mode 'ap'
    	option network 'wlan'
    	option ifname 'ra0'
    	option encryption 'psk2'
    	option key '12345678'
    	option disabled '0'
    	option ssid 'Omega-5BE1'
    
    config wifi-iface 'sta'
    	option device 'radio0'
    	option mode 'sta'
    	option ifname 'apcli0'
    	option encryption 'psk2'
    	option ssid 'YourSsidHere'
    	option key 'YourPasswordHere'
    	option network 'wwan'
    	option disabled '1'
    

    Here you are a guide for the MediaTek driver:
    MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf

    If I know well sadly there isn't any guide, man or tutorial for the WARP CORE V1.0 Onion Enhanced MT7688 WiFi Driver.
    You want to know on FW v0.2.2 b201 ... perhaps

    • 'mode 9' is for 'WirelessMode 9: 11BGN mixed'
    • 'sta' is for 'WiFi station'
    • 'MT' is for 'MediaTek' or 'MT7688' (this is the SoC of Omega2) or any other MediaTek SoC

    About WiFi versions, channels, 20/40 MHz bandwidth, etc. see also - for example - Wi-Fi 😉



  • I'm appreciate of your help.
    I understood above.
    thank you again.



Looks like your connection to Community was lost, please wait while we try to reconnect.