You are not logged in.

#1 2009-06-20 21:04:58

epqr
Member
Registered: 2009-06-20
Posts: 13

netcfg problem, increase DHCP_TIMEOUT

So i've having some problems with connecting to my wireless network using netcfg. I've found out that increaseing the amount of "DHCP_TIMEOUT" probably will svolve the problem. Only thing is i don't know where to find "DHCP_TIMEOUT" roll. anyone?

Last edited by epqr (2009-06-20 21:06:52)

Offline

#2 2009-06-20 21:28:58

gazj
Member
From: /home/gazj -> /uk/cambs
Registered: 2007-02-09
Posts: 681
Website

Re: netcfg problem, increase DHCP_TIMEOUT

epqr wrote:

So i've having some problems with connecting to my wireless network using netcfg. I've found out that increaseing the amount of "DHCP_TIMEOUT" probably will svolve the problem. Only thing is i don't know where to find "DHCP_TIMEOUT" roll. anyone?

You just put it in your config file for the network profile you would like to adjust the dhcp profile on.

Offline

#3 2009-06-20 21:38:35

epqr
Member
Registered: 2009-06-20
Posts: 13

Re: netcfg problem, increase DHCP_TIMEOUT

Are you sure? Cuase that doesn't help.

Offline

#4 2009-06-20 21:41:28

gazj
Member
From: /home/gazj -> /uk/cambs
Registered: 2007-02-09
Posts: 681
Website

Re: netcfg problem, increase DHCP_TIMEOUT

No, it appears not, I was getting confused with TIMEOUT (for wireless timeout), Sorry

I would try putting it in /etc/dhcpcd.conf

Offline

#5 2009-06-20 21:51:06

epqr
Member
Registered: 2009-06-20
Posts: 13

Re: netcfg problem, increase DHCP_TIMEOUT

Nope, that didn't do it either

this is what the wiki told me to do;

Unable to get IP address with DHCP

This is typically one of:

    * Out of range/reception 

Try increasing DHCP_TIMEOUT

From what i understood, there already is a value put in for "DHCP_TIMEOUT" somewhere, and i have to increase that value. But im really new to arch (and manually configurating linux in general) so I might be wrong.

Offline

#6 2009-06-20 21:53:17

gazj
Member
From: /home/gazj -> /uk/cambs
Registered: 2007-02-09
Posts: 681
Website

Re: netcfg problem, increase DHCP_TIMEOUT

try

/etc/conf.d/dhcpcd

According to the file dsecription it's the place

Offline

#7 2009-06-20 22:04:46

epqr
Member
Registered: 2009-06-20
Posts: 13

Re: netcfg problem, increase DHCP_TIMEOUT

Hmm. No that did not work either. There was no DHCP_TIMEOUT value there from before, so i just pasted in DHCP_TIMEOUT=20 (as i read it should be something above 10).

I'm no 100% this is the problem either, but I have been told that this is the most likely problem.

this si the error message i get;

- DHCP IP lease attempt failed

Offline

#8 2009-06-20 22:14:59

gazj
Member
From: /home/gazj -> /uk/cambs
Registered: 2007-02-09
Posts: 681
Website

Re: netcfg problem, increase DHCP_TIMEOUT

I take it you do have a dhcp server on your network.  Silly question but must be asked.

try running dhcpcd from the command line, see what results you get.  Also try the dhcpcd manual by tryping man dhcpd.conf



Feel free to ask more questions, but I am now a bit stumped with the available information smile

Good Luck

Offline

#9 2009-06-20 22:34:54

epqr
Member
Registered: 2009-06-20
Posts: 13

Re: netcfg problem, increase DHCP_TIMEOUT

Thanks for all your help so far smile

im sorry i don't even know what it means to set up a dhcp server roll


typing dhcp in terminal i get

dhcpcd: version 5.0.4 starting
dhcpcd: forking to background

Offline

#10 2009-06-20 22:36:36

gazj
Member
From: /home/gazj -> /uk/cambs
Registered: 2007-02-09
Posts: 681
Website

Re: netcfg problem, increase DHCP_TIMEOUT

can you use your network after running the dhcpcd command?

Can any other operating system you used connect to your wireless without troubles?

Offline

#11 2009-06-20 22:43:26

epqr
Member
Registered: 2009-06-20
Posts: 13

Re: netcfg problem, increase DHCP_TIMEOUT

Yes to both

I have both a wndows installation and a ubuntu installation flawlessly with my wireless network


about the dhcp-server question you asked; I have set my router to use dhcp and not static ip or anything, if that's what you meant.

Offline

#12 2009-06-21 03:49:14

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: netcfg problem, increase DHCP_TIMEOUT

try netcfg from testing

Offline

#13 2009-06-21 08:16:18

gazj
Member
From: /home/gazj -> /uk/cambs
Registered: 2007-02-09
Posts: 681
Website

Re: netcfg problem, increase DHCP_TIMEOUT

Yes that is what I mean't.  I should have mentioned router in my above post.  Try iphitus suggestion and let's see what happens.

Offline

#14 2009-06-21 11:38:05

epqr
Member
Registered: 2009-06-20
Posts: 13

Re: netcfg problem, increase DHCP_TIMEOUT

It still doesn't work , but now I get another error message

- No connection

And then it disables my wireless-card (the blue light that indicates the card is on/active, turns red, which means it's off/disbaled)

Last edited by epqr (2009-06-21 12:07:40)

Offline

#15 2009-06-22 19:02:30

epqr
Member
Registered: 2009-06-20
Posts: 13

Re: netcfg problem, increase DHCP_TIMEOUT

Anyone?

im running netcfg v2.2.0b2. The network profile that i am using is

CONNECTION="wireless"
INTERFACE=wlan0
SCAN="yes"
SECURITY="wpa2"
ESSID="HaldNede"
KEY="key"
IP="dhcp"
TIMEOUT=30

and the output is just a simple

- No connection

followed by [FAIL]

Please ask me for more info if that it needed.

Offline

#16 2009-06-23 02:56:35

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: netcfg problem, increase DHCP_TIMEOUT

Update and try b3 the no connection thing was fixed in that.

Last edited by iphitus (2009-06-23 02:57:28)

Offline

#17 2009-06-23 11:30:09

epqr
Member
Registered: 2009-06-20
Posts: 13

Re: netcfg problem, increase DHCP_TIMEOUT

iphitus wrote:

Update and try b3 the no connection thing was fixed in that.

How would i get the b3-package? I can't find it in any of the repos (testing/core). The newest i can install is netcfg-2.2.0b2-1.

Offline

#18 2009-06-23 12:14:46

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: netcfg problem, increase DHCP_TIMEOUT

It's in the repos, your mirrors must be very out of date.

http://www.archlinux.org/packages/?q=netcfg

Offline

Board footer

Powered by FluxBB