FS#7730 - netcfg / network-profiles problem
Attached to Project:
Arch Linux
Opened by dwr budr (dwrbudr) - Thursday, 02 August 2007, 22:37 GMT
Last edited by James Rayner (iphitus) - Saturday, 18 August 2007, 10:41 GMT
Opened by dwr budr (dwrbudr) - Thursday, 02 August 2007, 22:37 GMT
Last edited by James Rayner (iphitus) - Saturday, 18 August 2007, 10:41 GMT
|
Details
Description:
Take this `/etc/network-profiles/test` file, noting the "a space" ESSID, deviating from the normal single word ESSI: DESCRIPTION="test" INTERFACE=eth1 HOSTNAME=myhost ESSID="a space" KEY=pass IWOPTS="mode managed essid $ESSID channel 6 key restricted $KEY" # netcfg test :: Starting network profile: test [BUSY] iwconfig: unknown command "space" [FAIL] As you can see, the quotation marks in the ESSID are not preserved, meaning netcfg calls `iwconfig mode managed essid a space channel 6 key restricted pass` instead of `iwconfig mode managed essid "a space" channel 6 key restricted pass`. Therefore, iwconfig assumes the word "space" is a command line argument instead of the rest of the ESSID. Making sure the netcfg script preserves the quotation marks in the ESSID variable (the onw in the network-profiles file) would fix this. Additional info: * package version(s) local/initscripts 2007.08-1 local/wireless_tools 29pre21-1 * config and/or log files etc. See description. Steps to reproduce: See description. |
This task depends upon
See netcfg2. http://bbs.archlinux.org/viewtopic.php?id=36384
Closing this, as the current scripts will be replaced by netcfg2.