LAN utility

C

Conor

Am looking for a utility that will let me disconnect from network
without having to reconfigure the LAN card. Am currently going
through system/ hardware/disconnect but I have to reenter the
configuration every time I restore connection.

Ideally, it would be on the desktop. Click it and the network would be
dead. Click again and network would be restored.

Any suggestions?
What operating system? Why not just set up your network to use DHCP?
 
A

André Gulliksen

Judy said:
Am looking for a utility that will let me disconnect from network
without having to reconfigure the LAN card. Am currently going
through system/ hardware/disconnect but I have to reenter the
configuration every time I restore connection.

Ideally, it would be on the desktop. Click it and the network would be
dead. Click again and network would be restored.

Any suggestions?

1) Not tested, but might work: Make two batch-files using any text-editor,
such as Notepad. Put "ipconfig /release" into one, and save it on your
desktop as "release.cmd". Put "ipconfig /renew" into the other, and save on
your desktop as "renew.cmd". Use release to disconnect, renew to reconnect.
All assuming you are using DHCP, of course. Also assuming you are using
Windows :p

2) I am no expert on firewall software, but are there any alternatives that
let you have different profile settings? If so, you could make two profiles:
One for normal use, and one set to block all traffic in and out. Then
activate one profile or the other, depending on wether or not you want to be
online.

3) Crude, but effective: If you're hooked to a switch, router, hub or any
networking device requiring power, connect an extension cord with a flip
switch to its power supply. Then disconnect and reconnect with a flick of
the switch.
 
J

Judy

Am looking for a utility that will let me disconnect from network
without having to reconfigure the LAN card. Am currently going
through system/ hardware/disconnect but I have to reenter the
configuration every time I restore connection.

Ideally, it would be on the desktop. Click it and the network would be
dead. Click again and network would be restored.

Any suggestions?
 
L

Laurent Herve

André Gulliksen said:
1) Not tested, but might work: Make two batch-files using any text-editor,
such as Notepad. Put "ipconfig /release" into one, and save it on your
desktop as "release.cmd". Put "ipconfig /renew" into the other, and save on
your desktop as "renew.cmd". Use release to disconnect, renew to reconnect.
All assuming you are using DHCP, of course. Also assuming you are using
Windows :p

2) I am no expert on firewall software, but are there any alternatives that
let you have different profile settings? If so, you could make two profiles:
One for normal use, and one set to block all traffic in and out. Then
activate one profile or the other, depending on wether or not you want to be
online.

3) Crude, but effective: If you're hooked to a switch, router, hub or any
networking device requiring power, connect an extension cord with a flip
switch to its power supply. Then disconnect and reconnect with a flick of
the switch.
The first is nice, the last is very rude :blush:) !

C:\WINDOWS>ipconfig /release
Windows IP Configuration
Command line options:
/All - Display detailed information.
/Batch [file] - Write to file or ./WINIPCFG.OUT
/renew_all - Renew all adapters.
/release_all - Release all adapters.
/renew N - Renew adapter N.
/release N - Release adapter N.


Lh
 
S

Sascha Wostmann

Judy said:
Am looking for a utility that will let me disconnect from network
without having to reconfigure the LAN card. Am currently going
through system/ hardware/disconnect but I have to reenter the
configuration every time I restore connection.

Ideally, it would be on the desktop. Click it and the network would be
dead. Click again and network would be restored.

Any suggestions?

unplug the network cable. I never experienced any harm doing this on
my laptop. Of course there should be no open connections at that time.



Software for windows (2000, XP, 2003) already included:

Save current configuration:
netsh -c interface dump > settings1.txt

Reconfigure your network

Save the new configuration:
netsh -c interface dump > settings2.txt

Load the configuration as wanted:
netsh -f settings1.txt
(or)
netsh -f settings2.txt




Viele Grüße,
Sascha
 
J

Judy

Thanks all.
I'm using wifi and have no cat5 to disconnect.

I used the ipconfig suggestion and that works great. I didn't create a
bat/cm file but went to the script interface directly. This will work
for me.

Again, thanks all.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top