don't upgrade to backported network-manager or wpa-supplicant

17 respuestas [Último envío]
chaosmonk

I am a member!

I am a translator!

Desconectado/a
se unió: 07/07/2017

If you use the backports repository (i.e. if there are uncommented
lines containing the word "backports" in /etc/apt/sources.list), don't
upgrade to the recently backported versions of network-manager and
wpasupplicant until this issue[1] is fixed.

[1] https://trisquel.info/en/forum/internet-connection-problem

chaosmonk

I am a member!

I am a translator!

Desconectado/a
se unió: 07/07/2017

> If you use the backports repository (i.e. if there are uncommented
> lines containing the word "backports" in /etc/apt/sources.list), don't
> upgrade to the recently backported versions of network-manager and
> wpasupplicant until this issue[1] is fixed.

If you have already upgraded and need to revert to the previous
versions, use

$ sudo apt install network-manager=1.2.6-0ubuntu0.16.04.3
$ sudo apt install wpasupplicant=2.4-0ubuntu6.6

In order to upgrade all other packages without upgrading these two, use

$ sudo apt-mark hold network-manager wpasupplicant

before upgrading. When this issue is fixed, make these packages
upgradable again with.

$ sudo apt-mark unhold network-manager wpasupplicant

Magic Banana

I am a member!

Desconectado/a
se unió: 07/24/2010

For those who have neither their system online nor the lower versions of the packages on their disk, these packages are:

Bring them somehow (a pendrive, for instance) to the offline system, where, in a terminal, you will move them to /var/cache/apt/archives (here assuming the files are in the working directory):
$ sudo mv network-manager_1.2.6-0ubuntu0.16.04.3_*.deb wpasupplicant_2.4-0ubuntu6.6_*.deb /var/cache/apt/archives

Then, chaosmonk's commands will work. Well, except that he forgot to mention that NetworkManager must be restarted at the end:
$ systemctl restart NetworkManager

@chaosmonk: downgrading only NetworkManager was sufficient for my system, but I imagine the reason to upgrade to a possibly less tested version of wpa_supplicant was to get a newer version of NetworkManager, hence the advice to downgrade both. Am I right?

(EDIT: I realized people certainly prefer downloading from https://archive.trisquel.info/trisquel/ to taking the attachments a random guy posts on the Internet.)

chaosmonk

I am a member!

I am a translator!

Desconectado/a
se unió: 07/07/2017

> Then, chaosmonk's commands will work. Well, except
> that he forgot to mention that NetworkManager must be
> restarted at the end:
> $ systemctl restart NetworkManager

Good catch, thank you.

> @chaosmonk: downgrading only NetworkManager was
> sufficient for my system, but I imagine the reason to
> upgrade to a possibly less tested version of
> wpa_supplicant was to get a newer version of
> NetworkManager, hence the advice to downgrade both. Am
> I right?

Yes, the wpa backport is part of the same commit as the network-manager
backport, so I assume it is only there as a dependency of the newer
network-manager.

Vanack Sabbadium
Desconectado/a
se unió: 03/05/2019

Hell, now i see your topic.
At first i thought it was my connection, but my wi-fi was still working. Fortunately, i remembered that yesterday i upgraded network-manager, so i reverted to previous version and all worked again.

WPA supplicant can be upgraded, it doesn't break anything.

quidam

I am a member!

I am a translator!

Desconectado/a
se unió: 12/22/2004

I just published an update to NetworkManager fixing the regressions (network-manager_1.10.6-2ubuntu1+8.0trisquel2). The changes from version trisquel1 are to set NM to use dnsseq as before, and to disable the mac address randomization settings (but leaving them commented out so they are easy to enable for users with the correct hardware). The feature of not sending the hostname should work, if it interferes with connecting to some routers please report and I'll revert that too.

Stallman rules
Desconectado/a
se unió: 08/10/2019

Hey There Quidam 8O)

when i connect to my wifi router, TrisQuel communicate this, seen from wireshark.. it had never never happend before..
-------------------------------
10 2019-10-25 06:20:21,169100247 127.0.0.1 127.0.1.1 DNS 76 Standard query 0xa3a6 A ntp.ubuntu.com

11 2019-10-25 06:20:21,169176304 127.0.0.1 127.0.1.1 DNS 76 Standard query 0x4a08 AAAA ntp.ubuntu.com
-------------------------------
And i could ad 20 to 30 more connections till ubuntu server
why is that.. is there any malware in TrisQuel..?

sorry for my bad french.. but why the fuck.. is TrisQuel allowing this... communication to ubuntu... ?

