Disconnection from network after waking computer from sleep

8 replies [Last post]
eric23
Offline
Joined: 06/30/2017

I am using linux-image-4.4.0-93-generic and I am having trouble connecting to the network upon resuming my computer from sleep. I tried using the "Connect to Hidden Wi-Fi Network" option, but it does not work. The computer is a Taurinus X200.

eric23
Offline
Joined: 06/30/2017

I am not sure what the problem is. The computer woke up with connection just now. It does not stop with 'sudo service networking restart'.

akito
Offline
Joined: 05/10/2017

does $ sudo ip a or $ sudo ifconfig -a outputs anything (ip addresses)
any messages n $ dmesg

eric23
Offline
Joined: 06/30/2017

No those commands do not show any IP addresses.
I attached dmesg.txt to this post.

dmesg has:

[ 10.438490] ath: EEPROM regdomain: 0x60
[ 10.438495] ath: EEPROM indicates we should expect a direct regpair map
[ 10.438497] ath: Country alpha2 being used: 00
[ 10.438499] ath: Regpair used: 0x60
[ 10.474135] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 10.475498] ieee80211 phy0: Atheros AR9285 Rev:2 mem=0xffffc90000fa0000, irq=17
[ 10.618131] cfg80211: World regulatory domain updated:
[ 10.618136] cfg80211: DFS Master region: unset
[ 10.618138] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 10.618141] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
[ 10.618143] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
[ 10.618146] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm), (N/A)
[ 10.618148] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
[ 10.618150] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)

[ 11.468417] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready

[ 11.514021] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready.

I plug in the ethernet and it works just fine. When I last shutdown the computer it had a kernel panic.

So I want to go back to the older kernel. Currently the bootloader only loads the current kernel by using the /vmlinuz link. Can I just do "ln -s /boot/vmlinuz-3.13.0-132-generic /vmlinuz" to revert to the older kernel? It does not seem to use the grub.cfg.

AttachmentSize
dmesg.txt 60.3 KB
Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

I assume you still have the desired kernel installed. Otherwise, install it again. You must then boot that kernel: choose it in the "Advanced options" of the GRUB menu... but a user and a password will be asked: the user is "grub" and the password is at the very end of the output of 'sudo cat /etc/grub.d/01_PASSWORD', to be executed in a terminal. But you had better get rid of that useless password (GRUB's developers say so!): https://trisquel.info/forum/updating-error#comment-117506

Then, remove the newer kernels, e.g., using the "Synaptic Package Manager" in the "System Settings". The configuration of GRUB (which is used!) will be automatically updated: the most recent kernel boots by default.

eric23
Offline
Joined: 06/30/2017

This computer uses Libreboot as installed by Libiquity, which apparently comes with its own bootloader https://libreboot.org/faq.html#do-i-need-to-install-a-bootloader-when-installing-a-distribution. There seems to be an option to use the operating systems boot loader, but it errors something about not having unicode font file or whatever. It seems to have something in /boot/grub/fonts/unicode.pf2

There is no /etc/grub.d/01_PASSWORD on my computer.

Thanks for the help.

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

If so, just boot the kernel you want and remove the newer kernels (using the package manager).

eric23
Offline
Joined: 06/30/2017

I am concerned my computer has been cracked.

So there are files on my computer that says input/output when I issue a command on them including the /sbin/wpa_supplicant file. I guess this is why I can't get wifi on my computer. There were some other files on my computer that were having the same problem, but it went away. A scan with grep on / shows a bunch of files having the same issue. smartctl from smartmontools shows that the hard disk is not failing yet. I suspect my computer has been hacked, because I see files on my computer that are odd or I swear I didn't put there. For example files with names from the text of unzip manual. I don't know how I could have put that there.

Trying to remove the files with input/output errors gets denied except for a themanaworld config file.

rm: cannot remove ‘/sbin/wpa_supplicant’: Input/output error

And the dmesg.txt that I uploaded in my previous comments shows there are errors too with wpasupplicant

grep: /sys/devices/platform/serial8250/tty/ttyS0/power/autosuspend_delay_ms: Input/output error
grep: /sys/devices/platform/serial8250/tty/ttyS1/power/autosuspend_delay_ms: Input/output error
grep: /sys/devices/platform/serial8250/tty/ttyS2/power/autosuspend_delay_ms: Input/output error
grep: /sys/devices/platform/serial8250/tty/ttyS3/power/autosuspend_delay_ms: Input/output error
grep: /sys/devices/platform/serial8250/tty/ttyS5/power/autosuspend_delay_ms: Input/output error
grep: /sys/devices/platform/serial8250/tty/ttyS6/power/autosuspend_delay_ms: Input/output error
grep: /sys/devices/platform/serial8250/tty/ttyS7/power/autosuspend_delay_ms: Input/output error
grep: /sys/devices/platform/serial8250/tty/ttyS8/power/autosuspend_delay_ms: Input/output error
grep: /sys/devices/platform/serial8250/tty/ttyS9/power/autosuspend_delay_ms: Input/output error
grep: /sys/devices/platform/serial8250/tty/ttyS10/power/autosuspend_delay_ms: Input/output error
grep: /sys/devices/platform/serial8250/tty/ttyS11/power/autosuspend_delay_ms: Input/output error
grep: /sys/devices/platform/serial8250/tty/ttyS12/power/autosuspend_delay_ms: Input/output error
grep: /sys/devices/platform/serial8250/tty/ttyS13/power/autosuspend_delay_ms: Input/output error
grep: /sys/devices/platform/serial8250/tty/ttyS14/power/autosuspend_delay_ms: Input/output error
grep: /sys/devices/platform/serial8250/tty/ttyS15/power/autosuspend_delay_ms: Input/output error
grep: /sys/devices/platform/serial8250/tty/ttyS16/power/autosuspend_delay_ms: Input/output error
grep: /sys/devices/platform/serial8250/tty/ttyS17/power/autosuspend_delay_ms: Input/output error
grep: /sys/devices/platform/serial8250/tty/ttyS18/power/autosuspend_delay_ms: Input/output error
grep: /sys/devices/platform/serial8250/tty/ttyS19/power/autosuspend_delay_ms: Input/output error
grep: /sys/devices/platform/serial8250/tty/ttyS20/power/autosuspend_delay_ms: Input/output error
grep: /sys/devices/platform/serial8250/tty/ttyS21/power/autosuspend_delay_ms: Input/output error
grep: /sys/devices/platform/serial8250/tty/ttyS22/power/autosuspend_delay_ms: Input/output error
grep: /sys/devices/platform/serial8250/tty/ttyS23/power/autosuspend_delay_ms: Input/output error
grep: /sys/devices/platform/serial8250/tty/ttyS24/power/autosuspend_delay_ms: Input/output error
grep: /sys/devices/platform/serial8250/tty/ttyS25/power/autosuspend_delay_ms: Input/output error
grep: /sys/devices/platform/serial8250/tty/ttyS26/power/autosuspend_delay_ms: Input/output error
grep: /sys/devices/platform/serial8250/tty/ttyS27/power/autosuspend_delay_ms: Input/output error
grep: /sys/devices/platform/serial8250/tty/ttyS28/power/autosuspend_delay_ms: Input/output error
grep: /sys/devices/platform/serial8250/tty/ttyS29/power/autosuspend_delay_ms: Input/output error
grep: /sys/devices/platform/serial8250/tty/ttyS30/power/autosuspend_delay_ms: Input/output error
grep: /sys/devices/platform/serial8250/tty/ttyS31/power/autosuspend_delay_ms: Input/output error

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

Same here, so it is probably normal:
$ cat /sys/devices/platform/serial8250/tty/ttyS*/power/autosuspend_delay_ms
cat: /sys/devices/platform/serial8250/tty/ttyS0/power/autosuspend_delay_ms: Input/output error
cat: /sys/devices/platform/serial8250/tty/ttyS10/power/autosuspend_delay_ms: Input/output error
cat: /sys/devices/platform/serial8250/tty/ttyS11/power/autosuspend_delay_ms: Input/output error
cat: /sys/devices/platform/serial8250/tty/ttyS12/power/autosuspend_delay_ms: Input/output error
cat: /sys/devices/platform/serial8250/tty/ttyS13/power/autosuspend_delay_ms: Input/output error
cat: /sys/devices/platform/serial8250/tty/ttyS14/power/autosuspend_delay_ms: Input/output error
cat: /sys/devices/platform/serial8250/tty/ttyS15/power/autosuspend_delay_ms: Input/output error
cat: /sys/devices/platform/serial8250/tty/ttyS16/power/autosuspend_delay_ms: Input/output error
cat: /sys/devices/platform/serial8250/tty/ttyS17/power/autosuspend_delay_ms: Input/output error
cat: /sys/devices/platform/serial8250/tty/ttyS18/power/autosuspend_delay_ms: Input/output error
cat: /sys/devices/platform/serial8250/tty/ttyS19/power/autosuspend_delay_ms: Input/output error
cat: /sys/devices/platform/serial8250/tty/ttyS1/power/autosuspend_delay_ms: Input/output error
cat: /sys/devices/platform/serial8250/tty/ttyS20/power/autosuspend_delay_ms: Input/output error
cat: /sys/devices/platform/serial8250/tty/ttyS21/power/autosuspend_delay_ms: Input/output error
cat: /sys/devices/platform/serial8250/tty/ttyS22/power/autosuspend_delay_ms: Input/output error
cat: /sys/devices/platform/serial8250/tty/ttyS23/power/autosuspend_delay_ms: Input/output error
cat: /sys/devices/platform/serial8250/tty/ttyS24/power/autosuspend_delay_ms: Input/output error
cat: /sys/devices/platform/serial8250/tty/ttyS25/power/autosuspend_delay_ms: Input/output error
cat: /sys/devices/platform/serial8250/tty/ttyS26/power/autosuspend_delay_ms: Input/output error
cat: /sys/devices/platform/serial8250/tty/ttyS27/power/autosuspend_delay_ms: Input/output error
cat: /sys/devices/platform/serial8250/tty/ttyS28/power/autosuspend_delay_ms: Input/output error
cat: /sys/devices/platform/serial8250/tty/ttyS29/power/autosuspend_delay_ms: Input/output error
cat: /sys/devices/platform/serial8250/tty/ttyS2/power/autosuspend_delay_ms: Input/output error
cat: /sys/devices/platform/serial8250/tty/ttyS30/power/autosuspend_delay_ms: Input/output error
cat: /sys/devices/platform/serial8250/tty/ttyS31/power/autosuspend_delay_ms: Input/output error
cat: /sys/devices/platform/serial8250/tty/ttyS3/power/autosuspend_delay_ms: Input/output error
cat: /sys/devices/platform/serial8250/tty/ttyS4/power/autosuspend_delay_ms: Input/output error
cat: /sys/devices/platform/serial8250/tty/ttyS5/power/autosuspend_delay_ms: Input/output error
cat: /sys/devices/platform/serial8250/tty/ttyS6/power/autosuspend_delay_ms: Input/output error
cat: /sys/devices/platform/serial8250/tty/ttyS7/power/autosuspend_delay_ms: Input/output error
cat: /sys/devices/platform/serial8250/tty/ttyS8/power/autosuspend_delay_ms: Input/output error
cat: /sys/devices/platform/serial8250/tty/ttyS9/power/autosuspend_delay_ms: Input/output error

/sys is a pseudo file system. Those files are not on the disk.