This question already has an answer here:
Recently my wireless network has being stopping to transfer data from some irregular time intervals that vary from 30 seconds to 20 minutes, and every time I need to plug off and then on the wireless adapter.
Using ping (
ping 18.104.22.168) to see what happens, and when data transfer stops I receive this message:
ping: sendmsg: No buffer space available
So I found out that a solution for this is to increase buffer size with this command:
sudo echo 83886080 > /proc/sys/net/core/wmem_max
Although I can't execute this command, when I hit enter I get this:
bash: /proc/sys/net/core/wmem_max: Permission denied
Trying the command without
sudo or with
gksu returns the same message. Through GEdit I can open
/proc/sys/net/core/wmem_max file, and opening as administrator it enables me to click the 'Save' button, although after changing the value and hitting the button it returns me this message:
Could not create a temporary backup file while saving /proc/sys/net/core/wmem_max
gedit could not backup the old copy of the file before saving the new one. You can ignore this warning and save the file anyway, but if an error occurs while saving, you could lose the old copy of the file. Save anyway?
And even clicking in the 'Save anyway' button it returns the very same message.