Peppermint OS

Support => Hardware => Topic started by: spence on December 11, 2017, 01:53:31 pm

Title: USB WiFi Dongle...
Post by: spence on December 11, 2017, 01:53:31 pm
 :D I am elated with the PeppermintOS 8.5 respin... especially elated that my system booted up and opened up access to the WiFi network all on it's own... Alas, that ended on 12/5 after the mintupdates for that day arrived and hasn't returned since... is there a log file somewhere that would tell me what systems were updated that day in order to triage the WiFi dongle so I don't have to pull it out and reinsert it after every single boot/reboot?

I know its trivial 10-15 second annoyance....  ::) but it was working for a while, and I'df like it to work again...
Title: Re: USB WiFi Dongle...
Post by: PCNetSpec on December 11, 2017, 02:22:36 pm
Yes, the apt history log is at
/var/log/apt/history.log

So open it in your text editor
Code: [Select]
xed /var/log/apt/history.log
That **should** go back far enough, but on the offchance it doesn't the history.log occasionally gets compressed and archived at
/var/log/apt/history.log.1.gz
/var/log/apt/history.log.2.gz
/var/log/apt/history.log.3.gz
etc.

These would need to be decompressed.



You might want to take a look at this topic:
https://forum.peppermintos.com/index.php/topic,6297.0.html
Title: Re: USB WiFi Dongle...
Post by: spence on December 13, 2017, 09:21:45 am
Excellent, so here are the last things updated before the wifi dongle quit working automagically on boot

Code: [Select]
Start-Date: 2017-12-04  21:01:16
Commandline: /usr/sbin/synaptic --hide-main-window --non-interactive --parent-window-id 33554468 -o Synaptic::closeZvt=true --progress-str Please wait, this can take some time --finish-str Update is complete --set-selections-file /tmp/tmpzcYoEY
Requested-By: spence (1000)
Upgrade: evince:amd64 (3.18.2-1ubuntu4.2, 3.18.2-1ubuntu4.3), libevdocument3-4:amd64 (3.18.2-1ubuntu4.2, 3.18.2-1ubuntu4.3), evince-common:amd64 (3.18.2-1ubuntu4.2, 3.18.2-1ubuntu4.3), libevview3-3:amd64 (3.18.2-1ubuntu4.2, 3.18.2-1ubuntu4.3)
End-Date: 2017-12-04  21:01:19

Start-Date: 2017-12-05  11:16:27
Commandline: apt remove --purge apparmor
Requested-By: spence (1000)
Purge: apparmor:amd64 (2.10.95-0ubuntu2.7)
End-Date: 2017-12-05  11:16:28

Would any of those ring bells for futzing with the Realtek RTL8812AU chipset?
Title: Re: USB WiFi Dongle...
Post by: murraymint on December 13, 2017, 10:25:07 am
That's just the pdf reader being upgraded and you removed apparmor.
Title: Re: USB WiFi Dongle...
Post by: PCNetSpec on December 13, 2017, 01:14:33 pm
I can't see how spence.
Title: Re: USB WiFi Dongle...
Post by: spence on December 13, 2017, 10:02:29 pm
yeah, none of it made sense to break the dongle to me either... just nuts...
Title: Re: USB WiFi Dongle...
Post by: spence on December 15, 2017, 08:05:25 am
Here's the previous day's updates... in case anybody else sees an issue... :-\

Code: [Select]
Start-Date: 2017-12-03  09:31:46
Commandline: apt install tomahawk
Requested-By: spence (1000)
Install: libkcmutils4:amd64 (4:4.14.16-0ubuntu3.2, automatic), libkdecore5:amd64 (4:4.14.16-0ubuntu3.2, automatic), libphonon4:amd64 (4:4.8.3-0ubuntu3, automatic), libdbusmenu-qt2:amd64 (0.9.3+16.04.20160218-0ubuntu1, automatic), libtelepathy-qt4-2:amd64 (0.9.6~git1-0ubuntu1, automatic), libqtwebkit4:amd64 (2.3.2-0ubuntu11, automatic), libdlrestrictions1:amd64 (0.15.20~ubuntu4, automatic), libboost-thread1.58.0:amd64 (1.58.0+dfsg-5ubuntu3.1, automatic), fonts-roboto-hinted:amd64 (2:0~20160106-1, automatic), libqjdns-qt4-2:amd64 (2.0.3-1, automatic), libjdns2:amd64 (2.0.3-1, automatic), libjreen1:amd64 (1.2.0-1fakesync1, automatic), libqtkeychain0:amd64 (0.5.0-1build1~gcc5.1, automatic), libqca2-plugin-ossl:amd64 (2.1.1-2ubuntu1, automatic), tomahawk:amd64 (0.8.4+dfsg1-0ubuntu1), kdelibs5-data:amd64 (4:4.14.16-0ubuntu3.2, automatic), libgsasl7:amd64 (1.8.0-8ubuntu2, automatic), libqca2:amd64 (2.1.1-2ubuntu1, automatic), libntlm0:amd64 (1.4-7, automatic), phonon-backend-gstreamer:amd64 (4:4.8.2-0ubuntu2, automatic), phonon-backend-gstreamer-common:amd64 (4:4.8.2-0ubuntu2, automatic), libattica0.4:amd64 (0.4.2-2, automatic), libqt4-svg:amd64 (4:4.8.7+dfsg-5ubuntu2, automatic), phonon:amd64 (4:4.8.3-0ubuntu3, automatic), libqca2-plugins:amd64 (2.1.1-2ubuntu1, automatic), liblucene++0v5:amd64 (3.0.7-8, automatic), libkdeui5:amd64 (4:4.14.16-0ubuntu3.2, automatic), phonon-backend-vlc:amd64 (0.8.2-1ubuntu3, automatic), libboost-iostreams1.58.0:amd64 (1.58.0+dfsg-5ubuntu3.1, automatic), libquazip1:amd64 (0.7.1-1, automatic), libboost-regex1.58.0:amd64 (1.58.0+dfsg-5ubuntu3.1, automatic), libtomahawk:amd64 (0.8.4+dfsg1-0ubuntu1, automatic)
End-Date: 2017-12-03  09:31:56
Title: Re: USB WiFi Dongle...
Post by: spence on March 17, 2018, 11:27:27 am
Welp, the Wifi USB dongle quit working & connecting to my network automagically...  lets see what the logs have to tell me?

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

The last log in this list is when the dongle stopped connecting, I had been "ignoring" these in MintUpdate, but it kept offfering them to me despite my ignore flags so I let them in...

I know this probably isn't a good day to begin a search & recovery mission...

Slainte!
Title: Re: USB WiFi Dongle...
Post by: PCNetSpec on March 17, 2018, 11:53:58 am
What's the output from:
Code: [Select]
lsusband
Code: [Select]
sudo lshw -C networkand
Code: [Select]
iwconfigand
Code: [Select]
ifconfigand
Code: [Select]
sudo iwlist scanand
Code: [Select]
rfkill list
Title: Re: USB WiFi Dongle...
Post by: spence on March 19, 2018, 12:45:00 pm
Code: [Select]
spence@antec ~ $ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 045e:00db Microsoft Corp. Natural Ergonomic Keyboard 4000 V1.0
Bus 001 Device 006: ID 0bda:0811 Realtek Semiconductor Corp.
Bus 001 Device 003: ID 046d:c52f Logitech, Inc. Unifying Receiver
Bus 001 Device 002: ID 07cc:0501 Carry Computer Eng., Co., Ltd Mass Storage
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

spence@antec ~ $ sudo lshw -C network
[sudo] password for spence:
  *-network               
       description: Ethernet interface
       product: Ethernet Connection (2) I219-V
       vendor: Intel Corporation
       physical id: 1f.6
       bus info: pci@0000:00:1f.6
       logical name: enp0s31f6
       version: 00
       serial: 70:85:c2:29:10:c2
       capacity: 1Gbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k firmware=0.2-4 latency=0 link=no multicast=yes port=twisted pair
       resources: irq:125 memory:df100000-df11ffff
  *-network
       description: Wireless interface
       physical id: 1
       bus info: usb@1:6
       logical name: enp0s20f0u6
       serial: 16:88:11:c3:6d:b9
       capabilities: ethernet physical wireless
       configuration: broadcast=yes driver=rtl8812au ip=192.168.1.8 multicast=yes wireless=IEEE 802.11bgn

spence@antec ~ $ iwconfig
lo        no wireless extensions.

enp0s31f6  no wireless extensions.

enp0s20f0u6  IEEE 802.11bgn  ESSID:"remington"  Nickname:"<WIFI@REALTEK>"
          Mode:Managed  Frequency:2.457 GHz  Access Point: E4:F4:C6:05:7A:5A   
          Bit Rate:72.2 Mb/s   Sensitivity:0/0 
          Retry:off   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=100/100  Signal level=97/100  Noise level=0/100
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

spence@antec ~ $ ifconfig
enp0s20f0u6 Link encap:Ethernet  HWaddr 16:88:11:c3:6d:b9 
          inet addr:192.168.1.8  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::5a1e:330d:4200:3364/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:109429 errors:0 dropped:452 overruns:0 frame:0
          TX packets:56191 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:142385747 (142.3 MB)  TX bytes:7625279 (7.6 MB)

enp0s31f6 Link encap:Ethernet  HWaddr 70:85:c2:29:10:c2 
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:16 Memory:df100000-df120000

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:2130 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2130 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:216701 (216.7 KB)  TX bytes:216701 (216.7 KB)

spence@antec ~ $ sudo iwlist scan
lo        Interface doesn't support scanning.

enp0s31f6  Interface doesn't support scanning.

enp0s20f0u6  Scan completed :
          Cell 01 - Address: E4:F4:C6:05:7A:5A
                    ESSID:"remington"
                    Protocol:IEEE 802.11bgn
                    Mode:Master
                    Frequency:2.457 GHz (Channel 10)
                    Encryption key:on
                    Bit Rates:144 Mb/s
                    Extra:rsn_ie=30140100000fac040100000fac040100000fac020c00
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD7A0050F204104A0001101044000102103B00010310470010ACFE95CE51B004FBDC9CD8E4D83C8DA31021000D4E4554474541522C20496E632E1023000552373030301024000552373030301042000233321054000800060050F2040001101100055237303030100800022008103C0001031049000600372A000120
                    Quality=100/100  Signal level=99/100 

spence@antec ~ $ rfkill list
spence@antec ~ $
Title: Re: USB WiFi Dongle...
Post by: PCNetSpec on March 19, 2018, 01:35:58 pm
Am I missing something here spence because that looks like it's working ?
Title: Re: USB WiFi Dongle...
Post by: spence on March 19, 2018, 04:37:45 pm
yes, its working... but not automagically... only after I pull it out and plug it back in... hmmm, perhaps I should repeat these steps after a reboot? 
Title: Re: USB WiFi Dongle...
Post by: spence on March 19, 2018, 04:55:51 pm
repeated before wifi dongle removal/reinsertion...

Spoiler (click here to view / hide)
[close]
Title: Re: USB WiFi Dongle...
Post by: PCNetSpec on March 21, 2018, 06:57:22 am
Neck deep in trying to figure out why launchpad isn't letting me apply the necessary patches to nemo for 18.04 :-\

I'll mark this as unread and come back to it spence .. I'm not ignoring it ;)

Meanwhile, has it always been like this . or is this new(ish) behaviour ?

Is this the adapter we had to install drivers for ?
Title: Re: USB WiFi Dongle...
Post by: spence on March 23, 2018, 03:47:46 pm
It was working automagically until THIS SET of UPDATES...

Excellent, so here are the last things updated before the wifi dongle quit working automagically on boot

Code: [Select]
Start-Date: 2017-12-04  21:01:16
Commandline: /usr/sbin/synaptic --hide-main-window --non-interactive --parent-window-id 33554468 -o Synaptic::closeZvt=true --progress-str Please wait, this can take some time --finish-str Update is complete --set-selections-file /tmp/tmpzcYoEY
Requested-By: spence (1000)
Upgrade: evince:amd64 (3.18.2-1ubuntu4.2, 3.18.2-1ubuntu4.3), libevdocument3-4:amd64 (3.18.2-1ubuntu4.2, 3.18.2-1ubuntu4.3), evince-common:amd64 (3.18.2-1ubuntu4.2, 3.18.2-1ubuntu4.3), libevview3-3:amd64 (3.18.2-1ubuntu4.2, 3.18.2-1ubuntu4.3)
End-Date: 2017-12-04  21:01:19

Start-Date: 2017-12-05  11:16:27
Commandline: apt remove --purge apparmor
Requested-By: spence (1000)
Purge: apparmor:amd64 (2.10.95-0ubuntu2.7)
End-Date: 2017-12-05  11:16:28

Would any of those ring bells for futzing with the Realtek RTL8812AU chipset?
Title: Re: USB WiFi Dongle...
Post by: PCNetSpec on March 24, 2018, 06:42:39 pm
I doubt if it had anything to do with those updates spence, which are all just updates for the evince document viewer .. nothing to do with wireless or USB, or anything else hardware related.

I mean I guess anything's possible, but I doubt it ;)

Was it you that uninstalled apparmor ?

[EDIT]

Well obviously it was  ., I mean did you uninstall it manually, or was it removed by the system ?
Title: Re: USB WiFi Dongle...
Post by: spence on March 24, 2018, 08:49:00 pm
No worries truly... I'm rather overwhelmed myself with the number of folks following me to MeWe...  its a minor annoyance in the grand scheme of things... Its just that specific set up updates are what killed it...

Keep Calm and beat that Launchpad until it gives you the respect you deserve!   >:(
Title: Re: USB WiFi Dongle...
Post by: spence on March 24, 2018, 08:49:52 pm
I uninstalled it manually and purged...