[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dumb ifconfig_question



On Wed, Feb 20, 2008 at 08:23:36AM +1100, Charlie wrote:
> On Wed, 20 Feb 2008, steef shared this with us all:
> >--} hi list,
> >--}
> >--} when i do <sudo ifconfig eth0 down> contact with the internet is duly
> >--} shut off.
> >--} but: when i do <sudo ifconfig eth0 up> nothing happens: i still cannot
> >--} reach the internet.
> >--}
> >--} what is it that i miss?
> 
> Just ifup eth0 and ifdown eth0 is probably all that is required as root user 
> of your choice I think? Works on all the machines here.

Yes, ifup and ifdown will refer to the /etc/network/interfaces file and
set everything up.  /sbin/ifconfig is the lower-level raw command that
requires all parameters and still doesn't do everything.

Doug.


Reply to: