From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GUT0u-0004HL-Iv for garchives@archives.gentoo.org; Mon, 02 Oct 2006 18:59:41 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k92IwUqf004769; Mon, 2 Oct 2006 18:58:30 GMT Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.202]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k92Irl9W007113 for ; Mon, 2 Oct 2006 18:53:48 GMT Received: by nz-out-0102.google.com with SMTP id n1so551154nzf for ; Mon, 02 Oct 2006 11:53:47 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=ZNpLe4VCUF5wxWzy9pPwNiZJSFn1uVhFKbFIJ6E4kJWc+T6NC8dUq08WOhUj1d60yeAX/JjoeleROoPCqZbjvAsdoUIoPHeEcBGg37BdbQ8a9ejqhNaDkcPmCpVS6tGKa0iroqMZqreJKs8Y27cgYCWF3VsmN8lJz3d9S0cjDb4= Received: by 10.65.212.19 with SMTP id o19mr1560230qbq; Mon, 02 Oct 2006 11:53:47 -0700 (PDT) Received: by 10.65.156.16 with HTTP; Mon, 2 Oct 2006 11:53:47 -0700 (PDT) Message-ID: <5bdc1c8b0610021153q3865ff1ap28c83f8acead9a0a@mail.gmail.com> Date: Mon, 2 Oct 2006 11:53:47 -0700 From: "Mark Knecht" To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Allow a user to restart net.wlan0? Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Archives-Salt: 0a3e14cc-3e5b-4ad8-aa65-a6d302d8e757 X-Archives-Hash: 8ef387003d6991fe0448b547edfddd0d 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