[TriLUG] Re: ipconfig command for Linux
Ed Hill
trilug@trilug.org
18 Oct 2002 12:50:24 -0600
--=-+egQIJSz3QQnwxi7fhKu
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
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?:
> > =20
> > c:\>ipconfig /all (or /renew or /release)
>=20
> 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 =3D=3D> /sbin/ifdown eth0
ipconfig /renew =3D=3D> /sbin/ifdown eth0; /sbin/ifup eth0
where "eth0" could be the name of any ethernet device is listed by
"/sbin/ifconfig".
Ed
--=20
Edward H. Hill III, PhD=20
Post-Doctoral Researcher | Email: ed@eh3.com, ehill@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
--=-+egQIJSz3QQnwxi7fhKu
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQA9sFfvkytyZh528SMRAhSRAJ9J281eZM7SPv9LIup0MINPuMO2ngCdF9VK
mmcNzykO9ccYdVYlYvSbQdA=
=2ZAy
-----END PGP SIGNATURE-----
--=-+egQIJSz3QQnwxi7fhKu--