Giter Club home page Giter Club logo

Comments (5)

morrownr avatar morrownr commented on September 24, 2024

I have been trying to chase down similar issues when running hostapd with this driver. Can I get you to post the contents of these two files:

/etc/hostapd/hostapd.conf

/etc/modprobe.d/88x2bu.conf

from 88x2bu.

dc-me avatar dc-me commented on September 24, 2024

sure:

options 88x2bu rtw_drv_log_level=0 rtw_led_ctrl=1 rtw_vht_enable=1 rtw_power_mgnt=1 rtw_switch_usb_mode=1

which just switch usb3.0

hostapd.conf:

ssid=Test
wpa_passphrase=123456789

bridge=br-lan
country_code=US
interface=wlx200db04cb65d
driver=nl80211
wpa=2
wpa_key_mgmt=WPA-PSK
rsn_pairwise=CCMP
macaddr_acl=0

logger_syslog=0
logger_syslog_level=4
logger_stdout=-1
logger_stdout_level=0

hw_mode=a
wmm_enabled=1

N

ieee80211n=1
ht_capab=[MAX-AMSDU-3839][HT40+][SHORT-GI-20][SHORT-GI-40][DSSS_CCK-40]

AC

ieee80211ac=1
vht_capab=[MAX-AMSDU-3839][SHORT-GI-80]
vht_oper_chwidth=1
channel=36
vht_oper_centr_freq_seg0_idx=42

nothing special about it, switch to usb 3.0 nothing worked, wpa_supplicant & hostapd all have problem, it's working, then it's like someone unplug it and plug it, in wpa_supplicant it connects and then reconnects, in hostapd it's the same, ap shows then it disappeared.

another odd behavior is the interface index always increase, after a few minutes it's ifindex becomes 40, and phy name also changes, it's like I said, like someone is unplug and plug the wifi adapter.

from 88x2bu.

morrownr avatar morrownr commented on September 24, 2024

I'm going to assume since you are using the 88x2bu driver that you have an adapter based on a 8812bu chipset. Please advice is this is not correct. Based on my assumption:

Change - ht_capab=[MAX-AMSDU-3839][HT40+][SHORT-GI-20][SHORT-GI-40][DSSS_CCK-40]

To - ht_capab=[MAX-AMSDU-7935][HT40+][SHORT-GI-20][SHORT-GI-40]

Reason: [DSSS_CCK-40] is not supported on band 2 and you are using a channel that is band 2.
Reason: run "$ iw list" to check MAX-AMSDU for band 1.

Change - vht_capab=[MAX-AMSDU-3839][SHORT-GI-80]

To - vht_capab=[MAX-AMSDU-11454][SHORT-GI-80][HTC-VHT]

Reason: Check MAX-AMSDU for band 2 with "$ iw list"

Comment out the following two lines and see what happens:

vht_oper_chwidth=1
vht_oper_centr_freq_seg0_idx=42

The 8812bu is a USB 3 capable adapter. Is it plugged into a USB 3 port? Do you use a cable? If yes, is it USB 3 capable? If using a cable, try without the cable.

Let me know the status.

Nick

from 88x2bu.

dc-me avatar dc-me commented on September 24, 2024

You are right about the config, I just copy from rpi onboard wifi hostapd config, In usb2.0 it's ok, so I'm not bother to change it, just for test, then switch to usb 3.0, it's not working properly, the adapter is usb 3.0 capable and is pluged in rpi4 usb 3 port.

from 88x2bu.

dc-me avatar dc-me commented on September 24, 2024

It's a power issue, when pluged at rpi4 bottom usb 3.0 port, it has no problem, however if pluged at top usb 3.0 port, with a hub it's working even without external power pluged in the hub. that's odd, anyway that's the way to solve it with the question I posted above.

from 88x2bu.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.