and: another Q ?..

why does TrisQuel see a 4G mobile usb moden as a harddisk..
my friend; Falken still cant' connect to the internet..

https://trisquel.info/en/forum/usb-mobile-modem-and-trisquel-8

best regards from Denmark 8O)

chaosmonk

I am a member!

I am a translator!

Desconectado/a
se unió: 07/07/2017

> when i connect to my wifi router, TrisQuel communicate this, seen from
> wireshark.. it had never never happend before..
> -------------------------------
> 10 2019-10-25 06:20:21,169100247 127.0.0.1 127.0.1.1 DNS 76 Standard
> query 0xa3a6 A ntp.ubuntu.com
>
> 11 2019-10-25 06:20:21,169176304 127.0.0.1 127.0.1.1 DNS 76 Standard
> query 0x4a08 AAAA ntp.ubuntu.com
> -------------------------------
> And i could ad 20 to 30 more connections till ubuntu server

Did this seem to start after the upgrade to network-manager? I don't
think that it this behavior is directly related to the network-manager
package, but I don't understand the issue well enough to rule out the
possibility that the update indirectly caused this behavior to surface.

> why is that..

As you may know, Trisquel is based on Ubuntu. It looks like Ubuntu's
default configuration[1] for the "ntp" package uses ntp.ubuntu.com as a
fallback NTP server (for synchronizing the system clock). Trisquel has
not defined an alternative default configuration, which is why Ubuntu's
is the default.

> is there any malware in TrisQuel..?

It certainly is not malware, but perhaps it would be better to use a
different NTP server. I know little about how NTP works, so I don't
know what server(s) would be appropriate.

I did not have ntp installed on my system, and I don't think I ever
removed it, (I didn't know it existed until now) so I don't think it is
one of Trisquel's default packages. Do you remember when/why you
installed it? If you don't need it, the quickest way to stop these
connections to Ubuntu's servers is to just uninstall it. If you do need
it, but want to use a different NTP server, you should be able to edit
/etc/ntp.conf accordingly. If it is decided that a different server
should be used by default for all users of this package then Trisquel
can make that change to the package, but you don't need to wait in order
to change it on your own system. (Note that restarting certain
services, or simply restarting all services by rebooting, might be
needed for any changes to take effect.)

> why does TrisQuel see a 4G mobile usb moden as a harddisk..
> my friend; Falken still cant' connect to the internet..
>
> https://trisquel.info/en/forum/usb-mobile-modem-and-trisquel-8

I have not been following this thread, but it looks like the last
comment is from Magic Banana. Has Falken tried Magic's troubleshooting
suggestions yet?

[1] https://git.launchpad.net/ubuntu/+source/ntp/tree/debian/ntp.conf#n27

Stallman rules
Desconectado/a
se unió: 08/10/2019

Thank you ChaosMunk for the quick response <3

my system:

TrisQuel GNU/Linux
8.0 Flidas 64-bit
Linux Kernel 4.4.0-161-generic x86_64
MATE 1.12.1

8,0 GiB
2 CPU P8400 @ 2.26GHz x 2

on a Librebooted X200
-----------------

24-10-2019 i made an manual standard update from:
https://ftp.acc.umu.se/mirror/trisquel/packages
just as i do every once a week.
ALL in my system is set up standard.. nothing is deveating
from standard.
in this update on the 24-10-2019 there where a ntp update.
i dittent know what it was then. (i do now)

the next day i turned the system on, blocked all network traffic in the firewall, as i always do before going online.
then i powered my huawei mobile 4G wifi router on.. and
then i turned the wifi kill-switch, on..
.. then i started wireshark just for the hell of it..
And .. then i un-blocked all network traffic..

TrisQuel was now communicating with ubuntu server over ntp and dns.. 8O(

i took a screendump.. se attached png:

after your comment chaosmunk, i started synaptic and searched for anything with "ntp" and uninstalled one/all..
packets/programs named with any-thing like ntp..
one.. program synaptic found: ntpdate
i totaly and complete uninstalled it.
rebooted... and now here a day later..

nothing is different... trisQuel is still communicating
with the ubuntu servers.. and TrisQuel have never ever
ever and ever been communating ANYTHING... unless i told it so.. that is what i love about TrisQuel and hate about winslow.. never in my life will i be going back to winslow.

i could turn on my free as in freedom machine and put it online.. take a vacation for a year.. come back to the machine.. and not one bit/byte of traffic would ever been there... in a hole year..

that is why i support TrisQuel, GNU, Stallman and free as in freedom. i will never use ore support anything proprietary ever more.

I could attach a new picture.. but it is showing the same traffic as the first attached picture.

------------------------

as for the falken problem:

he is not having the time right now 8O(

BUT.. since 2016 with a machine just like mine..
his mobile USB 4G modem have worked perfectly as a modem
and just as a modem in TrisQuel 7.

then here in 2019 with TrisQuel 8 installed to harddisk the grafic way from dvd iso.. TrisQuel is now seeing his modem as a harddisk.

and the modem is by default from the isp a harddisk, with all the proprietary software for sms and shit like that..
this software, falken will not use.. and he never had to in TrisQuel 7, for 3 years..

but now in TrisQuel 8 he can not get a connection to the internet.

if i search in invidio.us .. it is a commen problem fore
ubuntu.. and there is guides for the mode-setting in USB
to tell "ubuntu" that a given USB 4G modem is a modem and not a harddisk.

.. he dosent have the time yet.. new baby born and so on..

and.. we could try many solutions.. BUT is was never any issue in TrisQuel 7... fore 3 years it worked flawless..

what is happening with TrisQuel.. al we want and support is a free as in freedom system.. and not a smart, winslow like system.. we need to go back to basic and not get smart and comfortably... and i am with Stallman.. i do not and will not use anything shiny and smart.. you know what i mean 8O)

i do mail, internet, maybe Libre office.. and that's it.

viva la Freedom and Stallman 8O)

25_10_2019_15_20.png
chaosmonk

I am a member!

I am a translator!

Desconectado/a
se unió: 07/07/2017

> i started synaptic and searched for anything with "ntp" and uninstalled one/all..
> packets/programs named with any-thing like ntp..
> one.. program synaptic found: ntpdate

> in this update on the 24-10-2019 there where a ntp update.

Do you did not have ntp installed, but there was a ntp update? Did you mean to say a network-manager update?

If you did not have ntp installed, then I guess that I was wrong about that being the relevant package. I take it that /etc/ntp.conf does not exist on your system?

That domain name must be set somewhere, though, and my guess would be in /etc. Please run

$ cd /etc && grep -R 'ntp\.ubuntu' 2>/dev/null

and see if any files contain that domain. Then edit the file(s) and change the domain to something else, and see if that changes the domain that Trisquel tries to connect to.

Stallman rules
Desconectado/a
se unió: 08/10/2019

hey 8O)

