From: Enrico Weigelt <weigelt@metux.de>
To: gentoo-user <gentoo-user@lists.gentoo.org>
Subject: [gentoo-user] automatic wlan restart
Date: Fri, 13 Aug 2010 09:18:36 +0200 [thread overview]
Message-ID: <20100813071836.GA21326@nibiru.local> (raw)
Hi folks,
I'm regularily loosing wlan link (not sure if its a driver problem
or disortion in the local air) and so have to restart the wland
interface quite often. As the box is also doing several automatic
things (backups, etc), it's really ugly (eg. when I'm not on keys,
at some point no backups can be made, etc).
So I'm looking for a way to fully-automatically restart the interface
when the link goes down. Of course, I could hack up some syslog
parsing, which calls '/etc/init.d/net.wlan0 restart', but that
implies the interface going down (iow: ipstack will report no route
to destination network back to applications) for several seconds.
Does anyone know an better solution, which just reconnects to the
same AP w/o taking the interface down (maybe even buffer the
packets while physical link down) ?
cu
--
----------------------------------------------------------------------
Enrico Weigelt, metux IT service -- http://www.metux.de/
phone: +49 36207 519931 email: weigelt@metux.de
mobile: +49 151 27565287 icq: 210169427 skype: nekrad666
----------------------------------------------------------------------
Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme
----------------------------------------------------------------------
reply other threads:[~2010-08-13 8:03 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100813071836.GA21326@nibiru.local \
--to=weigelt@metux.de \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox