Create radio1 on Openwrt 18.06.0

I am runing OpenWrt 18.06.0 on a Pi3.
I try to add a 2 Wifi Card to my project
I try 2 cards, a Realtek and a MediaTek.
This is the Kernel log when I insert the cards into the USB ports:
Realtek:

[16768.142454] usb 1-1.4: new high-speed USB device number 8 using dwc_otg
[16768.283719] usb 1-1.4: New USB device found, idVendor=0bda, idProduct=0811
[16768.293628] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[16768.303891] usb 1-1.4: Product: 802.11ac WLAN Adapter 
[16768.311896] usb 1-1.4: Manufacturer: Realtek 
[16768.319077] usb 1-1.4: SerialNumber: 00e04c000001

On MediaTek:

[16907.653421] usb 1-1.2: new high-speed USB device number 9 using dwc_otg
[16907.799059] usb 1-1.2: New USB device found, idVendor=148f, idProduct=761a
[16907.808824] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[16907.819028] usb 1-1.2: Product: WiFi
[16907.825349] usb 1-1.2: Manufacturer: MediaTek
[16907.832445] usb 1-1.2: SerialNumber: 1.0

I installed the fallowing drivers:
kmod-mac80211
kmod-mt7601u (MediaTek Driver)
kmod-net-rtl8192su 4.9.120-1
kmod-rtl8192c-common 4.9.120+2017-11-01-9
kmod-rtl8192cu 4.9.120+2017-11-01-9
kmod-rtl8xxxu 4.9.120+2017-11-01-9

kmod-rtlwifi4.9.120+2017-11-01-9

kmod-rtlwifi-usb 4.9.120+2017-11-01-9

kmod-usb-net-rtl8150 4.9.120-1

rtl8192cu-firmware 2017-09-06-a61ac5cf-1

rtl8192su-firmware 2017-09-06-a61ac5cf-1

rtl8821ae-firmware 2017-09-06-a61ac5cf-1

My /etc/config/wifi:


config wifi-device 'radio0'
        option type 'mac80211'
        option channel '11'
        option hwmode '11g'
        option path 'platform/soc/3f300000.mmc/mmc_host/mmc1/mmc1:0001/mmc1:0001:1'
        option htmode 'HT20'
        option disabled '1'

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


Radio 0 is the default, integrated Wifi Card. I can not make a radio1 interface,in order to bring up at lest one of the cards.
Any ideea anybody
Please help me to bring up at last one card.

The "wifi" command can be used to scan available radios and create a default config file.

Realtek cards are poorly supported.

First run iw list to make sure that the radio drivers have all found their hardware and started up. iw list should show multiple phy's when you have multiple radios.

I have a similar issue with another Realtek USB WiFi, using the same driver you installed:

Mediatek Card is a TPLink Ac600 (archer T2U)
Realtek Card is a Anewish AC600
My output on iwconfig

tunl0     no wireless extensions.

br-lan    no wireless extensions.

eth0      no wireless extensions.

lo        no wireless extensions.

ifb1      no wireless extensions.

ifb0      no wireless extensions.

eth1      no wireless extensions.

wlan0     IEEE 802.11  Mode:Master  Tx-Power=31 dBm   
          RTS thr:off   Fragment thr:off
          Power Management:on

I install kmod-net-rtl8192su and I type into ssh:

rm -f /etc.config/wireless
wifi config
wifi
reboot

No changes.
I also try

root@Project:~# modprobe rtl8192su
failed to find a module named rtl8192su
root@Project:~# modprobe mt7601u
mt7601u is already loaded

So, AT LEAST the MediaTek driver is loaded.
How can I create a usable interface from that?

1 Like

iwconfig is obsolete. Run iw list to probe for active wifi drivers and see their capabilities.

Wifi devices e.g. wlan0 are created and brought up at a later stage.

My output of iw list

Wiphy phy0
	max # scan SSIDs: 10
	max scan IEs length: 2048 bytes
	max # sched scan SSIDs: 16
	max # match sets: 16
	max # scan plans: 1
	max scan plan interval: 508
	max scan plan iterations: 0
	Retry short limit: 7
	Retry long limit: 4
	Coverage class: 0 (up to 0m)
	Device supports T-DLS.
	Available Antennas: TX 0 RX 0
	Supported interface modes:
		 * IBSS
		 * managed
		 * AP
		 * P2P-client
		 * P2P-GO
		 * P2P-device
	Band 1:
		Capabilities: 0x1020
			HT20
			Static SM Power Save
			RX HT20 SGI
			No RX STBC
			Max AMSDU length: 3839 bytes
			DSSS/CCK HT40
		Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
		Minimum RX AMPDU time spacing: 16 usec (0x07)
		HT TX/RX MCS rate indexes supported: 0-7
		Frequencies:
			* 2412 MHz [1] (20.0 dBm)
			* 2417 MHz [2] (20.0 dBm)
			* 2422 MHz [3] (20.0 dBm)
			* 2427 MHz [4] (20.0 dBm)
			* 2432 MHz [5] (20.0 dBm)
			* 2437 MHz [6] (20.0 dBm)
			* 2442 MHz [7] (20.0 dBm)
			* 2447 MHz [8] (20.0 dBm)
			* 2452 MHz [9] (20.0 dBm)
			* 2457 MHz [10] (20.0 dBm)
			* 2462 MHz [11] (20.0 dBm)
			* 2467 MHz [12] (disabled)
			* 2472 MHz [13] (disabled)
			* 2484 MHz [14] (disabled)
	valid interface combinations:
		 * #{ managed } <= 1, #{ P2P-device } <= 1, #{ P2P-client, P2P-GO } <= 1,
		   total <= 3, #channels <= 2
		 * #{ managed } <= 1, #{ AP } <= 1, #{ P2P-client } <= 1, #{ P2P-device } <= 1,
		   total <= 4, #channels <= 1

Only one card, the integrated one.

What are the chipsets of your cards?

You may wish to open a new thread (that's not 2 year old) if you have an issue.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.