/etc/ntp.conf does not exist on my ssytem.

and the command: $ cd /etc && grep -R 'ntp\.ubuntu' 2>/dev/null

returns: nothing.

but still via wireshark, today..

----------------------------

15 2019-10-26 10:12:55,145091472 127.0.0.1 127.0.1.1 DNS 76 Standard query 0xd9c9 A ntp.ubuntu.com

16 2019-10-26 10:12:55,145125415 127.0.0.1 127.0.1.1 DNS 76 Standard query 0xd66c AAAA ntp.ubuntu.com

17 2019-10-26 10:12:55,145318876 and here my router

18 2019-10-26 10:12:55,147059530 and her my router

19 2019-10-26 10:12:55,147076781 192.168.8.100 192.168.8.1 DNS 76 Standard query 0xf23b A ntp.ubuntu.com

20 2019-10-26 10:12:55,147092774 192.168.8.100 91.239.100.100 DNS 76 Standard query 0xf23b A ntp.ubuntu.com

21 2019-10-26 10:12:55,147099549 192.168.8.100 89.233.43.71 DNS 76 Standard query 0xf23b A ntp.ubuntu.com

22 2019-10-26 10:12:55,147105067 192.168.8.100 192.168.8.1 DNS 76 Standard query 0x0373 AAAA ntp.ubuntu.com

23 2019-10-26 10:12:55,147109397 192.168.8.100 91.239.100.100 DNS 76 Standard query 0x0373 AAAA ntp.ubuntu.com

24 2019-10-26 10:12:55,147113238 192.168.8.100 89.233.43.71 DNS 76 Standard query 0x0373 AAAA ntp.ubuntu.com

25 2019-10-26 10:12:55,202437103 91.239.100.100 192.168.8.100 DNS 220 Standard query response 0xf23b A ntp.ubuntu.com A 91.189.91.157 A 91.189.89.199 A 91.189.94.4 A 91.189.89.198 NS ns2.canonical.com NS ns1.canonical.com NS ns3.canonical.com A 91.189.94.173

26 2019-10-26 10:12:55,202657173 127.0.1.1 127.0.0.1 DNS 220 Standard query response 0xd9c9 A ntp.ubuntu.com A 91.189.91.157 A 91.189.89.199 A 91.189.94.4 A 91.189.89.198 NS ns2.canonical.com NS ns1.canonical.com NS ns3.canonical.com A 91.189.94.173

