Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wifi Dongle support: Archer T2U Nano #89

Closed
mcr opened this issue Jan 15, 2022 · 1 comment
Closed

Wifi Dongle support: Archer T2U Nano #89

mcr opened this issue Jan 15, 2022 · 1 comment
Labels
hardware support EDGESec support on specific hardware

Comments

@mcr
Copy link
Collaborator

mcr commented Jan 15, 2022

This is device: https://www.amazon.ca/gp/product/B07PB1X4CN

This was able to use the driver https://github.com/gnab/rtl8812au.git

Bus 001 Device 006: ID 2357:011e TP-Link AC600 wireless Realtek RTL8811AU [Archer T2U Nano]
enx60a4b722c9eb: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 60:a4:b7:22:c9:eb  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

It is unclear if this device supported WiFi VLANs, as it says "Fail"

2022-01-14 22:02:25.667  TRACE iw.c:240: wlan0 -> wiphy=0
2022-01-14 22:02:25.667  DEBUG engine.c:341: is_iw_vlan fail
2022-01-14 22:02:25.667  INFO  engine.c:359: Found wifi interface enx60a4b722c9eb

but EDGEsec continued. It did not start hostapd properly, and it is unclear why at this point.

@mcr
Copy link
Collaborator Author

mcr commented Jan 20, 2022

With the name changed to wlan1, via:

mcr@fennrau:~ $ cat /etc/udev/rules.d/76-mine.rules 
# USB device by path
# get ID_PATH if not present yet
ENV{ID_PATH}=="", IMPORT{builtin}="path_id"
SUBSYSTEM=="net", ACTION=="add", ENV{ID_PATH}=="*-usb-0:1.*", NAME="wlan%n"
2022-01-20 17:49:16.016  INFO  engine.c:333: Checking wifi interface...
2022-01-20 17:49:16.016  DEBUG iw.c:360: Checking wlan1 exists
2022-01-20 17:49:16.022  TRACE iw.c:223: wlan1 -> ifindex=4
2022-01-20 17:49:16.022  TRACE iw.c:228: wlan1 -> wdev=0x1
2022-01-20 17:49:16.022  TRACE iw.c:235: wlan1 -> addr=dc:a6:32:4d:a9:04
2022-01-20 17:49:16.022  TRACE iw.c:240: wlan1 -> wiphy=0
2022-01-20 17:49:16.023  DEBUG iw.c:193: Using Wiphy phy0
2022-01-20 17:49:16.023  TRACE iw.c:199: phy0 -> IBSS
2022-01-20 17:49:16.023  TRACE iw.c:199: phy0 -> managed
2022-01-20 17:49:16.023  TRACE iw.c:199: phy0 -> AP
2022-01-20 17:49:16.023  TRACE iw.c:199: phy0 -> P2P-client
2022-01-20 17:49:16.023  TRACE iw.c:199: phy0 -> P2P-GO
2022-01-20 17:49:16.023  TRACE iw.c:199: phy0 -> P2P-device
2022-01-20 17:49:16.023  TRACE iw.c:377: WiFi interface wlan1 doesn't suport vlan tagging
2022-01-20 17:49:16.023  DEBUG engine.c:338: interface wlan1 not VLAN capable
2022-01-20 17:49:16.024  TRACE generic_hsm_driver.c:69: context param is NULL
mcr@fennrau:~/EDGESec/build $ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 2357:011e TP-Link AC600 wireless Realtek RTL8811AU [Archer T2U Nano]

@aloisklink aloisklink added the hardware support EDGESec support on specific hardware label Jan 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hardware support EDGESec support on specific hardware
Projects
None yet
Development

No branches or pull requests

3 participants