-
Notifications
You must be signed in to change notification settings - Fork 685
DHCP connecting problem OpenWRT #681
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
Comments
@elsacorv Which |
|
I have this problem too.And when I use WPA-PSK,it will be OK for me.But it will disconnect and connect over and over again until it gets DHCP IP. Environment
By the way,my Openwrt version is 19.07-SNAPSHOT r11314-b4a4d04b91. |
I tried this configuration but it didn't work on my laptop. |
@williambj1 Here is my Logs (if you still need it). I just following all setting mentioned in 676# and the result is as the same as this DHCP issue, get a self-assigned ip addr. |
Upgraded Openwrt to v21..02.0 but no success. ( Whats you router model? ) Thanks |
I'm using Mi R3G model( |
@MaxSYC Hi, you mean you have seen problems when testing #676 with |
@elsacorv with the log, I can see the WiFi signal is weak and trigger the roam scan, can you move closely to the router and test again? |
@zxystd So i think the problem is some commit v1.2 -> v1.3 related to auth & dhcp, maybe some of these:
Maybe can you compile v1.3 without these for test? ( i dunno really if some other commit is related just giving out ideas) This is the router log with v1.2 ( With v1.3 or newer always end at pairwise key handshake completed (RSN) and never do DHCPDISCOVER or DHCPREQUEST ) Sun Sep 26 03:43:04 2021 daemon.info hostapd: wlan0: STA e0:2b:e9:ab:70:43 IEEE 802.11: authenticated @MaxSYC |
@MaxSYC I saw your log indicate your card is ax200 using iwx. Currently the 11w support in #676 doesn't cover any gen2/gen3 card yet. I just updated the description to call it out. What the behavior your see is expected when enable 802.11w in OpenWrt. @zxystd I don't have any gen2/gen3 card in my hand to test. Do you mind if I enable 11w support for iwx using mixed hw/sw crypto, similar to iwm in #676? |
@elsacorv Hi! Would you mind sharing your hostapd config file? Thanks! |
Yeah for sure, i tested alot of params, for example i was with country PA now US, tested without force 40mhz etc /usr/sbin/hostapd -s -P /var/run/wifi-phy0.pid -B /var/run/hostapd-phy0.conf Here is the config:
Here is /etc/config/dhcp
|
@zxystd @williambj1 @pigworlds Ok i figured where the problem start
Result: is fully working wifi at 20mhz? ( no connect/disconnect like in v1.2.0 ). Max download speed is 55 Mbps ( In windows i get about 70mbps). I cant get more than 70-75 on any device so i think this is the 2.4ghz wifi limit for the router
|
@elsacorv When the advanced menu from airportd (hold ALT while clicking the menu icon) is opened, does it say it's connected with channel 11, 40MHz? I'm not an expert but I noticed that Here is the config from a router running OpenWRT having no issues with itlwm:
|
Tried with Openwrt 21.02.0 default config - itlwm stable 2.0 and no success Last working 100% with compiled v1.3.0 at Merge branch 'ampdu_impl' into abc - f7fd518 |
Same problem on ax200. I'm installed v1.2.0 seems last working version. OpenWRT 21.02.0 with 40mhz force |
Yep, but you can try v1.3.0 compiled at f7fd518. Check on my user releases |
I'm checked yours 1.3.0 version and wifi is work! But no speed different between 1.2 and 1.3 in my case. 5Ghz wifi shows around 30mbit with iperf3. I'm using hackintosh in very special cases, so that speed is enought for me |
@elsacorv @zvova7890 Hi! Have you tried v2.1.0 or v2.2.0-alpha version with boot-args |
Closed due to no further response. |
Hi! I have checked v2.1.0 - 2.4 and 5 doesn't work. v2.2.0-alpha - seems work without any tweak, after install both 2.4 and 5 GHz wifi working pretty good, connection speed is much higher than elsacorv user build. So I think this is fixed in alpha. Thanks! |
Yes, there must have something error inside thd -48 firmwares, thank you for the testing.
|
Have You Read Our Docs
Yes
Are You Reporting A Bug
Yes
Environment
Description
Can't get the rigth DHCP IP only with OpenWRT routers (Tested 3 diferent openwrt flashed routers)
Same problem as ##584
With itlwm v1.2 it get the rigth dhcp ip and wifi work but keeps connecting/disconnecting in some seconds.
With v1.3 or 2.0 randomly connect and all work fine until restart.
Tested #fc497c1 alpha and latest release alpha but no success.
Bug Report Archive
Log_2021-09-22_22-44-28.log
Kext Download Source
Releases
The text was updated successfully, but these errors were encountered: