Wait for a late wlan0 even if a wired interface is already present
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 45/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- linux, shell
- Ambito
- networking
Direzione di ricerca
Start by reading network() in init.sh and the existing netwait change referenced as issue #167. Check how it detects interfaces and how the wpa_supplicant branch is reached; the issue leaves the wait trigger undecided and notes that PCI detection does not cover USB WLAN sticks. Done means agreeing on that behavior and ensuring a late wlan0 is considered when WLAN is configured, without an unnecessary wait when no supported WLAN hardware is present.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Problem
A WLAN card whose driver registers wlan0 late is missed by network() in init.sh when the machine also has a wired interface. Forum report (MediaTek mt7921e, Linbo 4.3): https://ask.linuxmuster.net/t/mediatek-wlan-problem-unter-linbo-4-3/12394
The reporter removed his sleep 1 hook and set netwait=20: the WLAN card was not found at boot. eth0 exists on this machine.
Cause
The netwait wait (#167) only blocks while no non-loopback interface exists in /proc/net/dev. As soon as eth0 is there, the wait ends and the interface list is taken. A wlan0 that appears a little later is missing from that list, so LINBO never tries it, and the existing wpa_supplicant branch is not reached.
Data from the report: ls /sys/class/net afterwards shows eth0 lo wlan0, driver mt7921e at 0000:02:00.0, PCI class 0x028000. The dmesg lines had no timestamps, so the actual delay of wlan0 is not known yet.
Proposal
If /etc/wpa_supplicant.conf exists (WLAN is configured) and no wlan* interface is present yet, also wait up to netwait seconds for wlan0. To avoid a pointless delay on machines without WLAN hardware, only do this if a PCI device of class 0x0280xx exists. USB WLAN sticks cannot be detected this way and keep the old behaviour (wait only if no interface at all).
Open points to decide:
- automatic as above, or an explicit kernel parameter (the reporter suggests a
waitwlanoption) - the DHCP attempt on a wired interface without link costs time before
wlan0is tried; skipping interfaces without carrier is possible but the carrier can take a few seconds to come up, so it is not part of this proposal
Applies to 7.4 and 4.3 (same network() loop).
- Lingua principale
- Shell
- Stelle
- 14
- Fork
- 11
- Merge medio
- 1g 19h
- PR unite (30g)
- 14
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di linuxmuster/linuxmuster-linbo7
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
linuxmuster/linuxmuster-linbo7#177 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
4.3 improvement
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
linuxmuster/linuxmuster-linbo7#132 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
linuxmuster/linuxmuster-linbo7#179 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Feature request: per-school hardware groups (start.conf) on multi-school serversForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
linuxmuster/linuxmuster-linbo7#178 · 7 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
replace ctorrent with aria2cAperta7.4 improvement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
linuxmuster/linuxmuster-linbo7#152 · 5 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di linuxmuster/linuxmuster-linbo7
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
acmesh-official/acme.sh#7356 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
documentation
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 91/100
alunduil/alunduil-infrastructure#918 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
alunduil/alunduil-chezmoi#1048 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
YunoHost-Apps/coturn_ynh#49 ·
-
Page request: basaltApertahelp wanted new command
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
tldr-pages/tldr#24890 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno