> what is a "agressive DHCP client" ? I saw in the manual, there a lot > of telnet commans for DHCP One that doesn't start by waiting a few seconds, to start with. I'm thinking about a client that immediately tries to get a lease, and does retries within a few hundred ms at most if it doesn't get a response. dhclient definitely isn't an aggressive dhcp client. It isn't supposed to be. > I tryed: > sudo iwconfig wlan0 mode managed freq 2.437G rate 1M frag 256 key open > essid 'cassiano-PC_AP' > > But when I try to run: > sudo dhclient wlan0 > > return: "No DHCPOFFERS received" > > And I need to do this because my code will connect automatic. Using > the networkManager (ubuntu) the connection appears to occur fast. I can't debug your setup for you, and I suspect this list isn't the right place to do it... Have you checked that you actually associated to the AP? Have you tried using tcpdump to see if packets are making it out? Blaise -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html