LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 10-20-2008, 03:21 PM   #1
maati1980
LQ Newbie
 
Registered: Oct 2008
Posts: 3

Rep: Reputation: 0
No DHCPOFFERS received. No working leases in persistent database - sleeping.


Hi,
After a week of fighting with madwifi drivers finally i have my Atheros 5006X AR5413 working.
Code:
mati@RAKIETA:~$ sudo ifconfig
ath0      Link encap:Ethernet  HWaddr 00:1f:3a:3f:ec:5f
          inet6 addr: fe80::21f:3aff:fe3f:ec5f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

eth0      Link encap:Ethernet  HWaddr 00:1e:68:11:f8:31
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:4578 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2341 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3712737 (3.5 MB)  TX bytes:294125 (287.2 KB)
          Interrupt:252 Base address:0x2000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:10 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:500 (500.0 B)  TX bytes:500 (500.0 B)

wifi0     Link encap:UNSPEC  HWaddr 00-1F-3A-3F-EC-5F-00-00-00-00-00-00-00-00-00-00
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:15883 errors:0 dropped:0 overruns:0 frame:3134
          TX packets:583 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:280
          RX bytes:1360545 (1.2 MB)  TX bytes:26818 (26.1 KB)
          Interrupt:19
Code:
mati@RAKIETA:~$ sudo iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

wifi0     no wireless extensions.

ath0      IEEE 802.11g  ESSID:""  Nickname:""
          Mode:Managed  Frequency:2.437 GHz  Access Point: Not-Associated
          Bit Rate:0 kb/s   Tx-Power:16 dBm   Sensitivity=1/1
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=0/70  Signal level=-96 dBm  Noise level=-96 dBm
          Rx invalid nwid:15721  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
Code:
mati@RAKIETA:~$ sudo lshw -C network
  *-network
       description: Ethernet interface
       product: MCP67 Ethernet
       vendor: nVidia Corporation
       physical id: a
       bus info: pci@0000:00:0a.0
       logical name: eth0
       version: a2
       serial: 00:1e:68:11:f8:31
       capacity: 100MB/s
       width: 32 bits
       clock: 66MHz
       capabilities: pm msi ht bus_master cap_list ethernet physical mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=forcedeth driverversion=0.61 latency=0 link=no maxlatency=20 mingnt=1 module=forcedeth multicast=yes port=MII
  *-network
       description: Wireless interface
       product: AR242x 802.11abg Wireless PCI Express Adapter
       vendor: Atheros Communications Inc.
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: wifi0
       version: 01
       serial: 00:1f:3a:3f:ec:5f
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix bus_master cap_list logical ethernet physical wireless
       configuration: broadcast=yes driver=ath_pci latency=0 module=ath_pci multicast=yes wireless=IEEE 802.11g
i've made:
Code:
mati@RAKIETA:~$ sudo ifconfig ath0 down
mati@RAKIETA:~$ sudo dhclient -r ath0
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit

wifi0: unknown hardware address type 801
wifi0: unknown hardware address type 801
Listening on LPF/ath0/00:1f:3a:3f:ec:5f
Sending on   LPF/ath0/00:1f:3a:3f:ec:5f
Sending on   Socket/fallback
mati@RAKIETA:~$ sudo ifconfig ath0 up
mati@RAKIETA:~$ sudo iwconfig ath0 essid "neciak"
mati@RAKIETA:~$ sudo iwconfig ath0 key 1DD25AA75
mati@RAKIETA:~$ sudo iwconfig ath0 mode Managed
mati@RAKIETA:~$ sudo dhclient ath0
There is already a pid file /var/run/dhclient.pid with pid 0
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit 

wifi0: unknown hardware address type 801
wifi0: unknown hardware address type 801
Listening on LPF/ath0/00:1f:3a:3f:ec:5f
Sending on   LPF/ath0/00:1f:3a:3f:ec:5f
Sending on   Socket/fallback
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 1
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
Is there something wrong with DHCP? I cant connect either using any of the managers.
Its my first distro so please be patient.
 
Old 10-21-2008, 08:34 AM   #2
Total-MAdMaN
Member
 
Registered: May 2008
Distribution: Gentoo
Posts: 306

Rep: Reputation: 34
The error you're getting indicates the computer can't communicate with the network, either because you're out of range or the settings are incorrect.
 
Old 10-21-2008, 09:19 AM   #3
maati1980
LQ Newbie
 
Registered: Oct 2008
Posts: 3

Original Poster
Rep: Reputation: 0
I'm in range. Under Xp i can get connection without any problems. Which settings can be wrong?
 
Old 10-21-2008, 09:23 AM   #4
Total-MAdMaN
Member
 
Registered: May 2008
Distribution: Gentoo
Posts: 306

Rep: Reputation: 34
Encryption type, key, channel, etc. Go through the settings and make sure you haven't set things up incorrectly.
 
Old 10-21-2008, 12:51 PM   #5
maati1980
LQ Newbie
 
Registered: Oct 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Then please help me and analaze from the beginning.

Code:
mati@RAKIETA:~$ iwlist scan
lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

wifi0     Interface doesn't support scanning.

