Skip to content

Instantly share code, notes, and snippets.

@sotto
sotto / gist:3741936
Created September 18, 2012 08:06
ping octal decimal fun
Looks like there is some octal - decimal conversion happening.
C:\Windows\system32>ping 192.168.001.064
Pinging 192.168.1.52 with 32 bytes of data:
@sotto
sotto / gist:3507514
Created August 29, 2012 06:35
windows 7 as a wifi hotspot
Looks like you can, in windows 7, turn your computer into a wifi hotspot, effectively sharing your internetconnection. works to share your wired connection over wifi, and I -guess- it works as a repeater when your pc is connected wireless.
Using these commands from an adminsistrator command prompt you can set up a wifi hotspot:
netsh wlan start hostednetwork
netsh wlan stop hostednetwork
netsh wlan set hostednetwork [ssid=]<ssid> [key=]<passphrase> [keyUsage=]persistent|temporary
=> Configure the wireless Hosted Network settings.
netsh wlan show hostednetwork [[setting=]security]
=> Display wireless Hosted Network information.