Solved

Suse 10.2: Problem connection to managed WAP: No DHCPOFFERS received

Posted on 2007-03-19
5
940 Views
Last Modified: 2008-01-09
I am running Suse 10.2 on a Lenovo X60.  I am using Knetworkmanager to connect to a wireless network at work.  The network has a managed WAP with shared key.  I can connect to the WAP via Windows, but I am having trouble in Linux.  

The connection starts coming up, and I think the process fails when the machine tries to lease an IP address.  Error message is No DHCPOFFERS received.  No working leases in persistent database - sleeping.  

Do you have any suggestions?
0
Comment
Question by:cs76737
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 

Author Comment

by:cs76737
ID: 18748549
x60:~ # dhclient eth1
Internet Systems Consortium DHCP Client V3.0.3
Copyright 2004-2005 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

Listening on LPF/eth1/00:13:02:3a:32:a3
Sending on   LPF/eth1/00:13:02:3a:32:a3
Sending on   Socket/fallback
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 2
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 9
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
0
 
LVL 14

Expert Comment

by:pablouruguay
ID: 18749803
install wpa_supplicant and modify the file /etc/wpa_supplicant.conf

like this for example

ctrl_interface=/var/run/wpa_supplicant
ap_scan=1
network={
ssid="SSID_WPA"
scan_ssid=0
proto=WPA RSN
key_mgmt=WPA-PSK
pairwise=TKIP CCMP
group=TKIP CCMP
psk="SSID-wpa-version2"
priority=5
}
~      
0
 

Author Comment

by:cs76737
ID: 18750011
Thank you for the reply.  Unfortunately, I am behind a firewall at work, so I can't install anything until I'm back home.

Any other advice?  

The wireless network has a HEX WEP key.  The confusing thing is that I have 2 laptops.  
Laptop #1:  Suse 10.1.  Been using for a while, and it works.  
Laptop #2:  Suse 10.2.  Just installed.  Having problem.

I have to imagine that it is a faulty configuration somewhere.  I compared /etc/dhclient.conf on both machines, and I have the same settings in YAST - network device - network card.  

Any other thoughts?
0
 
LVL 14

Accepted Solution

by:
pablouruguay earned 500 total points
ID: 18750095
mmm if the key is WEP you dont need wpa_supplicant you only need iwtools like

iwconfig wlan0 ESSID ÿourssid
iwconfig wlan0 key yourkey

after that
dhclient wlan0
and you get the IP.

if not... check with iwconfig if appears a your setting example

wlan0 IEEE 802.11b  ESSID:"LACTER"  Nickname:"LAC1"        <--------------------------------------------- HERE your SSID
          Mode:Managed  Frequency:2.462 GHz  Access Point: 00:0A:F4:4A:33:A8  
          Bit Rate:11 Mb/s   Tx-Power:14 dBm  
          Retry limit:15   RTS thr:off   Fragment thr:off
          Encryption key:AEF5-4CDF-E779-2ACD-5EFA-CBBE-A5   Security mode:open  <-------------  HERE your key encrypted
          Power Management:off
          Link Quality=78/100  Signal level=-56 dBm  Noise level=-56 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:58   Missed beacon:0
0
 

Author Comment

by:cs76737
ID: 18750107
Thank you.  Manual commands worked.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A Cisco router can be configured as a DHCP Server. There are advantages and disadvantages in making your Cisco router work as DHCP Server. Almost all the features for windows DHCP can be configured on Cisco-based DHCP server. Some of the features me…
Learn how to PXE Boot both BIOS & UEFI machines with DHCP Policies and Custom Vendor Classes
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question