← Back to team overview

desktop-packages team mailing list archive

[Bug 824260] Re: Network Manager fails to connect to, or create a wireless connection for, an all-numeric SSID

 

I also bumped into this one today. Looking at the code revealed the bug
is in get_uchar_array() (src/settings/plugins/keyfile/reader.c, line
733). Besides SSIDs stored as normal strings, the function also has code
for reading SSIDs in the form of a semicolon-separated list of integers
(the "old format" as the comment refers to it). So when the function
encounters an all-numeric SSID, it tries to parse it as if it was in
this "old format". This inevitably fails for integers greater than 255
and would report a single-char SSID for lower values which isn't exactly
correct either. I'm not really into the key-value file parser in glib
but I don't think there's a good way to distinguish between these two
cases.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/824260

Title:
  Network Manager fails to connect to, or create a wireless connection
  for, an all-numeric SSID

Status in “network-manager” package in Ubuntu:
  New

Bug description:
  Could not connect to an all-numeric SSID, or create a connection for
  one (it would disappear from the list of created wireless connections
  immediately).

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: network-manager 0.8.9997+git.20110721t045648.36db194-0ubuntu1
  ProcVersionSignature: Ubuntu 3.0.0-7.9-generic 3.0.0
  Uname: Linux 3.0.0-7-generic i686
  Architecture: i386
  CRDA: Error: [Errno 2] No such file or directory
  CasperVersion: 1.277
  Date: Thu Aug 11 01:25:32 2011
  IfupdownConfig:
   auto lo
   iface lo inet loopback
  IpRoute:
   default via 192.168.1.1 dev wlan0  proto static 
   192.168.1.0/24 dev wlan0  proto kernel  scope link  src 192.168.1.33  metric 2
  LiveMediaBuild: Ubuntu 11.10 "Oneiric Ocelot" - Alpha i386 (20110808)
  NetworkManager.state:
   [main]
   NetworkingEnabled=true
   WirelessEnabled=true
   WWANEnabled=true
   WimaxEnabled=true
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  RfKill:
   0: phy0: Wireless LAN
   	Soft blocked: no
   	Hard blocked: no
  SourcePackage: network-manager
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/824260/+subscriptions