Let’s start with the fact that I use this device only for the purpose of connecting it to access points. My current working configuration file /etc/config/wireless
works without errors as intended. However, I noticed strange access points that are broadcast by this device. At first they were named MTK_CHEETAH_AP_2.4G
and MTK_CHEETAH_AP_5.8G
. My search led me to the /etc/wireless/mediatek directory where many .dat files define certain parameters. I tried removing the above mentioned names from these files, but this created points with different names HT_AP0
and HT_AP2
(each for 2.4 and 5.8 GHz respectively). Some searches led me to this page, I’m trying to find the true reason for their occurrence…
/etc/config/wireless
config wifi-device 'mt798111'
option type 'mtk'
option band '2g'
option txpower '100'
option country 'CN'
option legacy_rates '0'
option htmode 'HE20'
option channel '8'
config wifi-device 'mt798112'
option type 'mtk'
option band '5g'
option htmode 'HE80'
option txpower '100'
option country 'CN'
option legacy_rates '0'
option channel '153'
config wifi-iface 'wifinet1'
option ssid 'DogNet'
option encryption 'psk2'
option device 'mt798111'
option mode 'sta'
option key '12345678'
option network 'wwan1'
option ifname 'apcli0'
option macaddr 'ff:ff:ff:ff:ff:fa'
config wifi-iface 'wifinet2'
option ssid 'CoolNet'
option encryption 'psk2'
option device 'mt798112'
option mode 'sta'
option key '12345678'
option network 'wwan2'
option ifname 'apclix0'
option macaddr 'ff:ff:ff:ff:ff:fb'
/etc/config/network
config interface 'loopback'
option device 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fd55:9243:b92f::/48'
config device
option name 'br-lan'
option type 'bridge'
list ports 'eth1'
list ports 'eth0'
config device
option name 'eth1'
option macaddr '00:00:00:00:00:34'
config interface 'lan'
option device 'br-lan'
option proto 'static'
option ipaddr '192.168.8.1'
option netmask '255.255.255.0'
option ip6assign '60'
option isolate '0'
config device
option name 'eth0'
option macaddr '00:00:00:00:00:00'
config device
option name 'eth1'
option macaddr '00:00:00:00:00:01'
config rule 'policy_bypass_vpn'
option mark '0x60000/0x60000'
option lookup '53'
option priority '53'
config rule 'policy_via_vpn'
option mark '0x80000/0x80000'
option lookup '52'
option priority '52'
config rule 'policy_dns'
option mark '0x100000/0x100000'
option lookup '51'
option priority '51'
config interface 'wwan1'
option proto 'dhcp'
option metric '2'
config interface 'wwan2'
option proto 'dhcp'
option metric '1'
iwconfig print
lo no wireless extensions.
eth0 no wireless extensions.
eth1 no wireless extensions.
br-lan no wireless extensions.
ra0 IEEE 802.11ax ESSID:"HT_AP0"
Mode:Master Channel:8 Access Point: 00:00:00:00:00:35
Bit Rate=286 Mb/s
Link Quality:10 Signal level:0 Noise level:176
Rx invalid nwid:0 invalid crypt:0 invalid misc:0
ra1 IEEE 802.11ax ESSID:"HT_AP1"
Mode:Master Channel:153 Access Point: 00:00:00:00:00:36
Bit Rate=1.201 Gb/s
Link Quality:10 Signal level:0 Noise level:176
Rx invalid nwid:0 invalid crypt:0 invalid misc:0
apcli0 IEEE 802.11ax ESSID:"DogNet"
Mode:Managed Channel:8 Access Point: FF:FF:FF:FF:FF:FA
Bit Rate=286 Mb/s
Link Quality=100/0 Signal level:-48 dBm Noise level:-80 dBm
Rx invalid nwid:0 invalid crypt:0 invalid misc:0
apclix0 IEEE 802.11ax ESSID:"CoolNet"
Mode:Managed Channel:153 Access Point: FF:FF:FF:FF:FF:FB
Bit Rate=1.201 Gb/s
Link Quality=100/0 Signal level:-59 dBm Noise level:-80 dBm
Rx invalid nwid:0 invalid crypt:0 invalid misc:0
rax0 IEEE 802.11ax ESSID:"HT_AP2"
Mode:Master Channel:153 Access Point: 00:00:00:00:00:36
Bit Rate=1.201 Gb/s
Link Quality:10 Signal level:0 Noise level:176
Rx invalid nwid:0 invalid crypt:0 invalid misc:0
rax1 no wireless extensions.
ifconfig print
apcli0 Link encap:Ethernet HWaddr FF:FF:FF:FF:FF:FA
inet addr:192.168.1.201 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:343574 errors:0 dropped:1 overruns:0 frame:0
TX packets:11710493 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:85837648 (81.8 MiB) TX bytes:14748808132 (13.7 GiB)
apclix0 Link encap:Ethernet HWaddr FF:FF:FF:FF:FF:FB
inet addr:192.168.5.11 Bcast:192.168.5.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1301517 errors:0 dropped:1 overruns:0 frame:0
TX packets:39324494 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:363096824 (346.2 MiB) TX bytes:47106415148 (43.8 GiB)
br-lan Link encap:Ethernet HWaddr 00:00:00:00:00:01
inet addr:192.168.8.1 Bcast:192.168.8.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2774716 errors:0 dropped:0 overruns:0 frame:0
TX packets:3393601 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1817116495 (1.6 GiB) TX bytes:2738650287 (2.5 GiB)
eth0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:49516195 errors:0 dropped:75 overruns:0 frame:0
TX packets:33885538 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:61788338637 (57.5 GiB) TX bytes:31300107318 (29.1 GiB)
Interrupt:75
eth1 Link encap:Ethernet HWaddr 00:00:00:00:00:01
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:75
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:9649 errors:0 dropped:0 overruns:0 frame:0
TX packets:9649 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:726343 (709.3 KiB) TX bytes:726343 (709.3 KiB)
ra0 Link encap:Ethernet HWaddr 00:00:00:00:00:35
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:86 errors:5 dropped:0 overruns:0 frame:0
TX packets:72 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:14748 (14.4 KiB) TX bytes:5670 (5.5 KiB)
Interrupt:7
ra1 Link encap:Ethernet HWaddr 00:00:00:00:00:36
UP BROADCAST RUNNING 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)
rax0 Link encap:Ethernet HWaddr 00:00:00:00:00:36
UP BROADCAST RUNNING 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)
As you can see, the above-mentioned networks are nowhere to be found. They are created automatically by the driver, but why? And how this can be managed. Now they are open and you can even connect.