You are not logged in.

#1 2010-07-28 21:59:48

oldstutz
Member
Registered: 2010-07-26
Posts: 24

[SOLVED] netcfg DHCP IP lease attempt failed

I'm trying to configure my network settings, I made a profile, netcfg recognizes the profile, but when it loads I get that error (DHCP IP lease attempt failed). Here is my profile...


CONNECTION='wireless'
INTERFACE='wlan0'
SECURITY='none'
ESSID='my network name'
IP='dhcp'
DCHP_TIMEOUT='30'

Last edited by oldstutz (2010-07-30 18:33:54)

Offline

#2 2010-07-28 22:18:58

cesura
Package Maintainer (PM)
From: Tallinn, Estonia
Registered: 2010-01-23
Posts: 1,867

Re: [SOLVED] netcfg DHCP IP lease attempt failed

What wireless device do you have?

lspci | grep Net

Offline

#3 2010-07-28 22:25:15

oldstutz
Member
Registered: 2010-07-26
Posts: 24

Re: [SOLVED] netcfg DHCP IP lease attempt failed

RaLink RT2860, and I have rt2860sta in my modules

Offline

#4 2010-07-28 22:40:04

cesura
Package Maintainer (PM)
From: Tallinn, Estonia
Registered: 2010-01-23
Posts: 1,867

Re: [SOLVED] netcfg DHCP IP lease attempt failed

Can you connect manually, i.e. iwconfig + dhcpcd?

Offline

#5 2010-07-28 22:54:51

oldstutz
Member
Registered: 2010-07-26
Posts: 24

Re: [SOLVED] netcfg DHCP IP lease attempt failed

No, when I dhcpcd wlan0 it sends for a lease and times out.

Offline

#6 2010-07-28 22:59:48

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] netcfg DHCP IP lease attempt failed

Post the output of

pacman -Q wireless_tools

Offline

#7 2010-07-28 23:07:30

oldstutz
Member
Registered: 2010-07-26
Posts: 24

Re: [SOLVED] netcfg DHCP IP lease attempt failed

wireless_tools 29-3

Offline

#8 2010-07-28 23:14:14

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] netcfg DHCP IP lease attempt failed

The output of

dmesg | grep rt2860sta
ifconfig -a

Offline

#9 2010-07-28 23:21:49

oldstutz
Member
Registered: 2010-07-26
Posts: 24

Re: [SOLVED] netcfg DHCP IP lease attempt failed

DMESG: module is from the staging directory, the quality is unknown, you have been warned.

ifconfig -a

I get displays for 3 things, eth0, lo, and wlan0.

the wlan0 says link encap: ethernet HWaddr ... numbers
UP BROADCAST RUNNING MULTICAST MTU: 1500 for rx and tx packets 0 errors, rx bytes 5.6mb tx 16.8 interrupt 17

and its wireless so you probably only need wlan0 smile

Offline

#10 2010-07-28 23:23:25

jogan
Member
Registered: 2010-05-05
Posts: 10

Re: [SOLVED] netcfg DHCP IP lease attempt failed

Do you have any idea how to load the rt2860 driver from /lib/firmware/rt2860.bin?
My attempt to load the driver with MODULES in /etc/rc.conf has been unsuccessful.


oldstutz wrote:

RaLink RT2860, and I have rt2860sta in my modules

I've battled this issue for weeks on my notebook ... wireless worked on Arch (2009.08)
last year.  Seems to me now the culprit maybe rt2860sta.

Last edited by jogan (2010-07-29 00:27:00)

Offline

#11 2010-07-28 23:23:53

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] netcfg DHCP IP lease attempt failed

But do you get an IP (inet addr)?

[karol@black ~]$ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:09:6B:F3:A8:42  
          inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

If I'm reading this right, you need to disable some modules:
http://wiki.archlinux.org/index.php/Wir … and_rt2870

Last edited by karol (2010-07-28 23:26:10)

Offline

#12 2010-07-28 23:29:26

oldstutz
Member
Registered: 2010-07-26
Posts: 24

Re: [SOLVED] netcfg DHCP IP lease attempt failed

I am not getting an IP address! Ill disable some modules and report back thank you so much! I hope I can finally get Arch up and running.

Offline

#13 2010-07-28 23:38:28

oldstutz
Member
Registered: 2010-07-26
Posts: 24

Re: [SOLVED] netcfg DHCP IP lease attempt failed

No success, I disabled all the stated modules did a network restart which failed did another ifconfig -a still no ip address... sad Still fails the lease attempt.

Offline

#14 2010-07-28 23:44:38

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] netcfg DHCP IP lease attempt failed

What's the output of

iwlist wlan0 scan
iwconfig wlan0 essid "MyEssid"

Offline

#15 2010-07-28 23:50:50

oldstutz
Member
Registered: 2010-07-26
Posts: 24

Re: [SOLVED] netcfg DHCP IP lease attempt failed

cell 01 - address: some mac address
protocol 802.11b/g/n
essid: "mine"
Mode: Managed
Channel : 2
quality 100/100   signal level: -33dBm Noise level: -81dBm
Encypt keys : off
bit rates 10 mbs


and the iwconfig wlan0 essid "mine"

is nothing
Thanks again for helping, I want arch lol

Offline

#16 2010-07-28 23:56:29

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] netcfg DHCP IP lease attempt failed

Do you have

eth0="dhcp"
wlan0="dhcp"
INTERFACES=(eth0 wlan0)

in your rc.conf?

Offline

#17 2010-07-28 23:57:46

oldstutz
Member
Registered: 2010-07-26
Posts: 24

Re: [SOLVED] netcfg DHCP IP lease attempt failed

Yup!

Offline

#18 2010-07-29 00:11:55

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] netcfg DHCP IP lease attempt failed

Maybe you should try dhclient instead of dhcpcd but I don't know if it's for wireless.

Offline

#19 2010-07-29 00:31:18

jogan
Member
Registered: 2010-05-05
Posts: 10

Re: [SOLVED] netcfg DHCP IP lease attempt failed

jogan wrote:

Do you have any idea how to load the rt2860 driver from /lib/firmware/rt2860.bin?
My attempt to load the driver with MODULES in /etc/rc.conf has been unsuccessful.


oldstutz wrote:

RaLink RT2860, and I have rt2860sta in my modules

I've battled this issue for weeks on my notebook ... wireless worked on Arch (2009.08)
last year.  Seems to me now the culprit maybe rt2860sta.

Offline

#20 2010-07-29 00:35:09

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] netcfg DHCP IP lease attempt failed

jogan wrote:
jogan wrote:

Do you have any idea how to load the rt2860 driver from /lib/firmware/rt2860.bin?
My attempt to load the driver with MODULES in /etc/rc.conf has been unsuccessful.


oldstutz wrote:

RaLink RT2860, and I have rt2860sta in my modules

I've battled this issue for weeks on my notebook ... wireless worked on Arch (2009.08)
last year.  Seems to me now the culprit maybe rt2860sta.

OK, let's check

lsmod | grep -i rt2860

Offline

#21 2010-07-29 00:51:12

jogan
Member
Registered: 2010-05-05
Posts: 10

Re: [SOLVED] netcfg DHCP IP lease attempt failed

[root@jobox cadm]# lsmod | grep -i rt2860
[root@jobox cadm]#

Nothing

MODULES=(rt2860 !rt2860sta !rt2800pci !rt61pci !rt2x00pci !rt2800usb !rt2800lib !rt2x00usb !rt2x00lib)

How do I load the rt2860 driver from /lib/firmware/rt2860.bin?

Offline

#22 2010-07-29 01:14:03

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] netcfg DHCP IP lease attempt failed

[karol@black ~]$ sudo modprobe rt2860sta
[karol@black ~]$ lsmod | grep rt2860
rt2860sta             561884  0 
crc_ccitt               1071  1 rt2860sta
[karol@black ~]$ sudo modprobe rt2860
FATAL: Module rt2860 not found.

Last edited by karol (2010-07-29 01:15:17)

Offline

#23 2010-07-29 01:30:08

jogan
Member
Registered: 2010-05-05
Posts: 10

Re: [SOLVED] netcfg DHCP IP lease attempt failed

Seems to me udev can't find the rt2860 driver from /lib/firmware/rt2860.bin, or am I
missing something?

Last edited by jogan (2010-07-29 01:30:49)

Offline

#24 2010-07-29 01:31:07

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] netcfg DHCP IP lease attempt failed

jogan wrote:

Seems to me udev can't find the rt2860 driver from /lib/firmware/rt2860.bin, or am I
something?

Maybe the name is rt2860sta and not rt2860 <shrugs>

Offline

#25 2010-07-29 01:40:32

jogan
Member
Registered: 2010-05-05
Posts: 10

Re: [SOLVED] netcfg DHCP IP lease attempt failed

karol wrote:
jogan wrote:

Seems to me udev can't find the rt2860 driver from /lib/firmware/rt2860.bin, or am I
something?

Maybe the name is rt2860sta and not rt2860 <shrugs>

I read some place rt2860sta can't operate at N speed. 

Thanks for your help

Offline

Board footer

Powered by FluxBB