LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Arch (https://www.linuxquestions.org/questions/arch-29/)
-   -   can't get wireless to work (https://www.linuxquestions.org/questions/arch-29/cant-get-wireless-to-work-4175601555/)

bsth123 03-11-2017 02:55 PM

can't get wireless to work
 
I can't get wireless to work
Code:

        Subsystem: Dell Device 06b0
06:00.0 Network controller: Intel Corporation Wireless 3160 (rev 83)
        Subsystem: Intel Corporation Dual Band Wireless AC 3160
        Kernel driver in use: iwlwifi
07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller (rev 07)
        Subsystem: Dell Device 06b0
        Kernel driver in use: r8169

Code:

dmesg | grep iwlwifi
[  56.886133] iwlwifi 0000:06:00.0: irq 62 for MSI/MSI-X
[  56.886488] iwlwifi 0000:06:00.0: Unsupported splx structure
[  57.375636] iwlwifi 0000:06:00.0: firmware: direct-loading firmware iwlwifi-3160-9.ucode
[  57.375790] iwlwifi 0000:06:00.0: loaded firmware version 23.214.9.0 op_mode iwlmvm
[  58.234718] iwlwifi 0000:06:00.0: Detected Intel(R) Dual Band Wireless AC 3160, REV=0x164
[  58.234781] iwlwifi 0000:06:00.0: L1 Enabled - LTR Enabled
[  58.235010] iwlwifi 0000:06:00.0: L1 Enabled - LTR Enabled
[  150.441622] iwlwifi 0000:06:00.0: L1 Enabled - LTR Enabled
[  150.441860] iwlwifi 0000:06:00.0: L1 Enabled - LTR Enabled

If you need anymore info please let me know. I've been working on this for several days trying to troubleshoot.

Ztcoracat 03-11-2017 03:41 PM

Hi:

You're not alone.
I read all of the Arch Linux Documentation on how to get the wifi working and it's not the easiest to understand. If I understand it correctly you need to set up the wifi one of the three ways. Wicd, iw, or wpa_supplicant.

https://wiki.archlinux.org/index.php..._configuration

If I find a way to get the wireless working I'll certainly post it for you.

Good Luck-:)

BW-userx 03-11-2017 03:58 PM

try
Code:

#!/bin/bash
sudo ifconfig wlan0 up
sudo  iwlist wlan0 scan
sudo iwconfig wlan0 essid "provider name" key "off" or number


ondoho 03-12-2017 01:43 AM

Quote:

Originally Posted by bsth123 (Post 5682171)
If you need anymore info please let me know. I've been working on this for several days trying to troubleshoot.

it certainly looks like everything is working.
so what isn't working exactly?
how are you connecting (try what the previous poster suggested)?

bsth123 03-12-2017 09:49 AM

No offense but those commands don't work in arch. It uses iw, I'm trying to use wpa_supplicant because according to the wiki if you use wpa you have to. I can get this far
Code:

# wpa_supplicant -D nl80211,wext -i wlan0 -c <(wpa_passphrase "your_SSID" "your_key")
the problem is the portion that starts with a n. That's suppposed to be the accesspoint discovery but when I run the commands to find it I can't, even though it's picking up all my networks. I've been reading a lot about it and I have found some posts where they solved it but they don't give the solution. Others were just too old. I'm using a wired connection. Thanks

BW-userx 03-12-2017 01:40 PM

Quote:

Originally Posted by bsth123 (Post 5682449)
No offense but those commands don't work in arch. It uses iw, I'm trying to use wpa_supplicant because according to the wiki if you use wpa you have to. I can get this far
Code:

# wpa_supplicant -D nl80211,wext -i wlan0 -c <(wpa_passphrase "your_SSID" "your_key")
the problem is the portion that starts with a n. That's suppposed to be the accesspoint discovery but when I run the commands to find it I can't, even though it's picking up all my networks. I've been reading a lot about it and I have found some posts where they solved it but they don't give the solution. Others were just too old. I'm using a wired connection. Thanks

I'd tell you to just install then package but that is silly, you got no wifi. So, then why not try what arch has to say about it then?


Wireless network configuration
ArchLinux

bsth123 03-12-2017 02:37 PM

I've tried all that trust me.

BW-userx 03-12-2017 02:46 PM

rfkill - but chances are the package that deals with that called, rfkill is not installed as that is more common place then not in every Linux Distro I've tried.
Code:

rfkill list all
#to see if it actually is blocked
#if yes then.
rfkill unblock all

as root or sudo.
Quote:

userx@slackwhere⚡️~⚡️$ sudo rfkill list all
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
1: hp-wifi: Wireless LAN
Soft blocked: no
Hard blocked: no
2: hp-bluetooth: Bluetooth
Soft blocked: no
Hard blocked: no
3: hci0: Bluetooth
Soft blocked: no
Hard blocked: no

bsth123 03-12-2017 03:10 PM

I had to install rfkill. this is what I got

Code:

rfkill list all
0: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
1: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no


BW-userx 03-12-2017 03:36 PM

I googled "arch linux Intel Corporation Wireless 3160 arch linux driver" because that is what it is looking like it is boiling down to? Their were a few hits for this Intel 3160 and archLinux issues. you'd probably be better off looking into that yourself, because that is all I can do is google for you.

https://bbs.archlinux.org/viewtopic.php?id=193570

bsth123 03-12-2017 03:50 PM

Thanks I appreciate. I'll keep googling.

BW-userx 03-12-2017 04:05 PM

Quote:

Originally Posted by bsth123 (Post 5682623)
Thanks I appreciate. I'll keep googling.

I do not know dick about ArchLinux - but if it has NetworkManager - that is what I always use, it always deals with wifi rather well. it does whatever s needed to connect other then selecting the provider.

bsth123 03-12-2017 05:33 PM

It's not that easy in arch. It has network manager also. The problem is you still need wpa_supplicant. I tried googling some more but the posts I found were old. Arch now (supposedly) has built in support. I've been messing with this for too long. Any suggestions about other distros that would be challenging but not impossible?

BW-userx 03-12-2017 06:43 PM

Quote:

Originally Posted by bsth123 (Post 5682650)
It's not that easy in arch. It has network manager also. The problem is you still need wpa_supplicant. I tried googling some more but the posts I found were old. Arch now (supposedly) has built in support. I've been messing with this for too long. Any suggestions about other distros that would be challenging but not impossible?

anyone you want to download give a try and see what happens. The choice is yours really.
I'd suggest straight Debian, Slackware, VOID before going with the "knockoffs."

ondoho 03-13-2017 01:32 AM

Quote:

Originally Posted by bsth123 (Post 5682449)
Code:

# wpa_supplicant -D nl80211,wext -i wlan0 -c <(wpa_passphrase "your_SSID" "your_key")
the problem is the portion that starts with a n. That's suppposed to be the accesspoint discovery

no, that's supposed to be the driver you use, and from your post #1 i see that your wireless uses a different driver.
in fact it seems you simply copied over text from "man wpa_supplicant".
i also suspect that you don't necessarily need to specify the driver at all.

i also don't think your interface is called "wlan0".
from rfkill output, i'd say "phy0", but make sure with the command "ip link".


All times are GMT -5. The time now is 09:57 AM.