wicd doesn't find hidden network

Bug #824508 reported by Lee Riemenschneider on 2011-08-11
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Tom Van Braeckel

Bug Description

wicd 1.7.0+ds1-5
Ubuntu 10.10

'iwlist eth1 scan' also doesn't find the hidden network, so this might actually be a problem with iwlist. I have found that 'iwlist eth1 scan essid <essid>' works, so modifying wnettools.py line 1190 from:

cmd = 'iwlist ' + self.iface + ' scan'


cmd = 'iwlist ' + self.iface + ' scan' + ' essid' + ' <essid>'

allows me to find the network, but it will prevent seeing any other networks. It would be nice, if the essid parameter was added to the iwlist command when the user specified a hidden network.

bat bast (bat-bast) wrote :

With Precise version (wicd, wicd client crash when some hidden networks exist :
bast@batpiisi:~/tmp$ wicd-cli -ly
Traceback (most recent call last):
  File "/usr/share/wicd/cli/wicd-cli.py", line 113, in <module>
    wireless.GetWirelessProperty(network_id, 'essid'))
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__
  File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Python.TypeError: Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/dbus/service.py", line 751, in _message_cb
    _method_reply_return(connection, message, method_name, signature, *retval)
  File "/usr/lib/python2.7/dist-packages/dbus/service.py", line 254, in _method_reply_return
    reply.append(signature=signature, *retval)
TypeError: expected string without null bytes

A solution is in the file /usr/share/pyshared/wicd/wnettools.py : change the visibility of the network
1281 if ap['essid'] in ['Hidden', '<hidden>', "", None]:
1282 print 'hidden'
1283 # BAST
1284 #ap['hidden'] = True
1285 ap['hidden'] = False
1286 ap['essid'] = "<hidden>"
1287 else:
1288 ap['hidden'] = False

I bumped into this with iwlwifi and fixed it in revision 936. The way to find hidden networks is to click the "Network" button in the top-left corner and fill in the SSID of your hidden network. Then it should show up. Can you re-try please?

Changed in wicd:
status: New → Confirmed
assignee: nobody → Tom Van Braeckel (tomvanbraeckel)
importance: Undecided → Medium
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers