LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   dhcp not working with wireless network card? (https://www.linuxquestions.org/questions/linux-networking-3/dhcp-not-working-with-wireless-network-card-4175480557/)

ncage 10-12-2013 06:28 PM

dhcp not working with wireless network card?
 
Hi guys i finally got my wireless network card detected today. So i can see the card with 'ifconfig' (wlan0) but i'm not able to sucessfully get the card to grab an ip from my router.

When i try to grab an ip
'dhclient wlan0'

it doesn't output anything and when i go look the wireless card doesn't have an ip.


Info Distribution: Debian 7.1 (wheezy)
Wireless Card: Intel Centrino Advanced-N 6230

/etc/network/interfaces (wlan part)

auto wlan0
iface wlan0 inet dhcp
wpa-ssid MyWirelessLan
wpa-psk MyWirlesslanKey

If i do a 'ifdown' followed by 'ifup':

Internet Systems Consortium DHCP Client 4.2.2
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/wlan0/88:53:2e:0a:e4:a2
Sending on LPF/wlan0/88:53:2e:0a:e4:a2
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 19
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4
No DHCPOFFERS received.
No working leases in persistent database - sleeping.

Kowalski 10-14-2013 04:12 AM

Could be a driver problem.
Your card should be supported through iwlwifi as stated on the intel website.
Easiest thing is to try apt-get update your system, if that does not help you could add the testing and/or backports repositories to /etc/apt/sources.list and try update again (relevant package is firmware-iwlwifi. the package in the various repositories can be found here without adding the repos to sources.list).
Otherwise you could try to download and install the latest drivers manually from here.
Hope it helps


All times are GMT -5. The time now is 08:43 AM.