Ist WLAN in x86-generic aktiv, wenn nein, wie kann ich es aktivieren?

Hallo,

inzwischen habe ich etwas Erfahrung gesammelt, im Bauen der Images für x86-generic.
Nach meinem Eindruck und was ich in einigen Posts hier im Forum lese, ist WLAN deaktviert.
Wenn ich in der Datei profiles.mk ‚kmod-ath9k‘ hinzufüge, wird ‚iw phy0‘ akviert. Dann ist bei mir aber leider Schluss.

Wie kann ich WLAN im Build für x86-generic aktivieren, damit das erstellte Image sich beispielsweise wie auf einem TP-Link Router verhält?
Dabei habe ich vergessen, dhcp auf eth0 ist anscheinend im x86 Image auch standardmäßig nicht aktiv.
Daher meine Frage etwas präziser :wink:
Wie kann ich den Build für x86-generic so anpassen, damit er sich wie ein Image für einen TP-Link Router verhält?

Vielen Dank schon mal für Hinweise.

Bis dann
valhs

Hallo,

erzähl Mal bitte mehr zu deiner Konfiguration. Virtuell geht das nicht, du lässt es also auf einem nativen Host laufen?

Was für eine WLAN-Karte hast du? Dazu

lspci

auf einer Desktop-Distri ausführen. Gluon kennt den Befehl nicht.

Grüße
MPW

Hallo,

es ist ein alix Board (www.pcengines.ch/alix2d3.htm) mit WLM200NX (www.pcengines.ch/wlm200nx.htm).
Bevor ich das Image ändere, mal kurz für ‚iw phy0 info‘:

root@f:/# iw phy0 info
Wiphy phy0
        max # scan SSIDs: 4
        max scan IEs length: 2257 bytes
        Retry short limit: 7
        Retry long limit: 4
        Coverage class: 0 (up to 0m)
        Device supports AP-side u-APSD.
        Device supports T-DLS.
        Available Antennas: TX 0x3 RX 0x3
        Configured Antennas: TX 0x3 RX 0x3
        Supported interface modes:
                 * IBSS
                 * managed
                 * AP
                 * AP/VLAN
                 * WDS
                 * monitor
                 * mesh point
                 * P2P-client
                 * P2P-GO
        Band 1:
                Capabilities: 0x11ce
                        HT20/HT40
                        SM Power Save disabled
                        RX HT40 SGI
                        TX STBC
                        RX STBC 1-stream
                        Max AMSDU length: 3839 bytes
                        DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 8 usec (0x06)
                HT TX/RX MCS rate indexes supported: 0-15
                Frequencies:
                        * 2412 MHz [1] (20.0 dBm)
                        * 2417 MHz [2] (20.0 dBm)
                        * 2422 MHz [3] (20.0 dBm)
                        * 2427 MHz [4] (20.0 dBm)
                        * 2432 MHz [5] (20.0 dBm)
                        * 2437 MHz [6] (20.0 dBm)
                        * 2442 MHz [7] (20.0 dBm)
                        * 2447 MHz [8] (20.0 dBm)
                        * 2452 MHz [9] (20.0 dBm)
                        * 2457 MHz [10] (20.0 dBm)
                        * 2462 MHz [11] (20.0 dBm)
                        * 2467 MHz [12] (20.0 dBm)
                        * 2472 MHz [13] (20.0 dBm)
                        * 2484 MHz [14] (disabled)
        Band 2:
                Capabilities: 0x11ce
                        HT20/HT40
                        SM Power Save disabled
                        RX HT40 SGI
                        TX STBC
                        RX STBC 1-stream
                        Max AMSDU length: 3839 bytes
                        DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 8 usec (0x06)
                HT TX/RX MCS rate indexes supported: 0-15
                Frequencies:
                        * 5180 MHz [36] (20.0 dBm)
                        * 5200 MHz [40] (20.0 dBm)
                        * 5220 MHz [44] (20.0 dBm)
                        * 5240 MHz [48] (20.0 dBm)
                        * 5260 MHz [52] (20.0 dBm) (radar detection)
                          DFS state: usable (for 2148258 sec)
                          DFS CAC time: 60000 ms
                        * 5280 MHz [56] (20.0 dBm) (radar detection)
                          DFS state: usable (for 2148258 sec)
                          DFS CAC time: 60000 ms
                        * 5300 MHz [60] (20.0 dBm) (radar detection)
                          DFS state: usable (for 2148258 sec)
                          DFS CAC time: 60000 ms
                        * 5320 MHz [64] (20.0 dBm) (radar detection)
                          DFS state: usable (for 2148258 sec)
                          DFS CAC time: 60000 ms
                        * 5500 MHz [100] (21.0 dBm) (radar detection)
                          DFS state: usable (for 2148258 sec)
                          DFS CAC time: 60000 ms
                        * 5520 MHz [104] (20.0 dBm) (radar detection)
                          DFS state: usable (for 2148258 sec)
                          DFS CAC time: 60000 ms
                        * 5540 MHz [108] (20.0 dBm) (radar detection)
                          DFS state: usable (for 2148258 sec)
                          DFS CAC time: 60000 ms
                        * 5560 MHz [112] (20.0 dBm) (radar detection)
                          DFS state: usable (for 2148258 sec)
                          DFS CAC time: 60000 ms
                        * 5580 MHz [116] (20.0 dBm) (radar detection)
                          DFS state: usable (for 2148258 sec)
                          DFS CAC time: 60000 ms
                        * 5600 MHz [120] (20.0 dBm) (radar detection)
                          DFS state: usable (for 2148258 sec)
                          DFS CAC time: 60000 ms
                        * 5620 MHz [124] (20.0 dBm) (radar detection)
                          DFS state: usable (for 2148258 sec)
                          DFS CAC time: 60000 ms
                        * 5640 MHz [128] (20.0 dBm) (radar detection)
                          DFS state: usable (for 2148258 sec)
                          DFS CAC time: 60000 ms
                        * 5660 MHz [132] (20.0 dBm) (radar detection)
                          DFS state: usable (for 2148258 sec)
                          DFS CAC time: 60000 ms
                        * 5680 MHz [136] (20.0 dBm) (radar detection)
                          DFS state: usable (for 2148258 sec)
                          DFS CAC time: 60000 ms
                        * 5700 MHz [140] (20.0 dBm) (radar detection)
                          DFS state: usable (for 2148258 sec)
                          DFS CAC time: 60000 ms
                        * 5745 MHz [149] (disabled)
                        * 5765 MHz [153] (disabled)
                        * 5785 MHz [157] (disabled)
                        * 5805 MHz [161] (disabled)
                        * 5825 MHz [165] (disabled)
        valid interface combinations:
                 * #{ managed, WDS } <= 2048, #{ AP, mesh point } <= 8, #{ P2P-client, P2P-GO } <= 1, #{ IBSS } <= 1,
                   total <= 2048, #channels <= 1, STA/AP BI must match
        HT Capability overrides:
                 * MCS: ff ff ff ff ff ff ff ff ff ff
                 * maximum A-MSDU length
                 * supported channel width
                 * short GI for 40 MHz
                 * max A-MPDU length exponent
                 * min MPDU start spacing
