GearHack

: :

Add Comment | Related Links | TrackBack
Related Content

Ubuntu 14.04 LTS - Wireless Network Stops Working Periodically

I have just installed Ubuntu 14.04 LTS on a netbook that runs the original Intel Atom processor. It's running as a server, so I use it with the lid closed. I have configured Ubuntu to ignore the lid switch so that it won't suspend the operating system. So far, the system runs fine.

But I would go to bed and come back the next day to find that I can no longer access the server remotely. Looking at the screen on the laptop, I can see that the wireless network is still connected. "ifconfig" shows "wlan0" to be configured correctly. But the netbook cannot see anything else on the LAN.

Pinging the local interface (127.0.0.1) and "wlan0" IP works fine. But the server can't ping anything outside itself. I've placed the following line into "rc.local", but it did not solve the problem:

  iwconfig wlan0 power off

Anyone else experience this problem on Ubuntu 14.04 LTS?

Mel
Tue, 08 Jul 2014 02:28:16 +0400

I found the work-around. It doesn't solve the problem, but keeps the server online.

Basically, I create a root cron script that checks network connection every five minutes. When the network connection fails, it restarts the network. Here is the basic code:

  result=`IsHostAlive.sh "${router}"`

if [ ${result} -eq 0 ]
then
service network-manager restart
fi

IsHostAlive.sh is a script that is downloadable on this web page: IsHostAlive.sh (GPL)

Mel
Wed, 09 Jul 2014 22:44:04 +0400

Add Comment | Related Links | TrackBack
Related Content

Did your message disappear? Read the Forums FAQ.

Add Comment

Spam Control | * indicates required field
Your Name: *
E-mail:
Remember Me!
Comment: *
File attachment is optional. Please do not attach a file to your submission unless it is relevent.
Attach File:
(20 MB Max)
Spam Protection: * Answer of 7 - 1?
Click button only once, please!

TrackBack

Send Ping | TrackBack URL | Spam Control

No TrackBacks yet. TrackBack can be used to link this thread to your weblog, or link your weblog to this thread. In addition, TrackBack can be used as a form of remote commenting. Rather than posting the comment directly on this thread, you can posts it on your own weblog. Then have your weblog sends a TrackBack ping to the TrackBack URL, so that your post would show up here.

Messages, files, and images copyright by respective owners.


Articles | Wiki
Forums | Latest | RSS
Library | Links | News
Search | Store | Help

23 Users Online


Hacking Digital Cameras
Fun for Photographers

Amazon Associate

Copyright © 2004 - 2017. All Rights Reserved.