Posts tagged networking

Hey I got my N+ this week.  

“Some of you are thinking ‘sure, any idiot could do that,’ but it was hard for me so BACK OFF!” — Adam Sandler

Hey I got my N+ this week.  

“Some of you are thinking ‘sure, any idiot could do that,’ but it was hard for me so BACK OFF!” — Adam Sandler

Disable IPv6 with a script

I like this script that Misha put together to quickly disable IPv6 on all interfaces:

@Echo off
@ECHO Windows Registry Editor Version 5.00 > %TEMP%\DisableIPv6.reg
@ECHO [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters] >> %TEMP%\DisableIPv6.reg
@ECHO "DisabledComponents"=dword:000000ff >> %TEMP%\DisableIPv6.reg
REGEDIT /S %TEMP%\DisableIPv6.reg

Ping with timestamp in Mac OS X

This article shows the commands for doing a ping with timestamp on a Mac.  The basic command is:

ping 10.0.0.1 | while read line; do echo `date` - $line; done

List VPN users on a Cisco PIX

I can never freakin’ remember this…gotta write it down one of these days:

show run | grep user



Enable or disable your wireless card from the command line

This site taught me one of my favorite tips to save a tiny bit of battery on my laptop and let me be lazy at the same time.

Basically it points you to download devcon from Micro$oft, identify what kind of wireless NIC you have, and then write a quick script to disable/enable your wifi card.

For example, my script to turn off my NIC is simply:

devcon disable *DEV_4315*

And to turn it back on:

devcon enable *DEV_4315*

Lovely.