LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Wifi issues (https://www.linuxquestions.org/questions/linux-networking-3/wifi-issues-4175675725/)

techforay 05-22-2020 05:23 PM

Wifi issues
 
I am having trouble getting me wifi working. My wifi light is lit up and i get this message when ran the lspci -k command.

02:00.0 Network controller: Intel Corporation Centrino Advanced-N 6200 (rev 35)
Subsystem: Intel Corporation Centrino Advanced-N 6200 2x2 AGN
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi

I have tried to work my way through the wifi trouble shooting on the wiki but have not been able to fix the issue. Can someone give me my next step. I had this running in the past but did something very stupid and had to reinstall Arch

berndbausch 05-22-2020 05:52 PM

You don't say what your trouble is. The lspci message doesn't show that anything is wrong.
Which wiki are you referring to, and what are the results of your troubleshooting steps?

techforay 05-22-2020 06:26 PM

I can not connect to my wifi. When i run wifi-menu it scans for networks, it finds my network, I put in my password and it gives me a "connecting failed" message.

I did an ip -a and get the below message

3: wlp2s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether d6:12:f0:ff:91:a1 brd ff:ff:ff:ff:ff:ff permaddr 00:27:10:0a:cc:98
[ray@archlinux ~]$

i ran the below command and it did not help

[ray@archlinux ~]$ sudo ip link set wlp2s0 up
[ray@archlinux ~]$
[ray@archlinux ~]$ iw dev wlp2s0 link
Not connected.
[ray@archlinux ~]$

I run an lspci -k and i get the below message

02:00.0 Network controller: Intel Corporation Centrino Advanced-N 6200 (rev 35)
Subsystem: Intel Corporation Centrino Advanced-N 6200 2x2 AGN
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi

I am very new to linux and have tried to work my way through the wiki but some of it i dont understand very well

jefro 05-22-2020 07:04 PM

Usually we might use lspci to show chipsets that might be reporting on the PCI bus. lsusb would be for usb. (if they report)

Then you'd need a driver. Modprobe I'd think.

Since you did get the WLP2S0 then I'd assume a default driver loaded but maybe not correct one has been loaded. Also there is an issue if it has bluetooth.

Now you need to find wifi and connect to it. https://wiki.debian.org/WiFi/HowToUse

berndbausch 05-22-2020 07:47 PM

Quote:

Originally Posted by techforay (Post 6126179)

I am very new to linux and have tried to work my way through the wiki but some of it i dont understand very well

Which wiki, and what don't you understand?

You mention something named wifi-menu, which I don't know, personally. Is it a command-line program or a graphical one? To understand your problem, it would be very useful to know the steps that you have gone through.

techforay 05-22-2020 08:11 PM

1 Attachment(s)
Quote:

Originally Posted by berndbausch (Post 6126198)
Which wiki, and what don't you understand?

You mention something named wifi-menu, which I don't know, personally. Is it a command-line program or a graphical one? To understand your problem, it would be very useful to know the steps that you have gone through.

The wiki i am talking about is this.


https://wiki.archlinux.org/index.php...ation/Wireless

I installed arch from a bootable usb and the first step is to establish a internet connection. I choose wifi because i wanted it to transfer the info during to the installed version. ( dont know if that is good rational). The first step is to type a command wifi-menu in terminal. It scans for networks and let you select one, put in your password and save. You can then proceed with the installation and download anything required without connecting being wired. I have uploaded a screen print. I listed the steps that i took in the above post. Do you need more info?

colorpurple21859 05-22-2020 08:11 PM

I think you need to install firmware?

techforay 05-22-2020 08:58 PM

I did get this fixed with all your help. I needed to install an updated driver. I have one more question and i am almost embarrassed to ask it. The way i got into this trouble was trying to format a usb drive in disks. I forgot to tab down to my usb and accidentally erased my boot partition. Is there a way to protect that a little better?

berndbausch 05-22-2020 09:13 PM

Quote:

Originally Posted by techforay (Post 6126207)
I installed arch from a bootable usb and the first step is to establish a internet connection. I choose wifi because i wanted it to transfer the info during to the installed version. ( dont know if that is good rational). The first step is to type a command wifi-menu in terminal. It scans for networks and let you select one, put in your password and save. You can then proceed with the installation and download anything required without connecting being wired. I have uploaded a screen print. I listed the steps that i took in the above post. Do you need more info?

You mean that you are trying to connect to WiFi during installation, and it fails? Or were you successful during installation, and it fails now that your computer is installed?

Personally, I think you should use the least complex acceptable configuration when installing, and add complexity later. In the case of networking, first install via wired networking if that's possible, then add WiFi later.

Obviously the WiFi tool discovers your access point, which shows that your computer's WiFi equipment is functional. You don't seem to need additional firmware or a driver.

How I would approach this:

- ensure the password is correct. Even if I enter it correctly, I might have configured a different keyboard layout. I'd use a mode that lets me see the password as I am typing it.

- while I am trying to connect to the access point, I'd watch the journal using the command journalctl -f. The WiFi tool should print messages that might help me understand which connection step fails.

- It's likely that wifi-menu uses wpa_supplicant to authenticate with the access point, but I don't know if it logs enough information to the journal. Therefore, instead of wifi-menu I could use wpa-supplicant directly and watch its messages. Unfortunately this requires setting up a configuration file and issuing hard-to-understand command line options. The only guidance I can offer is the wpa_supplicant page on the Archlinux wiki.

By the way:
Quote:

Arch Linux is a versatile, and simple distribution designed to fit the needs of the competent Linux® user
(quoted from https://www.archlinux.org/about/; highlight by me)
Perhaps Arch Linux is not for you.


All times are GMT -5. The time now is 08:27 AM.