From: "Mark Knecht" <markknecht@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Allow a user to restart net.wlan0?
Date: Mon, 2 Oct 2006 11:53:47 -0700 [thread overview]
Message-ID: <5bdc1c8b0610021153q3865ff1ap28c83f8acead9a0a@mail.gmail.com> (raw)
Hi,
We have a machine here, my son's, which runs Gentoo and uses (I
think) a D-Link 802.11abg NIC:
03:0a.0 Ethernet controller: Atheros Communications, Inc. AR5005G
802.11abg NIC (rev 01)
The setup uses ndiswrapper to load the Windows driver. For some
reason this NIC seems to go off line quite a bit - maybe once a day.
I'm assuming that this is caused by the Windows driver & ndiswrapper
having some sort of problem that is probably light years beyond my
ability to debug. However running /etc/init.d/net.wlan0 restart always
seems to get it going again.
How can I set up the system to allow my son to run this command
himself as a user? It appears that the script itself is runnable by a
user, but when we try it I get a message that only root can run init
scripts.
Sector9 ~ # ls -al /etc/init.d/net.*
lrwxrwxrwx 1 root root 6 Sep 16 10:14 /etc/init.d/net.eth0 -> net.lo
-rwxr-xr-x 1 root root 30341 Sep 16 10:27 /etc/init.d/net.lo
lrwxrwxrwx 1 root root 6 Jul 29 11:31 /etc/init.d/net.wlan0 -> net.lo
Sector9 ~ #
Is there an easy way to make this one script runnable by my son so
that when I'm not around he can get things going again?
On the other hand if there is an Open Source Linux driver for this
card I'd love to install that but I don't know of one.
Thanks,
Mark
--
gentoo-user@gentoo.org mailing list
next reply other threads:[~2006-10-02 18:59 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-02 18:53 Mark Knecht [this message]
2006-10-02 19:38 ` [gentoo-user] Allow a user to restart net.wlan0? Devon Miller
2006-10-02 19:58 ` Mark Shields
2006-10-02 20:22 ` Mark Knecht
2006-10-03 0:27 ` Nick Rout
2006-10-02 20:31 ` Neil Bothwick
2006-10-02 23:18 ` Iain Buchanan
2006-10-03 9:50 ` [gentoo-user] " Alexander Skwar
2006-10-03 13:15 ` Mark Knecht
2006-10-03 16:51 ` [gentoo-user] " Alexander Skwar
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=5bdc1c8b0610021153q3865ff1ap28c83f8acead9a0a@mail.gmail.com \
--to=markknecht@gmail.com \
--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