LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 06-12-2019, 03:51 PM   #1
daweefolk
Member
 
Registered: Sep 2009
Distribution: raspbian
Posts: 94

Rep: Reputation: 15
WiFi won't activate on stretch


I have an HP laptop running debian stretch, 64bit, installed from netinstall cd.
I added the non-free branch to apt, and installed firmware-iwlwifi like my card needs, but every time I try ifconfig wlp2s0 up, I'm told "SIOCSIFFLAGS: Input/output error"
What further information could I provide that would help remedy this?
 
Old 06-12-2019, 07:24 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,323
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
What is the wireless chipset?

The command lspci run in a terminal should provide that information.
 
Old 06-13-2019, 08:53 AM   #3
daweefolk
Member
 
Registered: Sep 2009
Distribution: raspbian
Posts: 94

Original Poster
Rep: Reputation: 15
Intel centrino wireless-n 1000 [condor peak]
 
Old 06-13-2019, 09:09 AM   #4
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
Try using ip / iw (modern way).

$ ip link show

# ip link set wlp2s0 up
# wpa_passphrase ESSID PASSWORD > wpa.conf
# wpa_supplicant -Dnl80211,wext -iwlp2s0 -cwpa.conf &
# dhclient -4 -v wlp2s0

Or use a manager like NetworkManager (probably in the way if already installed). Or WICD, depending on your distro / environment.

# nmtui
 
Old 06-13-2019, 09:17 AM   #5
daweefolk
Member
 
Registered: Sep 2009
Distribution: raspbian
Posts: 94

Original Poster
Rep: Reputation: 15
ip link wlp2s0 up gives me

RTNETLINK answers: Input/output error

Also, I'm using Network Manager; it shows that wifi is on but no networks are showing up at all
 
Old 06-14-2019, 06:23 AM   #6
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
# systemctl stop NetworkManager
# pkill wpa_supplicant

How I normally start my day. When your driver is flakey, no manager is going to play nice with that. With it barking I/O "error", it's probably flakey. And with NetworkManager running you cannot modprobe -r the module as it's "in use". Although flakey probably just means missing (or old / wrong version of) firmware.

# ip link set wlp2s0 up
# iw dev wlp2s0 scan
# iwlist wlp2s0 scanning

Although I made a bash script to scape the output of iwlist to put relevant connection information on a single line per SSID found. With the quality/strength as the first part of the output so I could sort -r to know what's closest / best. With encryption on/off status as the last part so I know what's open/free.

Looks like it uses the iwlwifi driver.

https://www.intel.com/content/www/us...etworking.html

Probably with some firmware. Seems to have had a driver since the 2.6.30 kernel. Should work (if only in theory).

https://wireless.wiki.kernel.org/en/...-39.31.5.1.tgz

Another source for the tarball with "schtuff".

$ cp iwlwifi-1000-5.ucode /lib/firmware

From the README in the tarball. Seems to have some strange licensing so probably not included by default in a few (if not all) distros. No firmware generally means no "functional" driver. At least they provide you the firmware. In debian the firmware seems to have that firmware in the package "firmware-iwlwifi".

$ sudo apt-get install firmware-iwlwifi

Which requires the non-free repositories to be enabled. You could check dmesg for any messages saying that it cannot find firmware. Or what version of it it did find.

$ sudo dmesg | grep -i firmware | grep -i iwl
 
Old 06-14-2019, 08:57 AM   #7
daweefolk
Member
 
Registered: Sep 2009
Distribution: raspbian
Posts: 94

Original Poster
Rep: Reputation: 15
I did install firmware-iwlwifi already. Before I’d installed it, the system complained about not finding iwlwifi as it booted but now the only problem is when trying to activate it
 
Old 06-14-2019, 08:28 PM   #8
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
You might install the one from the tarball. It "might" differ from the one supplied by the distro. Doubt it given the age of the driver/firmware. But possible, I got an hp stream 11 in Nov 2014, and the firmware from July 2015 solved a lot of headaches.
 
Old 06-14-2019, 08:38 PM   #9
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,005
Blog Entries: 26

Rep: Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521
You might actually try finding an OLDER version of the firmware. I'm not 100% certain intel still includes firmware for that chipset.

Look if you have the file iwlwifi-1000-ucode* in your firmware.

Also, no idea if this is still pertinent, but in a google, I found someone had to do this to get it to work:

Code:
echo "options iwlwifi 11n_disable=1 wd_disable=1" | sudo tee /etc/modprobe.d/iwlwifi.conf
sudo modprobe -rfv iwlwifi
sudo modprobe -v iwlwifi
 
Old 06-16-2019, 05:23 AM   #10
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,291

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Back in 2015, someone cleaned oput the kernel's firmware on the basis that 'nobody uses that old sh** anymore.' But LOADS of people use it. Many packages package the older firmware. Slackware does a kernel-firmware package with firmware for the 'old sh**' that installs with a 'tar -xf' from /, and others have their own methods.

Check your system logs and see what it says about firmware. Also try and find where your distro keeps old firmware.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Wifi not working on Thinkpad X200, Debian Stretch megamo Linux - Hardware 5 09-22-2018 04:53 AM
[SOLVED] Problem connecting to WIFI with usb WIFI adapter on debian stretch beric Linux - Hardware 0 09-19-2017 07:44 AM
[SOLVED] DEbian Stretch unable to detect USB WIFI monojeffrey Linux - Desktop 7 09-08-2017 08:49 AM
[SOLVED] Debian Stretch wifi connects but no internet jimkalb Debian 9 05-31-2017 06:59 AM
I can't activate (i'mean activate) my wireless card Mardrus Linux - Newbie 5 05-04-2008 06:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 10:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration