I have an ASCII wep key containing quotes ("). The key is something like s:abcd"efgh. I issue iwconfig with parameter key open s:abcd\"efgh and works fine. Setting the key into /etc/conf.d/net this way: key_essid=("open s:abcd\"efgh") produces the following error on network start # /etc/init.d/net.wlan0 start * Caching service dependencies ... [ ok ] * Starting wlan0 * Configuring wireless network for wlan0 /lib/rcscripts/net.modules.d/iwconfig: eval: line 351: unexpected EOF while looking for matching `"' /lib/rcscripts/net.modules.d/iwconfig: eval: line 352: syntax error: unexpected end of file
read the comments in /etc/conf.d/wireless.example # Any ESSID's in values like essid_eth0="My NET" may need to be escaped # This means placing the character \ before the character # \" need to be escaped for example # So if your ESSID is # My "\ NET # it becomes # My \"\\ NET