[clug-talk] ifconfig
Mark Carlson
carlsonmark at gmail.com
Mon May 15 12:18:56 PDT 2006
On 5/15/06, Kin Wong <kwong at csa-pdk.com> wrote:
> Finally got around to replacing the wireless router that blew up and
> configured it as an access point. I am just putting the documentation
> together for the group and am stuck in trying to use Linux commands.
>
> I know the command ifconfig is roughly equivalent to ipconfig in
> windoze, however both google and man are not providing adequate clarity
> (and I forgot my trusty book at home).
>
> What I need is the equivalent to ipconfig /release and ipconfig /renew?
> I suspect there is a more elegant way to do this that I am totally missing.
I'm no expert, but this seems to be distro dependant.
you could try `ifconfig eth0 up` and `ifconfig eth0 down`
this should be the equivalent of /release /renew
but then you would probably have to use pump (or whatever your distro
uses) to get things fully working. `pump -i eth0`
on gentoo i use: `/etc/init.d/net.eth0 restart`
i think some other distros use some form of `/etc/init.d/networking restart`
which distro are you using?
-Mark
More information about the clug-talk
mailing list