LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Wifi does not work LFS-8.4 (https://www.linuxquestions.org/questions/linux-from-scratch-13/wifi-does-not-work-lfs-8-4-a-4175650254/)

joakim12 03-15-2019 03:36 PM

Wifi does not work LFS-8.4
 
Network does not work. I have built LFS before, but this problem I'm having the first time.

Code:

[    4.938186] udevd[1473]: starting eudev-3.2.7
[    5.238429] Intel(R) Wireless WiFi driver for Linux
[    5.239212] Copyright(c) 2003- 2015 Intel Corporation
[    5.293826] iwlwifi 0000:03:00.0: loaded firmware version 17.3216344376.0 op_mode iwlmvm
[    5.611755] iwlwifi 0000:03:00.0: Detected Intel(R) Wireless N 7260, REV=0x144
[    5.632125] iwlwifi 0000:03:00.0: base HW address: f8:16:54:20:1c:e1


  *  Bringing up the wifi0 interface...                    [  OK  ]

  *  ting wpa_supplicant on the wlan0 interface...        [  OK  ]

  *  Starting dhcpcd on the wlan0 interface...            [  OK  ]

lfs [ ~ ]$ ping google.com
ping: unknown host

I must note that I use Linux Kernel version 5.0.2

spiky0011 03-15-2019 03:51 PM

Hi
3 questions
Do you need firmware?
can you ping router?
Can you try an older kernel?

joakim12 03-15-2019 04:06 PM

Hi!

1) As you can see, I have a firmware loaded:

[ 5.293826] iwlwifi 0000:03:00.0: loaded firmware version 17.3216344376.0 op_mode iwlmvm

2) I can't ping my router:

Code:

lfs [ ~ ]$ ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1): 56 data bytes
ping: sending packet: Network is unreachable

3) I can try, but it will take some time. I will give it a shot.

joakim12 03-15-2019 05:20 PM

Now I tried Linux Kernel 4.20.16 and the output is little different:

Code:

 
*  Bringing up the wifi0 interface...                                                                                  [  OK  ]

*  Starting wpa_supplicant on the wlan0 interface...[    7.852779] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready [  OK  ]

*  Starting dhcpcd on the wlan0 interface...                                                                          [  OK  ]


joakim12 03-16-2019 03:40 PM

I solved the problem. I hade a mistake in wpa_supplicant-2.7. Command:

Code:

wpa_passphrase SSID SECRET_PASSWORD > /etc/sysconfig/wpa_supplicant-wifi0.conf
SSID was not correct.


All times are GMT -5. The time now is 11:29 AM.