PDA

View Full Version : Activate network with terminal?


huangja
2007-03-05, 06:28 PM CST
Hello,

I currently boot up FC6 without initializing my internet devices (eth0, eth1). I checked the box which allowed all user to enable and disable the device. I was just wondering if there was any way that I can activate eth0 or eth1 from the terminal without having to type in my root password everytime i boot?

Thanks.

stevea
2007-03-05, 07:05 PM CST
Try "/sbin/ifup eth0" and "/sboin/ifdown eth0" I *think these scripts should work.
If not you can add yourself to /etc/sudoers and only enter the passwd one time.

huangja
2007-03-05, 07:42 PM CST
Thanks a lot, it worked, just what I was looking for!

marisdembovskis
2007-04-11, 11:40 PM CDT
Thanks a lot.
I also was looking for this.
:)