On starting a wireless connection and the access point is not broadcasting its essid the documentation indicates to use: preferred_aps="ESSID1 ESSID2" and associate_order="forcepreferredonly" It used to work in baselayout1 but with the openrc version it has 2 problems: 1) Seems to be an error on parsing the preferred_aps variable as it fails if two or more aps are listed. 2) The init script complains on starting interfase Reproducible: Always Steps to Reproduce: 1. Setup Access Point not to announce SSID 2. set associate_order="forcepreferredonly" in /etc/conf.d/net 3. start interfase through /etc/init.d/net.iface script Actual Results: /lib/rc/net/iwconfig.sh: line 519: [: 0: unary operator expected * Connecting to "" in managed mode (WEP Disabled) ... [ ok ] * wlan0 connected to SSID "" at xx:xx:xx:xx:xx Note the empty string in the SSID printout. The association to the ap is successful however if only one ap is listed in the preferred_aps variable Expected Results: No error in the script. echoing the right ESSID.
Created attachment 150369 [details, diff] Fix the issue Does this patch fix things for you?
This has been fixed in openrc git repo http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=eb75144d8326df4a28eae7f043e1130075483216
Thanks Roy. Now it works as espected.
*** Bug 218729 has been marked as a duplicate of this bug. ***
This bug is not fixed in the tree, so it's a bit too early to close it.
Fixed in 0.3.0.