so i using ubuntu for the first time my wifi keep disconnecting for no good reason,it has to do with power management. so i search here and i keep on seeing
sudo touch /etc/pm/sleep.d/wireless
sudo touch /etc/pm/power.d/wireless
but the command dont work in my terminal. what was the etc in code ?
error
bash: cd: /etc/pm/power.d: No such file or directory
/etc/
? If so, that is the folder. If you are getting errors there is a possibility that the other folders ofpm
orpower.d
orsleep.d
don't exist.wireless
is the filename. The/
is the indicator between folders and files. Folders list first. So, the folders are/etc/pm/power.d
and/etc/pm/sleep.d
. You might need to create the folders before performing the lines.sudo mkdir -p /etc/pm/power.d
andsudo mkdir -p /etc/pm/sleep.d