OpenWrt Forum Archive

Topic: Problem archer c7 v2 + extrernal USB antenna

The content of this topic has been archived on 3 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi!

I'm using the following setup:

External USB antenna receiving internet signal and connected to the comtrend ar-5387un usb port and comtrend repeating the signal to the rest of the house. My problem is that antenna is receiving 20mb and comtrend is repeating 3mb and seems that this router cannot do it better. So i decided to buy a tp-link archer c7 v2 and substitute the comtrend.

I have the c7 with openwrt installed and the necessary modules to recognize the antenna like i did with the comtrend. But i don't know why, the internet is not working.
The antenna is listed on the wifi tab with the other interfaces and when i scan networks with the antenna interface i can detect all the networks so, it works, but after connecting to the network i want, it doesn't work.
The signal is always at 0% and it's not receiving/sending pakets. I'm connected but it's like i don't have connection.
And i don't know what's the problem. The same steps and configuration is working with the comtrend but not with the c7.

The antenna's chipset is a ralink3070.

Any help?

Thanks.

(Last edited by orella on 16 Mar 2017, 18:45)

The client interface needs to be the only thing in it's network (usually wan).  That network can't be a bridge.  Trying to put a wifi client into a bridge will shut it down.

But connecting using internal antennas works. It doesn't work when using the external. With the same configuration, nothing is changed. Why?
And using internals is not a solution because the signal is poor.

(Last edited by orella on 16 Mar 2017, 21:59)

Does iw list show that you have three radios (internal 2, internal 5, external 2)?

They may not necessarily be detected and defined in that order though.  Check the radio paths in /etc/config/wireless to be sure you're using the USB one where you want to.

(Last edited by mk24 on 17 Mar 2017, 00:12)

Those are the radios i have:

radio0 => internal 5GHz
radio1 => internal 2.4GHz
radio2 => external 2.4GHz

When i'm connecting to the network using the internal antenna, it works but the signal is poor, i cannot do anything with this signal.

Those are the interface:

WAN, WAN6 and WWAN.

WAN and WAN6 are created automatically when installing openwrt i don't know what are they. And WWAN is the one created when i connect using the internal 2.4GHz and it's working (sending/receiving pakets).

Wireless file info:

root@OpenWrt:~# vim  /etc/config/wireless

config wifi-device 'radio0'
        option type 'mac80211'
        option channel '36'
        option hwmode '11a'
        option path 'pci0000:01/0000:01:00.0'
        option htmode 'VHT80'
        option disabled '1'

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

config wifi-device 'radio1'
        option type 'mac80211'
        option hwmode '11g'
        option path 'platform/qca955x_wmac'
        option htmode 'HT20'
        option channel '6'
        option txpower '23'
        option country 'US'
        option disabled '0'

config wifi-device 'radio2'
        option type 'mac80211'
        option path 'platform/ehci-platform.0/usb1/1-1/1-1:1.0'
        option hwmode '11g'
        option txpower '30'
        option country 'US'
        option channel '6'

config wifi-iface
        option device 'radio2'
        option mode 'ap'
        option ssid 'OpenWrt'
        option encryption 'none'
        option disabled '1'

config wifi-iface
        option network 'wwan'
        option ssid 'Orange-3***'
        option encryption 'psk2'
        option device 'radio1'
        option mode 'sta'
        option bssid '**:**:**:**:**:**'
- /etc/config/wireless 1/50 2%

Now with connecing using the external antenna:

radio2 is at 0% signal and not working.

Interfaces:

WWAN with no MAC address, not sending/receiving pakets...

The wireless file info:

root@OpenWrt:~# vim  /etc/config/wireless

config wifi-device 'radio0'
        option type 'mac80211'
        option channel '36'
        option hwmode '11a'
        option path 'pci0000:01/0000:01:00.0'
        option htmode 'VHT80'
        option disabled '1'

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

config wifi-device 'radio1'
        option type 'mac80211'
        option hwmode '11g'
        option path 'platform/qca955x_wmac'
        option htmode 'HT20'
        option channel '6'
        option txpower '23'
        option country 'US'

config wifi-device 'radio2'
        option type 'mac80211'
        option path 'platform/ehci-platform.0/usb1/1-1/1-1:1.0'
        option disabled '0'
        option hwmode '11g'
        option txpower '30'
        option country 'US'
        option channel '6'

config wifi-iface
        option device 'radio1'
        option mode 'ap'
        option ssid 'OpenWrt'
        option encryption 'none'
        option disabled '1'

config wifi-iface
        option network 'wwan'
        option ssid 'Orange-3***'
        option encryption 'psk2'
- /etc/config/wireless 1/50 2%

*I was trying to use images but seems that i can't post links so i don't know if you will undertand the radios & interfaces explanation.

If you need any more info, just tell me.

The discussion might have continued from here.