You are not logged in.

#1 2013-07-19 01:57:15

gsingh93
Member
Registered: 2013-07-19
Posts: 96

[SOLVED] WiFi not working with Intel NIC

I have an Intel NIC:

[root@arch ~]# lspci | grep -i net
07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller (rev 06)
0d:00.0 Network controller: Intel Corporation Centrino Wireless-N 1030 [Rainbow Peak] (rev 34)

Google says that I need the iwlwifi driver, but this seems to be already loaded:

[root@arch ~]# lsmod | grep iwlwifi
iwlwifi               142246  1 iwldvm
cfg80211              452332  3 iwlwifi,mac80211,iwldvm

But only etherenet is working. How do I fix this?

Here is the output of ip link:

[root@arch ~]# ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eno1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT qlen 1000
    link/ether 08:2e:5f:82:89:95 brd ff:ff:ff:ff:ff:ff
3: wlo1: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN mode DEFAULT qlen 1000
    link/ether 4c:80:93:9f:81:c0 brd ff:ff:ff:ff:ff:ff
5: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT qlen 1000
    link/ether 8c:ae:4c:fe:18:d9 brd ff:ff:ff:ff:ff:ff

Last edited by gsingh93 (2013-07-21 06:40:11)

Offline

#2 2013-07-19 03:21:57

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,354

Re: [SOLVED] WiFi not working with Intel NIC

gsingh93 wrote:

But only [sic]etherenet is working. How do I fix this?

Are you sure?

[root@arch ~]# ip link
...
3: wlo1: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN mode DEFAULT qlen 1000
    link/ether :9f:81:c0 brd ff:ff:ff:ff:ff:ff
....

Is not that it?

What is the output of iw dev
?

Even better, what is the output of sudo iw wlo1 scan
?


Edit, Oh BTW, Welcome to Arch Linux big_smile

Last edited by ewaller (2013-07-19 03:22:37)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2013-07-19 07:01:42

gsingh93
Member
Registered: 2013-07-19
Posts: 96

Re: [SOLVED] WiFi not working with Intel NIC

[root@arch ~]# ip link
...
3: wlo1: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN mode DEFAULT qlen 1000
    link/ether :9f:81:c0 brd ff:ff:ff:ff:ff:ff
....

Is not that it?

I thought it might be, but I saw "ether" in the description so I assumed otherwise. Apparently I was wrong.

What is the output of iw dev
?

Even better, what is the output of sudo iw wlo1 scan
?

I get:

$ iw dev
phy#0
	Interface wlo1
		ifindex 4
		wdev 0x1
		addr 4c:80:93:9f:81:c0
		type managed

Also,

iw wlo1 scan

does list all of the SSIDs around me, so it looks like it is working. But when I unplug my ethernet cable, I lose my internet connection. Does it have to do with the fact that "DOWN" is in the description for wlo1? I tried

ip link wlo1 up

but that didn't help.


Edit, Oh BTW, Welcome to Arch Linux big_smile

Thanks, I'm loving it so far smile

Offline

#4 2013-07-19 11:59:49

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,341
Website

Re: [SOLVED] WiFi not working with Intel NIC

I thought the same as ewaller, but wasn't really sure about the name: wireless interfaces seem to usually be wlp#s# or something like that.

But other than that, evertything you've described is just as expected: wireless interfaces will say link/ether.  What have you done to connect through wlo1?

Here is what you should be doing.

Last edited by Trilby (2013-07-19 12:00:55)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Online

#5 2013-07-20 02:30:29

gsingh93
Member
Registered: 2013-07-19
Posts: 96

Re: [SOLVED] WiFi not working with Intel NIC

Thanks for the response. I'm still not able to get it to work. Here's what I've tried to connect to a WPA network:

$ wpa_passphrase ssid pass > /etc/wpa_supplicant/test.conf
$ wpa_supplicant -B -i wlo1 -c /etc/wpa_supplicant/test.conf
Successfully initialized wpa_supplicant
$ iw dev wlo1 link
Not connected.

Any idea what I'm doing wrong?

Offline

#6 2013-07-20 02:56:49

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED] WiFi not working with Intel NIC

Just so you know, the '$' means that you are running the command as a regular user, so unless the command is prepended with "sudo", that first one wouldn't actually work, so your normal user should not have the write permissions necessary to create that file.

After you associate your NIC with a given access point, you also need to have it get an IP address.  Typically, this is done with dhcp (dhcpcd is the "dhcp client daemon"), but a static IP is also possible.  But if you use a static IP you also need to specify a few more things.  Have you referenced this part of the wireless setup page?

Oh, BTW, even though it is apparently deprecated, the iwconfig command without any arguments can show if your network is associated with the access point or not.

Offline

#7 2013-07-20 03:09:44

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,354

Re: [SOLVED] WiFi not working with Intel NIC

When you get to the point where you think you should have a connection, take a look at the output of wpa_cli status and let's see what wpa_supplicant thinks of the situation.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#8 2013-07-20 07:56:38

gsingh93
Member
Registered: 2013-07-19
Posts: 96

Re: [SOLVED] WiFi not working with Intel NIC

Thanks for the help everyone, it's somehow working now. I just turned on my laptop and reran the commands I pasted above so I could try the new suggestions, but "iw dev wlo1 link" showed that I had a connection and it looks like WiFi is working. I wish I had a better idea of what the problem was, but at least it's working.

Offline

#9 2013-07-20 15:24:17

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,354

Re: [SOLVED] WiFi not working with Intel NIC

Great.  If you consider this solved, go ahead and edit your first post and  prepending [SOLVED] to the thread title.  We ask that the original poster do this as only they know when it is truly solved.   Again, Welcome to Arch Linux.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB