LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 12-18-2007, 05:05 PM   #1
room101
LQ Newbie
 
Registered: Dec 2007
Posts: 3

Rep: Reputation: 0
Getting no dhcpoffer from unencrypted network


Hi to all!

I just got into trouble setting up the wlan chipset of my laptop.
i followed the instructions from the thinkpad wiki to install an Intel 4965AGN wireless chipset. Everything seemed to work, but when i tried to connect to my home network the result was the following:

Code:
plappy:/home/phil# ifup wlan0

wmaster0: unknown hardware address type 801
wmaster0: unknown hardware address type 801
Listening on LPF/wlan0/00:13:e8:b8:32:f9
Sending on   LPF/wlan0/00:13:e8:b8:32:f9
Sending on   Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 1
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
and dmesg gave me
Code:
ADDRCONF(NETDEV_UP): wlan0: link is not ready
My /etc/network/interfaces:
Code:
# 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
# eth1 = LAN !!!
allow-hotplug eth1
iface eth1 inet dhcp

# WLAN chipset
iface wlan0 inet dhcp
Perhaps anyone knows where to start solving the problem?

best wishes
pHiL
 
Old 12-18-2007, 05:37 PM   #2
pentode
Member
 
Registered: Dec 2005
Location: Oregon
Distribution: Debian Testing
Posts: 488

Rep: Reputation: 38
Post the output of lsmod, lspci, and iwconfig.

Perhaps the module is not loaded. You could try with modprobe the_module_name.
 
Old 12-19-2007, 03:11 AM   #3
room101
LQ Newbie
 
Registered: Dec 2007
Posts: 3

Original Poster
Rep: Reputation: 0
hi

these are the results:

lsmod:
Code:
Module                  Size  Used by
nvidia               6215256  26 
binfmt_misc            11112  1 
rfcomm                 36280  0 
l2cap                  22432  5 rfcomm
bluetooth              49348  4 rfcomm,l2cap
nvram                   8488  1 
uinput                  8864  1 
ppdev                   8676  0 
parport_pc             33828  0 
lp                     10980  0 
parport                33960  3 ppdev,parport_pc,lp
button                  7920  0 
ac                      5188  0 
battery                 9988  0 
acpi_cpufreq            9096  1 
cpufreq_stats           5120  0 
cpufreq_conservative     6888  0 
cpufreq_userspace       4128  0 
cpufreq_ondemand        8300  1 
cpufreq_powersave       1792  0 
freq_table              4512  3 acpi_cpufreq,cpufreq_stats,cpufreq_ondemand
nls_iso8859_1           4128  1 
nls_cp437               5792  1 
vfat                   12032  1 
fat                    48540  1 vfat
dm_snapshot            16900  0 
dm_mirror              20928  0 
dm_mod                 52160  2 dm_snapshot,dm_mirror
firewire_sbp2          12100  0 
loop                   16932  0 
snd_hda_intel         239160  1 
snd_pcm_oss            39200  0 
snd_pcm                72324  2 snd_hda_intel,snd_pcm_oss
snd_mixer_oss          15424  1 snd_pcm_oss
pcmcia                 37100  0 
arc4                    2016  2 
ecb                     3520  2 
blkcipher               6116  1 ecb
snd_seq_dummy           3748  0 
snd_seq_oss            29408  0 
snd_seq_midi_event      6880  1 snd_seq_oss
snd_seq                46320  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_timer              21028  2 snd_pcm,snd_seq
snd_seq_device          7692  3 snd_seq_dummy,snd_seq_oss,snd_seq
yenta_socket           24844  1 
snd                    48324  10 snd_hda_intel,snd_pcm_oss,snd_pcm,snd_mixer_oss,snd_seq_oss,snd_seq,snd_timer,snd_seq_device
rsrc_nonstatic         11968  1 yenta_socket
pcmcia_core            37108  3 pcmcia,yenta_socket,rsrc_nonstatic
psmouse                36016  0 
sdhci                  16524  0 
soundcore               7520  1 snd
serio_raw               6692  0 
mmc_core               26116  1 sdhci
pcspkr                  3104  0 
rtc                    12856  0 
iwl4965               187924  0 
snd_page_alloc         10056  2 snd_hda_intel,snd_pcm
firmware_class          9504  2 pcmcia,iwl4965
mac80211              120740  1 iwl4965
i2c_i801                8656  0 
cfg80211                6184  1 mac80211
i2c_core               23552  2 nvidia,i2c_i801
intel_agp              23188  0 
agpgart                31912  2 nvidia,intel_agp
tsdev                   7968  0 
evdev                   9312  5 
ext3                  121288  2 
jbd                    55336  1 ext3
mbcache                 8260  1 ext3
ide_cd                 36416  0 
cdrom                  32832  1 ide_cd
ata_generic             7556  0 
generic                 4836  0 [permanent]
sd_mod                 27136  5 
usbhid                 25792  0 
hid                    25248  1 usbhid
piix                    8868  0 [permanent]
ahci                   21380  4 
firewire_ohci          16512  0 
firewire_core          39008  2 firewire_sbp2,firewire_ohci
crc_itu_t               2144  1 firewire_core
ide_core              113764  3 ide_cd,generic,piix
libata                115984  2 ata_generic,ahci
scsi_mod              136620  3 firewire_sbp2,sd_mod,libata
e1000                 113440  0 
uhci_hcd               22960  0 
ehci_hcd               30796  0 
usbcore               125416  4 usbhid,uhci_hcd,ehci_hcd
thermal                13416  0 
processor              31176  2 acpi_cpufreq,thermal
fan                     4836  0
lspci:
Code:
00:00.0 Host bridge: Intel Corporation Mobile Memory Controller Hub (rev 0c)
00:01.0 PCI bridge: Intel Corporation Mobile PCI Express Root Port (rev 0c)
00:19.0 Ethernet controller: Intel Corporation Unknown device 104d (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation Mobile LPC Interface Controller (rev 03)
00:1f.1 IDE interface: Intel Corporation Mobile IDE Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation Mobile SATA AHCI Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)
01:00.0 VGA compatible controller: nVidia Corporation Unknown device 0429 (rev a1)
03:00.0 Network controller: Intel Corporation Unknown device 4230 (rev 61)
15:00.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ba)
15:00.1 FireWire (IEEE 1394): Ricoh Co Ltd Unknown device 0832 (rev 04)
15:00.2 Generic system peripheral [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 21)
15:00.3 System peripheral: Ricoh Co Ltd Unknown device 0843 (rev 11)
15:00.4 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 11)
15:00.5 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 11)
iwconfig wlan0:
Code:
wlan0     IEEE 802.11g  ESSID:""  
          Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated   
          Retry min limit:7   RTS thr:off   Fragment thr=2346 B   
          Encryption key:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
 
