On 03/12/15 09:50, German wrote: > On Thu, 12 Mar 2015 09:28:38 +0100 > Arend van Spriel wrote: > >> On 03/11/15 23:21, German wrote: >>> On Wed, 11 Mar 2015 22:17:38 +0100 >>> Arend van Spriel wrote: >>> >>>> On 03/11/15 22:00, German wrote: >>>>> On Wed, 11 Mar 2015 21:44:44 +0100 >>>>> Arend van Spriel wrote: >>>>> >>>>>> On 03/11/15 21:33, German wrote: >>>>>>> On Wed, 11 Mar 2015 21:25:26 +0100 >>>>>>> Arend van Spriel wrote: >>>>>>> >>>>>>>> On 03/11/15 21:17, German wrote: >>>>>>>>> Hi. When I try to run aformentioned command it hangs for about 20 secs and no output is returned. What's the problem might be? Thanks >>>>>>>> >>>>>>>> any more details you can share? What kernel version, what specific >>>>>>>> device is wlp1s0, do you have any kernel logging. >>>>>>>> >>>>>> >>>>>> When I wrote down the questions I was wondering how specifc I should be. >>>>>>> Kernel 3.18.7-gentoo. >>>>>> >>>>>> ok >>>>>> >>>>>>> wlp1s0 is my network card. >>>>>> >>>>>> Sure. I meant what brand and model. >>>>>> >>>>>> Can you run following commands: >>>>>> $ lspci >>>>>> $ lsusb >>>>>> >>>>> realtek RTL8723BE PCIe Wireless Network Adapter >>>>> >>>>>>> As for kernel logging, I simply don't know if I have it. Thanks >>>>>> >>>>>> Ok. Can you run following command after aborting the hanging iw scan >>>>>> command: >>>>>> >>>>>> $ dmesg >>>>> >>>>> Polling FW ready fail! Firmware is not ready to run. >>>>> >>>>> Ok, so I need some sort of firmware? That's what I thought. What is this and where can I find it in kernel when I compile it? Thanks >>>> >>>> Not familiar with Realtek equipment but it might be provided by the >>>> linux-firmware package so: >>>> >>>> $ sudo emerge --ask linux-firmware >>>> >>> >>> Thanks Arend. This did the trick. I can now scan networks and I found mine. But how I actually connect to my network? I guess it is encrypted, but I have wpa_supplicant installed. >> >> Gentoo does not seem to provide NetworkManager as a solution. I found >> this page [1]. Maybe it helps. > > Thanks Arend for pointing me to this link. NetworkManager was proposed to me on gentoo mailing list as a way to control both wireless and wired interfaces. It pulled a bunch of dependencies, though I used -X flag in USE variable not to use X server. the compile took about an hour and after all this, my system became unstable. It doesn't at all feels right, it is clunky. For now I am building gentoo laptop in pure console mode, so from all my research, iw is the only CLI tool for wireless and I like the fact it doesn't need bunch of dependences. I already installed it and I like it, so would you be so kind to get me through a set up? Documentation seems confusing. Thanks Well. iw is really for testing/debugging. Especially with WPA/RSN networks that do periodic rekeying you need wpa_supplicant. It will do the scanning on its own and establish connection and such. You could also opt for using nmcli, but that might be what you tried already. I am no gentoo expert, but let's try to get this working. I am following the wpa_supplicant section of the link I send earlier. 1. modify /etc/conf.d/net Not sure if you only use wireless on the machine. Otherwise, you can copy the attach conf.net file: $ sudo cp conf.net /etc/conf.d/net 2. install wpa_supplicant configuration Edit attached wpa_supplicant.conf with your ssid and psk and copy it: $ sudo cp wpa_supplicant.conf /etc/wpa_supplicant 3. restart networking $ sudo /etc/init.d/net restart Not sure if step 3. is entirely correct regarding the script name. I don't use Gentoo. Regards, Arend >> Regards, >> Arend >> >> [1] >> http://wiki.gentoo.org/wiki/Handbook:Parts/Networking/Wireless#Wireless_tools >> >>>> Regards, >>>> Arend >>>> >>>>>> >>>>>> Regards, >>>>>> Arend >>>>>> >>>>>>>> Regards, >>>>>>>> Arend >>>>>>> >>>>>>> >>>>>> >>>>> >>>>> >>>> >>> >>> >> > >