ath0      Scan completed :
          Cell 01 - Address: 00:0E:2E:4E:1A:B3
                    ESSID:"Default"
                    Mode:Master
                    Frequency:2.437 GHz (Channel 6)
                    Quality=2/70  Signal level=-93 dBm  Noise level=-95 dBm
                    Encryption key:off
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
                              48 Mb/s; 54 Mb/s
                    Extra:bcn_int=100
          Cell 02 - Address: 00:1A:70:99:A9:42
                    ESSID:"neciak"
                    Mode:Master
                    Frequency:2.462 GHz (Channel 11)
                    Quality=43/70  Signal level=-52 dBm  Noise level=-95 dBm
                    Encryption key:on
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 22 Mb/s
                              6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
                              36 Mb/s; 48 Mb/s; 54 Mb/s
                    Extra:bcn_int=100
          Cell 03 - Address: 00:06:4F:50:3D:DB
                    ESSID:"NASOR"
                    Mode:Master
                    Frequency:2.457 GHz (Channel 10)
                    Quality=12/70  Signal level=-83 dBm  Noise level=-95 dBm
                    Encryption key:on
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
                              48 Mb/s; 54 Mb/s
                    Extra:bcn_int=100
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
So im sure that channel 11 is only for my connection. Then:
Code:
mati@RAKIETA:~$ sudo ifconfig ath0 down
mati@RAKIETA:~$ sudo dhclient -r ath0
There is already a pid file /var/run/dhclient.pid with pid 0
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

wifi0: unknown hardware address type 801
wifi0: unknown hardware address type 801
Listening on LPF/ath0/00:1f:3a:3f:ec:5f
Sending on   LPF/ath0/00:1f:3a:3f:ec:5f
Sending on   Socket/fallback
mati@RAKIETA:~$ sudo ifconfig ath0 up
mati@RAKIETA:~$ sudo iwconfig ath0 essid "neciak"
mati@RAKIETA:~$ sudo iwconfig ath0 key s:8005200501
mati@RAKIETA:~$ sudo iwconfig ath0 channel 11
mati@RAKIETA:~$ sudo iwconfig ath0 mode Managed
mati@RAKIETA:~$ sudo dhclient ath0
There is already a pid file /var/run/dhclient.pid with pid 0
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

wifi0: unknown hardware address type 801
wifi0: unknown hardware address type 801
Listening on LPF/ath0/00:1f:3a:3f:ec:5f
Sending on   LPF/ath0/00:1f:3a:3f:ec:5f
Sending on   Socket/fallback
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 7
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
And another way for DHCP:
Code:
mati@RAKIETA:~$ sudo dhcpcd ath0
Error, ath0: timed out
Im sure for 100% that i use WEP with key 8005200501. This connection with these settings is working under XP.
Maybe this is the problem:
Code:
There is already a pid file /var/run/dhclient.pid with pid 0
??
Thanks in advance for your help.

Last edited by maati1980; 10-22-2008 at 02:08 AM.
 
Old 10-22-2008, 01:10 AM   #6
sidholland
LQ Newbie
 
Registered: Feb 2006
Location: Vancouver, Canada
Distribution: ubuntu 8.1, 9.04, Mint 6, Debian 5
Posts: 14

Rep: Reputation: 0
I get the line "There is already a pid file /var/run/dhclient.pid with pid 0" frequently but it's never stopped me getting a lease.

However what I'm sure is a problem is that in your list of commands you executed you specified the essid as "neciak" and then set the card to channel 6, but in the results of your iwlist it shows the channel for that AP as 11.

You might also try it without the "iwconfig ath0 mode Managed" since I've never needed it to connect anything.
 
Old 09-25-2010, 07:20 AM   #7
Deun
LQ Newbie
 
Registered: Jan 2006
Distribution: Kubuntu 10.4
Posts: 9

Rep: Reputation: 0
Exclamation

I do have this problem for a week now. I am using Xubuntu and ndiswrapper on netgear wg 511 v2. But this is not a problem, since it is the same on my desktop computer with another os and wifi interface.

I had found here people dealing with this really frustrating problem :
http://forum.eeeuser.com/viewtopic.php?id=5392

So I beleive now that here comes trouble with Linux itself.

My network does not have any encryption key or security.

I had chenged the file /etc/network/interfaces in order to set up wlan0 in dhcp or static mode. I had removed everything except "localhost" from /etc/hosts.

It still does not work, while my macbook get connected without trouble.

Could be a bug to report somewhere ? Anyway I wonder what to do now.... ? thanks for helping.
 
Old 09-27-2010, 10:24 PM   #8
slac-in-the-box
Member
 
Registered: Mar 2010
Location: oregon
Distribution: slackware64-15.0 / slarm64-current
Posts: 779
Blog Entries: 1

Rep: Reputation: 432Reputation: 432Reputation: 432Reputation: 432Reputation: 432
wicd

Have you tried wicd?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
No DHCPOFFERS received m0llbuz_ Linux - Networking 6 07-29-2010 02:08 PM
No DHCPOFFERS received ryedunn Linux - Wireless Networking 1 09-27-2008 01:22 PM
ipw2100 on debian testing - No working leases - sleeping joffa Linux - Wireless Networking 1 06-11-2007 08:56 AM
ipw2100 on debian testing - No working leases - sleeping joffa Linux - Wireless Networking 1 04-14-2007 01:20 AM
no DHCPOFFERS received. murrayfoss *BSD 9 02-09-2007 08:32 PM

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

All times are GMT -5. The time now is 08:20 PM.

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