Package: wireless-tools
Version: 30~pre9-5
Severity: important

i try to connect to a wep protected wireless access point.

with the folowing configuration :
auto wlan0
iface wlan0 inet dhcp
 wireless-essid Intrawep
 wireless-key 9638520741
 wireless-mode managed
 wireless-enc on
 wireless-ap 00:0B:3B:3F:26:00

$ifup wlan0
Internet Systems Consortium DHCP Client 4.1.1-P1
Copyright 2004-2010 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/wlan0/00:24:8c:42:86:db
Sending on   LPF/wlan0/00:24:8c:42:86:db
Sending on   Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3
NO DHCPOFFERS recieved
No working leases in persistant databases - sleepeng 

$iwconfig wlan0
wlan0     IEEE 802.11bg  ESSID:"Intrawep"  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=27 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:9638-5207-41
          Power Management:off


but if I configure this way :
auto wlan0
iface wlan0 inet manual

$iwconfig wlan0 key '9638520741' mode managed essid 'Intrawep'  enc on ap 
00:0B:3B:3F:26:00
$dhclient -v wlan0
Internet Systems Consortium DHCP Client 4.1.1-P1
Copyright 2004-2010 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/wlan0/00:24:8c:42:86:db
Sending on   LPF/wlan0/00:24:8c:42:86:db
Sending on   Socket/fallback
DHCPREQUEST on wlan0 to 255.255.255.255 port 67
DHCPACK from 192.168.1.1
bound to 192.168.1.19 -- renewal in 34338 seconds.

$iwconfig wlan0
wlan0     IEEE 802.11bg  ESSID:"Intrawep"  
          Mode:Managed  Frequency:2.452 GHz  Access Point: 00:0B:3B:3F:26:00   
          Bit Rate=36 Mb/s   Tx-Power=27 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:9638-5207-41
          Power Management:off
          Link Quality=52/70  Signal level=-58 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0



I see two differences here :
ifup begin by a DHCPDISCOVER
dhclient use DHCPDISCOVER only if DHCPREQUEST didn't succeed
but DHCPDISCOVER should work too

The second difference is the configuration of wlan0 wich seems to be 
incomplete, 
mainly ap not configured 
and other option wich i do not know if they are important or not.

i guess the problem must come from the pre-up script wireless-tools, i have 
still not investigated further.

please tell me if you experience the same problem, if so it is a serious 
problem in this package.

-- System Information:
Debian Release: 6.0.6
  APT prefers stable-updates
  APT policy: (990, 'stable-updates'), (990, 'stable'), (90, 'testing'), (50, 
'unstable'), (10, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages wireless-tools depends on:
ii  libc6                         2.11.3-4   Embedded GNU C Library: Shared lib
ii  libiw30                       30~pre9-5  Wireless tools - library

wireless-tools recommends no packages.

wireless-tools suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to