File: ESSID-BUG.txt

package info (click to toggle)
wireless-tools 30~pre9-12
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 1,632 kB
  • ctags: 4,575
  • sloc: ansic: 13,804; sh: 209; makefile: 154
file content (39 lines) | stat: -rw-r--r-- 1,250 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
		The ESSID bug
		-------------

	The latest Linux kernels have a bug in the handling of the
ESSID. The Linux kernel maintainers seems reluctant to fix this
bug. But, I've managed to find a way to workaround it in Wireless
Tools 30.pre7.

Symptoms :
--------
	1) There is a trailing '\x00' in the ESSID.
	2) If a ESSID with 32 character is set, it can not be read again.
                http://madwifi.org/ticket/930
	3) You can not set an ESSID with a trailing '\x00'

Resolution :
----------
	The patch provided in the Wireless Tools package should fix
this problem. This patch remove a backward compatibility hack, and it
is safe as it simplify the code.
	The patch need to be applied to the kernel, the kernel
recompiled and reinstalled.
	If you have kernel 2.6.19 to 2.6.21 :
		use iw261_restore_full_essid.diff
	If you have kernel 2.6.22 or later :
		use iw262_restore_full_essid.diff
	I won't give detailed instructions because only people
confortable with kernel rebuild should attempt this.

Workaround :
----------
	Using Wireless Tools 30.pre7 or later will cure syptoms (1) and (2).
	Using Wireless Tools 29 or earlier will hide the trailing '\x00'
character (first symptom), but not the second and third symptoms.

	Good luck...

	Jean