27 2019-10-26 10:12:55,207369015 91.239.100.100 192.168.8.100 DNS 212 Standard query response 0x0373 AAAA ntp.ubuntu.com AAAA 2001:67c:1560:8003::c7 AAAA 2001:67c:1560:8003::c8 NS ns2.canonical.com NS ns1.canonical.com NS ns3.canonical.com A 91.189.94.173

28 2019-10-26 10:12:55,207633783 127.0.1.1 127.0.0.1 DNS 212 Standard query response 0xd66c AAAA ntp.ubuntu.com AAAA 2001:67c:1560:8003::c7 AAAA 2001:67c:1560:8003::c8 NS ns2.canonical.com NS ns1.canonical.com NS ns3.canonical.com A 91.189.94.173

29 2019-10-26 10:12:55,208211371 192.168.8.1 192.168.8.100 DNS 140 Standard query response 0xf23b A ntp.ubuntu.com A 91.189.89.199 A 91.189.89.198 A 91.189.91.157 A 91.189.94.4

30 2019-10-26 10:12:55,209068393 192.168.8.1 192.168.8.100 DNS 132 Standard query response 0x0373 AAAA ntp.ubuntu.com AAAA 2001:67c:1560:8003::c7 AAAA 2001:67c:1560:8003::c8

31 2019-10-26 10:12:55,227552587 89.233.43.71 192.168.8.100 DNS 252 Standard query response 0xf23b A ntp.ubuntu.com A 91.189.94.4 A 91.189.89.199 A 91.189.91.157 A 91.189.89.198 NS ns1.canonical.com NS ns2.canonical.com NS ns3.canonical.com A 91.189.94.173 A 91.189.95.3 A 91.189.91.139

32 2019-10-26 10:12:55,227975057 89.233.43.71 192.168.8.100 DNS 244 Standard query response 0x0373 AAAA ntp.ubuntu.com AAAA 2001:67c:1560:8003::c7 AAAA 2001:67c:1560:8003::c8 NS ns2.canonical.com NS ns1.canonical.com NS ns3.canonical.com A 91.189.94.173 A 91.189.95.3 A 91.189.91.139

33 2019-10-26 10:12:55,250888236 192.168.8.100 91.189.91.157 NTP 92 NTP Version 4, client

34 2019-10-26 10:12:55,425531394 91.189.91.157 192.168.8.100 NTP 92 NTP Version 4, server

----------------------------

what is going on here i dont know 8O(

Magic Banana

I am a member!

Desconectado/a
se unió: 07/24/2010

trisQuel is still communicating with the ubuntu servers.

NTP servers are necessary to synchronize your desktop clock. Find a way to disable Internet synchronization on your desktop environment (something like "Time and Date" in a "Control Center").

there is guides for the mode-setting in USB to tell "ubuntu" that a given USB 4G modem is a modem and not a harddisk.

Follow them: Trisquel 8 is based on Ubuntu 16.04.

Stallman rules
Desconectado/a
se unió: 08/10/2019

in (something like "Time and Date" in a "Control Center")
where i control Internet synchronization... it is set to manuel.. and TrisQuel ask me to install NTP support if i want to synchronize automatik.. so.. it is set, on manuel.. and i do not have ntp installed in my system...

i started synaptic and searched for anything with "ntp" and uninstalled one/all..
packets/programs named with any-thing like ntp..
one.. program synaptic found: ntpdate
i totaly and complete uninstalled it.

but still... the ntp traffic goes on.. ???

Magic Banana

I am a member!

Desconectado/a
se unió: 07/24/2010

Try to execute the following command in a terminal:
$ timedatectl set-ntp false

Stallman rules
Desconectado/a
se unió: 08/10/2019

okay...

when i execute the command:

$ timedatectl set-ntp false

the result: nothing

Magic Banana

I am a member!

Desconectado/a
se unió: 07/24/2010

Let us see:
$ timedatectl status

Stallman rules
Desconectado/a
se unió: 08/10/2019

Local time:
Universal time:
RTC time:
Time zone:
Network time on: no
NTP synchronized: no
RTC in local TZ: no

so.. i found in systemd a ntp config and deleted ubuntu.com
and.. removed port 123 ntp ...

so now ther is silence and no traffic

thanks for helping a nob 8O)

Magic Banana

I am a member!

Desconectado/a
se unió: 07/24/2010

You are referring to /etc/systemd/timesyncd.conf, right? The whole file is commented on my system.