root@f:/# 

und dmesg:

root@f:/# dmesg | grep 80211
[    7.588906] cfg80211: Calling CRDA to update world regulatory domain
[    7.610713] cfg80211: World regulatory domain updated:
[    7.616201] cfg80211:  DFS Master region: unset
[    7.629289] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[    7.638593] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[    7.642632] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[    7.656677] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[    7.670723] cfg80211:   (5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A, 2000 mBm), (N/A)
[    7.675031] cfg80211:   (5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[    7.689335] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[    7.693640] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[    7.707687] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[    9.367525] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[    9.382512] cfg80211: Calling CRDA for country: US
[    9.388523] cfg80211: Regulatory domain changed to country: US
[    9.396073] cfg80211:  DFS Master region: FCC
[    9.408644] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[    9.417950] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
[    9.431991] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 1700 mBm), (N/A)
[    9.436038] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2300 mBm), (0 s)
[    9.450083] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
[    9.454126] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
[    9.469328] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xd0fc0000, irq=9
[   16.233424] cfg80211: Calling CRDA for country: DE
[   16.269504] cfg80211: Regulatory domain changed to country: DE
[   16.277239] cfg80211:  DFS Master region: ETSI
[   16.290089] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   16.299392] cfg80211:   (2400000 KHz - 2483000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   16.303430] cfg80211:   (5150000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   16.317478] cfg80211:   (5250000 KHz - 5350000 KHz @ 80000 KHz), (N/A, 2000 mBm), (0 s)
[   16.331522] cfg80211:   (5470000 KHz - 5725000 KHz @ 80000 KHz), (N/A, 2700 mBm), (0 s)
[   16.335568] cfg80211:   (57240000 KHz - 65880000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
root@f:/# 

Bis dann
valhs

Bin ich gerade blind, dass ist doch kein Atheroschipsatz oder überlese ich da etwas?

Ich weiß auch nicht, ob die x86-Images überhaupt WLAN können, da müsstest du ggfs. Mal neoraider im #gluon-IRC fragen.

Grüße
MPW

hostapd hat gefehlt, jetzt läuft es