[TriLUG] Re: ipconfig command for Linux

Ed Hill ed at eh3.com
Fri Oct 18 14:50:24 EDT 2002


On Fri, 2002-10-18 at 12:34, James Manning wrote:
> > [Robert Baker]
> >    Is there a command that will accomplish the same as this NT/W2K
> >    command?:
> >    
> >    c:\>ipconfig /all (or /renew or /release)
> 
> IMHO:
> ipconfig /release -> service network stop
> ipconfig /renew   -> service network start
> ipconfig /all     -> ifconfig -a


Also, if you have multiple ethernet cards and want to start/stop just
one of them:

  ipconfig /release  ==>  /sbin/ifdown eth0
  ipconfig /renew    ==>  /sbin/ifdown eth0; /sbin/ifup eth0

where "eth0" could be the name of any ethernet device is listed by
"/sbin/ifconfig".

Ed

-- 
Edward H. Hill III, PhD 
Post-Doctoral Researcher   |  Email:  ed at eh3.com,  ehill at mines.edu
Division of ESE            |  URLs:   http://www.eh3.com
Colorado School of Mines   |    http://cesep.mines.edu/people/edhill.php
Golden, CO  80401          |  Phones:  303-384-2094, 303-273-3483
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
URL: <http://www.trilug.org/pipermail/trilug/attachments/20021018/10ab5e09/attachment.pgp>


More information about the TriLUG mailing list