Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Intel 5100 Wireless Problems

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
UserCPMB
Posts: 17
Joined: 2018-04-12 14:27

Intel 5100 Wireless Problems

#1 Post by UserCPMB »

I'm having difficulty getting an Intel 5100 AGN wireless working on an HP Pavillion DV6 1003CL.

I've downloaded and installed all the support software and utilities reccommended at https://wiki.debian.org/WiFi

I also found great info at:

https://wiki.archlinux.org/index.php/Wi ... figuration
https://wiki.archlinux.org/index.php/WP ... nced_usage

Note to others regarding Hard Blocking:
The laptop has a membrane switch, and I've found other posts where the wifi "switch" must be turned on using f12 or reloading the bios defaults. This isn't required and can be solved using the command ip link set interface up. (See commands below)

Here's a list of what I've been able to figure out:


# lsmod | grep "hp_"
hp_wmi 16384 0
sparse_keymap 16384 1 hp_wmi
rfkill 20480 3 hp_wmi,cfg80211
hp_accel 28672 0
lis3lv02d 20480 1 hp_accel
wmi 16384 3 mxm_wmi,nouveau,hp_wmi


# lsmod | grep "iwl"
iwldvm 131072 0
mac80211 552960 1 iwldvm
iwlwifi 131072 1 iwldvm
cfg80211 450560 3 iwlwifi,mac80211,iwldvm


# iw dev
phy#0
Interface wlp2s0
ifindex 3
wdev 0x1
addr 00:16:ea:78:5d:ac
type managed
txpower 0.00 dBm


# rfkill list all
0: hp-wifi: Wireless LAN
Soft blocked: no
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no


# iwconfig
wlp2s0 IEEE 802.11 ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=off
Retry short limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off


NOTE: Wireless light now amber (off)


# iw dev wlp2s0 link
Not connected.


# ip link set wlp2s0 up


# ip link show wlp2s0
3: wlp2s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
link/ether 00:16:ea:78:5d:ac brd ff:ff:ff:ff:ff:ff


# iwconfig
wlp2s0 IEEE 802.11 ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=15 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off


NOTE: Wireless light now blue (on)


# iw dev wlp2s0 scan
BSS 70:f1:96:9e:d2:62(on wlp2s0)
TSF: 92843459336 usec (1d, 01:47:23)
freq: 2437
beacon interval: 100 TUs
capability: ESS Privacy ShortSlotTime RadioMeasure (0x1411)
signal: -47.00 dBm
last seen: 2996 ms ago
SSID: MYSSID
Supported rates: 1.0* 2.0* 5.5* 11.0* 18.0 24.0 36.0 54.0
DS Parameter set: channel 6
Country: CA Environment: Indoor/Outdoor
Channels [1 - 11] @ 30 dBm
ERP: Barker_Preamble_Mode
Extended supported rates: 6.0 9.0 12.0 48.0
RSN: * Version: 1
* Group cipher: CCMP
* Pairwise ciphers: CCMP
* Authentication suites: PSK
* Capabilities: 16-PTKSA-RC 1-GTKSA-RC (0x000c)


etcetera


# wpa_passphrase MYSSID passphrase > /etc/wpa_supplicant/wlp2s0.conf


# wpa_supplicant -B -i interface -c /etc/wpa_supplicant/wlp2s0.conf
Successfully initialized wpa_supplicant


NOTE: Wireless light now flashing amber (off) - blue (on), etc...


# wpa_cli

Interactive mode

Could not connect to wpa_supplicant: (nil) - re-trying

^C


# iwconfig
lo no wireless extensions.

enp3s0 no wireless extensions.

wlp2s0 IEEE 802.11 ESSID:"ZNETAT"
Mode:Managed Frequency:2.437 GHz Access Point: 70:F1:96:9E:D2:62
Bit Rate=13 Mb/s Tx-Power=15 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=61/70 Signal level=-49 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:5 Missed beacon:0


# ping ftp.debian.org
ping: ftp.debian.org: Temporary failure in name resolution


Edited /etc/network/interaces as:


# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback


# Local wireless
auto wlp2s0
iface wlp2s0 inet dhcp



Attempted to raise it:

# ifup wlp2s0
ifup: interface wlp2s0 already configured



Couldn't kill wpa_supplicant so rebooted.

Boot message:
[***] A start job is running for Raise network interfaces (48s / 5min 5s)


Wireless light is blue (on). Rechecked with iwconfig and ip link show wlp2s0 indicates device is up.

