WiFi interface not working

New to Debian (Or Linux in general)? Ask your questions here!

WiFi interface not working

Postby Dragonsen » 2018-01-20 16:45

Hello,

I recently switched my laptop from Windows 10 to Debian. This is a Acer Aspire V5 561G.
I chose to install Debian via Internet. At the beginning of the installation it gave me an error concerning the detection of a non-free firmware. I noted the beginning of the file required : firmwareb43/ucode30_mimo.fw
But since it seemed to be an issue with the WiFi, I simply decided to continue with a wire and the installation completed without other issue. :)

However, once I removed the wire I saw that the wireless interface was still not detected. I first looked on Acer's website for drivers but it gaves only drivers for Windows 8.1 and 10 :roll:
https://www.acer.com/ac/en/US/content/support-product/5154;-;Aspire+V5-561G
I'm pretty novice with Linux so I don't really know where I could find a solution... I hope you can help me with that, because being connected with a wire is pretty annoying...

I saw that there is only those lines in /etc/network/interfaces :
Code: Select all
#The loopback network interface
auto lo
iface lo inet loopback


iwconfig gives me :
Code: Select all
lo        no wireless extensions.

enp1s0f0       no wireless extensions.


According to this link, there is no issue with WiFi on this laptop model : https://wiki.debian.org/InstallingDebianOn/Acer/Aspire%20V5-561G/Stretch :|

Thank you in advance for your help, don't hesitate to ask me other details of needed
Dragonsen
 
Posts: 5
Joined: 2018-01-20 16:03

Re: WiFi interface not working

Postby Head_on_a_Stick » 2018-01-20 17:17

I suffer from depression and may lash out occasionally, try not to take it personally.
User avatar
Head_on_a_Stick
 
Posts: 8167
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: WiFi interface not working

Postby stevepusser » 2018-01-20 19:32

The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Quod Libet 4.2.0, Pale Moon 28.1.0, wine-staging 3.19, GIMP 2.10.8, Liquorix kernel 4.18-21, CopyQ 3.7.0
User avatar
stevepusser
 
Posts: 10114
Joined: 2009-10-06 05:53

Re: WiFi interface not working

Postby Dragonsen » 2018-01-20 19:43

Thanks for your answers. I just found that I had a BCM43228 card and, as you said, I installed "firmware-b43-installer".

It was unable to locate the package, so I was helped by the following link in case it could help other linux beginners :D
https://www.reddit.com/r/linux4noobs/comments/4aif31/e_unable_to_locate_package_firmwareb43installer/
Dragonsen
 
Posts: 5
Joined: 2018-01-20 16:03

Re: WiFi interface not working

Postby Dragonsen » 2018-01-21 17:46

Hi, that's me again.

I still have a problem to get an internet access now that my WiFi card is enabled. That's a DNS issue, because I can reach an IP address but not a hostname. Here is what I tried:
- Simply adding a DNS resolver in the settings > Network > *Name of my WiFi* > IPv4. That was not successful.
- Changing /etc/resolv.conf content with a DNS resolver. It worked, but as I read, the content of this file can be changed by other applications, so after rebooting it was overwritten...
- Checking with "ls /sys/class/net". I get three interfaces : enp1s0f0, lo, wlp2s0b1. wlp2s0b1 seems to be the wifi interface. So, according to https://wiki.debian.org/NetworkConfiguration I inserted those lines in /etc/interfaces :

Code: Select all
auto wlp2s0b1
allow-hotplug wwlp2s0b1
iface wlp2s0b1 inet dhcp
iface wlp2s0b1 inet6 auto

With this solution, I got internet after executing "ifdown -a" and "ifup -a". However, after restarting my computer I saw that it was configuring interfaces and now I can't even select a wifi network.

Note that this issue only appears when connected via WiFi, I don't have any trouble when connected via Ethernet...

Again, thanks in advance for your help!
Dragonsen
 
Posts: 5
Joined: 2018-01-20 16:03

Re: WiFi interface not working

Postby Wheelerof4te » 2018-01-21 18:02

Proper answer is on the wiki page stevepusser linked. You have to enable non-free repositories and install the firmware:
Code: Select all
apt install firmware-b43-installer

After that, just reboot.
Avoid installing single .deb files that are already in the repos.
User avatar
Wheelerof4te
 
Posts: 1134
Joined: 2015-08-30 20:14

Re: WiFi interface not working

Postby Dragonsen » 2018-01-21 18:08

Sorry, but I don't get it. That was done yesterday, I have the newest version of this repo.

What's the link with this DNS issue? :|
Dragonsen
 
Posts: 5
Joined: 2018-01-20 16:03

Re: WiFi interface not working

Postby Wheelerof4te » 2018-01-21 19:14

Try this:
https://wiki.debian.org/WiFi/HowToUse#Command_Line

Code: Select all
# ip a
# iwconfig
# ip link set wlan0 up

Also try the other options. Maybe there is some kernel module that needs to be blacklisted. User error at the installation is my best guess, though.
User avatar
Wheelerof4te
 
Posts: 1134
Joined: 2015-08-30 20:14

Re: WiFi interface not working

Postby debiman » 2018-01-22 07:18

Dragonsen wrote:- Changing /etc/resolv.conf content with a DNS resolver. It worked, but as I read, the content of this file can be changed by other applications, so after rebooting it was overwritten...

i think you should concentrate on this.
afaik, there's a program filling resolv.conf. maybe it's not active for wifi, or misconfigured.
https://wiki.debian.org/resolv.conf
User avatar
debiman
 
Posts: 3008
Joined: 2013-03-12 07:18

Re: WiFi interface not working

Postby Dragonsen » 2018-01-22 13:38

Thanks, I finally decided to set the file immutable. Probably a bit drastic... But at least I it works :roll:
Dragonsen
 
Posts: 5
Joined: 2018-01-20 16:03

Re: WiFi interface not working

Postby sunrat » 2018-01-23 02:34

A better way is to set DNS servers with supersede in /etc/dhcp/dhclient.conf . This won't get overwritten like happens with resolv.conf .
Mine is set for OpenDNS:
Code: Select all
supersede domain-name-servers 208.67.222.222,208.67.220.220;
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 2461
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: WiFi interface not working

Postby debiman » 2018-01-23 07:14

food for thought:
is stretch using systemd's resolved?
maybe that would work better?
some investigation into why this happens is still required i guess.

fwiw, i once also opted for the drastic version of setting /etc/resolv.conf immutable, but later realised that it's the equivalent of using a sledgehammer just because one cannot find the right screwdriver.
User avatar
debiman
 
Posts: 3008
Joined: 2013-03-12 07:18


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable