Hi everyone,
I’m trying to setup the wifi driver in Turmvilla like scenario’s but with little success. The driver spits out a fair amount of warnings and errors which obfuscates my view of what could be the main issue; thus I would like to reach out for help.
A log of the turmvilla scenario (https://github.com/nfeske/genode/tree/turmvilla-16.05) running on a Lenovo x201 is attached. I get very similar results on x250’s.
Can anyone point out to me what might be the problem?
Met vriendelijke groet / kind regards,
Martijn Verschoor
Cyber Security Labs B.V. | Gooimeer 6-31 | 1411 DD Naarden | The Netherlands +31 35 631 3253 (office) | +31 616 014 087 (mobile)
Hello Martijn,
I have no clue what's going wrong on your x201 but expect that Norman uses Turmvilla with slightly modified version of the mentioned brnach. What puzzles me in you log are the following lines.
[init -> wifi_drv] no net device registered! [init -> wifi_drv] nl80211: Driver does not support authentication/association or connect commands [init -> wifi_drv] nl80211: Remove monitor interface: refcount=0 [init -> wifi_drv] netlink: Operstate: ifindex=1 linkmode=0 (kernel-control), operstate=6 (IF_OPER_UP) [init -> wifi_drv] no net device registered! [init -> wifi_drv] nl80211: Set mode ifindex 1 iftype 2 (STATION) [init -> wifi_drv] nl80211: Failed to set interface 1 to mode 2: -19 (Operation not supported by device) [init -> wifi_drv] wlan0: Failed to initialize driver interface [init -> wifi_drv] Failed to add interface wlan0 [init -> wifi_drv] wlan0: Cancelling scan request [init -> wifi_drv] wlan0: Cancelling authentication timeout
Could it be your wlan_configuration is somewhat corrupted or uses invalid syntax? I never saw our driver complaining about the STATION thing before.
Greets
Hi Christian,
Thanks for the hint. I tried the following for “wlan_configuration":
- <selected_accesspoint ssid=“GOOIMEER_6”> (the GOOIMEER_6 access-point has no protection). - numerous permutations with protection, psk, etc.. - empty
Also I tried to add a network section in “wpa_supplicant.conf” similar to the one found in “dde_linux/README”.
Regardless of what I configure, I keep getting the same behaviour.
What puzzles me is that the “wlan_accesspoints” and “wlan_state” reports are never generated…
Met vriendelijke groet / kind regards,
Martijn Verschoor
Cyber Security Labs B.V. | Gooimeer 6-31 | 1411 DD Naarden | The Netherlands +31 35 631 3253 (office) | +31 616 014 087 (mobile)
Hello Martijn,
* Martijn Verschoor <verschoor@...434...> [2016-09-30 14:09:04 +0200]:
I’m trying to setup the wifi driver in Turmvilla like scenario’s but with little success. The driver spits out a fair amount of warnings and errors which obfuscates my view of what could be the main issue; thus I would like to reach out for help.
A log of the turmvilla scenario (https://github.com/nfeske/genode/tree/turmvilla-16.05) running on a Lenovo x201 is attached. I get very similar results on x250’s.
Can anyone point out to me what might be the problem?
The important piece of information in your LOG output is this line:
[init -> wifi_drv] dev_error: Invalid 11n configuration
When your 6200 ABG card is initialized it indicates that it supports the 11n mode but judging by looking into Linux driver it is not supposed to be configured this way. I vaguely remember that Norman has the same problem with his 6200 ABG card. The “quick-fix” is to forcefully disable 11n support (see the attached patch).
Regards, Josef
Hi Josef,
Thanks for your help. Your patch brings me a bit further to get wifi up on the x201, but I’m not there yet. Now the scan fails, see the attached log. I didn’t debug this yet since I have now managed to get wifi up on our x250 with another patch [1].
I’m quite pleased with wifi on the x250 since this was our primary goal. Nevertheless it would be interesting to fix it for the x201 as well.
Thanks again, and I’ll give some feedback about the x201 issue when I have more time to debug it.
On 03 Oct 2016, at 10:35, Josef Söntgen <josef.soentgen@...1...> wrote:
The important piece of information in your LOG output is this line:
[init -> wifi_drv] dev_error: Invalid 11n configuration
When your 6200 ABG card is initialized it indicates that it supports the 11n mode but judging by looking into Linux driver it is not supposed to be configured this way. I vaguely remember that Norman has the same problem with his 6200 ABG card. The “quick-fix” is to forcefully disable 11n support (see the attached patch).
Regards, Josef
Met vriendelijke groet / kind regards,
Martijn Verschoor
Cyber Security Labs B.V. | Gooimeer 6-31 | 1411 DD Naarden | The Netherlands +31 35 631 3253 (office) | +31 616 014 087 (mobile)
[1] https://github.com/genodelabs/genode/commit/f81d4cfbbb3f26d2631d93c04920fbbe...