Re: [OpenWrt-Tickets] [OpenWrt] #22358: bug in mac80211.sh latest trunk

2016-05-10 Thread OpenWrt
#22358: bug in mac80211.sh latest trunk
+
  Reporter:  anonymous  |  Owner:  developers
  Type:  defect | Status:  new
  Priority:  normal |  Milestone:
 Component:  packages   |Version:  Trunk
Resolution: |   Keywords:
+

Comment (by anon2):

 That will be hard to fix, as strings starting with $ get interpreted as
 shell variables. (apparently ? breaks the variable name detection)

 You should avoid characters with special meaning for shell scripts in your
 key. Likely also a ' would cause failure...

--
Ticket URL: 
OpenWrt 
Opensource Wireless Router Technology
___
openwrt-tickets mailing list
openwrt-tickets@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets


[OpenWrt-Tickets] [OpenWrt] #22358: bug in mac80211.sh latest trunk

2016-05-09 Thread OpenWrt
#22358: bug in mac80211.sh latest trunk
---+
 Reporter:  anonymous  |  Owner:  developers
 Type:  defect | Status:  new
 Priority:  normal |  Milestone:
Component:  packages   |Version:  Trunk
 Keywords: |
---+
 When trying to build an image with a pre-set wireless configuration, i
 noticed that if the "option key" field has a key with the $ simbol, the
 generated key will have an image where the key has less characters than
 the one set in the ma89211.sh file.

 So editing file package/kernel/mac80211/files/lib/wifi/mac80211.sh and
 setting the the following line to:

  option key
 '2234?123456789$HoYxfULujgjS?1-axcdf\#1qasdfrtg+k:2lK)1wdfgtyuiO'


 will result in an image where the file /etc/config/wireless has the field
 option key like the one below:

 option key '2234?123456789?1-axcdf\#1qasdfrtg+k:2lK)1wdfgtyuiO'

 $HoYxfULujgjS is missing in the middle of the key.

--
Ticket URL: 
OpenWrt 
Opensource Wireless Router Technology
___
openwrt-tickets mailing list
openwrt-tickets@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets