Changes
From Karnataka Open Educational Resources
879 bytes removed
, 11:37, 14 October 2015
Line 423: |
Line 423: |
| | | |
| <br/> | | <br/> |
− |
| |
− | === If network manager fails ===
| |
− |
| |
− | Sometimes the network manager becomes disabled after resuming from hibernation. If this happens, please create the executable script /etc/pm/sleep.d/55_local_networkmanager to solve this. Follow below steps to do that -
| |
− |
| |
− | * Open the terminal and execute below command:
| |
− |
| |
− | sudo gedit /etc/pm/sleep.d/55_local_networkmanager
| |
− |
| |
− | Enter password and press Enter.
| |
− |
| |
− | * Add the following lines of code to the new file and save it:
| |
− |
| |
− |
| |
− | #!/bin/sh
| |
− | # This script gets NetworkManager out of suspend.
| |
− | case $1 in
| |
− | suspend|suspend_hybrid|hibernate)
| |
− | # No need to do anything here.
| |
− | ;;
| |
− | resume|thaw)
| |
− | #nmcli nm sleep false
| |
− | if [ "`nmcli -f state -t nm`" = "asleep" ]; then
| |
− | service network-manager restart
| |
− | fi
| |
− | ;;
| |
− | esac
| |
− |
| |
− |
| |
− | * Now restart to see the working network manager.
| |
− |
| |
− |
| |
− |
| |
− | [[#top|Back to top]]
| |
| | | |
| =How to download youtube videos in mozilla firefox ?= | | =How to download youtube videos in mozilla firefox ?= |