[Ilugc] Problem in configuring wireless

  • From: stylesen@xxxxxxxxx (Senthil Kumaran S)
  • Date: Sun Apr 1 05:22:57 2007

Hi,

I have an amd 64 bit (Turion) HP laptop which has a broadcom bcm4310
wireless card. The following is the lspci output:
30:00.0 Network controller: Broadcom Corporation BCM4310 UART (rev 01)

I use Debian etch (amd64) with all the updates installed. The kernel
which I use is given below:
Linux stylesen.home 2.6.18-4-amd64 #1 SMP Mon Mar 26 11:36:53 CEST
2007 x86_64 GNU/Linux

I configured the wireless with the help of ndiswrapper with the driver
obtained from ftp://ftp.hp.com/pub/softpaq/sp33001-33500/sp33008.exe

Everything went fine and my wireless card is getting detected. I use a
Linksys wireless router WRT54G. In my office I use the same wireless
router and the same configuration. There with the help of the key it
works fine. But at the same time in home when I use the same
configuration with the wireless router with the corresponding key, am
unable to get the dhcp offers.

The following is the output of my iwlist scan:
--------------------------------------------------------------------------------------------------
wlan0     Scan completed :
          Cell 01 - Address: 00:1A:70:4C:8D:B3
                    ESSID:"nammaveedu"
                    Protocol:IEEE 802.11g
                    Mode:Managed
                    Frequency:2.462 GHz (Channel 11)
                    Quality:96/100  Signal level:-34 dBm  Noise level:-96 dBm
                    Encryption key:on
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              12 Mb/s; 24 Mb/s; 36 Mb/s; 9 Mb/s; 18 Mb/s
                              48 Mb/s; 54 Mb/s
                    Extra:bcn_int=100
                    Extra:atim=0
          Cell 02 - Address: 00:16:B6:CE:42:F0
                    ESSID:"linksys"
                    Protocol:IEEE 802.11g
                    Mode:Managed
                    Frequency:2.437 GHz (Channel 6)
                    Quality:20/100  Signal level:-83 dBm  Noise level:-96 dBm
                    Encryption key:off
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
                              12 Mb/s; 48 Mb/s
                    Extra:bcn_int=100
                    Extra:atim=0
-------------------------------------------------------------------------------------------------

The following is the output when I do an ifup:
-------------------------------------------------------------------------------------------------
stylesen@stylesen:~$ sudo ifup wlan0
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/wlan0/00:14:a5:de:d1:91
Sending on   LPF/wlan0/00:14:a5:de:d1:91
Sending on   Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 16
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
-------------------------------------------------------------------------------------------------

The following is my /etc/network/interfaces file:
-------------------------------------------------------------------------------------------------
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp

iface wlan0 inet dhcp
wireless-essid nammaveedu
wireless-key <--secret-128bit--hex---key-->

auto wlan0
-------------------------------------------------------------------------------------------------

Could anyone help me in trouble shooting this issue. If you need any
other information am ready to provide. Is there anything I need to
check in the wireless router, because all the windoze clients of my
roommates are getting an ip with ease :(

PS: Bear with me for such a long mail.

-- 
Senthil Kumaran S
http://www.stylesen.org

Other related posts: