User allowed commands -

Rangeen Basu sherry151 at gmail.com
Wed Mar 18 16:50:05 UTC 2009


On Wed, Mar 18, 2009 at 9:49 PM, Bob Goodwin <bobgoodwin at wildblue.net> wrote:

> ifup/down-eth0 are not valid commands.  ifdown-eth is but does not work.
>  "basename: missing operand"  whatever that means?

You didn't get it quite right. Its actually ifup eth0 or ifdown eth0
(not ifup-eth0 notice the dash).

Do this as said before:
Allow the user to control the network device - add "USERCTL=yes" in
/etc/sysconfig/network-scripts/ifcfg-eth0 as documented here:
http://www.centos.org/docs/4/html/rhel-rg-en-4/s1-networkscripts-interfaces.html

Then run ifup or ifdown with the proper interface name as argument.
Normally for wired LAN it is eth0(eth1 for a second card that might be
present)

Regards
-- 
Rangeen Basu Roy Chowdhury
Fedora Ambassador
sherry151 at gmail.com




More information about the fedora-list mailing list