You are not logged in.
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
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
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
[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
Thanks, I'm loving it so far
Offline
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
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
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
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
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
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