Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dhcp on wireless not complete
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
jaclar
n00b
n00b


Joined: 07 Aug 2007
Posts: 17

PostPosted: Tue Aug 07, 2007 11:02 pm    Post subject: dhcp on wireless not complete Reply with quote

Hi i've got a little problem with my wireless setup...
After i start the interface over /etc/init.d/net.wlan0 it associates with my AP, starts wpa_supplicant and successful authenticates over wpa-psk. But then the troubles start... i get an ip-address over dhcpcd, but i cant get the gateway and dns informations. but if i start dhcpcd manually later on(after a few seconds) it fetches all this informations without a problem. So probably the wlan0 interface is not completely ready when dhcpcd starts the first time...
is there any way to set it up, that dhcpcd waits till the interface is completely ready?
wlan driver: iwl4965

thanks jaclar
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Tue Aug 07, 2007 11:13 pm    Post subject: Reply with quote

Try extending the timeout period. If you don't know how, see /etc/conf.d/net.example
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
jaclar
n00b
n00b


Joined: 07 Aug 2007
Posts: 17

PostPosted: Tue Aug 07, 2007 11:25 pm    Post subject: Reply with quote

i tried this already (it was actually the first what i did...)
but i forgot it to mention in my first post...
so this didnt work
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Tue Aug 07, 2007 11:34 pm    Post subject: Reply with quote

OK, can you post this:
Code:

emerge -pv dhcpcd

_________________
Thomas S. Howard
Back to top
View user's profile Send private message
jaclar
n00b
n00b


Joined: 07 Aug 2007
Posts: 17

PostPosted: Wed Aug 08, 2007 12:19 am    Post subject: Reply with quote

no problem:
Code:

[ebuild     U ] net-misc/dhcpcd-3.1.3 [3.1.2] USE="-vram" 40 kB

Total: 1 package (1 upgrade), Size of downloads: 40 kB

ok not the newest version... ok i try it with an upgrade... and go to sleep!
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Wed Aug 08, 2007 12:33 am    Post subject: Reply with quote

If that doesn't work, try adding '-I' to the dhcpcd options, or re-emerge with the vram USE flag on.
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
jaclar
n00b
n00b


Joined: 07 Aug 2007
Posts: 17

PostPosted: Wed Aug 08, 2007 12:35 am    Post subject: Reply with quote

skip this with the sleep! It worked!!! [edit]just with upgrading to 3.1.3 no vram and no -I as option[/edit]
Did u know this issue or was it just good guessing?
I almost gave up... thanks
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Wed Aug 08, 2007 12:54 am    Post subject: Reply with quote

I suspected. There's been a sort of epidemic of dhcp failures lately. Usually, it's the other way around: someone upgraded and it stopped working. That's why I suggested the '-I' or vram stuff, just in case you hit that problem too. Looks like your DHCP server is up to date though.
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Wed Aug 08, 2007 12:22 pm    Post subject: Reply with quote

didymos wrote:
I suspected. There's been a sort of epidemic of dhcp failures lately.


Normally happens with new dhcpcd as ~ARCH are my testers :twisted:
I'm the author of dhcpcd-3 and whilst I do as much testing as humanly possible, I cannot possible test everything DHCP wise and the 3.1.2 release did mess up quite badly - basically it was unable to add subnet routes on non zero metrics which baselayout does by default.

So running it by hand - works.

My fault - sorry!
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum