Package: debian-installer
Version: 20170615
Severity: normal

Dear Maintainer,

di 20170615 misparses Wi-Fi SSID that contains comma (,)

while installing: Debian GNU/Linux 9.0 (stretch) x86_64
from: Debian GNU/Linux 9.0.0 "Stretch" - Official Multi-architecture
 amd64/i386 NETINST #1 20170617-15:50
on/booted from: USB stick having above image
using graphics installer (64-bit)

installer misparses Wi-Fi SSID containing comma (,),
specifically SSID: Paoli,_Michael
shows up in selection list as two options:
Paoli
_Michael
selecting either of those two fails (as such SSIDs did not exist)

work-around: select option to manually enter SSID and enter:
Paoli,_Michael
that then works as effective work-around

I also seem to note from my perusing of the IEEE specification, that
SSID is 0 to 32 octets, so ... may need be appropriately careful in
displaying/parsing, etc.
(suggestion - maybe unambiguous form for display/entry, e.g. - show
bytes that are neither ASCII isgraph nor non-trailing spaces as
3-digit octal escape sequences (\nnn), and show \ as \\, and likewise
allow such parsing of entry to be able to use arbitrary SSIDs - note
also that SSIDs may not be broadcast/advertised,
maybe also add regression tests for arbitrary SSIDs,
and some (help) text on display/entry format)

bits from logs that seem likely relevant:

/var/log/installer/cdebconf/questions.dat

Name: netcfg/wireless_essid
Template: netcfg/wireless_essid
Value: Paoli,_Michael
Owners: netcfg
Variables:
 iface = wlp1s0

Name: netcfg/wireless_show_essids
Template: netcfg/wireless_show_essids
Value: manual
Owners: netcfg
Variables:
 essid_list = DeFarrell, xfinitywifi, Paoli,_Michael, Carleton, HOME-68E2, , 
Lan of the Free, XFINITY, ChezClaude, LBCPRIME, DeFarrrell-Guest,

/var/log/installer/syslog

Jun 24 16:40:21 cdrom-detect: Detected CD 'Debian GNU/Linux 9.0.0 "Stretch" - 
Official Multi-architecture amd64/i386 NETINST #1 20170617-15:50'
Jun 24 16:44:53 netcfg[5195]: INFO: Activating interface wlp1s0
Jun 24 16:44:55 netcfg[5195]: INFO: Scan of wireless interface wlp1s0 succeeded.
Jun 24 16:45:20 netcfg[5195]: INFO: Network chosen: Paoli,_Michael. Proceeding 
to connect.
Jun 24 16:45:25 kernel: [  358.670377] IPv6: ADDRCONF(NETDEV_CHANGE): wlp1s0: 
link becomes ready
Jun 24 16:45:25 kernel: [  358.770391] wlp1s0: Limiting TX power to 30 (30 - 0) 
dBm as advertised by da:c4:6a:9e:0b:9f
Jun 24 16:45:26 netcfg[5195]: INFO: buf = bssid=da:c4:6a:9e:0b:9f freq=2437 
ssid=Paoli,_Michael id=0 mode=station pairwise_cipher=CCMP group_cipher=CCMP 
key_mgmt=WPA2-PSK wpa_state=COMPLETED address=48:5d:60:22:08:6d 
uuid=21d07fc3-2257-56e3-9fe4-11b52065e99a


-- System Information:
Debian Release: 9.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=ANSI_X3.4-1968) 
(ignored: LC_ALL set to C), LANGUAGE=en_US.UTF-8 (charmap=ANSI_X3.4-1968) 
(ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

And thanks! - Lovely installer :-) - no other glitches seen thus far.

Reply via email to