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

overlay-files: Refactor wlan0 ifup Networking Configuration #998

Merged
merged 3 commits into from
Sep 22, 2023
Merged

overlay-files: Refactor wlan0 ifup Networking Configuration #998

merged 3 commits into from
Sep 22, 2023

Conversation

gtxaspec
Copy link
Contributor

@gtxaspec gtxaspec commented Sep 20, 2023

  • Incorporated a 15-second timeout within udhcpc_opts, ensuring adequate time for the device to aquire a dhcp lease from the network before forking to the background.
  • Transitioned all wpa_supplicant parameters to the pre-up directive, ensuring wpa_supplicant initialization precedes DHCP client execution.

Collectively, these modifications optimize the DHCP lease acquisition process, enhancing the device's network initialization speed.

- Eliminated deprecated `wext` option from the wpa_supplicant invocation to align with contemporary wireless driver standards, preventing wireless network association delays.
- Incorporated a 15-second timeout within udhcpc_opts, ensuring adequate time for the device to aquire a dhcp lease from the network.
- Transitioned all wpa_supplicant parameters to the `pre-up` directive, ensuring wpa_supplicant initialization precedes DHCP client execution.

Collectively, these modifications optimize the DHCP lease acquisition process, enhancing the device's network initialization speed.
@themactep
Copy link
Contributor

themactep commented Sep 20, 2023

wext was needed for some mt7601 modules. We need to make sure those are not left out with this pr.

@gtxaspec
Copy link
Contributor Author

@themactep thanks for the insight, the wext driver has been restored.

Copy link
Collaborator

@ZigFisher ZigFisher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job, thank you

Please pay attention to these DHCP client options. Perhaps your option should be moved here, so as not to clutter the configuration file.

CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-x hostname:$(hostname) -T 1 -t 5 -R -b -O search"

@gtxaspec
Copy link
Contributor Author

@flyrouter I integrated the changes you suggested, modifying the busybox.config and cleaning the config files.

Thank You!

Copy link
Member

@flyrouter flyrouter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you !

@flyrouter flyrouter merged commit d1d5d14 into OpenIPC:master Sep 22, 2023
88 checks passed
@gtxaspec gtxaspec deleted the overlay-wireless branch November 6, 2023 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants