![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
|
|
Networking & Wireless Having problems getting connected to the internet or getting your wireless card to work? Ask here. |
|
|
Thread Tools | Display Modes |
|
|
#1 | |
|
First Cup of Ubuntu
![]() Join Date: Aug 2007
Beans: 9
|
[SOLVED] "NO DHCPOFFERS" Wifi Dell Inspiron 9400
I have read a lot about this issue on the forum but the solutions provided have not solved my problem. I have an wifi network inteface (eth1) that has a signal but I cant connect to the Internet since I dont get an IP address from the dhcp-server (as far as I understand). I run Ubuntu 6.0.6 (Dapper) These are the outputs I get when I run different commands:
Quote:
What seems to be the problem? I have spent a long time trying to solve the problem but this is my last try... /di98 |
|
|
|
|
|
|
#2 |
|
Fresh Brewed Ubuntu
![]() |
Re: "NO DHCPOFFERS" Wifi Dell Inspiron 9400
Try setting your config file up like this
Code:
network={
ssid="example"
proto=WPA
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
psk=06b4be19da289f475aa46a33cb793029d4ab3db7a23ee92382eb0106c72ac7bb
priority=2
}
scan_ssid=1 Also cycle your router off for 30 seconds and then power on and try to connect. |
|
|
|
|
|
#3 |
|
I Want My $2!!
![]() Join Date: Mar 2007
Location: Denver, CO
Beans: 7,058
Ubuntu 8.10 Intrepid Ibex
|
Re: "NO DHCPOFFERS" Wifi Dell Inspiron 9400
There are so many things wrong with your configuration -- in so many ways!!
#1. Reset or delete or just copy your current /etc/network/interfaces file to a backup location, and just make a basic one: auto lo iface lo inet loopback auto eth0 iface eth1 inet dhcp auto eth1 iface eth1 inet dhcp #2. Although it seems like want WPA2, I think you need to set up your wpa_supplicant.conf file like the following (yes I know this is different than what you have read): ap_scan=1 ctrl_interface=/var/run/wpa_supplicant network={ ssid="ESSID_IN_QUOTES" scan_ssid=0 proto=WPA key_mgmt=WPA-PSK psk="ASCII PSK Password in Quotes" <----- Can put hex key here without quotes but make sure it is correct pairwise=TKIP group=TKIP } Im basing this on the following: IE: IEEE 802.11i/WPA2 Version 1 Group Cipher : TKIP Pairwise Ciphers (2) : TKIP CCMP Authentication Suites (1) : PSK Im just trying to match what is states about wpa2 on your iwlist scan statement to the settings in the file (you must have a linksys router) Then try just connecting from the command line with the following (for you <interface>=eth1): sudo ifconfig <interface> down sudo dhclient -r <interface> sudo wpa_supplicant -w -Dipw -i<interface> -c/etc/wpa_supplicant.conf -dd sudo ifconfig <interface> up sudo iwconfig <interface> mode Managed sudo dhclient <interface> Give me any output you generate if it doesnt work. We may have to play around with the cipher, key-mngmt in the conf file. Are you certain it can connect to an unencrypted network??? Id confirm this first! |
|
|
|
|
|
#4 |
|
First Cup of Ubuntu
![]() Join Date: Aug 2007
Beans: 9
|
Re: "NO DHCPOFFERS" Wifi Dell Inspiron 9400
Hi all,
thanks for your help. This is the solution that made it work for me: I removed the encryption on the router and restored interfaces according to you suggestions in the thread. The network worked immediately. After this I run with WEP also no problem. The next thing will be to run WPA but I will do that some other time... Thanks. |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|