I'm feeling very stupid here because i'm so damn close to getting this right... but gave up after hours of trying to make it work, and its probably working but i just don't know how to make it work right.

my card is Intel Centrino Advanced-N 6200 and the native linux driver should be iwlagn but the kernel insists on using iwlwifi.

My wireless device is working, and looks like its working, but i don't find myself able to connect to a wirless network through any means i have tried, because i'm a noob and this is the first time i've tried to deal with wireless internet on linux.

additional help would be nice for
1. How do i make my dhcp run after i get through the bootup (for example while i'm in kdm logging in) rather than during bootup, so i wont have to wait for it while booting? i need to use dhcp since this laptop will be mostly used other places than at my own home. Just being able to skip the dhcp if it fails rather than waiting for it to retry would be enough for me.
2. A good way to scan for ssids be it from terminal or from some user interface, i'm not liking the networkmanagement ssid scan._________________This picture was my biggest reason for ever trying Gentoo <3

Last edited by rabcor on Sat Jan 05, 2013 1:30 am; edited 1 time in total

Just a word of caution, last time I checked NetworkManager is only suitable for GUI only usage. Its command line cli tools are total garbage.
Use regular wpa_cli or wpa_gui. It has a `help` command, so you wont get lost.

About dhcp(cd) (as you are talking about a client). Take a look at /etc/dhcpcd.conf and its man page.
I am sure you will find an option that allows you to set a timeout for ex. 2 seconds:

Code:

timeout seconds
The default timeout for waiting for a DHCP response is 30 seconds which may be too long or too short and can be
changed here.

ah thanks for your reply, i like the wpa_gui interface actually, can't i just skip networkmanager and wicd and just use this?

but here i'm beginning to see where the problem is, but how to fix it is beyond me.

When i try to connect to either one of the ssid's that are available to me. i get a

Code:

Last Message: bssid=**:**:**:**:**:** reason=0

* being just numbers and letters (it looks like hex to me... but i don't know what it actually is, i'm pretty certain it doesn't really matter tho)

Stratus just Flickers on and off of Scanning, Disconnected and Associationg, i could have sworn that i saw it successfully connect for a split second, authentication, encryption, ssid bssid and ip address all properly filled out but.. then it just dropped it and started scanning again.

So the problem i'm guessing is that my card always keeps scanning for networks constantly, and refuses to stay connected to a network.

my /etc/wpa_supplicant/wpa_supplicant.conf now looks just like this...

Code:

ctrl_interface=/var/run/wpa_supplicant

i didn't see the point in having a network in there.

Also i checked on my router to make sure to see if my laptop had actually connected to it in that moment i saw it happen, and it seems it did. this laptop has never connected to the router before so i'm certain that since it just shows a trace of having actually connected to the router it did there.

Edit: I unmerged NetworkManager and NetworkManagement. i had to reboot after that for it to change anything but now i managed to make it successfully connect for some reason and it just works all of a sudden i managed to set wpa_gui to save my configurations to wpa_supplicant and now after testing some things to make sure... everything is working exactly like i want it to! thanks a lot roravun you were a great help pointing me in the right direction and simplifying my /etc/conf.d/net configuration aswell!

Finally having my wireless up and running is a lot of stress relief, since i have to have this laptop fully functional only 5 days from now, and i haven't exactly used linux a lot yet._________________This picture was my biggest reason for ever trying Gentoo <3

Ah yes, that was to be expected. Once you let NetworkManager in you must accept it as your new lord
That is you can not have NM enabled and use other stuff to control your network, as NetworkManager will constantly struggle to regain its lost control.