[Bug 927616] New: ad-hoc mode not working
http://bugzilla.opensuse.org/show_bug.cgi?id=927616 Bug ID: 927616 Summary: ad-hoc mode not working Classification: openSUSE Product: openSUSE Factory Version: 201503* Hardware: armv7 OS: openSUSE 13.2 Status: NEW Severity: Normal Priority: P5 - None Component: Network Assignee: wicked-maintainers@suse.de Reporter: bwiedemann@suse.com QA Contact: qa-bugs@suse.de Found By: Development Blocker: --- When preparing a presentation for hackweek, I was blocked by problems to get the WLAN up. To workaround bug 927615 I configured ad-hoc mode using yast2 lan. This did not result in a working network. systemctl status wicked showed wicked: wrong WIRELESS_MODE value (Ad-hoc) In the end, I had to use iwconfig + ifconfig directly which did working after some trying. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=927616 Pawel Wieczorkiewicz <pwieczorkiewicz@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CONFIRMED CC| |pwieczorkiewicz@suse.com --- Comment #1 from Pawel Wieczorkiewicz <pwieczorkiewicz@suse.com> --- Yes, "Ad-hoc" is not recognized as a valid mode, but "Adhoc" should work (WIRELESS_MODE="Adhoc" in ifcfg file). This could be corrected indeed. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=927616 Pawel Wieczorkiewicz <pwieczorkiewicz@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |IN_PROGRESS --- Comment #2 from Pawel Wieczorkiewicz <pwieczorkiewicz@suse.com> --- The patch has been proposed. Pending review at: https://github.com/openSUSE/wicked/pull/536 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=927616 --- Comment #3 from Bernhard Wiedemann <bwiedemann@suse.com> --- tested the patch and it makes things a bit better.
rcwicked status Apr 20 10:22:41 beagle systemd[1]: Starting wicked managed network interfaces... Apr 20 10:23:11 beagle wicked[13745]: device wlan0: operation timed out Apr 20 10:23:11 beagle wicked[13745]: lo up Apr 20 10:23:11 beagle wicked[13745]: eth0 up Apr 20 10:23:11 beagle wicked[13745]: wlan0 setup-in-progress
wlan0 is up, but not associated. after using my manual setup script #!/bin/sh iwconfig wlan0 ESSID wlanbridge mode ad-hoc key 1234567890 channel 7 ifconfig wlan0 192.168.12.2/24 up then I can do ifdown wlan0 ; ifup wlan0 and it still works. btw: I see wpa_supplicant running - maybe it is disturbing things? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=927616 --- Comment #4 from Bernhard Wiedemann <bwiedemann@suse.com> --- correction: it needs this to get wlan to work #!/bin/sh iwconfig wlan0 ESSID wlanbridge mode ad-hoc key 1234567890 channel 7 ifconfig wlan0 192.168.12.2/24 up iwconfig wlan0 ESSID wlanbridge mode ad-hoc key 1234567890 channel 7 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=927616 http://bugzilla.opensuse.org/show_bug.cgi?id=927616#c9 Karol Babioch <kbabioch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bwiedemann@suse.com, | |kbabioch@suse.com Flags| |needinfo?(bwiedemann@suse.c | |om) --- Comment #9 from Karol Babioch <kbabioch@suse.com> --- Is this still an issue? I see that updates have been released addressing this, and I'm not sure what to do about your latest remarks: (In reply to Bernhard Wiedemann from comment #4)
correction: it needs this to get wlan to work
#!/bin/sh iwconfig wlan0 ESSID wlanbridge mode ad-hoc key 1234567890 channel 7 ifconfig wlan0 192.168.12.2/24 up iwconfig wlan0 ESSID wlanbridge mode ad-hoc key 1234567890 channel 7
So I'm wondering whether it is working by now, or still something that needs to be looked into? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=927616 http://bugzilla.opensuse.org/show_bug.cgi?id=927616#c10 Bernhard Wiedemann <bwiedemann@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low Hardware|armv7 |All Version|201503* |Current Flags|needinfo?(bwiedemann@suse.c | |om) | OS|openSUSE 13.2 |openSUSE 42.3 --- Comment #10 from Bernhard Wiedemann <bwiedemann@suse.com> --- I did not need this much, but I re-tested this on openSUSE Leap 15.0 and found that ifup wlan1 still left the interface in "state DOWN" iwconfig shows ESSID:off/any so still the somewhat broken state of 2015. # cat ifcfg-wlan1 STARTMODE='auto' BOOTPROTO='static' BROADCAST='192.168.7.255' IPADDR='192.168.7.3' NAME='RTL8192CU 802.11n WLAN Adapter' NETMASK='255.255.255.0' NETWORK='192.168.7.0' WIRELESS_AP='' WIRELESS_AP_SCANMODE='1' WIRELESS_AUTH_MODE='no-encryption' WIRELESS_BITRATE='auto' WIRELESS_DEFAULT_KEY='0' WIRELESS_ESSID='wlanbridge' WIRELESS_KEY_LENGTH='128' WIRELESS_MODE='Ad-hoc' WIRELESS_POWER='no' Also, wpa_supplicant is still started. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com