Old 12-19-2007, 11:16 AM   #4
pentode
Member
 
Registered: Dec 2005
Location: Oregon
Distribution: Debian Testing
Posts: 488

Rep: Reputation: 38
The output of iwconfig indicates your wireless nic is not associated with any access point.

If your wireless router does not broadcast its ESSID, you'll have to enter this in the configuration file for your wireless card.

You can try "iwlist wlan0 scan" to see if your router is being detected.

Try "man iwconfig" to find the command to set the essid you want to connect with. Once you see the correct essid in the iwconfig output, you can try dhclient again.
 
Old 12-19-2007, 04:36 PM   #5
room101
LQ Newbie
 
Registered: Dec 2007
Posts: 3

Original Poster
Rep: Reputation: 0
Thank you for your help, but I probably found the error - it might be that I messed up anything during installation After setting up the system from scratch again and compiling the drivers everything was fine - I am writing this post via wlan
 
Old 02-18-2008, 01:16 PM   #6
pwabrahams
Member
 
Registered: Nov 2005
Location: Deerfield MA
Distribution: OpenSuSE, Kubuntu
Posts: 293

Rep: Reputation: 41
Reset the router if you can get at it!

Having tried twenty variations on the iwconfig theme without success, I discovered that resetting the router magically made the DHCPOFFER appear. I have the same problem now at a different location, but here I don't have physical access to the router. I can get a connection under Windows, though, so there must be some way to tweak the Linux DHCPDISCOVER request to prod the router into issuing DHCPOFFER even if it hasn't been reset.
Alas, I don't know what it is.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
encrypted wireless on unencrypted network fisheromen1031 Linux - Wireless Networking 7 09-03-2008 11:09 PM
no connection (no DHCPOFFER) with ADM8211 card in Ubuntu 5.10 Timothy` Linux - Wireless Networking 0 08-08-2006 04:00 AM
not getting dhcpoffer with Broadcom MaxPerformance 54g/ndiswrapper rawmeat Linux - Wireless Networking 3 11-30-2004 03:50 PM
no DHCPOFFER Gilion Linux - Networking 1 09-17-2003 07:20 AM
network Unencrypted huno Linux - General 1 02-12-2003 07:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 09:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration