Peppermint OS

Support => Networking => Topic started by: mefibo on January 28, 2020, 05:06:03 am

Title: Wifi won´t work after update - firewall problem (SOLVED)
Post by: mefibo on January 28, 2020, 05:06:03 am
After a update a few weeks ago - including a kernel-update - the following strange thing occurs. The wifi-connection is established. But no page will load; nor can I get updates. When I switch the firewall on and off a few times, the connection becomes normal and pages load. I have made no changes at all before this; the firewall was even switched off.
Looking around on the forum I´ve seen a possible solution is to remove advert blocker and delete hosts-file in /etc. There are the following files: hosts, hosts.allow and hosts.deny. Should I remove them all?
Booting a previous kernel did not solve the problem; nor changing the IPv6 settings.
Here are the requested outputs, made before establishing the connection:

Spoiler (click here to view / hide)
[close]

Spoiler (click here to view / hide)
[close]

Spoiler (click here to view / hide)
[close]

Spoiler (click here to view / hide)
[close]

Spoiler (click here to view / hide)
[close]

Spoiler (click here to view / hide)
[close]
Title: Re: Wifi won´t work after update - firewall problem
Post by: Howling Wolf on January 30, 2020, 09:10:39 am
What kind of problem lead to kernel update? Maybe you don't need it. If it happened automatically, at the start you can choose an earlier kernel version. If it does the trick, you can stick to that kernel version, no need to go ahead.
Title: Re: Wifi won´t work after update - firewall problem
Post by: mefibo on January 31, 2020, 02:13:17 am
The update was automatically. As mentioned in my first post, booting a earlier kernel did not work. I booted ¨back¨ till 5.0.0.36.
Title: Re: Wifi won´t work after update - firewall problem
Post by: Howling Wolf on January 31, 2020, 02:45:28 am
Sorry for misreading.

My hosts file after clean install (in VirtualBox) contains:

Spoiler (click here to view / hide)
[close]

Nothing else. IMHO it worth a try to switch off the advert blocker and delete the rest lines. They will be populated again when you switch it on again. Don't forget to make backup, say,  hosts.ORIG !
Title: Re: Wifi won´t work after update - firewall problem
Post by: mefibo on January 31, 2020, 05:09:02 am
The hosts-file is the same:

Spoiler (click here to view / hide)
[close]

Removing Advert-Blocker did not solve the problem, unfortunately.

Ouput from inxi -Fz:

Spoiler (click here to view / hide)
[close]
Title: Re: Wifi won´t work after update - firewall problem
Post by: mefibo on February 04, 2020, 07:32:03 am
Generally, at startup the firewall is inactive; when I switch to active the connection is established. Is there a way to activate the firewall automatically while booting?
Title: Re: Wifi won´t work after update - firewall problem
Post by: alynur on February 04, 2020, 06:26:58 pm
Hi mefibo, I don't use a firewall so not sure how much help this might be, have you tried right clicking on Firewall configuration and clicking on Options  Use startup notification?   :-\
Title: Re: Wifi won´t work after update - firewall problem
Post by: mefibo on February 05, 2020, 04:34:06 am
Hi alynur, unfortunately that did not help. I´ve removed the firewall from the system then I don´t have a connection at all. Re-installed it with a usb-stick. Nothing changed, but I can connect by switching to active.
Title: Re: Wifi won´t work after update - firewall problem
Post by: Howling Wolf on February 05, 2020, 02:46:11 pm
Hi, do you mean that without an active firewall it is all OK? Am I right? If not, maybe this helps: one of my computers is an old ASUS K50IJ Notebook and this one cannot connect to WiFi above 4.18.0-21 kernel, so I had to stick to that version.
Another test: if you try to run a live media with a clean PepperMint Ten, does it works or not?
Cheerz
Title: Re: Wifi won´t work after update - firewall problem
Post by: mefibo on February 06, 2020, 06:00:50 am
Hi, Just the opposite; with no firewall I can´t get a working connection. Hence I had to reinstall via usb-stick. I have to change the firewall settings from off to on to establish a working WiFi-connection. I´ve booted several previous kernels; did not work. I have not tried a fresh Peppermint 10 yet due to specific hardware-problems handled in ¨New Users¨. But I will try a new Live USB one of these days.
For what it´s worth; I was at the 5.0.0.x kernel. The problem manifested after a update to the 5.3.0.xx. But however; when I boot a previous kernel now it does not solve the problem.
Title: Re: Wifi won´t work after update - firewall problem
Post by: Howling Wolf on February 06, 2020, 08:52:18 am
Sorry m8, no more idea... Before try from live media, at least give a chance to 4.18.0-21  kernel... Just for curiosity...
Title: Re: Wifi won´t work after update - firewall problem
Post by: mefibo on February 07, 2020, 03:38:31 am
Hi, for your curiosity I´ve tried the 4.18.0.25 kernel; the...21 kernel is not available on my system. Did not work. So I think it´s save to say the kernel version is not the problem. What is, I have really no idea. I hope someone has.

uname -a gives:

Code: [Select]
mefibo@mefibo-HP-Stream-Notebook-PC-11 ~ $ uname -a
Linux mefibo-HP-Stream-Notebook-PC-11 5.3.0-28-generic #30~18.04.1-Ubuntu SMP Fri Jan 17 06:14:09 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Title: Re: Wifi won´t work after update - firewall problem
Post by: Howling Wolf on February 07, 2020, 06:45:41 am
OK I guess it but the last chance is to try a clean live media. If it prevail then you can
trace the problem by comparing suspicious files both your os / live os
make a clean install - reinstall and do not forget to make some kinda of saves before any upgrading - fsarchiver, timehift and so on.
[/list]
Title: Re: Wifi won´t work after update - firewall problem
Post by: mefibo on February 07, 2020, 07:56:37 am
I have tried the latest P10 Live distro; everything works. The wifi-connection as well as bluetooth (I had specific problems with that).
So I would like to try upgrading from P9 to P10 rather than perform a clean install of P10 in order to save installed programs and my wifi printer. Is that possible?
Title: Re: Wifi won´t work after update - firewall problem
Post by: jlschwartz on February 07, 2020, 08:36:59 am
Sorry, but that's not possible.  You must do a full install.
Title: Re: Wifi won´t work after update - firewall problem
Post by: Slim.Fatz on February 07, 2020, 10:28:25 am
Sorry, but that's not possible.  You must do a full install.
Well you might want to check out this method of upgrading from Peppermint 9 to Peppermint 10 (https://forum.peppermintos.com/index.php/topic,8442.0.html), and then (if you want) you can upgrade Peppermint 10 to Peppermint 10 Respin using this method (https://forum.peppermintos.com/index.php/topic,9208.0.html).  ;)

Regards,

-- Slim
Title: Re: Wifi won´t work after update - firewall problem
Post by: mefibo on February 08, 2020, 04:16:16 am
Hi Slim.Fatz, I have upgraded to P10 and then to P10 Respin. Still the same problem. Apparently I switched to the HWE:

Code: [Select]
mefibo@mefibo-HP-Stream-Notebook-PC-11 ~ $ sudo apt-get install --install-recommends linux-generic-hwe-18.04 xserver-xorg-hwe-18.04
[sudo] wachtwoord voor mefibo:
Pakketlijsten worden ingelezen... Klaar
Boom van vereisten wordt opgebouwd       
De statusinformatie wordt gelezen... Klaar
linux-generic-hwe-18.04 is reeds de nieuwste versie (5.3.0.28.96).
xserver-xorg-hwe-18.04 is reeds de nieuwste versie (1:7.7+19ubuntu8~18.04.3).
0 opgewaardeerd, 0 nieuw geïnstalleerd, 0 te verwijderen en 0 niet opgewaardeerd.
mefibo@mefibo-HP-Stream-Notebook-PC-11 ~ $

And:

Code: [Select]
mefibo@mefibo-HP-Stream-Notebook-PC-11 ~ $ uname -a
Linux mefibo-HP-Stream-Notebook-PC-11 5.3.0-28-generic #30~18.04.1-Ubuntu SMP Fri Jan 17 06:14:09 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Now additionally, bluetooth does not work; I´ve had that problem before when I moved to the HWE.

So it seems, just a clean install is the only thing left to do.
Title: Re: Wifi won´t work after update - firewall problem
Post by: mefibo on February 08, 2020, 07:17:51 am
Hi, thank you all for your help. I have performed a clean install of P10 and everything works fine.
Title: Re: Wifi won´t work after update - firewall problem (SOLVED)
Post by: Slim.Fatz on February 08, 2020, 07:45:34 am
Hi mefibo,

Unfortunately, that is sometimes the only solution.  ???

However, at least you fixed the issue !!  8) Have fun.  :)

Regards,

-- Slim