| Summary: | preferred_aps fails to handle ESSIDs containing spaces | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Jack Kelly <endgame.dos> |
| Component: | [OLD] baselayout | Assignee: | Gentoo's Team for Core System packages <base-system> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | marty.rosenberg |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | Increase the quoting around the call to iwconfig | ||
Created attachment 117838 [details, diff]
Increase the quoting around the call to iwconfig
I only looked in iwconfig_associate because setting the ESSID manually with essid_eth0="Some ESSID with spaces" in /etc/conf.d/net works,
Fixed in baselayout-2.0.0_alpha2 *** Bug 178001 has been marked as a duplicate of this bug. *** Also fixed in 1.12.10-r4 |
Setting preferred_aps_eth1=( "ESSID with spaces" ) causes the call to iwconfig "${iface}" essid "${ESSID}" to fail because there isn't sufficient quoting Reproducible: Always Steps to Reproduce: 1. Install wireless-tools. 2. In /etc/conf.d/net, set preferred_aps_eth1=( "Some ESSID with spaces" ) 3. eselect rc restart net.eth1 (Replace eth1 with wireless interface as appropriate) Actual Results: (with preferred_aps_eth1=( "University of Leeds Wireless" ) ) * Starting eth1 * Configuring wireless network for eth1 eth1 no wireless extensions. iwconfig: unknown command "of" * eth1 does not support setting ESSID to "University of Leeds Wireless" Expected Results: * Starting eth1 * Configuring wireless network for eth1 * eth1 connected to ESSID "University of Leeds Wireless" at 00:11:92:AD:8B:B1 * in managed mode on channel 3 (WEP disabled) * Bringing up eth1 * dhcp * Running dhcpcd ... [ ok ] * eth1 received address 129.11.63.64/22