1. link(JeremyB):
Created a file "/etc/pm/sleep.d/04_bug_network_manager_restart" and made it executable
restarted
went into sleep, woke it and it tried to connect several times and when it suceeded the ping was 1000+
pm-suspend.log data
Code: Select all
Running hook /etc/pm/sleep.d/04_bug_network_manager_restart resume suspend:
network-manager restart
network-manager stop/waiting
network-manager start/running, process 2738
/etc/pm/sleep.d/04_bug_network_manager_restart resume suspend: success.
2. link(JeremyB):
Run this commands
Code: Select all
sudo touch /etc/pm/sleep.d/wakenet.sh
sudo chmod +x /etc/pm/sleep.d/wakenet.sh
sudo gedit /etc/pm/sleep.d/wakenet.sh
and inserted the code below them
restarted
went into sleep, woke it and wifi stopped working(icon was two cables disconnected all the time)
pm-suspend.log data
Code: Select all
Running hook /etc/pm/sleep.d/wakenet.sh resume suspend:
Error in sleep: Already awake
/etc/pm/sleep.d/wakenet.sh resume suspend: success.
I tured wifi off and on(left click the icon and press the 1/0 button), it tried connecting once and failed but the second time it suceeded but the ping was 1000+ and after a while ping shows "Destination Host Unreachable" but it shows it as connected(this happens always after sleep, sooner or later)
3. link(administrollaattori):
went into sleep, woke it and executed
it started again and connected after about 5 seconds but the ping was still 1000+
changed the infinite re-connect "/etc/rc.local" script(was alredy there but had only exit 0)
restarted
went into sleep, woke it and no change
before every try I removed the previous fix and made a fresh restart so the ping gets normal
I found something else but it's probably not important, some ping sequences are missing(57-59, 64-74) the 25 ms was before sleep:
Code: Select all
64 bytes from cache.google.com (208.117.229.246): icmp_seq=8 ttl=58 time=25.5 ms
From cache.google.com (208.117.229.246) icmp_seq=56 Destination Host Unreachable
From cache.google.com (208.117.229.246) icmp_seq=60 Destination Host Unreachable
From cache.google.com (208.117.229.246) icmp_seq=61 Destination Host Unreachable
From cache.google.com (208.117.229.246) icmp_seq=62 Destination Host Unreachable
From cache.google.com (208.117.229.246) icmp_seq=63 Destination Host Unreachable
From cache.google.com (208.117.229.246) icmp_seq=75 Destination Host Unreachable
From cache.google.com (208.117.229.246) icmp_seq=76 Destination Host Unreachable