Can't get an IP address, not sure where to go from here.....

arochester
Emeritus
Emeritus
Posts: 2435
Joined: 2010-12-07 19:55
Has thanked: 14 times
Been thanked: 54 times

Re: Intel 5100 Wireless Problems

#2 Post by arochester »

Have you installed? firware-iwlwifi

UserCPMB
Posts: 17
Joined: 2018-04-12 14:27

Re: Intel 5100 Wireless Problems

#3 Post by UserCPMB »

Yeah I have. The driver is loading as:

iwlwifi 131072 1 iwldvm

and various others (see lsmod | grep "iwl" statement)

I checked dmesg and syslog and all good there too.

arochester
Emeritus
Emeritus
Posts: 2435
Joined: 2010-12-07 19:55
Has thanked: 14 times
Been thanked: 54 times

Re: Intel 5100 Wireless Problems

#4 Post by arochester »

Firmware and drivers are two different things.

lsmod shows the modules in the kernel.

You might have the module iwlwifi driver in the kernel.

But have you installed the iwlwifi firmware?

UserCPMB
Posts: 17
Joined: 2018-04-12 14:27

Re: Intel 5100 Wireless Problems

#5 Post by UserCPMB »

Think so. Wasn't getting anything before.

Installed each of:

firmware-iwlwifi_20161130-3_all.deb

crda_3.18-1_i386.deb
iw_4.9-0.1_i386.deb
libiw30_30~pre9-12+b1_i386.deb
libnl-3-200_3.2.27-2_i386.deb
libnl-genl-3-200_3.2.27-2_i386.deb
libpcsclite1_1.8.20-1_i386.deb
rfkill_0.5-1+b1_i386.deb
wireless-regdb_2016.06.10-1_all.deb
wireless-tools_30~pre9-12+b1_i386.deb
wpasupplicant_2.4-1+deb9u1_i386.deb

Verified the dependencies.

UserCPMB
Posts: 17
Joined: 2018-04-12 14:27

Re: Intel 5100 Wireless Problems

#6 Post by UserCPMB »

Meh, I think I got it...mostly...I needed dhcpcd package.

After attempt to connect:

# wpa_supplicant -B -i mydevice -c /etc/wpa_supplicant/mydevice.conf

Attempted IP Lease fetch

# dhcpcd wlp2s0

Too few arguments. (and other notifications)

Verified connection:

# ip address show

# ping ftp.ca.debian.org


Did an apt-get update and that all worked to.

Then attempted:

# wpa_cli
Interactive mode
Could not connect to wpa_supplicant: (nil) - re-trying

This was happening before running dhcpcd.

Only other "problem" now is wireless light flashes continually between amber (off) and blue (on).

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Intel 5100 Wireless Problems

#7 Post by Head_on_a_Stick »

UserCPMB wrote:# wpa_cli
Interactive mode
Could not connect to wpa_supplicant: (nil) - re-trying
You need to add

Code: Select all

ctrl_interface=/run/wpa_supplicant
update_config=1
to the wpa_supplicant configuration file to allow wpa_cli to work.
deadbang

UserCPMB
Posts: 17
Joined: 2018-04-12 14:27

Re: Intel 5100 Wireless Problems

#8 Post by UserCPMB »

Thanks Head.

I also discovered:

To activate at boot time, copy the ssid and psk values from the mydevice.conf file in /etc/wpa_supplicant, and paste them into /etc/network/interfaces as:

auto wlp2s0
iface wlp2s0 inet dhcp
wpa-ssid MYSSID
wpa-pks mypassphrase_asawholestringofnumbersandletters


To activate the device manually, or deactivate it

# ifup wlp2s0

# ifdown wlp2s0

All good now...waaaaayyyy tooo much thinking was required!

UserCPMB
Posts: 17
Joined: 2018-04-12 14:27

Re: Intel 5100 Wireless Problems

#9 Post by UserCPMB »

I've noticed the wireless light keeps flashing. Is there a way to get it to stay on when connected?

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: Intel 5100 Wireless Problems

#10 Post by bw123 »

...
I've noticed the wireless light keeps flashing. Is there a way to get it to stay on when connected?
...
try some parms for the iwlwifi driver?

https://duckduckgo.com/html/?q=linux+module+parameters

Code: Select all

# modinfo iwlwifi | grep led
parm:           led_mode:0=system default, 1=On(RF On)/Off(RF Off), 2=blinking, 3=Off (default: 0) (int)
resigned by AI ChatGPT

Post Reply